cocoapods 1.1.0.rc.3 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45edd0b5b0ad6bf88e868720fa0687caa2868670
4
- data.tar.gz: 265395164853e3b9f4c665e54117a0452768eb0a
3
+ metadata.gz: 80f900c52d47f767b6afb4da5f9836e97568a0a4
4
+ data.tar.gz: c195495f686289715d00afac16999592dc6798aa
5
5
  SHA512:
6
- metadata.gz: a253db5e9296fbaf7b49ef3fcf451c899d476e122bf2ca6f2f178f0cd0f2b3e4ac6f344e21ebd19d602e713efaa705aa717844a939014ed0417b67dd59a385fa
7
- data.tar.gz: e1188063833e80370ade4fac40d14a5aa1a31f15e815e4bf63277157d16cdb4b72006a84ab8d0dd91e2739068b78d28336ea57d62f55b567c67608b342f6760e
6
+ metadata.gz: 88d6604e4bf3ccc02c3c123f585e345e0adccffccd72a4e02b3f290af4eb6d8ba91c19b11f6cfd642ea764246bd51ab47d99b7219ddaf9fcf55db65ce7e67986
7
+ data.tar.gz: 6ffb3ade512e2ae0c5c34344c6fb85b97ac007ebdf37dbf865d5add39e709c0aac4c73314a70ae9e50d51ccf56a8feb1f8f628bd12f3d729e3d0de42d73daa64
@@ -4,6 +4,32 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
4
4
 
5
5
  To install release candidates run `[sudo] gem install cocoapods --pre`
6
6
 
7
+ ## 1.1.0 (2016-10-19)
8
+
9
+ ##### Enhancements
10
+
11
+ * Use host target for frameworks of XPC services.
12
+ [Ingmar Stein](https://github.com/IngmarStein)
13
+ [#6029](https://github.com/CocoaPods/CocoaPods/pull/6029)
14
+
15
+ * Use Swift 3.0 by default during validation.
16
+ [Danielle Tomlinson](https://github.com/dantoml)
17
+ [#6042](https://github.com/CocoaPods/CocoaPods/pull/6042)
18
+
19
+ * Exit with non-zero exit status if pod repo update fails
20
+ [Uku Loskit](https://github.com/UkuLoskit)
21
+ [#6037](https://github.com/CocoaPods/CocoaPods/issues/6037)
22
+
23
+ * The validator has an API for accessing which version of Swift was used.
24
+ [Orta Therox](https://github.com/orta)
25
+ [#6049](https://github.com/CocoaPods/CocoaPods/pull/6049)
26
+
27
+
28
+ ##### Bug Fixes
29
+
30
+ * None.
31
+
32
+
7
33
  ## 1.1.0.rc.3 (2016-10-11)
8
34
 
9
35
  ##### Enhancements
@@ -32,7 +58,7 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
32
58
  [Ben Asher](https://github.com/benasher44)
33
59
  [#5984](https://github.com/CocoaPods/CocoaPods/pull/5984)
34
60
 
35
- * Allow users to share pods between Objective-C and Swift targets.
61
+ * Allow users to share pods between Objective-C and Swift targets.
36
62
  [Danielle Tomlinson](https://github.com/dantoml)
37
63
  [#5984](https://github.com/CocoaPods/CocoaPods/pull/5984)
38
64
 
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the CocoaPods command line tool.
3
3
  #
4
- VERSION = '1.1.0.rc.3'.freeze unless defined? Pod::VERSION
4
+ VERSION = '1.1.0'.freeze unless defined? Pod::VERSION
5
5
  end
@@ -107,10 +107,10 @@ module Pod
107
107
  git!(['-C', repo, 'pull', '--ff-only'])
108
108
  end
109
109
  rescue
110
- UI.warn 'CocoaPods was not able to update the ' \
111
- "`#{name}` repo. If this is an unexpected issue " \
112
- 'and persists you can inspect it running ' \
113
- '`pod repo update --verbose`'
110
+ raise Informative, 'CocoaPods was not able to update the ' \
111
+ "`#{name}` repo. If this is an unexpected issue " \
112
+ 'and persists you can inspect it running ' \
113
+ '`pod repo update --verbose`'
114
114
  end
115
115
  end
116
116
 
@@ -9,7 +9,7 @@ module Pod
9
9
 
10
10
  # Product types where the product's frameworks must be embedded in a host target
11
11
  #
12
- EMBED_FRAMEWORKS_IN_HOST_TARGET_TYPES = [:app_extension, :framework, :messages_extension, :watch_extension].freeze
12
+ EMBED_FRAMEWORKS_IN_HOST_TARGET_TYPES = [:app_extension, :framework, :messages_extension, :watch_extension, :xpc_service].freeze
13
13
 
14
14
  # Initialize a new instance
15
15
  #
@@ -144,10 +144,10 @@ module Pod
144
144
  end
145
145
  if dot_swift_version.nil?
146
146
  reasons.to_sentence + ".\n[!] The validator for Swift projects uses " \
147
- 'Swift 2.3 by default, if you are using a different version of ' \
147
+ 'Swift 3.0 by default, if you are using a different version of ' \
148
148
  'swift you can use a `.swift-version` file to set the version for ' \
149
- "your Pod. For example to use Swift 3.0, run: \n" \
150
- ' `echo "3.0" > .swift-version`'
149
+ "your Pod. For example to use Swift 2.3, run: \n" \
150
+ ' `echo "2.3" > .swift-version`'
151
151
  else
152
152
  reasons.to_sentence
153
153
  end
@@ -248,7 +248,7 @@ module Pod
248
248
  # @return [String] the SWIFT_VERSION to use for validation.
249
249
  #
250
250
  def swift_version
251
- @swift_version ||= dot_swift_version || '2.3'
251
+ @swift_version ||= dot_swift_version || '3.0'
252
252
  end
253
253
 
254
254
  # Set the SWIFT_VERSION that should be used to validate the pod.
@@ -262,6 +262,13 @@ module Pod
262
262
  swift_version_path.read if swift_version_path.exist?
263
263
  end
264
264
 
265
+ # @return [String] A string representing the Swift version used during linting
266
+ # or nil, if Swift was not used.
267
+ #
268
+ def used_swift_version
269
+ swift_version if @installer.pod_targets.any?(&:uses_swift?)
270
+ end
271
+
265
272
  #-------------------------------------------------------------------------#
266
273
 
267
274
  private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.rc.3
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-10-11 00:00:00.000000000 Z
14
+ date: 2016-10-19 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: cocoapods-core
@@ -19,14 +19,14 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 1.1.0.rc.3
22
+ version: 1.1.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 1.1.0.rc.3
29
+ version: 1.1.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: claide
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -73,7 +73,7 @@ dependencies:
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
- version: 1.1.1
76
+ version: 1.1.2
77
77
  - - "<"
78
78
  - !ruby/object:Gem::Version
79
79
  version: '2.0'
@@ -83,7 +83,7 @@ dependencies:
83
83
  requirements:
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
- version: 1.1.1
86
+ version: 1.1.2
87
87
  - - "<"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '2.0'
@@ -151,16 +151,22 @@ dependencies:
151
151
  name: cocoapods-trunk
152
152
  requirement: !ruby/object:Gem::Requirement
153
153
  requirements:
154
- - - '='
154
+ - - ">="
155
155
  - !ruby/object:Gem::Version
156
- version: 1.1.0.beta.1
156
+ version: 1.1.0
157
+ - - "<"
158
+ - !ruby/object:Gem::Version
159
+ version: '2.0'
157
160
  type: :runtime
158
161
  prerelease: false
159
162
  version_requirements: !ruby/object:Gem::Requirement
160
163
  requirements:
161
- - - '='
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: 1.1.0
167
+ - - "<"
162
168
  - !ruby/object:Gem::Version
163
- version: 1.1.0.beta.1
169
+ version: '2.0'
164
170
  - !ruby/object:Gem::Dependency
165
171
  name: cocoapods-try
166
172
  requirement: !ruby/object:Gem::Requirement
@@ -269,14 +275,14 @@ dependencies:
269
275
  requirements:
270
276
  - - "~>"
271
277
  - !ruby/object:Gem::Version
272
- version: '2.0'
278
+ version: 2.0.1
273
279
  type: :runtime
274
280
  prerelease: false
275
281
  version_requirements: !ruby/object:Gem::Requirement
276
282
  requirements:
277
283
  - - "~>"
278
284
  - !ruby/object:Gem::Version
279
- version: '2.0'
285
+ version: 2.0.1
280
286
  - !ruby/object:Gem::Dependency
281
287
  name: gh_inspector
282
288
  requirement: !ruby/object:Gem::Requirement