Skip to content

Commit 70f7f70

Browse files
author
Jack Newcombe
authored
Merge pull request #1 from jnewc/dist
Update travis yml and podspec
2 parents b16da3b + 0cb5dde commit 70f7f70

File tree

3 files changed

+21
-119
lines changed

3 files changed

+21
-119
lines changed

.swift-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
before_install:
2+
- pod repo update > /dev/null
3+
script:
4+
- xcodebuild -destination 'platform=iOS Simulator,name=iPhone 7' -workspace Cosmic.xcworkspace -scheme Cosmic build test
5+
6+
language: objective-c
7+
osx_image: xcode8.3
8+
xcode_workspace: Cosmic.xcworkspace # path to your xcodeproj folder
9+
xcode_scheme: Cosmic

Cosmic.podspec

Lines changed: 11 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -1,137 +1,29 @@
1-
#
2-
# Be sure to run `pod spec lint Cosmic.podspec' to ensure this is a
3-
# valid spec and to remove all comments including this before submitting the spec.
4-
#
5-
# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
6-
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
7-
#
8-
91
Pod::Spec.new do |s|
102

11-
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
12-
#
13-
# These will help people to find your library, and whilst it
14-
# can feel like a chore to fill in it's definitely to your advantage. The
15-
# summary should be tweet-length, and the description more in depth.
16-
#
17-
183
s.name = "Cosmic"
19-
s.version = "0.0.2"
20-
s.summary = "A logging framework"
4+
s.version = "1.0.0"
5+
s.summary = "A log reporting framework written in Swift"
216

22-
# This description is used to generate tags and improve search results.
23-
# * Think: What does it do? Why did you write it? What is the focus?
24-
# * Try to keep it short, snappy and to the point.
25-
# * Write the description between the DESC delimiters below.
26-
# * Finally, don't worry about the indent, CocoaPods strips it!
277
s.description = <<-DESC
28-
A logging framework for Swift.
29-
DESC
30-
31-
s.homepage = "http://newcombe.io/cosmic"
32-
# s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
8+
Cosmic is a log reporting framework written in Swift.
339
10+
For more information, see the readme at: https://github.com/jnewc/Cosmic.git
11+
DESC
3412

35-
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
36-
#
37-
# Licensing your code is important. See http://choosealicense.com for more info.
38-
# CocoaPods will detect a license file if there is a named LICENSE*
39-
# Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
40-
#
13+
s.homepage = "http://newcombe.io/cosmic"
4114

4215
s.license = "Apache 2.0"
43-
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
44-
45-
46-
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
47-
#
48-
# Specify the authors of the library, with email addresses. Email addresses
49-
# of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
50-
# accepts just a name if you'd rather not provide an email address.
51-
#
52-
# Specify a social_media_url where others can refer to, for example a twitter
53-
# profile URL.
54-
#
5516

5617
s.author = { "Jack Newcombe" => "[email protected]" }
57-
# Or just: s.author = "Jack Newcombe"
58-
# s.authors = { "Jack Newcombe" => "[email protected]" }
59-
# s.social_media_url = "http://twitter.com/Jack Newcombe"
60-
61-
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
62-
#
63-
# If this Pod runs only on iOS or OS X, then specify the platform and
64-
# the deployment target. You can optionally include the target after the platform.
65-
#
66-
67-
# s.platform = :ios
68-
# s.platform = :ios, "5.0"
69-
70-
# When using multiple platforms
71-
# s.ios.deployment_target = "5.0"
72-
# s.osx.deployment_target = "10.7"
73-
# s.watchos.deployment_target = "2.0"
74-
# s.tvos.deployment_target = "9.0"
75-
76-
77-
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
78-
#
79-
# Specify the location from where the source should be retrieved.
80-
# Supports git, hg, bzr, svn and HTTP.
81-
#
18+
s.social_media_url = "http://twitter.com/jacknewc"
8219

83-
s.source = { :git => "http://github.com/jnewc/Cosmic.git", :tag => "#{s.version}" }
20+
s.ios.deployment_target = "10.0"
21+
s.osx.deployment_target = "10.11"
8422

85-
86-
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
87-
#
88-
# CocoaPods is smart about how it includes source code. For source files
89-
# giving a folder will include any swift, h, m, mm, c & cpp files.
90-
# For header files it will include any header in the folder.
91-
# Not including the public_header_files will make all headers public.
92-
#
23+
s.source = { :git => "https://github.com/jnewc/Cosmic.git", :tag => "#{s.version}" }
9324

9425
s.source_files = "ObjC-Sources/**/*.swift", "Sources/**/*.swift"
9526

96-
# s.public_header_files = "Classes/**/*.h"
97-
98-
# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
99-
#
100-
# A list of resources included with the Pod. These are copied into the
101-
# target bundle with a build phase script. Anything else will be cleaned.
102-
# You can preserve files from being cleaned, please don't preserve
103-
# non-essential files like tests, examples and documentation.
104-
#
105-
106-
# s.resource = "icon.png"
107-
# s.resources = "Resources/*.png"
108-
109-
# s.preserve_paths = "FilesToSave", "MoreFilesToSave"
110-
111-
# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
112-
#
113-
# Link your library with frameworks, or libraries. Libraries do not include
114-
# the lib prefix of their name.
115-
#
116-
117-
# s.framework = "SomeFramework"
118-
# s.frameworks = "SomeFramework", "AnotherFramework"
119-
120-
# s.library = "iconv"
121-
# s.libraries = "iconv", "xml2"
122-
123-
124-
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
125-
#
126-
# If your library depends on compiler flags you can set them in the xcconfig hash
127-
# where they will only apply to your library. If you depend on other Podspecs
128-
# you can include multiple dependencies to ensure it works.
129-
130-
# s.requires_arc = true
131-
132-
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
133-
# s.dependency "JSONKit", "~> 1.4"
134-
135-
s.dependency "BlueSocket"
27+
s.dependency "BlueSocket", "~> 0.12.0"
13628

13729
end

0 commit comments

Comments
 (0)