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 +4 -4
- data/lib/cocoapods-fy-bin/gem_version.rb +1 -1
- data/lib/cocoapods-fy-bin/native/resolver.rb +13 -9
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 32f470edac0ea8826a262110a7d30ac3b1b584b905a9aab6cf61487a11cc7cc4
|
|
4
|
+
data.tar.gz: a2129113fcee87c95259d994b4bbad7eb26b3d0b7c1479a167046ccfdcce6748
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b6ee5a772cc29ee2007e99099035138821b41ab3fc9056d8656df35171f6b487a66080294bf8495e82e3ec79e630eabb9dcd3351c10ab770fd2aa038a9e51f46
|
|
7
|
+
data.tar.gz: da84325dc2ef313de0789decf23f188aa8be43cbc1cea5b65d6e2dbab85101b6aa102153434a66588c61472cadda41e9b2bd39da529cf2b3ba43ec38891e830f
|
|
@@ -66,15 +66,19 @@ module Pod
|
|
|
66
66
|
old_valid_possibility_version_for_root_name?(requirement, activated, spec)
|
|
67
67
|
end
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
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)
|