cocoapods-fy-bin 0.2.6 → 0.2.7

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: ca44a387f411382f6b5eb1f94ee597206a9b0f590d3c900746096fafbdfe125a
4
- data.tar.gz: 118a5ed356cb1c0d560a3ab57afa8e18805df43de3779694474a3270c3f30bea
3
+ metadata.gz: 32f470edac0ea8826a262110a7d30ac3b1b584b905a9aab6cf61487a11cc7cc4
4
+ data.tar.gz: a2129113fcee87c95259d994b4bbad7eb26b3d0b7c1479a167046ccfdcce6748
5
5
  SHA512:
6
- metadata.gz: 8df99929379d57c1003215efc8805e971aabc223cdafa6e214df4ba83ae705e3ecf9e8e505ed8a81742775178d9abfcd7684dbd141abba3d8235f4bb7cfcb0ea
7
- data.tar.gz: f345b7da64b715ecf6051a9cc37ca9668930b6ee5bdc77931df2808bb42aaf9fc570b420e08b6dd4b956fcfbab9777b8a30315d4b776d47fac1e2ab641c6eea7
6
+ metadata.gz: b6ee5a772cc29ee2007e99099035138821b41ab3fc9056d8656df35171f6b487a66080294bf8495e82e3ec79e630eabb9dcd3351c10ab770fd2aa038a9e51f46
7
+ data.tar.gz: da84325dc2ef313de0789decf23f188aa8be43cbc1cea5b65d6e2dbab85101b6aa102153434a66588c61472cadda41e9b2bd39da529cf2b3ba43ec38891e830f
@@ -1,6 +1,6 @@
1
1
 
2
2
  module CBin
3
- VERSION = '0.2.6'
3
+ VERSION = '0.2.7'
4
4
  end
5
5
 
6
6
  module Pod
@@ -66,15 +66,19 @@ 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
+ # 如果没有使用全局二进制字段 则进入局部二进制判断 删除framework文件夹 二进制源码之间切换时候用到
73
+ begin
74
+ if !podfile.use_binaries_selector.nil? && !podfile.use_binaries_selector.call(spec) && spec.spec_source.url == @sources_manager.binary_source.url && !podfile.use_binaries?
75
+ return false
76
+ end
77
+ rescue
78
+ puts spec
79
+ end
80
+ old_requirement_satisfied_by?(requirement, activated, spec)
81
+ end
78
82
 
79
83
  elsif Pod.match_version?('~> 1.4')
80
84
  def requirement_satisfied_by?(requirement, activated, spec)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-fy-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - dr