yk_command 0.5.91 → 0.6.0

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: f2135dddc89ceebc1657132c8f49dc3825fa8704fc885a4ad7abf6946e170572
4
- data.tar.gz: 710948c2f2f30c50cddfb94d6a5824fc6511c1b05bd011a635c8fa6a0dc996c3
3
+ metadata.gz: 8141c13dc6a21ae4316b17bb6ed7e898d1bcb10b7da807f2ec260bfb265b7edf
4
+ data.tar.gz: fd594731ce8ba2b53b4a423d998a595eb614b0a280bb008b198511bf60001f87
5
5
  SHA512:
6
- metadata.gz: 5d32f5e60e399e8f1bd6d0d5d999d2e60932e09d70fba87acd3dd80b2d44528f6229b779e59bcbc780ba4861f0db650b8dc8fbbb2fe72ef150a39c36035c94f6
7
- data.tar.gz: b386b6e1739a19e1a2fac41d7235973287745cf2bbc0e8b8561b972f4744e7a9862c46103c47b34f204e8d7c2a9dc06fe0b4df922b4fc318d9176efae9c9860b
6
+ metadata.gz: 64389641575f68250532456ef3a76db5bd6ca9e2eaf7bcfaeaa68b485e512f29285a766445380993acfd255855480946e9230fbad97358d56894c4e36160d36b
7
+ data.tar.gz: 40427b17ae505f219e78773976b3a3f68394e94d1c239385c2478803ae8df15b90def0b11aaf8962eea11034b3c0d1dc68635f6e82728a40a939c7bb8b926308
@@ -7,8 +7,6 @@
7
7
  .lib/yk_command/project/setup/ConfigureSwift.rb,a/7/a7f1546c0b6a93fd23b7fc1506b2eb0d13e011c2
8
8
  \
9
9
  ,lib/yk_command/project/setup/ConfigureiOS.rb,c/f/cf949c4c054253d95250aa9644f2b805b2aa0d2a
10
- b
11
- 2lib/yk_command/project/setup/ProjectManipulator.rb,f/6/f6e109e4c314cef09022792f4b88dd267a682d28
12
10
  v
13
11
  Flib/yk_command/project/YKProjectTemplate/templates/ios/Example/Podfile,a/d/ad7bffefc6248a8f673a10e668a82bdbbe38a3e3
14
12
  x
@@ -23,8 +21,6 @@ a
23
21
  1lib/yk_command/module/template/objc/ToolsHeader.h,9/a/9ac8606ab5816ca6769cd53216a107d7d06ca971
24
22
  b
25
23
  2lib/yk_command/module/template/objc/VendorHeader.h,b/e/be2bfbadd6efe69882507c3a03b1b96c46f3dcbe
26
- d
27
- 4lib/yk_command/module/template/objc/RouterRegister.h,4/6/460ee6442cf29ef54774da00475d1b5a4bd35a75
28
24
  e
29
25
  5lib/yk_command/module/template/objc/ServiceProtocol.h,b/a/ba47c112fc95dd748a99abb0290610022df254a7
30
26
  e
@@ -38,16 +34,52 @@ Zlib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT/CPDViewC
38
34
  �
39
35
  Wlib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT/CPDAppDelegate.m,2/e/2e113f2d3dc9bee6a98073d85966fbd9773c044f
40
36
  d
41
- 4lib/yk_command/module/template/objc/CategoryHeader.h,6/e/6e1b71034e8e2f84d8f8236b269fef92a4a51797
42
- d
43
37
  4lib/yk_command/module/template/objc/RouterRegister.m,d/5/d594a688a538c9bebe38deb974bd46055c65a93c
44
38
  g
45
39
  7lib/yk_command/module/template/swift/RouterDefine.swift,5/1/512554f10221132e2995f116a1bc380edc569ec4
46
- 7
47
- Gemfile,d/e/de3150c01c3a946a6168173c4116741379fe3579
48
40
  i
49
41
  9lib/yk_command/project/YKProjectTemplate/NAME-osx.podspec,9/7/97c2c9c7adeb7fa2e6ffbf07cba2418868ac9739
42
+ b
43
+ 2lib/yk_command/project/YKProjectTemplate/README.md,2/4/2461a61a84d866812e64ff95d40bd7836fb136ea
44
+ ;
45
+ bin/console,2/b/2b22d59fcdaf24a6d2536513e514e77fc83391a3
46
+ A
47
+ lib/yk_command.rb,d/0/d09dc6bc327f9f7c81cbb7f18f098b554fc320dc
48
+ L
49
+ lib/yk_command/bot/wx_bot.rb,9/c/9ccc9859ad5a25f9d8c2fe66d0a2c70b83c5e6df
50
+ R
51
+ "lib/yk_command/config/yk_config.rb,1/e/1ec6c529ce5687a35e0a698c41bf34941e1d50c2
52
+ B
53
+ yk_command.gemspec,8/2/82876f8dba21abb384c0c797b357f7e1280d8e1b
54
+ 9
55
+ bin/setup,3/f/3f490f8da820b05ec772996143c1dd5b3498f750
56
+ R
57
+ "lib/yk_command/module/yk_module.rb,7/5/75a20eb95f6bf0f6950dd7c26311c5a3dab20a8e
58
+ <
59
+ Gemfile.lock,2/1/21fb5836b499a2be648386aac055d2e069160d6c
60
+ T
61
+ $lib/yk_command/project/yk_project.rb,5/6/56b2d27b09b172bae1a27bc07f664d2ed5a6c3c6
62
+ >
63
+ bin/yk_command,2/5/25e93a9fc14ed57a04c2d97b92a72bda06e42ea8
64
+ c
65
+ 3lib/yk_command/component_manage/.YKServerConfig.yml,8/6/860c97f3074da2ed5679b85b54ffac9221eae5e2
66
+ �
67
+ Wlib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT/CPDAppDelegate.h,8/4/84d82ed4b9fd718992be77e8ffd0bbb2d6e84470
68
+ d
69
+ 4lib/yk_command/module/template/objc/CategoryHeader.h,6/e/6e1b71034e8e2f84d8f8236b269fef92a4a51797
70
+ d
71
+ 4lib/yk_command/module/template/objc/RouterRegister.h,4/6/460ee6442cf29ef54774da00475d1b5a4bd35a75
72
+ �
73
+ `lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/CPDViewController.h,d/5/d5eea6da648edbe5aa14e529e927fcfc893194e7
74
+ �
75
+ `lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/CPDViewController.m,c/1/c1cb29e489f659e7a36c3d34e7d846c1258e57bb
50
76
  e
51
77
  5lib/yk_command/project/YKProjectTemplate/NAME.podspec,9/5/95a45210972238034e9fed522811176fe20117d3
52
78
  b
53
- 2lib/yk_command/project/YKProjectTemplate/README.md,2/4/2461a61a84d866812e64ff95d40bd7836fb136ea
79
+ 2lib/yk_command/project/setup/ProjectManipulator.rb,f/6/f6e109e4c314cef09022792f4b88dd267a682d28
80
+ d
81
+ 4lib/yk_command/project/setup/TemplateConfigurator.rb,8/f/8f9b3c6ba85192218bf69497d64693c792545edb
82
+ W
83
+ 'lib/yk_command/module/module_handler.rb,8/4/841f2109f591be400d71147c5dfcb8a1cc2d144b
84
+ =
85
+
data/.idea/yk_command.iml CHANGED
@@ -9,92 +9,92 @@
9
9
  <sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
10
10
  <sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
11
11
  </content>
12
- <orderEntry type="jdk" jdkName="RVM: ruby-2.7.2 [tom]" jdkType="RUBY_SDK" />
12
+ <orderEntry type="jdk" jdkName="rbenv: 2.7.6" jdkType="RUBY_SDK" />
13
13
  <orderEntry type="sourceFolder" forTests="false" />
14
- <orderEntry type="library" scope="PROVIDED" name="CFPropertyList (v3.0.5, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
15
- <orderEntry type="library" scope="PROVIDED" name="activesupport (v6.1.6, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
16
- <orderEntry type="library" scope="PROVIDED" name="addressable (v2.8.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
17
- <orderEntry type="library" scope="PROVIDED" name="algoliasearch (v1.27.5, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
18
- <orderEntry type="library" scope="PROVIDED" name="ast (v2.4.2, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
19
- <orderEntry type="library" scope="PROVIDED" name="atomos (v0.1.3, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
20
- <orderEntry type="library" scope="PROVIDED" name="bundler (v2.2.33, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
21
- <orderEntry type="library" scope="PROVIDED" name="claide (v1.1.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
22
- <orderEntry type="library" scope="PROVIDED" name="cocoapods (v1.11.3, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
23
- <orderEntry type="library" scope="PROVIDED" name="cocoapods-core (v1.11.3, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
24
- <orderEntry type="library" scope="PROVIDED" name="cocoapods-deintegrate (v1.0.5, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
25
- <orderEntry type="library" scope="PROVIDED" name="cocoapods-downloader (v1.6.3, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
26
- <orderEntry type="library" scope="PROVIDED" name="cocoapods-plugins (v1.0.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
27
- <orderEntry type="library" scope="PROVIDED" name="cocoapods-search (v1.0.1, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
28
- <orderEntry type="library" scope="PROVIDED" name="cocoapods-trunk (v1.6.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
29
- <orderEntry type="library" scope="PROVIDED" name="cocoapods-try (v1.2.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
30
- <orderEntry type="library" scope="PROVIDED" name="colored (v1.2, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
31
- <orderEntry type="library" scope="PROVIDED" name="colored2 (v3.1.2, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
32
- <orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v1.1.10, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
33
- <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.5.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
34
- <orderEntry type="library" scope="PROVIDED" name="escape (v0.0.4, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
35
- <orderEntry type="library" scope="PROVIDED" name="ethon (v0.15.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
36
- <orderEntry type="library" scope="PROVIDED" name="ffi (v1.15.5, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
37
- <orderEntry type="library" scope="PROVIDED" name="fourflusher (v2.3.1, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
38
- <orderEntry type="library" scope="PROVIDED" name="fuzzy_match (v2.0.4, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
39
- <orderEntry type="library" scope="PROVIDED" name="gh_inspector (v1.1.3, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
40
- <orderEntry type="library" scope="PROVIDED" name="git (v1.11.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
41
- <orderEntry type="library" scope="PROVIDED" name="httparty (v0.20.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
42
- <orderEntry type="library" scope="PROVIDED" name="httpclient (v2.8.3, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
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.2, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
45
- <orderEntry type="library" scope="PROVIDED" name="mime-types (v3.4.1, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
46
- <orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2022.0105, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
47
- <orderEntry type="library" scope="PROVIDED" name="minitest (v5.15.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
48
- <orderEntry type="library" scope="PROVIDED" name="molinillo (v0.8.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
49
- <orderEntry type="library" scope="PROVIDED" name="multi_xml (v0.6.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
50
- <orderEntry type="library" scope="PROVIDED" name="nanaimo (v0.3.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
51
- <orderEntry type="library" scope="PROVIDED" name="nap (v1.1.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
52
- <orderEntry type="library" scope="PROVIDED" name="netrc (v0.11.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
53
- <orderEntry type="library" scope="PROVIDED" name="parallel (v1.22.1, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
54
- <orderEntry type="library" scope="PROVIDED" name="parser (v3.1.2.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
55
- <orderEntry type="library" scope="PROVIDED" name="public_suffix (v4.0.7, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
56
- <orderEntry type="library" scope="PROVIDED" name="rainbow (v3.1.1, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
57
- <orderEntry type="library" scope="PROVIDED" name="rake (v13.0.6, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
58
- <orderEntry type="library" scope="PROVIDED" name="rchardet (v1.8.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
59
- <orderEntry type="library" scope="PROVIDED" name="regexp_parser (v2.4.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
60
- <orderEntry type="library" scope="PROVIDED" name="rexml (v3.2.5, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
61
- <orderEntry type="library" scope="PROVIDED" name="rspec (v3.11.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
62
- <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.11.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
63
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.11.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
64
- <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.11.1, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
65
- <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.11.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
66
- <orderEntry type="library" scope="PROVIDED" name="rubocop (v1.29.1, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
67
- <orderEntry type="library" scope="PROVIDED" name="rubocop-ast (v1.17.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
68
- <orderEntry type="library" scope="PROVIDED" name="ruby-macho (v2.5.1, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
69
- <orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.11.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
70
- <orderEntry type="library" scope="PROVIDED" name="rubyzip (v2.3.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
71
- <orderEntry type="library" scope="PROVIDED" name="thor (v1.2.1, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
72
- <orderEntry type="library" scope="PROVIDED" name="typhoeus (v1.4.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
73
- <orderEntry type="library" scope="PROVIDED" name="tzinfo (v2.0.4, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
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" />
76
- <orderEntry type="library" scope="PROVIDED" name="xcodeproj (v1.21.0, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
77
- <orderEntry type="library" scope="PROVIDED" name="zeitwerk (v2.5.4, RVM: ruby-2.7.2 [tom]) [gem]" level="application" />
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" />
16
+ <orderEntry type="library" scope="PROVIDED" name="addressable (v2.8.0, rbenv: 2.7.6) [gem]" level="application" />
17
+ <orderEntry type="library" scope="PROVIDED" name="algoliasearch (v1.27.5, rbenv: 2.7.6) [gem]" level="application" />
18
+ <orderEntry type="library" scope="PROVIDED" name="ast (v2.4.2, rbenv: 2.7.6) [gem]" level="application" />
19
+ <orderEntry type="library" scope="PROVIDED" name="atomos (v0.1.3, rbenv: 2.7.6) [gem]" level="application" />
20
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v2.2.33, rbenv: 2.7.6) [gem]" level="application" />
21
+ <orderEntry type="library" scope="PROVIDED" name="claide (v1.1.0, rbenv: 2.7.6) [gem]" level="application" />
22
+ <orderEntry type="library" scope="PROVIDED" name="cocoapods (v1.11.3, rbenv: 2.7.6) [gem]" level="application" />
23
+ <orderEntry type="library" scope="PROVIDED" name="cocoapods-core (v1.11.3, rbenv: 2.7.6) [gem]" level="application" />
24
+ <orderEntry type="library" scope="PROVIDED" name="cocoapods-deintegrate (v1.0.5, rbenv: 2.7.6) [gem]" level="application" />
25
+ <orderEntry type="library" scope="PROVIDED" name="cocoapods-downloader (v1.6.3, rbenv: 2.7.6) [gem]" level="application" />
26
+ <orderEntry type="library" scope="PROVIDED" name="cocoapods-plugins (v1.0.0, rbenv: 2.7.6) [gem]" level="application" />
27
+ <orderEntry type="library" scope="PROVIDED" name="cocoapods-search (v1.0.1, rbenv: 2.7.6) [gem]" level="application" />
28
+ <orderEntry type="library" scope="PROVIDED" name="cocoapods-trunk (v1.6.0, rbenv: 2.7.6) [gem]" level="application" />
29
+ <orderEntry type="library" scope="PROVIDED" name="cocoapods-try (v1.2.0, rbenv: 2.7.6) [gem]" level="application" />
30
+ <orderEntry type="library" scope="PROVIDED" name="colored (v1.2, rbenv: 2.7.6) [gem]" level="application" />
31
+ <orderEntry type="library" scope="PROVIDED" name="colored2 (v3.1.2, rbenv: 2.7.6) [gem]" level="application" />
32
+ <orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v1.1.10, rbenv: 2.7.6) [gem]" level="application" />
33
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.5.0, rbenv: 2.7.6) [gem]" level="application" />
34
+ <orderEntry type="library" scope="PROVIDED" name="escape (v0.0.4, rbenv: 2.7.6) [gem]" level="application" />
35
+ <orderEntry type="library" scope="PROVIDED" name="ethon (v0.15.0, rbenv: 2.7.6) [gem]" level="application" />
36
+ <orderEntry type="library" scope="PROVIDED" name="ffi (v1.15.5, rbenv: 2.7.6) [gem]" level="application" />
37
+ <orderEntry type="library" scope="PROVIDED" name="fourflusher (v2.3.1, rbenv: 2.7.6) [gem]" level="application" />
38
+ <orderEntry type="library" scope="PROVIDED" name="fuzzy_match (v2.0.4, rbenv: 2.7.6) [gem]" level="application" />
39
+ <orderEntry type="library" scope="PROVIDED" name="gh_inspector (v1.1.3, rbenv: 2.7.6) [gem]" level="application" />
40
+ <orderEntry type="library" scope="PROVIDED" name="git (v1.11.0, rbenv: 2.7.6) [gem]" level="application" />
41
+ <orderEntry type="library" scope="PROVIDED" name="httparty (v0.20.0, rbenv: 2.7.6) [gem]" level="application" />
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.10.0, rbenv: 2.7.6) [gem]" level="application" />
44
+ <orderEntry type="library" scope="PROVIDED" name="json (v2.6.2, rbenv: 2.7.6) [gem]" level="application" />
45
+ <orderEntry type="library" scope="PROVIDED" name="mime-types (v3.4.1, rbenv: 2.7.6) [gem]" level="application" />
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.15.0, rbenv: 2.7.6) [gem]" level="application" />
48
+ <orderEntry type="library" scope="PROVIDED" name="molinillo (v0.8.0, rbenv: 2.7.6) [gem]" level="application" />
49
+ <orderEntry type="library" scope="PROVIDED" name="multi_xml (v0.6.0, rbenv: 2.7.6) [gem]" level="application" />
50
+ <orderEntry type="library" scope="PROVIDED" name="nanaimo (v0.3.0, rbenv: 2.7.6) [gem]" level="application" />
51
+ <orderEntry type="library" scope="PROVIDED" name="nap (v1.1.0, rbenv: 2.7.6) [gem]" level="application" />
52
+ <orderEntry type="library" scope="PROVIDED" name="netrc (v0.11.0, rbenv: 2.7.6) [gem]" level="application" />
53
+ <orderEntry type="library" scope="PROVIDED" name="parallel (v1.22.1, rbenv: 2.7.6) [gem]" level="application" />
54
+ <orderEntry type="library" scope="PROVIDED" name="parser (v3.1.2.0, rbenv: 2.7.6) [gem]" level="application" />
55
+ <orderEntry type="library" scope="PROVIDED" name="public_suffix (v4.0.7, rbenv: 2.7.6) [gem]" level="application" />
56
+ <orderEntry type="library" scope="PROVIDED" name="rainbow (v3.1.1, rbenv: 2.7.6) [gem]" level="application" />
57
+ <orderEntry type="library" scope="PROVIDED" name="rake (v13.0.6, rbenv: 2.7.6) [gem]" level="application" />
58
+ <orderEntry type="library" scope="PROVIDED" name="rchardet (v1.8.0, rbenv: 2.7.6) [gem]" level="application" />
59
+ <orderEntry type="library" scope="PROVIDED" name="regexp_parser (v2.4.0, rbenv: 2.7.6) [gem]" level="application" />
60
+ <orderEntry type="library" scope="PROVIDED" name="rexml (v3.2.5, rbenv: 2.7.6) [gem]" level="application" />
61
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v3.11.0, rbenv: 2.7.6) [gem]" level="application" />
62
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.11.0, rbenv: 2.7.6) [gem]" level="application" />
63
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.11.0, rbenv: 2.7.6) [gem]" level="application" />
64
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.11.1, rbenv: 2.7.6) [gem]" level="application" />
65
+ <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.11.0, rbenv: 2.7.6) [gem]" level="application" />
66
+ <orderEntry type="library" scope="PROVIDED" name="rubocop (v1.29.1, rbenv: 2.7.6) [gem]" level="application" />
67
+ <orderEntry type="library" scope="PROVIDED" name="rubocop-ast (v1.17.0, rbenv: 2.7.6) [gem]" level="application" />
68
+ <orderEntry type="library" scope="PROVIDED" name="ruby-macho (v2.5.1, rbenv: 2.7.6) [gem]" level="application" />
69
+ <orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.11.0, rbenv: 2.7.6) [gem]" level="application" />
70
+ <orderEntry type="library" scope="PROVIDED" name="rubyzip (v2.3.2, rbenv: 2.7.6) [gem]" level="application" />
71
+ <orderEntry type="library" scope="PROVIDED" name="thor (v1.2.1, rbenv: 2.7.6) [gem]" level="application" />
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.4, rbenv: 2.7.6) [gem]" level="application" />
74
+ <orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v2.1.0, rbenv: 2.7.6) [gem]" level="application" />
75
+ <orderEntry type="library" scope="PROVIDED" name="wechat_work_webhook (v0.1.0, rbenv: 2.7.6) [gem]" level="application" />
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.5.4, rbenv: 2.7.6) [gem]" level="application" />
78
78
  </component>
79
79
  <component name="RakeTasksCache">
80
80
  <option name="myRootTask">
81
81
  <RakeTaskImpl id="rake">
82
82
  <subtasks>
83
- <RakeTaskImpl description="Build yk_command-0.5.7.gem into the pkg directory" fullCommand="build" id="build" />
83
+ <RakeTaskImpl description="Build yk_command-0.5.91.gem into the pkg directory" fullCommand="build" id="build" />
84
84
  <RakeTaskImpl id="build">
85
85
  <subtasks>
86
- <RakeTaskImpl description="Generate SHA512 checksum if yk_command-0.5.7.gem into the checksums directory" fullCommand="build:checksum" id="checksum" />
86
+ <RakeTaskImpl description="Generate SHA512 checksum if yk_command-0.5.91.gem into the checksums directory" fullCommand="build:checksum" id="checksum" />
87
87
  </subtasks>
88
88
  </RakeTaskImpl>
89
89
  <RakeTaskImpl description="Remove any temporary products" fullCommand="clean" id="clean" />
90
90
  <RakeTaskImpl description="Remove any generated files" fullCommand="clobber" id="clobber" />
91
- <RakeTaskImpl description="Build and install yk_command-0.5.7.gem into system gems" fullCommand="install" id="install" />
91
+ <RakeTaskImpl description="Build and install yk_command-0.5.91.gem into system gems" fullCommand="install" id="install" />
92
92
  <RakeTaskImpl id="install">
93
93
  <subtasks>
94
- <RakeTaskImpl description="Build and install yk_command-0.5.7.gem into system gems without network access" fullCommand="install:local" id="local" />
94
+ <RakeTaskImpl description="Build and install yk_command-0.5.91.gem into system gems without network access" fullCommand="install:local" id="local" />
95
95
  </subtasks>
96
96
  </RakeTaskImpl>
97
- <RakeTaskImpl description="Create tag v0.5.7 and build and push yk_command-0.5.7.gem to rubygems.org" fullCommand="release[remote]" id="release[remote]" />
97
+ <RakeTaskImpl description="Create tag v0.5.91 and build and push yk_command-0.5.91.gem to rubygems.org" fullCommand="release[remote]" id="release[remote]" />
98
98
  <RakeTaskImpl description="" fullCommand="default" id="default" />
99
99
  <RakeTaskImpl description="" fullCommand="release" id="release" />
100
100
  <RakeTaskImpl id="release">
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.7.6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- yk_command (0.5.91)
4
+ yk_command (0.6.0)
5
5
  bundler
6
6
  cocoapods
7
7
  cocoapods-core
@@ -20,7 +20,7 @@ GEM
20
20
  specs:
21
21
  CFPropertyList (3.0.5)
22
22
  rexml
23
- activesupport (6.1.6)
23
+ activesupport (6.1.6.1)
24
24
  concurrent-ruby (~> 1.0, >= 1.0.2)
25
25
  i18n (>= 1.6, < 2)
26
26
  minitest (>= 5.1)
@@ -88,13 +88,13 @@ GEM
88
88
  mime-types (~> 3.0)
89
89
  multi_xml (>= 0.5.2)
90
90
  httpclient (2.8.3)
91
- i18n (1.10.0)
91
+ i18n (1.12.0)
92
92
  concurrent-ruby (~> 1.0)
93
93
  json (2.6.2)
94
94
  mime-types (3.4.1)
95
95
  mime-types-data (~> 3.2015)
96
96
  mime-types-data (3.2022.0105)
97
- minitest (5.15.0)
97
+ minitest (5.16.2)
98
98
  molinillo (0.8.0)
99
99
  multi_xml (0.6.0)
100
100
  nanaimo (0.3.0)
@@ -139,7 +139,7 @@ GEM
139
139
  thor (1.2.1)
140
140
  typhoeus (1.4.0)
141
141
  ethon (>= 0.9.0)
142
- tzinfo (2.0.4)
142
+ tzinfo (2.0.5)
143
143
  concurrent-ruby (~> 1.0)
144
144
  unicode-display_width (2.1.0)
145
145
  wechat_work_webhook (0.1.0)
@@ -151,7 +151,7 @@ GEM
151
151
  colored2 (~> 3.1)
152
152
  nanaimo (~> 0.3.0)
153
153
  rexml (~> 3.2.4)
154
- zeitwerk (2.5.4)
154
+ zeitwerk (2.6.0)
155
155
 
156
156
  PLATFORMS
157
157
  x86_64-darwin-21
@@ -123,7 +123,7 @@ module YkCommand
123
123
  say "failed :#{failed_count},#{failed_name_list}", :red
124
124
  say "skip :#{skip_count}", :yellow
125
125
 
126
- bot_message path ,success_name_list,failed_name_list
126
+ # bot_message path ,success_name_list,failed_name_list
127
127
 
128
128
  end
129
129
 
@@ -8,7 +8,7 @@ module YkCommand
8
8
 
9
9
  def initialize(config)
10
10
  @config = config
11
- self.class.base_uri @config[:pro]
11
+ self.class.base_uri @config[:local]
12
12
  puts "🍉 #{self.class.base_uri}"
13
13
  end
14
14
 
@@ -33,5 +33,9 @@ module YkCommand
33
33
  self.class.post('/project/updateThirdPartyDependency', body: { 'data' => data }.to_json)
34
34
  end
35
35
 
36
+ def append_deprecated_versions(name,versions)
37
+ self.class.post('/project/updateDeprecatedVersions', body: { 'data' => {"name":name,"versions":versions } }.to_json)
38
+ end
39
+
36
40
  end
37
41
  end
@@ -3,6 +3,7 @@ require 'thor'
3
3
  require 'yk_command/analyze/analyze'
4
4
  require 'yk_command/analyze/request'
5
5
  require 'yk_command/module/yk_module'
6
+ require 'yk_command/repo_publish/component_publish'
6
7
 
7
8
  require_relative 'component_manage/component_manage_platform'
8
9
 
@@ -77,8 +78,19 @@ module YkCommand
77
78
 
78
79
  end
79
80
 
81
+ desc 'repo_push ', '发布组件'
82
+ method_option :repo_push, aliases: '-rp'
80
83
 
84
+ def component_repo_push(path = nil)
85
+ ComponentPublish.new.publish_component(path)
86
+ end
87
+
88
+ desc 'component_version_report ', '发布组件'
89
+ method_option :component_version_report, aliases: '-vr'
81
90
 
91
+ def component_version_report(path = nil)
92
+ ComponentPublish.new.post_version_deperated_data(path)
93
+ end
82
94
 
83
95
 
84
96
 
@@ -16,6 +16,11 @@ module YkCommand
16
16
  @api_service = Request.new(config.read_config SERVER_ENV_CONFIG_FILE)
17
17
  end
18
18
 
19
+ def update_version_info (name,versions)
20
+ r = @api_service.append_deprecated_versions(name,versions)
21
+ pp r
22
+ end
23
+
19
24
  def update_app_data
20
25
  data = @gitlab_srvice.get_all_app
21
26
  list = data.parsed_response['shared_projects']
@@ -26,6 +31,7 @@ module YkCommand
26
31
  committers.push(commit["committer_name"])
27
32
  end
28
33
  project["committers"] = committers.uniq
34
+ project["deprecated_versions"] =[]
29
35
  end
30
36
  r = @api_service.upload_app(list)
31
37
  pp r
@@ -47,6 +53,7 @@ module YkCommand
47
53
  committers.push(commit["committer_name"])
48
54
  end
49
55
  project["committers"] = committers.uniq
56
+ project["deprecated_versions"] =[]
50
57
  end
51
58
 
52
59
  r = @api_service.upload_component(list)
@@ -0,0 +1,204 @@
1
+ require 'colored'
2
+ require 'fileutils'
3
+ require 'yaml'
4
+ require 'thor'
5
+ require 'cocoapods-core/specification'
6
+ require 'git'
7
+ require 'yk_command/component_manage/component_manage_platform'
8
+
9
+ module YkCommand
10
+ PODSPEC_CONFIG_FILE = '.YKPodSpecConfig.yml'.freeze
11
+
12
+ class ComponentPublish < Thor
13
+ include Thor::Actions
14
+ no_commands do
15
+
16
+ def initialize(args = [], options = {}, config = {})
17
+ super
18
+ @component_name = ''
19
+ @version = ''
20
+ @description = ''
21
+ @deprecated_versions = ''
22
+ @env = 'pro'
23
+ end
24
+
25
+ def find_podspec_file(folder_path)
26
+ files = Dir.glob("#{folder_path}/*.podspec")
27
+ pod_spec_file_path = files[0]
28
+ pod_spec_file_path
29
+ end
30
+
31
+ def publish_component(path = nil)
32
+
33
+ path = Dir.pwd if path.nil?
34
+ # spec_file_path = "#{path}/lib/yk_command/repo_publish/iOSPipelineDemo.podspec"
35
+
36
+ spec_file_path = find_podspec_file path
37
+
38
+ @specification = Pod::Specification.from_file(spec_file_path)
39
+ @component_name = @specification.name
40
+
41
+ config_file_path = config_file(path)
42
+ config = YAML.load_file(config_file_path, {})
43
+ config['component_name'] = @component_name
44
+ say '-----------------------------------------------', :green
45
+ # 检查组件描述
46
+ if @specification.description.include? "TODO" or @specification.description.gsub(' ', '').length == 0
47
+ say "组件的描述字段不合格,请在podspec文件中填写适当的组件描述", :red
48
+ exit
49
+ else
50
+ config['description'] = @specification.description
51
+ end
52
+ # 读取发布环境
53
+ env = read_user_input('输入要发布的环境,生产还是测试', "Publish Env(pro or dev)", config['env'], nil)
54
+ config['env'] = env
55
+
56
+ # 读取版本号
57
+ version = read_user_input("输入要发布的版本号(#{@specification.attributes_hash['version']} in podspec)", "Component Version", config['version'], nil)
58
+ config['version'] = version
59
+ @version = version
60
+ # 判断podspec中的版本号和输入的版本号是否一致
61
+ if version != @specification.attributes_hash['version']
62
+
63
+ say "podspec文件中的当前版本号为:#{@specification.attributes_hash['version']},与您输入的要发布的版本号不一致,请修改podspec中的版本号后重试", :red
64
+ say '', :red
65
+
66
+ exit
67
+ end
68
+
69
+ File.open(config_file_path, 'w') do |f|
70
+ f.write config.to_yaml
71
+ end
72
+
73
+ git = Git.open path
74
+
75
+ # 工作区有变动
76
+ if git.status.changed.keys.length != 0
77
+ commit_message = "auto: yk_command auto commit -- #{version}"
78
+ git.add
79
+ git.commit_all commit_message
80
+ end
81
+
82
+ # 检查tag 确认是否删除tag后重新添加
83
+ check_git_tag git, version
84
+
85
+ puts '重新添加tag...'
86
+ git.add_tag version
87
+ puts 'git push...'
88
+ git.push 'origin', git.current_branch, { :tags => true }
89
+
90
+ Dir.chdir(path) do
91
+ say '正在入库...', :green
92
+ repo_name = @env == 'dev' ? 'yeahka-app-ios-modules-ykspecs' : 'yeahka-app-ios-yeahkanativecomspecsindex'
93
+ system "pod repo push #{repo_name} --allow-warnings --skip-tests"
94
+
95
+ result = $?.success?
96
+ if result
97
+ say '入库成功', :green
98
+ say '-----------------------------------------------', :green
99
+ if @env == 'pro'
100
+ post_version_deperated_data(path)
101
+ end
102
+ else
103
+ say '入库失败,请使用 pod lib lint 和 pod spec lint检查错误信息...', :red
104
+ say '-----------------------------------------------', :red
105
+ end
106
+ end
107
+
108
+ puts '--'
109
+ end
110
+
111
+ def post_version_deperated_data(path)
112
+ spec_file_path = find_podspec_file path
113
+
114
+ @specification = Pod::Specification.from_file(spec_file_path)
115
+ @component_name = @specification.name
116
+ config_file_path = config_file path
117
+ config = YAML.load_file(config_file_path, {})
118
+ config['component_name'] = @component_name
119
+ if config['deprecated_versions']== nil
120
+ config['deprecated_versions'] = []
121
+ end
122
+
123
+ old_version_string = config['deprecated_versions'].join(",")
124
+
125
+ deprecated_versions = read_user_input('请上报需要升级的版本号(三位数字版本号,用逗号分隔)', "Component Deprecated Versions",old_version_string , nil)
126
+
127
+ deprecated_versions.split(',').each do |version|
128
+ unless version.match(/\d\.\d.\d/)
129
+ say '版本号输入不合法', :red
130
+ exit
131
+ end
132
+ end
133
+
134
+ config['deprecated_versions'] = config['deprecated_versions']|deprecated_versions.split(',')
135
+ File.open(config_file_path, 'w') do |f|
136
+ f.write config.to_yaml
137
+ end
138
+
139
+ ComponentManagePlatform.new.update_version_info(@component_name,config['deprecated_versions'] )
140
+
141
+
142
+
143
+
144
+
145
+ end
146
+
147
+ def check_git_tag(git, tag)
148
+ tags = git.tags
149
+ tag_names = tags.map { |tag|
150
+ tag.name
151
+ }
152
+ if tag_names.include? tag or tag_names.include? "v#{tag}"
153
+ is_override = read_user_input("版本tag #{tag} 已存在", "是否覆盖此版本号(yes or no)", '--', nil)
154
+
155
+ if is_override.to_s.downcase == "yes"
156
+ puts "正在移除 tag #{tag} ..."
157
+ git.delete_tag(tag)
158
+ git.push 'origin', tag, { :delete => true }
159
+ say '旧的的 tag 已经移除', :green
160
+ else
161
+ say '此版本号的 tag 重复,请确认覆盖或者修改 podspec 中的版本号后重试...', :red
162
+ exit
163
+ end
164
+
165
+ end
166
+
167
+ end
168
+
169
+ def config_file(path)
170
+ config_file_path = "#{path}/#{PODSPEC_CONFIG_FILE}"
171
+ YkCommand::ComponentPublish.source_root(__dir__)
172
+ unless File.exist?(config_file_path)
173
+ template_file = "#{__dir__}/component_default.yml"
174
+ template template_file, config_file_path
175
+ end
176
+ config_file_path
177
+ end
178
+
179
+ def read_user_input(desc, ask_prom, now_value, limit)
180
+ item = ''
181
+ say "#{desc}:", :green
182
+ input = ask("#{ask_prom} [#{now_value}] ?")
183
+
184
+ if input != ''
185
+ item = input
186
+ else
187
+ if now_value != nil && now_value != ''
188
+ item = now_value
189
+ else
190
+ say "请正确填写#{desc}", :red
191
+ item = read_user_input(desc, ask_prom, now_value, limit)
192
+ end
193
+
194
+ end
195
+ item
196
+ end
197
+
198
+ end
199
+
200
+ end
201
+ end
202
+
203
+
204
+
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module YkCommand
4
- VERSION = '0.5.91'.freeze
4
+ VERSION = '0.6.0'.freeze
5
5
  end
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.5.91
4
+ version: 0.6.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-08-01 00:00:00.000000000 Z
11
+ date: 2022-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -255,13 +255,13 @@ files:
255
255
  - ".idea/sonarlint/issuestore/b/e/be2bfbadd6efe69882507c3a03b1b96c46f3dcbe"
256
256
  - ".idea/sonarlint/issuestore/c/f/cf949c4c054253d95250aa9644f2b805b2aa0d2a"
257
257
  - ".idea/sonarlint/issuestore/d/5/d594a688a538c9bebe38deb974bd46055c65a93c"
258
- - ".idea/sonarlint/issuestore/d/e/de3150c01c3a946a6168173c4116741379fe3579"
259
258
  - ".idea/sonarlint/issuestore/e/5/e5580d669a0c327c5b0897ba7dd8465a3d4db45a"
260
259
  - ".idea/sonarlint/issuestore/e/e/ee825dc90668e04039ee525c5858c5736562c9f5"
261
260
  - ".idea/sonarlint/issuestore/f/6/f6e109e4c314cef09022792f4b88dd267a682d28"
262
261
  - ".idea/sonarlint/issuestore/index.pb"
263
262
  - ".idea/vcs.xml"
264
263
  - ".idea/yk_command.iml"
264
+ - ".ruby-version"
265
265
  - Gemfile
266
266
  - Gemfile.lock
267
267
  - README.html
@@ -419,6 +419,7 @@ files:
419
419
  - lib/yk_command/project/test_examples/xctest.m
420
420
  - lib/yk_command/project/test_examples/xctest.swift
421
421
  - lib/yk_command/project/yk_project.rb
422
+ - lib/yk_command/repo_publish/component_publish.rb
422
423
  - lib/yk_command/version.rb
423
424
  - sig/yk_command.rbs
424
425
  - yk_command.gemspec
@@ -442,7 +443,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
442
443
  - !ruby/object:Gem::Version
443
444
  version: '0'
444
445
  requirements: []
445
- rubygems_version: 3.2.33
446
+ rubygems_version: 3.1.6
446
447
  signing_key:
447
448
  specification_version: 4
448
449
  summary: a short summary, because RubyGems requires one.