cocoapods-fy-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
  SHA256:
3
- metadata.gz: ffe0a4c864648fcc5fd7786bbab2158ab889b6df901dae86c10d56ed24bf92c0
4
- data.tar.gz: 12dcec3f789d8a9befd685e49d08e412300f27d8c9294037b1006af65e95c3dc
3
+ metadata.gz: d3009988984dd773c2cc626f4dde51e2fe26c16d797cbc9535b6dd03b39f1b96
4
+ data.tar.gz: af01527e3b4248c376f6a46ff8a3e0ddaf15cb1711d138df02ce8e50cac2f928
5
5
  SHA512:
6
- metadata.gz: 54dd90f9752610b875d320906d7d8d645b393a7ef260f0f1edb2735bd39eec07b4e18010d756c17d512d41c968ec770384cec9c491adad209d2c95df7369052d
7
- data.tar.gz: d82b9ecb4ca558e9f42df83781a094eae7655749c4a8e080e979c64c91d984433e41798e7e7e36c6420aa97e3bcdb3edb2019e98797a570e559a04d4f9e5a908
6
+ metadata.gz: a44aebf7e0873fcb0fc9e169d0904dc287880bd58bdd9d83e1c3fdbfea4a4a8c08b9d204f5e2fe653178ee4cdffcfb6ca3db53fd6b85880521be222b6fb3645a
7
+ data.tar.gz: 484c095dbd45b2b7fea49b3c1433625beea194ba7d1fbf21ead49c673653b23f69d786ac13b2670f80dc8498c66e84d39ff9ffde16dd41e16f600494c5478d99
@@ -170,6 +170,7 @@ module Pod
170
170
  "--sources=#{sources_option(@code_dependencies, @sources)}",
171
171
  "--gen-directory=#{CBin::Config::Builder.instance.gen_dir}",
172
172
  '--clean',
173
+ '--platforms=ios',
173
174
  *@additional_args
174
175
  ]
175
176
 
@@ -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
@@ -203,11 +203,11 @@ module CBin
203
203
  def target_name
204
204
  #区分多平台,如配置了多平台,会带上平台的名字
205
205
  # 如libwebp-iOS
206
- if @spec.available_platforms.count > 1
207
- "#{@spec.name}-#{Platform.string_name(@spec.consumer(@platform).platform_name)}"
208
- else
206
+ # if @spec.available_platforms.count > 1
207
+ # "#{@spec.name}-#{Platform.string_name(@spec.consumer(@platform).platform_name)}"
208
+ # else
209
209
  @spec.name
210
- end
210
+ # end
211
211
  end
212
212
 
213
213
  # 编译前需执行的的shell脚本
@@ -66,15 +66,15 @@ module Pod
66
66
  old_valid_possibility_version_for_root_name?(requirement, activated, spec)
67
67
  end
68
68
 
69
- alias old_requirement_satisfied_by? requirement_satisfied_by?
70
- def requirement_satisfied_by?(requirement, activated, spec)
71
- podfile = Pod::Config.instance.podfile
72
- # 如果没有使用全局二进制字段 则进入局部二进制判断
73
- if !podfile.use_binaries_selector.nil? && !podfile.use_binaries_selector.call(spec) && spec.spec_source.url == @sources_manager.binary_source.url && !podfile.use_binaries?
74
- return false
75
- end
76
- old_requirement_satisfied_by?(requirement, activated, spec)
77
- end
69
+ # alias old_requirement_satisfied_by? requirement_satisfied_by?
70
+ # def requirement_satisfied_by?(requirement, activated, spec)
71
+ # podfile = Pod::Config.instance.podfile
72
+ # # 如果没有使用全局二进制字段 则进入局部二进制判断
73
+ # if !podfile.use_binaries_selector.nil? && !podfile.use_binaries_selector.call(spec) && spec.spec_source.url == @sources_manager.binary_source.url && !podfile.use_binaries?
74
+ # return false
75
+ # end
76
+ # old_requirement_satisfied_by?(requirement, activated, spec)
77
+ # end
78
78
 
79
79
  elsif Pod.match_version?('~> 1.4')
80
80
  def requirement_satisfied_by?(requirement, activated, spec)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-fy-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
  - dr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-23 00:00:00.000000000 Z
11
+ date: 2023-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel