cocoapods-imy-bin 0.2.2 → 0.2.3
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 +4 -4
- data/lib/cocoapods-imy-bin/command/bin/update.rb +15 -9
- data/lib/cocoapods-imy-bin/gem_version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90a2186037a4453cf504673b70e3c314854c1b76
|
4
|
+
data.tar.gz: ea47e0cb5a52db8a8d179225a73d42ec9d24e0ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|