cocoapods-byte-panglem-beta 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4bd2a2219eead13c16643aa40588e2e1d05559ca9189095f44e430e2e4846f6
|
4
|
+
data.tar.gz: cb781a1445e60a47c7425284693b2fc8ca16aec419f97237a92625efc91547e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a118c8a514f25595d2ea76219abd483d4a99122c040e4d66972c26b456d0f955046e242f68f8dbab72c34d3ccb1dc65275cac69501b84e64213888c303214ac
|
7
|
+
data.tar.gz: 7c9b8c8f356b4d336bad3694e68ffbb03346f46a71083116218b6bdcf432ec78702a48494061faadf41d14a208f9b5f1557d801840d544e2b1d28ae8df59f5f2
|
@@ -130,7 +130,6 @@ module PM
|
|
130
130
|
}
|
131
131
|
|
132
132
|
if result.is_rely_update
|
133
|
-
|
134
133
|
specs.delete_if{|spec|
|
135
134
|
Pod::Specification.root_name(spec.spec.name) == result.rely_name && spec.spec.version.version == result.rely_original_version
|
136
135
|
}
|
@@ -140,7 +139,7 @@ module PM
|
|
140
139
|
end
|
141
140
|
specs.sort_by!{|spec| spec.spec.name}
|
142
141
|
is_update_finish = true
|
143
|
-
|
142
|
+
request_track result.sdk_original_version, result.sdk_target_version, result.sdk_target_version, response_data["code"], response_data["message"]
|
144
143
|
|
145
144
|
else
|
146
145
|
wish_info = {"no_auto_update"=>true,"timestamp" =>Time.now.to_i}
|
@@ -23,15 +23,16 @@ module PMPlugin
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def PMPlugin.update()
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
26
|
+
if PM::Recorder.instance.is_auto_update
|
27
|
+
puts "[cocoapods-byte-panglem-beta]checking for updates..."
|
28
|
+
command = 'gem install cocoapods-byte-panglem-beta'
|
29
|
+
stdout, stderr, status = Open3.capture3(command)
|
30
|
+
|
31
|
+
if status.success?
|
32
|
+
puts "[cocoapods-byte-panglem-beta]update sucess"
|
33
|
+
end
|
34
34
|
end
|
35
|
+
|
35
36
|
end
|
36
37
|
|
37
38
|
end
|
@@ -156,7 +157,11 @@ module Pod
|
|
156
157
|
PM::Recorder.instance.set_plugin_load true
|
157
158
|
case options
|
158
159
|
when Hash
|
159
|
-
PM::Recorder.instance.set_is_debug options[:is_debug]
|
160
|
+
PM::Recorder.instance.set_is_debug options[:is_debug] if options.has_key?(:is_debug)
|
161
|
+
PM::Recorder.instance.set_is_auto_update options[:is_auto_update]if options.has_key?(:is_auto_update)
|
162
|
+
m = PM::Recorder.instance.is_debug
|
163
|
+
n = PM::Recorder.instance.is_auto_update
|
164
|
+
c = 1
|
160
165
|
end
|
161
166
|
|
162
167
|
PMPlugin.update
|
@@ -314,11 +314,14 @@ module PM
|
|
314
314
|
attr_reader :plugin_version
|
315
315
|
attr_reader :lockfile_data
|
316
316
|
attr_reader :is_debug
|
317
|
+
attr_reader :is_auto_update
|
318
|
+
|
317
319
|
|
318
320
|
|
319
321
|
def initialize()
|
320
322
|
@adapter_list = []
|
321
323
|
@is_debug = false
|
324
|
+
@is_auto_update = false
|
322
325
|
end
|
323
326
|
|
324
327
|
def set_plugin_load(is_load)
|
@@ -330,6 +333,10 @@ module PM
|
|
330
333
|
@is_debug = is_debug
|
331
334
|
end
|
332
335
|
|
336
|
+
def set_is_auto_update(is_auto_update)
|
337
|
+
@is_auto_update = is_auto_update
|
338
|
+
end
|
339
|
+
|
333
340
|
def add_global_note(note)
|
334
341
|
@global_note = note
|
335
342
|
end
|
@@ -454,7 +461,6 @@ module PM
|
|
454
461
|
result.sdk_target_version = target_sdk_root_spec.version.version
|
455
462
|
PM::Recorder.instance.sdk_original_version = result.sdk_original_version
|
456
463
|
PM::Recorder.instance.sdk_target_version = result.sdk_target_version
|
457
|
-
ss_temp = original_sdk_spec.spec
|
458
464
|
target_rely_version = target_sdk_root_spec.get_rely_version
|
459
465
|
original_rely_version = original_sdk_spec.spec.get_rely_version
|
460
466
|
# target_rely_version = "0.2.0.0"
|