cocoapods-packing-cubes 0.3.1 → 0.4.0

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: 45d68fea73b2d900e36cba846c1597ba36a65bc5141b7ab52f324f6b9721a44c
4
- data.tar.gz: a0277d940a5342af623f6ddc60cc673f970794b5a2fb6aafe8382bc6ba8d202e
3
+ metadata.gz: 0bb2a277432599db6f7c814f1a5add4806c68091fdf09759bf0201b793084eed
4
+ data.tar.gz: 2aa0a8d75bd5b6ffba909719affc78bcdcad66a07f78d14dd79de846bb86d8ae
5
5
  SHA512:
6
- metadata.gz: 0d8dbd97286013be36499a3ce78a404f32a1ed23259028afa6ad3ad361d6ea7022eb519e326bdecca8454f85edbd51500c9eb6564748ec4035cf089ba6278832
7
- data.tar.gz: ef660ae1f586144535a12a2b8be854d5ed938d3af04b9a245e89478654a9a3e6b8869550796773e76fb359c80c7244974f29daad72c422a9f693a968ff11914a
6
+ metadata.gz: 7b972fbe90e4b04a08e9544f12772642027a937b5bde01e6e3e9dfd9effdb38487eab8a72f4b67d17314e1274f837de3ebb4d167120e30e3eedab8e3fdf97522
7
+ data.tar.gz: 6e2167241f6c60f4ef75d945525ca59876b78d4958debb3345bc033f3b659f11b8d152e07ebf07f151621ef54a110c143a01c25ba7a75f7c30143574b6e494f1
@@ -20,7 +20,10 @@ module CocoaPodsPackingCubes
20
20
  end
21
21
 
22
22
  def packing_cube
23
- @packing_cube ||= podfile.plugins.fetch('cocoapods-packing-cubes', {}).fetch(pod_name, {})
23
+ @packing_cube ||= begin
24
+ packing_cubes_config = podfile.plugins.fetch('cocoapods-packing-cubes', {})
25
+ packing_cubes_config.fetch(pod_name) { packing_cubes_config.fetch('*', {}) }
26
+ end
24
27
  rescue
25
28
  raise ::Pod::Informative, 'The cocoapods-packing-cubes plugin requires a hash of options.'
26
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-packing-cubes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Giddins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-14 00:00:00.000000000 Z
11
+ date: 2019-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  version: '0'
68
68
  requirements: []
69
69
  rubyforge_project:
70
- rubygems_version: 2.7.7
70
+ rubygems_version: 2.7.8
71
71
  signing_key:
72
72
  specification_version: 4
73
73
  summary: A CocoaPods plugin that allows customizing how individual pods are packaged