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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3b9cb102f03fac7ec166a52c1d0b47a4b0bcefec61664061dc1136b96db2d81
4
- data.tar.gz: a568022e39121dae7ee044b60d58369e543698e6261f5bfc1dafb3469da18512
3
+ metadata.gz: add2f5822ed9872fc0f2d586894bfada6df3afa557716d7df64b0363ef891e87
4
+ data.tar.gz: 44efd1dabb1cc97d793b4d158aa2a21d1e255174f53a71e0720127df0ac7b500
5
5
  SHA512:
6
- metadata.gz: c4f4dad80c9d988f64f83235c53ebc0e532207cda1fb0a7704248d97a4ad733e26831c42f39e2a80fd2a46ceda271ce39fd2c7d76bbff1f0f42a2116ac364473
7
- data.tar.gz: 73492f7437077ac6f9bfda2edae47a56868b3a3fefb3fc1f37cd6eb739593cd57accb2256a198950ffb3b912f9449807cceb354850c83e1f7c3c137a1db5d4ba
6
+ metadata.gz: 440836ac812dd11b8bf1439bd45da61042f91531e9ca5676dc37b5c938281782fd2ac567fa9c5e3d2d18b0108efe91b8dee286ec93f278dafe398fd987614206
7
+ data.tar.gz: 9f8593840c985b402749de8d6709752900ac0b309cd784ac52e12018e076e138d8c7fe0a1cc1657bea49a7283ec3921f1a9812b76547bbab07d0de288b64fefa
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the cocoapods-core.
3
3
  #
4
- CORE_VERSION = '1.8.0.beta.1'.freeze unless defined? Pod::CORE_VERSION
4
+ CORE_VERSION = '1.8.0.beta.2'.freeze unless defined? Pod::CORE_VERSION
5
5
  end
@@ -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 = sources([name]).first
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.1
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-02 00:00:00.000000000 Z
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