cocoapods-byte-csjm 0.0.7 → 0.0.12

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: cb0471e5bbc053367670af794e84be30e90ddfc062fea10ea78958b8d58922ed
4
- data.tar.gz: dc0ec16937e2b23cef36b1888c2c7ff47bb5d02d791f9b9903c41a2d49e8af19
3
+ metadata.gz: c7b0bdb91137320a843b3bd425657bf7929efc45e2d9b71cd12db29a161e61f2
4
+ data.tar.gz: 7f7e937fc576a7be6ff400efd50b84807c1e7b0f275ca1d11ebee8c8455f47b6
5
5
  SHA512:
6
- metadata.gz: 2c27e02bbc40597d5d0a193d45548b3702d12fab937a54bc225426ae6be524b67ca0f50b9c4db9586050211598e1461953b65e8f44d17d3e5130d4774edd5a22
7
- data.tar.gz: 88b7d4d299514df507d466e2771f3950230e4652ddada6d1bc011ab00f26d43b67abaa106312dfac2160f3856fca3a84b631756717621417f47a2ab66072106b
6
+ metadata.gz: 9b79fca02e16be7441a5a68fd5ed4a19be93f02d77a59192b5ac060c84712d3a86b53901a8e2483ea2172b588cab398fec6f705e015480669f40c7ab98e246ff
7
+ data.tar.gz: 0b0e7cf9e5024444891118974d70474628551d37d3afb9e347327d218b616ddac1aead791d45c39b1ede44ce40a14d127419c994a7e904f62c5036b91b647296
@@ -1,5 +1,5 @@
1
1
  module CocoapodsByteCsjm
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.12"
3
3
  class Version
4
4
  def self.version
5
5
  VERSION
@@ -24,22 +24,18 @@ module CSJMPlugin
24
24
  end
25
25
  end
26
26
 
27
- # def CSJMPlugin.update
28
- # puts "Checking for updates..."
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
- # # output = system('gem update cocoapods-byte-csjm')
31
-
32
-
33
- # command = 'gem install cocoapods-byte-csjm'
34
- # stdout, stderr, status = Open3.capture3(command)
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
- # CSJMPlugin.update
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.7
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-22 00:00:00.000000000 Z
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.4.13
104
+ rubygems_version: 3.2.3
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: a plugin for csjm