cocoapods-generate 2.2.1 → 2.2.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: ee3258545cab5bd0ed207d266668ab48b3dbe581d0a77591e5eb357b954ddc47
4
- data.tar.gz: 16aea52165bfa4fb4c90fd9e031821ccde0e65e1468817e00163e6c26050fbe4
3
+ metadata.gz: 8ec807085c21de2232ba62daad8b1a5cb014904ac95082163de14e1ee46cc9fc
4
+ data.tar.gz: f03150d21af7d856c665e421ea98a37ec5114d622f0d775dc9e674a2c72ff5b3
5
5
  SHA512:
6
- metadata.gz: e7f5c160b8deba03d38b31ab82100a5c5f55494970a0edbef3967a73392323ad60b00efef92a3d05f4477411bc9a9dd99c641795cb6195cc3f1642160ef7d755
7
- data.tar.gz: b117590d517859c8207428b4328ad5785f2e4e53c5bd1802e53eee35e8700af01c547c7f53d174a2a9733da82c73922a8ac2f1f32d1a582c1ba4b78519dfc049
6
+ metadata.gz: 620f5d4fb25024442f8e697b47bfa1d30f47933e06d5467ade270b25a00fdce9f2de492bbbd3706674893ae30cf4c9633d25420e356933cbb83df7cff9820d94
7
+ data.tar.gz: 5470965cdcdc8a68dba3bd14051ec0d6a819363b19440e2f1ad9ef42622036e839bb188a3e4eb2655b1a7d2739eda697382c1053d17a2078c71f02bbb3ff9d1c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.2.1
1
+ 2.2.2
@@ -363,8 +363,15 @@ module Pod
363
363
  end
364
364
  elsif path.directory?
365
365
  glob = Pathname.glob(path.expand_path + '**/*.podspec{.json,}').select { |f| f.relative_path_from(gen_directory).to_s.start_with?('..') }
366
+ glob.reject! { |f| File.basename(f.dirname) == 'Local Podspecs' && f.parent.parent.join('Manifest.lock').file? }
366
367
  next StandardError.new "no specs found in #{UI.path path}" if glob.empty?
367
- glob.map { |f| Pod::Specification.from_file(f) }.sort_by(&:name)
368
+ podspecs = glob.map { |f| Pod::Specification.from_file(f) }
369
+ podspecs.group_by(&:name).sort_by(&:first).flat_map do |name, specs|
370
+ if specs.size != 1
371
+ Pod::UI.warn("Multiple podspecs found for pod #{name}, which one will be used is undefined:#{specs.map { |s| "\n - #{s.defined_in_file}" }.join}")
372
+ end
373
+ specs
374
+ end
368
375
  else
369
376
  Pod::Specification.from_file(path)
370
377
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-generate
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Giddins
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods-disable-podfile-validations
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubygems_version: 3.0.3
104
+ rubygems_version: 3.0.1
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: Generates Xcode workspaces from a podspec.