cocoapods-tdf-bin 0.0.17 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f577bfd3e7fcecd47e17b0e1bcbcde05f610607a643bb17108cf302ee3d380c
4
- data.tar.gz: e716d34c5ffbd2dba9b565fbd62f6c84b4e5013278f3e1d0f46733ace03377ac
3
+ metadata.gz: e942896253a1d129115b23c8d16e0e8a48132ca908fd55c65418d8a5bc2eb852
4
+ data.tar.gz: f21420c824eccac318f510e969b2283e0dd84719dc4b2f119365c0ca4b402701
5
5
  SHA512:
6
- metadata.gz: 913994c6be4e81d2bc8a9678f288b2b9b3496d128a081cd174f0b2838bad714f4fc2dd4adbf2616f075e031c0e44566c04104faf7c3ec25dcf3c89e26873b58e
7
- data.tar.gz: b74dcc1705407ada38305239078378f22b3a379e14a2065ebd6895a2f43608773c828fb427a0e55c67bf17fc35c824174004db3b6c3bb6eb1029742dab2e24d2
6
+ metadata.gz: 1e4ba88019303f1233cf55550f68b29393211c8f722c6e3de943d4c8f7049eb9f265d61f298de6e15397994a64f655ef71c74881dd2117b9e45b5cbc50b1174d
7
+ data.tar.gz: deb0038838eb9790bc855469bc738c589d5025592a411d4b6851b5db0f56f4f3958b6240706f4dc9df024d36edf325eaadcda28e4341167e04ec90f049b5615d
@@ -1,6 +1,6 @@
1
1
 
2
2
  module CBin
3
- VERSION = '0.0.17'
3
+ VERSION = '0.0.18'
4
4
  end
5
5
 
6
6
  module Pod
@@ -43,9 +43,12 @@ module Pod
43
43
 
44
44
  local_pod_hash = get_batch_local_pods
45
45
  remote_pod_hash = get_batch_remote_pods
46
- requirements = remote_pod_hash[name].nil? ? requirements : remote_pod_hash[name];
47
- requirements = local_pod_hash[name].nil? ? requirements : local_pod_hash[name];
48
-
46
+ if remote_pod_hash != nil
47
+ requirements = remote_pod_hash[name].nil? ? requirements : remote_pod_hash[name];
48
+ end
49
+ if local_pod_hash != nil
50
+ requirements = local_pod_hash[name].nil? ? requirements : local_pod_hash[name];
51
+ end
49
52
  current_target_definition.store_pod(name, *requirements)
50
53
  end
51
54
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-tdf-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - gaijiaofan