cocoapods-imy-bin 0.2.3 → 0.2.5
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 +12 -12
- 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: 976392ef661c708c539726796304a39f9c7898d8
|
4
|
+
data.tar.gz: e9d45a6bd34f8bf2e13a9278f9fc54ae40168619
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d364c9e6ea4b03bb16d4587d5da01b16524ff705220655494e3112485e8a5eaa36e7857c6657bb06aaebee2116a3547f0451a8a6c9d0fb483c799055498ab7b2
|
7
|
+
data.tar.gz: 91e2ccc215a8f3a4803041feba29356054e9a52231fe90699ce6c6b9ac081f19fe8b09bfd69eed13705f1018dbca6339276e98501732846e5f294c77cb8d5f9e
|
@@ -73,6 +73,18 @@ module Pod
|
|
73
73
|
|
74
74
|
podfile.instance_eval do
|
75
75
|
begin
|
76
|
+
|
77
|
+
# podfile HASH_KEYS才有plugins字段,否则会被限制
|
78
|
+
if local_podfile.plugins.any?
|
79
|
+
hash_plugins = podfile.plugins || {}
|
80
|
+
hash_plugins = hash_plugins.merge(local_podfile.plugins)
|
81
|
+
set_hash_value(%w[plugins].first, hash_plugins)
|
82
|
+
|
83
|
+
# 加入源码白名单,避免本地库被二进制了
|
84
|
+
podfile.set_use_source_pods(local_podfile.use_source_pods) if local_podfile.use_source_pods
|
85
|
+
podfile.use_binaries!(local_podfile.use_binaries?)
|
86
|
+
end
|
87
|
+
|
76
88
|
# 在target把local-target中到dependencies值删除了,再设置
|
77
89
|
# 把本地和原始到dependencies 合并,设置dependencies
|
78
90
|
local_podfile&.target_definition_list&.each do |local_target|
|
@@ -120,18 +132,6 @@ module Pod
|
|
120
132
|
end
|
121
133
|
end
|
122
134
|
|
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
|
-
|
135
135
|
end
|
136
136
|
|
137
137
|
if local_pre_install_callback
|