yk_command 0.4.7 → 0.5.0

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: c4e0f782818c147f0402b8b7139842c8030065818391319fb53c0ae57d544c67
4
- data.tar.gz: f5f010db87a2ba242658d18728cbb9575e3a9f0d027a21b9c67e3ac006eb1f09
3
+ metadata.gz: 0270360ed964ef12d21ff5a0d2687a78243877286d62e503fc3d9ac4b5378440
4
+ data.tar.gz: e34b5d101303ed14d2e1094ba4c2f3ecb49874b38fcd02334738659578bc3f52
5
5
  SHA512:
6
- metadata.gz: cda7886d0ae837cab8f503bd3c58f1390c5cd96d4d62feeb94bb744c266e11674ae28740f27a95b0ff24253189428f6f2d42a1fdb1053f5b552c145341b302cd
7
- data.tar.gz: 86533c9b168b527136667553289b170feaf23b049699ab7035f32b08e68b8186cb8ee1708f2982141b93e01eba897be11285c293fa76523e28b19a3069152eaf
6
+ metadata.gz: 94df888ee6a59310135cc4f7a04e7c68c42daf597ba3c2ef52bd1ea4e7fea81d1d5e5aed1bae7f627991e57b401ae76ca25a507998858adf3f53c0fc44e77fd0
7
+ data.tar.gz: 3a5f3a628a8c726affc50d657b72da0a6b7f46b6b8826349493f0a5f90f822641071814723f8479d48cf2e58ace4d93be5ac376901371f83bee9dc6df997d044
File without changes
data/.idea/yk_command.iml CHANGED
@@ -41,7 +41,7 @@
41
41
  <orderEntry type="library" scope="PROVIDED" name="httparty (v0.20.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
42
42
  <orderEntry type="library" scope="PROVIDED" name="httpclient (v2.8.3, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
43
43
  <orderEntry type="library" scope="PROVIDED" name="i18n (v1.10.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
44
- <orderEntry type="library" scope="PROVIDED" name="json (v2.6.1, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
44
+ <orderEntry type="library" scope="PROVIDED" name="json (v2.6.2, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
45
45
  <orderEntry type="library" scope="PROVIDED" name="mime-types (v3.4.1, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
46
46
  <orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2022.0105, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
47
47
  <orderEntry type="library" scope="PROVIDED" name="minitest (v5.15.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
@@ -72,6 +72,7 @@
72
72
  <orderEntry type="library" scope="PROVIDED" name="typhoeus (v1.4.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
73
73
  <orderEntry type="library" scope="PROVIDED" name="tzinfo (v2.0.4, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
74
74
  <orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v2.1.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
75
+ <orderEntry type="library" scope="PROVIDED" name="wechat_work_webhook (v0.1.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
75
76
  <orderEntry type="library" scope="PROVIDED" name="xcodeproj (v1.21.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
76
77
  <orderEntry type="library" scope="PROVIDED" name="zeitwerk (v2.5.4, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
77
78
  </component>
@@ -79,21 +80,21 @@
79
80
  <option name="myRootTask">
80
81
  <RakeTaskImpl id="rake">
81
82
  <subtasks>
82
- <RakeTaskImpl description="Build yk_command-0.4.5.gem into the pkg directory" fullCommand="build" id="build" />
83
+ <RakeTaskImpl description="Build yk_command-0.4.9.gem into the pkg directory" fullCommand="build" id="build" />
83
84
  <RakeTaskImpl id="build">
84
85
  <subtasks>
85
- <RakeTaskImpl description="Generate SHA512 checksum if yk_command-0.4.5.gem into the checksums directory" fullCommand="build:checksum" id="checksum" />
86
+ <RakeTaskImpl description="Generate SHA512 checksum if yk_command-0.4.9.gem into the checksums directory" fullCommand="build:checksum" id="checksum" />
86
87
  </subtasks>
87
88
  </RakeTaskImpl>
88
89
  <RakeTaskImpl description="Remove any temporary products" fullCommand="clean" id="clean" />
89
90
  <RakeTaskImpl description="Remove any generated files" fullCommand="clobber" id="clobber" />
90
- <RakeTaskImpl description="Build and install yk_command-0.4.5.gem into system gems" fullCommand="install" id="install" />
91
+ <RakeTaskImpl description="Build and install yk_command-0.4.9.gem into system gems" fullCommand="install" id="install" />
91
92
  <RakeTaskImpl id="install">
92
93
  <subtasks>
93
- <RakeTaskImpl description="Build and install yk_command-0.4.5.gem into system gems without network access" fullCommand="install:local" id="local" />
94
+ <RakeTaskImpl description="Build and install yk_command-0.4.9.gem into system gems without network access" fullCommand="install:local" id="local" />
94
95
  </subtasks>
95
96
  </RakeTaskImpl>
96
- <RakeTaskImpl description="Create tag v0.4.5 and build and push yk_command-0.4.5.gem to rubygems.org" fullCommand="release[remote]" id="release[remote]" />
97
+ <RakeTaskImpl description="Create tag v0.4.9 and build and push yk_command-0.4.9.gem to rubygems.org" fullCommand="release[remote]" id="release[remote]" />
97
98
  <RakeTaskImpl description="" fullCommand="default" id="default" />
98
99
  <RakeTaskImpl description="" fullCommand="release" id="release" />
99
100
  <RakeTaskImpl id="release">
data/Gemfile.lock CHANGED
@@ -1,14 +1,17 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- yk_command (0.4.7)
4
+ yk_command (0.5.0)
5
5
  bundler
6
+ cocoapods
7
+ cocoapods-core
6
8
  colored
7
9
  colored2
8
10
  git
9
11
  httparty
10
12
  pathname (= 0.1.0)
11
13
  thor
14
+ wechat_work_webhook
12
15
  xcodeproj
13
16
 
14
17
  GEM
@@ -86,7 +89,7 @@ GEM
86
89
  httpclient (2.8.3)
87
90
  i18n (1.10.0)
88
91
  concurrent-ruby (~> 1.0)
89
- json (2.6.1)
92
+ json (2.6.2)
90
93
  mime-types (3.4.1)
91
94
  mime-types-data (~> 3.2015)
92
95
  mime-types-data (3.2022.0105)
@@ -138,6 +141,8 @@ GEM
138
141
  tzinfo (2.0.4)
139
142
  concurrent-ruby (~> 1.0)
140
143
  unicode-display_width (2.1.0)
144
+ wechat_work_webhook (0.1.0)
145
+ httparty
141
146
  xcodeproj (1.21.0)
142
147
  CFPropertyList (>= 2.3.3, < 4.0)
143
148
  atomos (~> 0.1.3)
@@ -151,16 +156,10 @@ PLATFORMS
151
156
  x86_64-darwin-21
152
157
 
153
158
  DEPENDENCIES
154
- bundler (~> 2.2.5)
155
- cocoapods
156
- cocoapods-core
157
- colored
158
- colored2
159
- httparty
159
+ bundler
160
160
  rake (~> 13.0)
161
161
  rspec (~> 3.2)
162
162
  rubocop
163
- thor
164
163
  xcodeproj
165
164
  yk_command!
166
165
 
@@ -9,9 +9,10 @@ require 'yaml'
9
9
  require 'git'
10
10
  require 'yk_command/analyze/dependency_result'
11
11
 
12
+ require 'yk_command/bot/wx_bot'
12
13
  module YkCommand
13
14
  IGNORE_PROJECT_FILE = '.YKAnalyzeConfig.yml'.freeze
14
-
15
+ BOT_CONFIG_FILE = '.YKBotConfig.yml'.freeze
15
16
  class Analyzer < Thor
16
17
  no_commands do
17
18
 
@@ -105,6 +106,14 @@ module YkCommand
105
106
  say "failed :#{failed_count},#{failed_name_list}", :red
106
107
  say "skip :#{skip_count}", :yellow
107
108
 
109
+ bot_config_file_path = "#{path}/#{BOT_CONFIG_FILE}"
110
+ bot_config = File.exist?(bot_config_file_path) ? YAML.load_file(bot_config_file_path) : nil
111
+ if bot_config
112
+ bot = WxBot.new(bot_config)
113
+ bot.send_result_to_group(success_name_list,failed_name_list)
114
+ bot.send_news_to_group
115
+ end
116
+
108
117
  end
109
118
 
110
119
  def ignore_file(path = nil)
@@ -142,7 +151,7 @@ module YkCommand
142
151
  @podLock
143
152
  )
144
153
 
145
- specifications = analyzer.analyze(:outdated ).specifications.map(&:root).uniq
154
+ specifications = analyzer.analyze.specifications.map(&:root).uniq
146
155
  array = []
147
156
  dependency_result = DependencyResult.new(specifications, @podLock)
148
157
  dependency_result.result_json
@@ -23,6 +23,28 @@ module YkCommand
23
23
  @specifications = specifications
24
24
  @pod_lock = pod_lock
25
25
  @result = []
26
+
27
+ @local_pods = []
28
+ @yk_git_source_pods = []
29
+ @other_git_source_pods = []
30
+ @pod_lock.dependencies.each do |dep|
31
+
32
+ next unless !dep.external_source.nil?
33
+
34
+ if dep.external_source.include?(:path)
35
+ @local_pods.push dep.name
36
+ end
37
+
38
+ if dep.external_source.include?(:git)
39
+ if dep.external_source[:git].include?(YK)
40
+ @yk_git_source_pods.push dep.name
41
+ else
42
+ @other_git_source_pods.push dep.name
43
+ end
44
+ end
45
+
46
+ end
47
+
26
48
  end
27
49
 
28
50
  def find_info_in_lokfile
@@ -37,16 +59,14 @@ module YkCommand
37
59
  map = {}
38
60
  version = @pod_lock.version(pod_name).version
39
61
  spec_repo_name = @pod_lock.spec_repo(pod_name)
40
- is_local_dependency = is_pod_from_local pod_name
41
- is_yk_dependency = is_yk_dependency pod_name
42
- is_install_from_git_commit = !@pod_lock.checkout_options_for_pod_named(pod_name).nil?
62
+ is_local_dependency = @local_pods.include? pod_name
63
+ is_install_from_git_commit = @yk_git_source_pods.include? pod_name
43
64
  dep_attribute_in_pod_file = find_info_in_specifications pod_name
44
- pp "#{pod_name} #{spec_repo_name} #{version} local:#{is_local_dependency} ,yeahka:#{is_yk_dependency},git_commit: #{is_install_from_git_commit}"
65
+ # pp "#{pod_name} #{spec_repo_name} #{version} local:#{is_local_dependency} ,git_commit: #{is_install_from_git_commit}"
45
66
  map["name"] = pod_name
46
67
  map["version"] = version
47
- map["is_local_dependency"] = is_local_dependency
48
- map["is_yk_dependency"] = is_yk_dependency
49
- map["is_install_from_git_commit"] = is_install_from_git_commit.nil?
68
+ map["is_local_dependency"] = is_local_dependency
69
+ map["is_install_from_git_commit"] = is_install_from_git_commit
50
70
  dep_attribute_in_pod_file.each do |k, v|
51
71
  if SPECIFICATION_FILTER_KEYS.include?(k)
52
72
  map[k] = v
@@ -64,29 +84,20 @@ module YkCommand
64
84
  @result.to_json
65
85
  end
66
86
 
67
- def is_yk_dependency(name)
68
- tag = false
69
-
70
- @pod_lock.dependencies.each do |dep|
71
- next unless dep.name == name && !dep.external_source.nil?
72
-
73
- dep.external_source.each do |k, v|
74
- tag = if dep.external_source.include?(:git)
75
- dep.external_source[:git].include?(YK)
76
- end
77
- end
78
- end
79
- tag
80
- end
81
87
 
82
- def is_pod_from_local(name)
83
- tag = false
84
- @pod_lock.dependencies.each do |dep|
85
- next unless dep.name == name && !dep.external_source.nil?
86
- tag = dep.external_source.include?(:path)
87
- end
88
- tag
89
- end
88
+ #
89
+ #
90
+ # def is_pod_from_local(name)
91
+ # local_pods = []
92
+ # @pod_lock.dependencies.each do |dep|
93
+ # next unless dep.name == name && !dep.external_source.nil?
94
+ # if dep.external_source.include?(:path)
95
+ # local_pods.push dep.name
96
+ # end
97
+ #
98
+ # end
99
+ # local_pods.include? name
100
+ # end
90
101
 
91
102
  def find_info_in_specifications(name)
92
103
  map = {}
@@ -4,7 +4,9 @@ module YkCommand
4
4
  include HTTParty
5
5
  # base_uri 'http://127.0.0.1:9988/'
6
6
 
7
- base_uri 'http://10.30.106.143:9988/'
7
+ # base_uri 'http://10.30.106.143:9988/'
8
+ base_uri 'http://10.30.80.113:9988'
9
+
8
10
  headers 'Content-Type' => 'application/json'
9
11
 
10
12
 
@@ -17,5 +19,6 @@ module YkCommand
17
19
  self.class.get('/project/projectByName', query: { "name" => app_project_name } )
18
20
  end
19
21
 
22
+
20
23
  end
21
24
  end
@@ -0,0 +1,75 @@
1
+ require 'cocoapods'
2
+ require 'pathname'
3
+ require 'pp'
4
+ require 'tmpdir'
5
+ require 'json'
6
+
7
+ require 'rainbow'
8
+ require 'yaml'
9
+ require 'git'
10
+ require 'yk_command/analyze/dependency_result'
11
+ require 'wechat_work_webhook'
12
+ module YkCommand
13
+ class WxBot < Thor
14
+
15
+
16
+
17
+ no_commands do
18
+
19
+ def initialize(config)
20
+
21
+ webhook_url = config[:webhook_url]
22
+ @project_url = config[:project_url]
23
+ @project_cover_image_url = config[:project_cover_image_url]
24
+
25
+ @wechat = WechatWorkWebhook.new(webhook_url)
26
+ end
27
+
28
+ def send_result_to_group(success_list, failed_list)
29
+ time = Time.new
30
+ time_s = "#{time.year}-#{time.month}-#{time.day} "
31
+ @wechat.markdown("## #{time_s} 分析结果\n### 成功 #{success_list.length} 个 #{result_item_list_string(success_list, 'success')}\n### 失败 #{failed_list.length} 个 #{result_item_list_string(failed_list, 'failed')}")
32
+
33
+ end
34
+
35
+ def send_news_to_group
36
+ require 'wechat_work_webhook'
37
+
38
+ # wechat.text('test', ['@all'])
39
+ #
40
+
41
+ # <font color=\"DodgerBlue\"></font>
42
+ time = Time.new
43
+ time_s = "#{time.year}-#{time.month}-#{time.day} "
44
+
45
+ @wechat.news([{
46
+ "title" => "#{time_s} 依赖分析已完成",
47
+ "description" => "点击进入组件管理平台",
48
+ "url" => @project_url,
49
+ "picurl" => @project_cover_image_url
50
+ }])
51
+
52
+ # wechat.image('test.png')
53
+ #
54
+ # wechat.media(wechat.upload_media('test.csv')['media_id'])
55
+ #
56
+ # wechat.file('test.csv')
57
+
58
+ end
59
+
60
+ def result_item_list_string(list, level)
61
+ result = ''
62
+ list.each do |name|
63
+ if level == 'success'
64
+ result += "\n- <font color=\"#0099ff\">#{name}</font> "
65
+ else
66
+ result += "\n- <font color=\"#DC143C\">#{name}</font> "
67
+ end
68
+ end
69
+ result
70
+ end
71
+ end
72
+
73
+ end
74
+
75
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module YkCommand
4
- VERSION = '0.4.7'.freeze
4
+ VERSION = '0.5.0'.freeze
5
5
  end
data/yk_command.gemspec CHANGED
@@ -32,24 +32,21 @@ Gem::Specification.new do |spec|
32
32
  # Uncomment to register a new dependency of your gem
33
33
  # spec.add_dependency "example-gem", "~> 1.0"
34
34
 
35
- spec.add_development_dependency 'bundler', '~> 2.2.5'
36
- spec.add_development_dependency 'thor'
37
- spec.add_development_dependency 'colored'
38
- spec.add_development_dependency 'colored2'
35
+ spec.add_development_dependency 'bundler'
39
36
  spec.add_development_dependency 'rspec', '~> 3.2'
40
37
  spec.add_development_dependency 'xcodeproj'
41
- spec.add_development_dependency 'cocoapods'
42
- spec.add_development_dependency 'cocoapods-core'
43
- spec.add_development_dependency 'httparty'
44
38
 
45
39
  spec.add_dependency 'git'
46
40
  spec.add_dependency 'bundler'
47
- spec.add_dependency 'thor'
41
+ spec.add_dependency 'cocoapods'
42
+ spec.add_dependency 'cocoapods-core'
48
43
  spec.add_dependency 'xcodeproj'
44
+ spec.add_dependency 'thor'
49
45
  spec.add_dependency 'colored'
50
46
  spec.add_dependency 'colored2'
51
47
  spec.add_dependency 'pathname','0.1.0'
52
48
  spec.add_dependency 'httparty'
49
+ spec.add_dependency 'wechat_work_webhook'
53
50
  # For more information and examples about making a new gem, checkout our
54
51
  # guide at: https://bundler.io/guides/creating_gem.html
55
52
  end
metadata CHANGED
@@ -1,59 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yk_command
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Major Tom
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-19 00:00:00.000000000 Z
11
+ date: 2022-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 2.2.5
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 2.2.5
27
- - !ruby/object:Gem::Dependency
28
- name: thor
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: colored
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: colored2
57
15
  requirement: !ruby/object:Gem::Requirement
58
16
  requirements:
59
17
  - - ">="
@@ -95,13 +53,13 @@ dependencies:
95
53
  - !ruby/object:Gem::Version
96
54
  version: '0'
97
55
  - !ruby/object:Gem::Dependency
98
- name: cocoapods
56
+ name: git
99
57
  requirement: !ruby/object:Gem::Requirement
100
58
  requirements:
101
59
  - - ">="
102
60
  - !ruby/object:Gem::Version
103
61
  version: '0'
104
- type: :development
62
+ type: :runtime
105
63
  prerelease: false
106
64
  version_requirements: !ruby/object:Gem::Requirement
107
65
  requirements:
@@ -109,13 +67,13 @@ dependencies:
109
67
  - !ruby/object:Gem::Version
110
68
  version: '0'
111
69
  - !ruby/object:Gem::Dependency
112
- name: cocoapods-core
70
+ name: bundler
113
71
  requirement: !ruby/object:Gem::Requirement
114
72
  requirements:
115
73
  - - ">="
116
74
  - !ruby/object:Gem::Version
117
75
  version: '0'
118
- type: :development
76
+ type: :runtime
119
77
  prerelease: false
120
78
  version_requirements: !ruby/object:Gem::Requirement
121
79
  requirements:
@@ -123,13 +81,13 @@ dependencies:
123
81
  - !ruby/object:Gem::Version
124
82
  version: '0'
125
83
  - !ruby/object:Gem::Dependency
126
- name: httparty
84
+ name: cocoapods
127
85
  requirement: !ruby/object:Gem::Requirement
128
86
  requirements:
129
87
  - - ">="
130
88
  - !ruby/object:Gem::Version
131
89
  version: '0'
132
- type: :development
90
+ type: :runtime
133
91
  prerelease: false
134
92
  version_requirements: !ruby/object:Gem::Requirement
135
93
  requirements:
@@ -137,7 +95,7 @@ dependencies:
137
95
  - !ruby/object:Gem::Version
138
96
  version: '0'
139
97
  - !ruby/object:Gem::Dependency
140
- name: git
98
+ name: cocoapods-core
141
99
  requirement: !ruby/object:Gem::Requirement
142
100
  requirements:
143
101
  - - ">="
@@ -151,7 +109,7 @@ dependencies:
151
109
  - !ruby/object:Gem::Version
152
110
  version: '0'
153
111
  - !ruby/object:Gem::Dependency
154
- name: bundler
112
+ name: xcodeproj
155
113
  requirement: !ruby/object:Gem::Requirement
156
114
  requirements:
157
115
  - - ">="
@@ -179,7 +137,7 @@ dependencies:
179
137
  - !ruby/object:Gem::Version
180
138
  version: '0'
181
139
  - !ruby/object:Gem::Dependency
182
- name: xcodeproj
140
+ name: colored
183
141
  requirement: !ruby/object:Gem::Requirement
184
142
  requirements:
185
143
  - - ">="
@@ -193,7 +151,7 @@ dependencies:
193
151
  - !ruby/object:Gem::Version
194
152
  version: '0'
195
153
  - !ruby/object:Gem::Dependency
196
- name: colored
154
+ name: colored2
197
155
  requirement: !ruby/object:Gem::Requirement
198
156
  requirements:
199
157
  - - ">="
@@ -207,35 +165,35 @@ dependencies:
207
165
  - !ruby/object:Gem::Version
208
166
  version: '0'
209
167
  - !ruby/object:Gem::Dependency
210
- name: colored2
168
+ name: pathname
211
169
  requirement: !ruby/object:Gem::Requirement
212
170
  requirements:
213
- - - ">="
171
+ - - '='
214
172
  - !ruby/object:Gem::Version
215
- version: '0'
173
+ version: 0.1.0
216
174
  type: :runtime
217
175
  prerelease: false
218
176
  version_requirements: !ruby/object:Gem::Requirement
219
177
  requirements:
220
- - - ">="
178
+ - - '='
221
179
  - !ruby/object:Gem::Version
222
- version: '0'
180
+ version: 0.1.0
223
181
  - !ruby/object:Gem::Dependency
224
- name: pathname
182
+ name: httparty
225
183
  requirement: !ruby/object:Gem::Requirement
226
184
  requirements:
227
- - - '='
185
+ - - ">="
228
186
  - !ruby/object:Gem::Version
229
- version: 0.1.0
187
+ version: '0'
230
188
  type: :runtime
231
189
  prerelease: false
232
190
  version_requirements: !ruby/object:Gem::Requirement
233
191
  requirements:
234
- - - '='
192
+ - - ">="
235
193
  - !ruby/object:Gem::Version
236
- version: 0.1.0
194
+ version: '0'
237
195
  - !ruby/object:Gem::Dependency
238
- name: httparty
196
+ name: wechat_work_webhook
239
197
  requirement: !ruby/object:Gem::Requirement
240
198
  requirements:
241
199
  - - ">="
@@ -262,6 +220,7 @@ files:
262
220
  - ".idea/.gitignore"
263
221
  - ".idea/misc.xml"
264
222
  - ".idea/modules.xml"
223
+ - ".idea/sonarlint/issuestore/index.pb"
265
224
  - ".idea/vcs.xml"
266
225
  - ".idea/yk_command.iml"
267
226
  - Gemfile
@@ -277,9 +236,9 @@ files:
277
236
  - images/Xnip2022-04-26_17-30-36.jpg
278
237
  - lib/yk_command.rb
279
238
  - lib/yk_command/analyze/analyze.rb
280
- - lib/yk_command/analyze/dependency_handler.rb
281
239
  - lib/yk_command/analyze/dependency_result.rb
282
240
  - lib/yk_command/analyze/request.rb
241
+ - lib/yk_command/bot/wx_bot.rb
283
242
  - lib/yk_command/commands.rb
284
243
  - lib/yk_command/module/template/objc/CategoryHeader.h
285
244
  - lib/yk_command/module/template/objc/PrefixHeader.pch
@@ -1,6 +0,0 @@
1
- require 'colored2'
2
- require 'thor'
3
- require 'fileutils'
4
- require 'psych'
5
- require 'yaml'
6
-