cocoapods-core 1.8.0.beta.1 → 1.8.0.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods-core/gem_version.rb +1 -1
- data/lib/cocoapods-core/lockfile.rb +3 -0
- data/lib/cocoapods-core/source/manager.rb +13 -2
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: add2f5822ed9872fc0f2d586894bfada6df3afa557716d7df64b0363ef891e87
|
4
|
+
data.tar.gz: 44efd1dabb1cc97d793b4d158aa2a21d1e255174f53a71e0720127df0ac7b500
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 440836ac812dd11b8bf1439bd45da61042f91531e9ca5676dc37b5c938281782fd2ac567fa9c5e3d2d18b0108efe91b8dee286ec93f278dafe398fd987614206
|
7
|
+
data.tar.gz: 9f8593840c985b402749de8d6709752900ac0b309cd784ac52e12018e076e138d8c7fe0a1cc1657bea49a7283ec3921f1a9812b76547bbab07d0de288b64fefa
|
@@ -489,7 +489,10 @@ module Pod
|
|
489
489
|
next unless source
|
490
490
|
next if specs.empty?
|
491
491
|
key = source.url || source.name
|
492
|
+
|
493
|
+
# save `trunk` as 'trunk' so that the URL itself can be changed without lockfile churn
|
492
494
|
key = Pod::TrunkSource::TRUNK_REPO_NAME if source.name == Pod::TrunkSource::TRUNK_REPO_NAME
|
495
|
+
|
493
496
|
value = specs.map { |s| s.root.name }.uniq
|
494
497
|
[key, YAMLHelper.sorted_array(value)]
|
495
498
|
end.compact]
|
@@ -35,7 +35,7 @@ module Pod
|
|
35
35
|
def aggregate_for_dependency(dependency)
|
36
36
|
return aggregate if dependency.podspec_repo.nil?
|
37
37
|
|
38
|
-
source = source_with_url(dependency.podspec_repo)
|
38
|
+
source = source_with_url(dependency.podspec_repo) || source_with_name(dependency.podspec_repo)
|
39
39
|
return aggregate if source.nil?
|
40
40
|
|
41
41
|
aggregate_with_repos([source.repo])
|
@@ -326,6 +326,17 @@ module Pod
|
|
326
326
|
@aggregates_by_repos[repos] ||= Source::Aggregate.new(sources)
|
327
327
|
end
|
328
328
|
|
329
|
+
# @return [Source] The source with the given name.
|
330
|
+
#
|
331
|
+
# @param [String] name
|
332
|
+
# The name of the source.
|
333
|
+
#
|
334
|
+
def source_with_name(name)
|
335
|
+
source = sources([name]).first
|
336
|
+
return nil unless source.repo.exist?
|
337
|
+
source
|
338
|
+
end
|
339
|
+
|
329
340
|
# @return [Source] The updateable source with the given name. If no updateable source
|
330
341
|
# with given name is found it raises.
|
331
342
|
#
|
@@ -333,7 +344,7 @@ module Pod
|
|
333
344
|
# The name of the source.
|
334
345
|
#
|
335
346
|
def updateable_source_named(name)
|
336
|
-
specified_source =
|
347
|
+
specified_source = source_with_name(name)
|
337
348
|
unless specified_source
|
338
349
|
raise Informative, "Unable to find the `#{name}` repo."
|
339
350
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.0.beta.
|
4
|
+
version: 1.8.0.beta.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eloy Duran
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-08-
|
12
|
+
date: 2019-08-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -73,6 +73,20 @@ dependencies:
|
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '1.0'
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: concurrent-ruby
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.0'
|
83
|
+
type: :runtime
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.0'
|
76
90
|
- !ruby/object:Gem::Dependency
|
77
91
|
name: bacon
|
78
92
|
requirement: !ruby/object:Gem::Requirement
|