cocoapods 0.22.0 → 0.22.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/cocoapods/config.rb +2 -2
- data/lib/cocoapods/gem_version.rb +1 -1
- data/lib/cocoapods/installer.rb +8 -2
- data/lib/cocoapods/target/pod_target.rb +8 -2
- metadata +8 -46
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a33164a53936d75565f0d57cbf118f7452714030
|
4
|
+
data.tar.gz: 5dfa0d590569a5ea0d4bbb89ec74089fdc3b315d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb19c4f40df1b05c5aa5eef068884e94b5c9ed89433283346829375b21e2e7ee91fd36ee1ee1e6053b396cbb5fae2e332818451da26741cbc6e52633ae6bfda4
|
7
|
+
data.tar.gz: be0e7c7f4f883be762aa134ee01e39f425d65d4b57f47c9e5a5f0b7ec7ae57b853a4502c5dc3802ce53252af7bec4fb9cba1278cbdf660f9a94f945f84583a0c
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,16 @@
|
|
2
2
|
|
3
3
|
To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides/installing_cocoapods.html).
|
4
4
|
|
5
|
+
## 0.22.1
|
6
|
+
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.22.0...0.22.1)
|
7
|
+
• [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.22.0...0.22.1)
|
8
|
+
|
9
|
+
###### Bug fixes
|
10
|
+
|
11
|
+
* Fixed a crash related to target dependencies and subspecs.
|
12
|
+
[#1168](https://github.com/CocoaPods/CocoaPods/issues/1168)
|
13
|
+
|
14
|
+
|
5
15
|
## 0.22.0
|
6
16
|
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.21.0...0.22.0)
|
7
17
|
• [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.21.0...0.22.0)
|
data/lib/cocoapods/config.rb
CHANGED
@@ -112,10 +112,10 @@ module Pod
|
|
112
112
|
|
113
113
|
# @!group Initialization
|
114
114
|
|
115
|
-
def initialize
|
115
|
+
def initialize(use_user_settings = true)
|
116
116
|
configure_with(DEFAULTS)
|
117
117
|
|
118
|
-
if user_settings_file.exist?
|
118
|
+
if use_user_settings && user_settings_file.exist?
|
119
119
|
require 'yaml'
|
120
120
|
user_settings = YAML.load_file(user_settings_file)
|
121
121
|
configure_with(user_settings)
|
data/lib/cocoapods/installer.rb
CHANGED
@@ -339,8 +339,14 @@ module Pod
|
|
339
339
|
add_dependency(aggregate_target, pod_target)
|
340
340
|
pod_target.dependencies.each do |dep|
|
341
341
|
|
342
|
-
|
343
|
-
|
342
|
+
unless dep == pod_target.pod_name
|
343
|
+
pod_dependency_target = aggregate_target.pod_targets.find { |target| target.pod_name == dep }
|
344
|
+
# TODO remove me
|
345
|
+
unless pod_dependency_target
|
346
|
+
puts "[BUG] DEP: #{dep}"
|
347
|
+
end
|
348
|
+
add_dependency(pod_target, pod_dependency_target)
|
349
|
+
end
|
344
350
|
end
|
345
351
|
end
|
346
352
|
end
|
@@ -43,18 +43,24 @@ module Pod
|
|
43
43
|
specs.map { |spec| spec.consumer(platform) }
|
44
44
|
end
|
45
45
|
|
46
|
-
# @return [Specification]
|
46
|
+
# @return [Specification] The root specification for the target.
|
47
47
|
#
|
48
48
|
def root_spec
|
49
49
|
specs.first.root
|
50
50
|
end
|
51
51
|
|
52
|
+
# @return [String] The name of the Pod that this target refers to.
|
53
|
+
#
|
54
|
+
def pod_name
|
55
|
+
root_spec.name
|
56
|
+
end
|
57
|
+
|
52
58
|
# @return [Array<String>] The names of the Pods on which this target
|
53
59
|
# depends.
|
54
60
|
#
|
55
61
|
def dependencies
|
56
62
|
specs.map do |spec|
|
57
|
-
spec.consumer(platform).dependencies.map { |dep| dep.name }
|
63
|
+
spec.consumer(platform).dependencies.map { |dep| Specification.root_name(dep.name) }
|
58
64
|
end.flatten
|
59
65
|
end
|
60
66
|
|
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: 0.22.
|
4
|
+
version: 0.22.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eloy Duran
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.22.
|
20
|
+
version: 0.22.1
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.22.
|
27
|
+
version: 0.22.1
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: claide
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -237,53 +237,15 @@ post_install_message: |2+
|
|
237
237
|
|
238
238
|
CHANGELOG:
|
239
239
|
|
240
|
-
## 0.22.
|
241
|
-
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.
|
242
|
-
• [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.
|
243
|
-
• [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.7.1...0.8.0)
|
244
|
-
|
245
|
-
###### Enhancements
|
246
|
-
|
247
|
-
* Added the `pod lib create` subcommand which allows to create a new Pod
|
248
|
-
adhering to the best practices. The template is still a bit primitive
|
249
|
-
and we encourage users to provide feedback by submitting patches and issues
|
250
|
-
to https://github.com/CocoaPods/CocoaPods.
|
251
|
-
[#850](https://github.com/CocoaPods/CocoaPods/issues/850)
|
252
|
-
|
253
|
-
* Added the `pod lib lint` subcommand which allows to lint the Pod stored
|
254
|
-
in the working directory (a pod spec in the root is needed).
|
255
|
-
[#850](https://github.com/CocoaPods/CocoaPods/issues/850)
|
256
|
-
|
257
|
-
* The dependencies of the targets of the Pods project are now made explicit.
|
258
|
-
[#1165](https://github.com/CocoaPods/CocoaPods/issues/1165)
|
259
|
-
|
260
|
-
* The size of the cache used for the git repos is now configurable. For more
|
261
|
-
details see
|
262
|
-
https://github.com/CocoaPods/CocoaPods/blob/master/lib/cocoapods/config.rb#L7-L25
|
263
|
-
[#1159](https://github.com/CocoaPods/CocoaPods/issues/1159)
|
264
|
-
|
265
|
-
* The copy resources shell script now aborts if any error occurs.
|
266
|
-
[#1098](https://github.com/CocoaPods/CocoaPods/issues/1098)
|
267
|
-
|
268
|
-
* The output of shell script build phases no longer includes environment
|
269
|
-
variables to reduce noise.
|
270
|
-
[#1122](https://github.com/CocoaPods/CocoaPods/issues/1122)
|
271
|
-
|
272
|
-
* CocoaPods no longer sets the deprecated `ALWAYS_SEARCH_USER_PATHS` build
|
273
|
-
setting.
|
240
|
+
## 0.22.1
|
241
|
+
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.22.0...0.22.1)
|
242
|
+
• [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.22.0...0.22.1)
|
274
243
|
|
275
244
|
###### Bug fixes
|
276
245
|
|
277
|
-
*
|
278
|
-
[#
|
279
|
-
|
280
|
-
* Fixed the library reppresentation of the hooks which caused issues with the
|
281
|
-
`#copy_resources_script_path` method.
|
282
|
-
[#1157](https://github.com/CocoaPods/CocoaPods/issues/1157)
|
246
|
+
* Fixed a crash related to target dependencies and subspecs.
|
247
|
+
[#1168](https://github.com/CocoaPods/CocoaPods/issues/1168)
|
283
248
|
|
284
|
-
* Frameworks symlinks are not properly preserved by the copy resources script.
|
285
|
-
Thanks to Thomas Dohmke (ashtom) for the fix.
|
286
|
-
[#1063](https://github.com/CocoaPods/CocoaPods/issues/1063)
|
287
249
|
|
288
250
|
rdoc_options: []
|
289
251
|
require_paths:
|