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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 90a2186037a4453cf504673b70e3c314854c1b76
4
- data.tar.gz: ea47e0cb5a52db8a8d179225a73d42ec9d24e0ac
3
+ metadata.gz: 976392ef661c708c539726796304a39f9c7898d8
4
+ data.tar.gz: e9d45a6bd34f8bf2e13a9278f9fc54ae40168619
5
5
  SHA512:
6
- metadata.gz: 007fb6fc0ca55422f2e1bff92a16a998410e78825e7c1c2d590dfbb384ed889538086fd8947f5dd5f424bb454c0262adf17b854f5bdd3fe20dcdddd244541c2b
7
- data.tar.gz: 10e970ad5b2712a3b720054f444e78050babed63f52fe3ec8581e2fd71cf118c59af926568fc1fc3c15686de255a003106f244a386e87004084269c8e506376b
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
@@ -1,6 +1,6 @@
1
1
 
2
2
  module CBin
3
- VERSION = '0.2.3'
3
+ VERSION = '0.2.5'
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.3
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - 苏良锦