ykioscmd 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. checksums.yaml +7 -0
  2. data/.DS_Store +0 -0
  3. data/.YKPodSpecConfig.yml +5 -0
  4. data/.idea/inspectionProfiles/Project_Default.xml +6 -0
  5. data/.idea/misc.xml +4 -0
  6. data/.idea/ruby-client.iml +38 -0
  7. data/.idea/vcs.xml +6 -0
  8. data/.idea/workspace.xml +8388 -0
  9. data/.idea/yk_command.iml +105 -0
  10. data/.ruby-version +1 -0
  11. data/Gemfile +16 -0
  12. data/Gemfile.lock +153 -0
  13. data/README.html +109 -0
  14. data/README.md +104 -0
  15. data/Rakefile +4 -0
  16. data/bin/console +15 -0
  17. data/bin/setup +8 -0
  18. data/bin/ykioscmd +7 -0
  19. data/configruation-files/.YKBotConfig.yml +4 -0
  20. data/configruation-files/.YKGitlabConfig.yml +3 -0
  21. data/configruation-files/.YKProjectConfig.yml +4 -0
  22. data/configruation-files/.YKServerConfig.yml +3 -0
  23. data/debugProject/.DS_Store +0 -0
  24. data/images/Xnip2022-04-26_17-25-30.jpg +0 -0
  25. data/images/Xnip2022-04-26_17-27-32.jpg +0 -0
  26. data/images/Xnip2022-04-26_17-30-36.jpg +0 -0
  27. data/lib/.DS_Store +0 -0
  28. data/lib/yk_command/.DS_Store +0 -0
  29. data/lib/yk_command/analyze/analyze.rb +177 -0
  30. data/lib/yk_command/analyze/dependency_result.rb +138 -0
  31. data/lib/yk_command/analyze/request.rb +41 -0
  32. data/lib/yk_command/bot/wx_bot.rb +66 -0
  33. data/lib/yk_command/commands.rb +108 -0
  34. data/lib/yk_command/component_manage/component_manage_platform.rb +101 -0
  35. data/lib/yk_command/config/yk_config.rb +30 -0
  36. data/lib/yk_command/evaluate/evaluate.rb +7 -0
  37. data/lib/yk_command/gitlab/yk_gitlab.rb +77 -0
  38. data/lib/yk_command/module/.DS_Store +0 -0
  39. data/lib/yk_command/module/module_handler.rb +93 -0
  40. data/lib/yk_command/module/template/.DS_Store +0 -0
  41. data/lib/yk_command/module/template/objc/.DS_Store +0 -0
  42. data/lib/yk_command/module/template/objc/BusinessHeader.h +0 -0
  43. data/lib/yk_command/module/template/objc/CategoryHeader.h +12 -0
  44. data/lib/yk_command/module/template/objc/Helper.h +16 -0
  45. data/lib/yk_command/module/template/objc/Helper.m +41 -0
  46. data/lib/yk_command/module/template/objc/PrefixHeader.pch +30 -0
  47. data/lib/yk_command/module/template/objc/RouterRegister.h +16 -0
  48. data/lib/yk_command/module/template/objc/RouterRegister.m +26 -0
  49. data/lib/yk_command/module/template/objc/ServiceRegister.h +16 -0
  50. data/lib/yk_command/module/template/objc/ServiceRegister.m +21 -0
  51. data/lib/yk_command/module/template/objc/ToolsHeader.h +13 -0
  52. data/lib/yk_command/module/template/objc/VendorHeader.h +13 -0
  53. data/lib/yk_command/module/template/swift/.DS_Store +0 -0
  54. data/lib/yk_command/module/template/swift/PrefixHeader_swift.swift +10 -0
  55. data/lib/yk_command/module/template/swift/RouterRegisterSwift.swift +23 -0
  56. data/lib/yk_command/module/template/swift/ServiceRegisterSwift.swift +20 -0
  57. data/lib/yk_command/module/template/swift/Tool.swift +53 -0
  58. data/lib/yk_command/module/yk_module.rb +215 -0
  59. data/lib/yk_command/project/.DS_Store +0 -0
  60. data/lib/yk_command/project/full_component_demo_template/.gitignore +37 -0
  61. data/lib/yk_command/project/full_component_demo_template/.travis.yml +14 -0
  62. data/lib/yk_command/project/full_component_demo_template/CODE_OF_CONDUCT.md +40 -0
  63. data/lib/yk_command/project/full_component_demo_template/LICENSE +21 -0
  64. data/lib/yk_command/project/full_component_demo_template/NAME-osx.podspec +43 -0
  65. data/lib/yk_command/project/full_component_demo_template/NAME.podspec +151 -0
  66. data/lib/yk_command/project/full_component_demo_template/POD_LICENSE +19 -0
  67. data/lib/yk_command/project/full_component_demo_template/POD_README.md +29 -0
  68. data/lib/yk_command/project/full_component_demo_template/Pod/Assets/.gitkeep +0 -0
  69. data/lib/yk_command/project/full_component_demo_template/Pod/Classes/.gitkeep +0 -0
  70. data/lib/yk_command/project/full_component_demo_template/README.md +22 -0
  71. data/lib/yk_command/project/full_component_demo_template/configure +12 -0
  72. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/Base.lproj/LaunchScreen.storyboard +31 -0
  73. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/Base.lproj/Main.storyboard +79 -0
  74. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/CPDAppDelegate.h +15 -0
  75. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/CPDAppDelegate.m +46 -0
  76. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/CPDViewController.h +13 -0
  77. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/CPDViewController.m +47 -0
  78. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json +98 -0
  79. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/PROJECT-Info.plist +49 -0
  80. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/PROJECT-Prefix.pch +16 -0
  81. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/en.lproj/InfoPlist.strings +2 -0
  82. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/main.m +17 -0
  83. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/project.pbxproj +500 -0
  84. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  85. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  86. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +101 -0
  87. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/Podfile +34 -0
  88. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/Tests/Tests-Info.plist +22 -0
  89. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/Tests/Tests-Prefix.pch +7 -0
  90. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/Tests/Tests.m +9 -0
  91. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/Tests/en.lproj/InfoPlist.strings +2 -0
  92. data/lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT/AppDelegate.swift +26 -0
  93. data/lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT/Assets.xcassets/AppIcon.appiconset/Contents.json +58 -0
  94. data/lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT/Base.lproj/Main.storyboard +717 -0
  95. data/lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT/Info.plist +30 -0
  96. data/lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT/PROJECT.entitlements +10 -0
  97. data/lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT/ViewController.swift +27 -0
  98. data/lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT.xcodeproj/project.pbxproj +444 -0
  99. data/lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  100. data/lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +103 -0
  101. data/lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/Podfile +11 -0
  102. data/lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/Tests/Info.plist +22 -0
  103. data/lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/Tests/Tests.swift +1 -0
  104. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/AppDelegate.swift +46 -0
  105. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/Base.lproj/LaunchScreen.xib +46 -0
  106. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/Base.lproj/Main.storyboard +86 -0
  107. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/Example-Bridging-Header.h +4 -0
  108. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json +53 -0
  109. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/Info.plist +39 -0
  110. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/STTestAppDelegate.swift +16 -0
  111. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/Tests-Bridging-Header.h +4 -0
  112. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/ViewController.swift +51 -0
  113. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/YKEmptyOcFile.m +9 -0
  114. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/project.pbxproj +489 -0
  115. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  116. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  117. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +117 -0
  118. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/Podfile +35 -0
  119. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/Tests/Info.plist +24 -0
  120. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/Tests/Tests.swift +1 -0
  121. data/lib/yk_command/project/setup/ConfigureMacOSSwift.rb +46 -0
  122. data/lib/yk_command/project/setup/ConfigureSwift.rb +42 -0
  123. data/lib/yk_command/project/setup/ConfigureiOS.rb +106 -0
  124. data/lib/yk_command/project/setup/MessageBank.rb +113 -0
  125. data/lib/yk_command/project/setup/ProjectManipulator.rb +141 -0
  126. data/lib/yk_command/project/setup/TemplateConfigurator.rb +258 -0
  127. data/lib/yk_command/project/simple_component_demo_template/.gitignore +37 -0
  128. data/lib/yk_command/project/simple_component_demo_template/.travis.yml +14 -0
  129. data/lib/yk_command/project/simple_component_demo_template/CODE_OF_CONDUCT.md +40 -0
  130. data/lib/yk_command/project/simple_component_demo_template/LICENSE +21 -0
  131. data/lib/yk_command/project/simple_component_demo_template/NAME-osx.podspec +43 -0
  132. data/lib/yk_command/project/simple_component_demo_template/NAME.podspec +140 -0
  133. data/lib/yk_command/project/simple_component_demo_template/POD_LICENSE +19 -0
  134. data/lib/yk_command/project/simple_component_demo_template/POD_README.md +29 -0
  135. data/lib/yk_command/project/simple_component_demo_template/Pod/Assets/.gitkeep +0 -0
  136. data/lib/yk_command/project/simple_component_demo_template/Pod/Classes/.gitkeep +0 -0
  137. data/lib/yk_command/project/simple_component_demo_template/README.md +22 -0
  138. data/lib/yk_command/project/simple_component_demo_template/configure +13 -0
  139. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/Base.lproj/LaunchScreen.storyboard +31 -0
  140. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/Base.lproj/Main.storyboard +79 -0
  141. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/CPDAppDelegate.h +15 -0
  142. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/CPDAppDelegate.m +46 -0
  143. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/CPDViewController.h +13 -0
  144. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/CPDViewController.m +37 -0
  145. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json +98 -0
  146. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/PROJECT-Info.plist +49 -0
  147. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/PROJECT-Prefix.pch +16 -0
  148. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/en.lproj/InfoPlist.strings +2 -0
  149. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/main.m +17 -0
  150. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/project.pbxproj +500 -0
  151. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  152. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  153. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +101 -0
  154. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/Podfile +19 -0
  155. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/Tests/Tests-Info.plist +22 -0
  156. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/Tests/Tests-Prefix.pch +7 -0
  157. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/Tests/Tests.m +9 -0
  158. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/Tests/en.lproj/InfoPlist.strings +2 -0
  159. data/lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT/AppDelegate.swift +26 -0
  160. data/lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT/Assets.xcassets/AppIcon.appiconset/Contents.json +58 -0
  161. data/lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT/Base.lproj/Main.storyboard +717 -0
  162. data/lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT/Info.plist +30 -0
  163. data/lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT/PROJECT.entitlements +10 -0
  164. data/lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT/ViewController.swift +27 -0
  165. data/lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT.xcodeproj/project.pbxproj +444 -0
  166. data/lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  167. data/lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +103 -0
  168. data/lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/Podfile +11 -0
  169. data/lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/Tests/Info.plist +22 -0
  170. data/lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/Tests/Tests.swift +1 -0
  171. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/AppDelegate.swift +46 -0
  172. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/Base.lproj/LaunchScreen.xib +46 -0
  173. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/Base.lproj/Main.storyboard +103 -0
  174. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/EmptyOcFile.m +9 -0
  175. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json +53 -0
  176. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/Info.plist +39 -0
  177. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/PROJECT_Example-Bridging-Header.h +4 -0
  178. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/PROJECT_Tests-Bridging-Header.h +4 -0
  179. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/ViewController.swift +32 -0
  180. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/project.pbxproj +489 -0
  181. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  182. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  183. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +117 -0
  184. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/Podfile +20 -0
  185. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/Tests/Info.plist +24 -0
  186. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/Tests/Tests.swift +1 -0
  187. data/lib/yk_command/project/test_examples/kiwi.m +36 -0
  188. data/lib/yk_command/project/test_examples/quick.swift +50 -0
  189. data/lib/yk_command/project/test_examples/specta.m +39 -0
  190. data/lib/yk_command/project/test_examples/xctest.m +26 -0
  191. data/lib/yk_command/project/test_examples/xctest.swift +28 -0
  192. data/lib/yk_command/project/yk_project.rb +92 -0
  193. data/lib/yk_command/repo_publish/component_default.yml +5 -0
  194. data/lib/yk_command/repo_publish/component_publish.rb +218 -0
  195. data/lib/yk_command/version.rb +5 -0
  196. data/lib/ykioscmd.rb +9 -0
  197. data/ykioscmd.gemspec +53 -0
  198. metadata +453 -0
@@ -0,0 +1,7 @@
1
+ // The contents of this file are implicitly included at the beginning of every test case source file.
2
+
3
+ #ifdef __OBJC__
4
+
5
+ ${INCLUDED_PREFIXES}
6
+
7
+ #endif
@@ -0,0 +1,9 @@
1
+ //
2
+ // PROJECTTests.m
3
+ // PROJECTTests
4
+ //
5
+ // Created by PROJECT_OWNER on TODAYS_DATE.
6
+ // Copyright (c) TODAYS_YEAR PROJECT_OWNER. All rights reserved.
7
+ //
8
+
9
+ // ${TEST_EXAMPLE}
@@ -0,0 +1,26 @@
1
+ //
2
+ // AppDelegate.swift
3
+ // PROJECT
4
+ //
5
+ // Created by PROJECT_OWNER on TODAYS_DATE.
6
+ // Copyright (c) TODAYS_YEAR PROJECT_OWNER. All rights reserved.
7
+ //
8
+
9
+ import Cocoa
10
+
11
+ @NSApplicationMain
12
+ class AppDelegate: NSObject, NSApplicationDelegate {
13
+
14
+
15
+
16
+ func applicationDidFinishLaunching(_ aNotification: Notification) {
17
+ // Insert code here to initialize your application
18
+ }
19
+
20
+ func applicationWillTerminate(_ aNotification: Notification) {
21
+ // Insert code here to tear down your application
22
+ }
23
+
24
+
25
+ }
26
+
@@ -0,0 +1,58 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "idiom" : "mac",
5
+ "size" : "16x16",
6
+ "scale" : "1x"
7
+ },
8
+ {
9
+ "idiom" : "mac",
10
+ "size" : "16x16",
11
+ "scale" : "2x"
12
+ },
13
+ {
14
+ "idiom" : "mac",
15
+ "size" : "32x32",
16
+ "scale" : "1x"
17
+ },
18
+ {
19
+ "idiom" : "mac",
20
+ "size" : "32x32",
21
+ "scale" : "2x"
22
+ },
23
+ {
24
+ "idiom" : "mac",
25
+ "size" : "128x128",
26
+ "scale" : "1x"
27
+ },
28
+ {
29
+ "idiom" : "mac",
30
+ "size" : "128x128",
31
+ "scale" : "2x"
32
+ },
33
+ {
34
+ "idiom" : "mac",
35
+ "size" : "256x256",
36
+ "scale" : "1x"
37
+ },
38
+ {
39
+ "idiom" : "mac",
40
+ "size" : "256x256",
41
+ "scale" : "2x"
42
+ },
43
+ {
44
+ "idiom" : "mac",
45
+ "size" : "512x512",
46
+ "scale" : "1x"
47
+ },
48
+ {
49
+ "idiom" : "mac",
50
+ "size" : "512x512",
51
+ "scale" : "2x"
52
+ }
53
+ ],
54
+ "info" : {
55
+ "version" : 1,
56
+ "author" : "xcode"
57
+ }
58
+ }