cocoapods-byte-csjm 0.0.7 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods-byte-csjm/gem_version.rb +1 -1
- data/lib/cocoapods-byte-csjm/gm.rb +12 -16
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7b0bdb91137320a843b3bd425657bf7929efc45e2d9b71cd12db29a161e61f2
|
4
|
+
data.tar.gz: 7f7e937fc576a7be6ff400efd50b84807c1e7b0f275ca1d11ebee8c8455f47b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b79fca02e16be7441a5a68fd5ed4a19be93f02d77a59192b5ac060c84712d3a86b53901a8e2483ea2172b588cab398fec6f705e015480669f40c7ab98e246ff
|
7
|
+
data.tar.gz: 0b0e7cf9e5024444891118974d70474628551d37d3afb9e347327d218b616ddac1aead791d45c39b1ede44ce40a14d127419c994a7e904f62c5036b91b647296
|
@@ -24,22 +24,18 @@ module CSJMPlugin
|
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
27
|
-
|
28
|
-
|
27
|
+
def CSJMPlugin.update
|
28
|
+
puts "Checking for updates..."
|
29
|
+
# output = system('gem update cocoapods-byte-csjm')
|
30
|
+
command = 'gem install cocoapods-byte-csjm'
|
31
|
+
stdout, stderr, status = Open3.capture3(command)
|
29
32
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
# if status.success?
|
37
|
-
# puts "Gem安装成功"
|
38
|
-
# else
|
39
|
-
# puts "Gem安装失败"
|
40
|
-
# puts "错误信息:#{stderr}"
|
41
|
-
# end
|
42
|
-
# end
|
33
|
+
if status.success?
|
34
|
+
puts "cocoapods-byte-csjm update sucess"
|
35
|
+
else
|
36
|
+
puts "cocoapods-byte-csjm update fail message:#{stderr}"
|
37
|
+
end
|
38
|
+
end
|
43
39
|
end
|
44
40
|
|
45
41
|
module GM
|
@@ -713,7 +709,7 @@ module Pod
|
|
713
709
|
def plugin(name, options = {})
|
714
710
|
if name == 'cocoapods-byte-csjm'
|
715
711
|
GM::Recorder.instance.set_plugin_load true
|
716
|
-
|
712
|
+
CSJMPlugin.update
|
717
713
|
end
|
718
714
|
|
719
715
|
original_plugin(name, options)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-byte-csjm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zhangtianhao.1230@bytedance.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '0'
|
103
103
|
requirements: []
|
104
|
-
rubygems_version: 3.
|
104
|
+
rubygems_version: 3.2.3
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: a plugin for csjm
|