cocoapods-binary-gcp 0.0.2 → 0.0.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f149bb28d8bbc94a6f34e3a1eec0aafb9699cae
|
4
|
+
data.tar.gz: 4b1987b1c30f41ed72f93f42fddbccee35f8fe99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f7ff61ea334848be890eaeccf62d22df216d7c5f10702f64bd4107579dfd5e1d2065a8cb905460a7fc67006d4ab3ce849f474882947ace53e54f6016fceca76
|
7
|
+
data.tar.gz: 8db22b13aa2050c0c0da636636adedf38373fed571c51f70d85a5d1d042c67d80dce2b36e624906217eafaeaae5c0f07a7c00238318d7b1e2bf3e7b5e180ac2a
|
@@ -121,17 +121,33 @@ module Pod
|
|
121
121
|
end
|
122
122
|
|
123
123
|
# frameworks which mark binary true, should be filtered before prebuild
|
124
|
+
|
125
|
+
if Pod::Podfile::DSL.prebuild_all
|
126
|
+
dont_prebuild_framework_pod_names = []
|
127
|
+
podfile.target_definition_list.each do |target_definition|
|
128
|
+
next if target_definition.should_not_prebuild_framework_pod_names.empty?
|
129
|
+
dont_prebuild_framework_pod_names += target_definition.should_not_prebuild_framework_pod_names
|
130
|
+
end
|
124
131
|
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
132
|
+
targets = targets
|
133
|
+
.reject {|pod_target| sandbox.local?(pod_target.pod_name) }
|
134
|
+
.reject {|pod_target| dont_prebuild_framework_pod_names.include?(pod_target.pod_name) }
|
135
|
+
|
136
|
+
|
137
|
+
if not Pod::Podfile::DSL.except_binary_list.nil?
|
138
|
+
targets = targets.reject { |pod_target| Pod::Podfile::DSL.except_binary_list.include?(pod_target.pod_name) }
|
139
|
+
end
|
140
|
+
else
|
141
|
+
prebuild_framework_pod_names = []
|
142
|
+
podfile.target_definition_list.each do |target_definition|
|
143
|
+
next if target_definition.prebuild_framework_pod_names.empty?
|
144
|
+
prebuild_framework_pod_names += target_definition.prebuild_framework_pod_names
|
145
|
+
end
|
146
|
+
|
147
|
+
targets = targets
|
148
|
+
.reject {|pod_target| sandbox.local?(pod_target.pod_name) }
|
149
|
+
.select {|pod_target| prebuild_framework_pod_names.include?(pod_target.pod_name) }
|
129
150
|
end
|
130
|
-
|
131
|
-
|
132
|
-
targets = targets
|
133
|
-
.reject {|pod_target| sandbox.local?(pod_target.pod_name) }
|
134
|
-
.select {|pod_target| prebuild_framework_pod_names.include?(pod_target.pod_name) }
|
135
151
|
|
136
152
|
# if not Pod::Podfile::DSL.except_binary_list.nil?
|
137
153
|
# targets = targets.reject { |pod_target| Pod::Podfile::DSL.except_binary_list.include?(pod_target.pod_name) }
|
@@ -27,6 +27,8 @@ module Pod
|
|
27
27
|
return
|
28
28
|
end
|
29
29
|
|
30
|
+
# old_method.bind(self).(name, *args)
|
31
|
+
|
30
32
|
# patched content
|
31
33
|
should_prebuild = Pod::Podfile::DSL.prebuild_all
|
32
34
|
local = false
|
@@ -41,7 +43,9 @@ module Pod
|
|
41
43
|
should_prebuild = !Pod::Podfile::DSL.except_binary_list.include?(name)
|
42
44
|
end
|
43
45
|
|
44
|
-
if
|
46
|
+
if Pod::is_prebuild_stage
|
47
|
+
old_method.bind(self).(name, *args)
|
48
|
+
elsif should_prebuild and (not local)
|
45
49
|
old_method.bind(self).(name, *args)
|
46
50
|
end
|
47
51
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-binary-gcp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- leavez
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-02-
|
12
|
+
date: 2020-02-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cocoapods
|