cocoapods 1.3.0.beta.3 → 1.3.0.rc.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 +16 -0
- data/lib/cocoapods/gem_version.rb +1 -1
- data/lib/cocoapods/target/aggregate_target.rb +17 -13
- data/lib/cocoapods/validator.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b7f59b4c0c994860e2d5a181acaa9f6afd0e0c2
|
4
|
+
data.tar.gz: f8ca3195626762fe8867db815b01936429b91976
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8a03b60c0a4d3d31f1349ad7c107a456ef9ccad276db521552621ab4493540d04e93ed381c82f5cebafb3c46c33eaf98a1b1e2aeba78e8205970cc370e43099
|
7
|
+
data.tar.gz: 33a29f568edddeca5ba65901269565784e0830a37548ba7a21123392201782c2a1af9bf081b28c2d6c8acd9937c4fa534d86877c588dbc90595e55b015319a79
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,22 @@ 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.3.0.rc.1 (2017-07-27)
|
8
|
+
|
9
|
+
##### Enhancements
|
10
|
+
|
11
|
+
* None.
|
12
|
+
|
13
|
+
##### Bug Fixes
|
14
|
+
|
15
|
+
* Cache result of resource and framework paths
|
16
|
+
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
|
17
|
+
[#6893](https://github.com/CocoaPods/CocoaPods/pull/6893)
|
18
|
+
|
19
|
+
* Ensure source urls are set when spec has subspecs with dependencies
|
20
|
+
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
|
21
|
+
[#6888](https://github.com/CocoaPods/CocoaPods/pull/6888)
|
22
|
+
|
7
23
|
## 1.3.0.beta.3 (2017-07-19)
|
8
24
|
|
9
25
|
##### Enhancements
|
@@ -188,26 +188,30 @@ module Pod
|
|
188
188
|
# input and output paths grouped by config
|
189
189
|
#
|
190
190
|
def framework_paths_by_config
|
191
|
-
framework_paths_by_config
|
192
|
-
|
193
|
-
|
194
|
-
|
191
|
+
@framework_paths_by_config ||= begin
|
192
|
+
framework_paths_by_config = {}
|
193
|
+
user_build_configurations.keys.each do |config|
|
194
|
+
relevant_pod_targets = pod_targets.select do |pod_target|
|
195
|
+
pod_target.include_in_build_config?(target_definition, config)
|
196
|
+
end
|
197
|
+
framework_paths_by_config[config] = relevant_pod_targets.flat_map(&:framework_paths)
|
195
198
|
end
|
196
|
-
framework_paths_by_config
|
199
|
+
framework_paths_by_config
|
197
200
|
end
|
198
|
-
framework_paths_by_config
|
199
201
|
end
|
200
202
|
|
201
203
|
# @return [Hash{String => Array<String>}] Uniqued Resources grouped by config
|
202
204
|
#
|
203
205
|
def resource_paths_by_config
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
206
|
+
@resource_paths_by_config ||= begin
|
207
|
+
relevant_pod_targets = pod_targets.reject do |pod_target|
|
208
|
+
pod_target.should_build? && pod_target.requires_frameworks?
|
209
|
+
end
|
210
|
+
user_build_configurations.keys.each_with_object({}) do |config, resources_by_config|
|
211
|
+
resources_by_config[config] = relevant_pod_targets.flat_map do |pod_target|
|
212
|
+
next [] unless pod_target.include_in_build_config?(target_definition, config)
|
213
|
+
(pod_target.resource_paths + [bridge_support_file].compact).uniq
|
214
|
+
end
|
211
215
|
end
|
212
216
|
end
|
213
217
|
end
|
data/lib/cocoapods/validator.rb
CHANGED
@@ -29,7 +29,7 @@ module Pod
|
|
29
29
|
#
|
30
30
|
def initialize(spec_or_path, source_urls)
|
31
31
|
@linter = Specification::Linter.new(spec_or_path)
|
32
|
-
@source_urls = if @linter.spec && @linter.spec.dependencies.empty?
|
32
|
+
@source_urls = if @linter.spec && @linter.spec.dependencies.empty? && @linter.spec.recursive_subspecs.all? { |s| s.dependencies.empty? }
|
33
33
|
[]
|
34
34
|
else
|
35
35
|
source_urls.map { |url| config.sources_manager.source_with_name_or_url(url) }.map(&:url)
|
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.3.0.
|
4
|
+
version: 1.3.0.rc.1
|
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: 2017-07-
|
14
|
+
date: 2017-07-28 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.3.0.
|
22
|
+
version: 1.3.0.rc.1
|
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.3.0.
|
29
|
+
version: 1.3.0.rc.1
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: claide
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|