cocoapods-imy-bin 0.2.2 → 0.2.3

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
  SHA1:
3
- metadata.gz: dd5b18f45f1f6d22e4e45b82fec2fa05086ddba6
4
- data.tar.gz: d58e724a91b194e4d4a04013f219cbf2c0bd4714
3
+ metadata.gz: 90a2186037a4453cf504673b70e3c314854c1b76
4
+ data.tar.gz: ea47e0cb5a52db8a8d179225a73d42ec9d24e0ac
5
5
  SHA512:
6
- metadata.gz: 99a4b618f355ed93c89ea1385854018aa407eea366cc5a2a9f10ef995d3471fccb29d822ceee5bfc3ba6d0354c9a3d2c6c0087d019c83b10b0426987c2f96998
7
- data.tar.gz: 2c0a12345a87aabc383ecb537ade36f0bfc20fa586fd2c81ff5898e123192a4ec419d9c21fa4db371adb63b4fc77375c46269af730c6efa38c4f20a19a88f744
6
+ metadata.gz: 007fb6fc0ca55422f2e1bff92a16a998410e78825e7c1c2d590dfbb384ed889538086fd8947f5dd5f424bb454c0262adf17b854f5bdd3fe20dcdddd244541c2b
7
+ data.tar.gz: 10e970ad5b2712a3b720054f444e78050babed63f52fe3ec8581e2fd71cf118c59af926568fc1fc3c15686de255a003106f244a386e87004084269c8e506376b
@@ -79,20 +79,13 @@ module Pod
79
79
  next if local_target.name == 'Pods'
80
80
 
81
81
  target_definition_list.each do |target|
82
+
82
83
  unless target.name == local_target.name &&
83
84
  (local_target.to_hash['dependencies'] &&local_target.to_hash['dependencies'].any?)
84
85
  next
85
86
  end
86
87
 
87
- # podfile HASH_KEYS才有plugins字段,否则会被限制
88
- if local_podfile.plugins.any?
89
- hash_plugins = podfile.plugins || {}
90
- hash_plugins = hash_plugins.merge(local_podfile.plugins)
91
- set_hash_value(%w[plugins].first, hash_plugins)
92
- end
93
- # 加入源码白名单,避免本地库被二进制了
94
- podfile.set_use_source_pods(local_podfile.use_source_pods) if local_podfile.use_source_pods
95
- podfile.use_binaries!(local_podfile.use_binaries?)
88
+
96
89
 
97
90
  target.instance_exec do
98
91
  # 在target把local-target中到dependencies值删除了,再设置
@@ -126,6 +119,19 @@ module Pod
126
119
 
127
120
  end
128
121
  end
122
+
123
+ # podfile HASH_KEYS才有plugins字段,否则会被限制
124
+ if local_podfile.plugins.any?
125
+ hash_plugins = podfile.plugins || {}
126
+ hash_plugins = hash_plugins.merge(local_podfile.plugins)
127
+ set_hash_value(%w[plugins].first, hash_plugins)
128
+
129
+ # 加入源码白名单,避免本地库被二进制了
130
+ podfile.set_use_source_pods(local_podfile.use_source_pods) if local_podfile.use_source_pods
131
+ podfile.use_binaries!(local_podfile.use_binaries?)
132
+ end
133
+
134
+
129
135
  end
130
136
 
131
137
  if local_pre_install_callback
@@ -1,6 +1,6 @@
1
1
 
2
2
  module CBin
3
- VERSION = '0.2.2'
3
+ VERSION = '0.2.3'
4
4
  end
5
5
 
6
6
  module Pod
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-imy-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - 苏良锦