yk_command 0.6.1 → 0.6.2
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 +4 -4
- data/.idea/yk_command.iml +5 -5
- data/Gemfile.lock +1 -1
- data/lib/yk_command/analyze/analyze.rb +1 -1
- data/lib/yk_command/analyze/request.rb +1 -1
- data/lib/yk_command/commands.rb +1 -1
- data/lib/yk_command/repo_publish/component_publish.rb +8 -2
- data/lib/yk_command/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e9efefd1421026f4b6d7d44c64b8a8218ee45195f18482042f18da822c3c2c0e
|
|
4
|
+
data.tar.gz: 3ff7b72cdd607cfb6232fd9340916d6987b179a4319d002c7936a90055561e78
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9ab433c9b8782a627d8267bfa17c56350dd936e2adba639c77b81b8809ba150c1484558127b15595ac8dd048eca3fd7ba6935f564ce83fd8eb00d51e2ea68c10
|
|
7
|
+
data.tar.gz: 31d22ea4a91433460a10808175ef04a1f1e1b39767e512ddaa1a9e8dabdbef8ee2b9a081bf105bfb017bd0caa325f7e9fd402ee08584d4a1dfa7637338a05b3d
|
data/.idea/yk_command.iml
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<orderEntry type="jdk" jdkName="rbenv: 2.7.6" jdkType="RUBY_SDK" />
|
|
13
13
|
<orderEntry type="sourceFolder" forTests="false" />
|
|
14
14
|
<orderEntry type="library" scope="PROVIDED" name="CFPropertyList (v3.0.5, rbenv: 2.7.6) [gem]" level="application" />
|
|
15
|
-
<orderEntry type="library" scope="PROVIDED" name="activesupport (v6.1.6, rbenv: 2.7.6) [gem]" level="application" />
|
|
15
|
+
<orderEntry type="library" scope="PROVIDED" name="activesupport (v6.1.6.1, rbenv: 2.7.6) [gem]" level="application" />
|
|
16
16
|
<orderEntry type="library" scope="PROVIDED" name="addressable (v2.8.0, rbenv: 2.7.6) [gem]" level="application" />
|
|
17
17
|
<orderEntry type="library" scope="PROVIDED" name="algoliasearch (v1.27.5, rbenv: 2.7.6) [gem]" level="application" />
|
|
18
18
|
<orderEntry type="library" scope="PROVIDED" name="ast (v2.4.2, rbenv: 2.7.6) [gem]" level="application" />
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
<orderEntry type="library" scope="PROVIDED" name="git (v1.11.0, rbenv: 2.7.6) [gem]" level="application" />
|
|
41
41
|
<orderEntry type="library" scope="PROVIDED" name="httparty (v0.20.0, rbenv: 2.7.6) [gem]" level="application" />
|
|
42
42
|
<orderEntry type="library" scope="PROVIDED" name="httpclient (v2.8.3, rbenv: 2.7.6) [gem]" level="application" />
|
|
43
|
-
<orderEntry type="library" scope="PROVIDED" name="i18n (v1.
|
|
43
|
+
<orderEntry type="library" scope="PROVIDED" name="i18n (v1.12.0, rbenv: 2.7.6) [gem]" level="application" />
|
|
44
44
|
<orderEntry type="library" scope="PROVIDED" name="json (v2.6.2, rbenv: 2.7.6) [gem]" level="application" />
|
|
45
45
|
<orderEntry type="library" scope="PROVIDED" name="mime-types (v3.4.1, rbenv: 2.7.6) [gem]" level="application" />
|
|
46
46
|
<orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2022.0105, rbenv: 2.7.6) [gem]" level="application" />
|
|
47
|
-
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.
|
|
47
|
+
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.16.2, rbenv: 2.7.6) [gem]" level="application" />
|
|
48
48
|
<orderEntry type="library" scope="PROVIDED" name="molinillo (v0.8.0, rbenv: 2.7.6) [gem]" level="application" />
|
|
49
49
|
<orderEntry type="library" scope="PROVIDED" name="multi_xml (v0.6.0, rbenv: 2.7.6) [gem]" level="application" />
|
|
50
50
|
<orderEntry type="library" scope="PROVIDED" name="nanaimo (v0.3.0, rbenv: 2.7.6) [gem]" level="application" />
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
<orderEntry type="library" scope="PROVIDED" name="rubyzip (v2.3.2, rbenv: 2.7.6) [gem]" level="application" />
|
|
71
71
|
<orderEntry type="library" scope="PROVIDED" name="thor (v1.2.1, rbenv: 2.7.6) [gem]" level="application" />
|
|
72
72
|
<orderEntry type="library" scope="PROVIDED" name="typhoeus (v1.4.0, rbenv: 2.7.6) [gem]" level="application" />
|
|
73
|
-
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v2.0.
|
|
73
|
+
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v2.0.5, rbenv: 2.7.6) [gem]" level="application" />
|
|
74
74
|
<orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v2.1.0, rbenv: 2.7.6) [gem]" level="application" />
|
|
75
75
|
<orderEntry type="library" scope="PROVIDED" name="wechat_work_webhook (v0.1.0, rbenv: 2.7.6) [gem]" level="application" />
|
|
76
76
|
<orderEntry type="library" scope="PROVIDED" name="xcodeproj (v1.21.0, rbenv: 2.7.6) [gem]" level="application" />
|
|
77
|
-
<orderEntry type="library" scope="PROVIDED" name="zeitwerk (v2.
|
|
77
|
+
<orderEntry type="library" scope="PROVIDED" name="zeitwerk (v2.6.0, rbenv: 2.7.6) [gem]" level="application" />
|
|
78
78
|
</component>
|
|
79
79
|
<component name="RakeTasksCache">
|
|
80
80
|
<option name="myRootTask">
|
data/Gemfile.lock
CHANGED
data/lib/yk_command/commands.rb
CHANGED
|
@@ -122,15 +122,21 @@ module YkCommand
|
|
|
122
122
|
|
|
123
123
|
old_version_string = config['deprecated_versions'].join(",")
|
|
124
124
|
|
|
125
|
-
deprecated_versions = read_user_input('请上报需要升级的版本号(三位数字版本号,用逗号分隔)', "Component Deprecated Versions",old_version_string , nil)
|
|
126
|
-
|
|
125
|
+
deprecated_versions = read_user_input('请上报需要升级的版本号(三位数字版本号,用逗号分隔),无输入则跳过', "Component Deprecated Versions",old_version_string , nil)
|
|
126
|
+
if deprecated_versions == old_version_string
|
|
127
|
+
say '跳过过期版本上报......', :yellow
|
|
128
|
+
exit
|
|
129
|
+
elsif
|
|
127
130
|
deprecated_versions.split(',').each do |version|
|
|
128
131
|
unless version.match(/\d\.\d.\d/)
|
|
129
132
|
say '版本号输入不合法', :red
|
|
130
133
|
exit
|
|
131
134
|
end
|
|
132
135
|
end
|
|
136
|
+
end
|
|
137
|
+
|
|
133
138
|
|
|
139
|
+
say '正在上报过期版本......', :yellow
|
|
134
140
|
config['deprecated_versions'] = config['deprecated_versions']|deprecated_versions.split(',')
|
|
135
141
|
File.open(config_file_path, 'w') do |f|
|
|
136
142
|
f.write config.to_yaml
|
data/lib/yk_command/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yk_command
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.2
|
|
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-09-
|
|
11
|
+
date: 2022-09-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|