scout-gear 2.0.0 → 5.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/.vimproject +59 -2
  3. data/VERSION +1 -1
  4. data/bin/scout +231 -24
  5. data/lib/scout/cmd.rb +344 -0
  6. data/lib/scout/concurrent_stream.rb +259 -0
  7. data/lib/scout/exceptions.rb +15 -8
  8. data/lib/scout/indiferent_hash/options.rb +8 -26
  9. data/lib/scout/log/color.rb +2 -2
  10. data/lib/scout/log/fingerprint.rb +11 -1
  11. data/lib/scout/log/progress/report.rb +0 -1
  12. data/lib/scout/log/progress/util.rb +1 -1
  13. data/lib/scout/log/progress.rb +4 -4
  14. data/lib/scout/log.rb +10 -2
  15. data/lib/scout/meta_extension.rb +15 -1
  16. data/lib/scout/misc/digest.rb +56 -0
  17. data/lib/scout/misc/filesystem.rb +26 -0
  18. data/lib/scout/misc/format.rb +1 -2
  19. data/lib/scout/misc/insist.rb +56 -0
  20. data/lib/scout/misc.rb +4 -11
  21. data/lib/scout/open/lock.rb +61 -0
  22. data/lib/scout/open/remote.rb +120 -0
  23. data/lib/scout/open/stream.rb +372 -0
  24. data/lib/scout/open/util.rb +225 -0
  25. data/lib/scout/open.rb +169 -0
  26. data/lib/scout/path/find.rb +67 -21
  27. data/lib/scout/path/tmpfile.rb +8 -0
  28. data/lib/scout/path/util.rb +14 -1
  29. data/lib/scout/path.rb +6 -30
  30. data/lib/scout/persist/open.rb +17 -0
  31. data/lib/scout/persist/path.rb +15 -0
  32. data/lib/scout/persist/serialize.rb +140 -0
  33. data/lib/scout/persist.rb +54 -0
  34. data/lib/scout/resource/path.rb +15 -0
  35. data/lib/scout/resource/produce/rake.rb +69 -0
  36. data/lib/scout/resource/produce.rb +246 -0
  37. data/lib/scout/resource/scout.rb +3 -0
  38. data/lib/scout/resource.rb +37 -0
  39. data/lib/scout/simple_opt/accessor.rb +1 -1
  40. data/lib/scout/simple_opt/doc.rb +4 -22
  41. data/lib/scout/simple_opt/parse.rb +4 -3
  42. data/lib/scout/tmpfile.rb +39 -1
  43. data/lib/scout/workflow/definition.rb +72 -0
  44. data/lib/scout/workflow/documentation.rb +77 -0
  45. data/lib/scout/workflow/step/info.rb +77 -0
  46. data/lib/scout/workflow/step.rb +96 -0
  47. data/lib/scout/workflow/task/inputs.rb +112 -0
  48. data/lib/scout/workflow/task.rb +141 -0
  49. data/lib/scout/workflow/usage.rb +294 -0
  50. data/lib/scout/workflow/util.rb +11 -0
  51. data/lib/scout/workflow.rb +39 -0
  52. data/lib/scout-gear.rb +4 -0
  53. data/lib/scout.rb +1 -0
  54. data/lib/workflow-scout.rb +2 -0
  55. data/scout-gear.gemspec +66 -5
  56. data/scout_commands/alias +48 -0
  57. data/scout_commands/find +83 -0
  58. data/scout_commands/glob +0 -0
  59. data/scout_commands/rbbt +23 -0
  60. data/scout_commands/workflow/task +707 -0
  61. data/test/scout/indiferent_hash/test_options.rb +11 -1
  62. data/test/scout/misc/test_digest.rb +30 -0
  63. data/test/scout/misc/test_filesystem.rb +30 -0
  64. data/test/scout/misc/test_insist.rb +13 -0
  65. data/test/scout/open/test_lock.rb +52 -0
  66. data/test/scout/open/test_remote.rb +25 -0
  67. data/test/scout/open/test_stream.rb +515 -0
  68. data/test/scout/open/test_util.rb +73 -0
  69. data/test/scout/path/test_find.rb +28 -0
  70. data/test/scout/persist/test_open.rb +37 -0
  71. data/test/scout/persist/test_path.rb +37 -0
  72. data/test/scout/persist/test_serialize.rb +114 -0
  73. data/test/scout/resource/test_path.rb +40 -0
  74. data/test/scout/resource/test_produce.rb +62 -0
  75. data/test/scout/test_cmd.rb +85 -0
  76. data/test/scout/test_concurrent_stream.rb +29 -0
  77. data/test/scout/test_misc.rb +0 -7
  78. data/test/scout/test_open.rb +146 -0
  79. data/test/scout/test_path.rb +3 -1
  80. data/test/scout/test_persist.rb +83 -0
  81. data/test/scout/test_resource.rb +26 -0
  82. data/test/scout/test_workflow.rb +87 -0
  83. data/test/scout/workflow/step/test_info.rb +28 -0
  84. data/test/scout/workflow/task/test_inputs.rb +182 -0
  85. data/test/scout/workflow/test_step.rb +36 -0
  86. data/test/scout/workflow/test_task.rb +178 -0
  87. data/test/scout/workflow/test_usage.rb +26 -0
  88. data/test/scout/workflow/test_util.rb +17 -0
  89. data/test/test_helper.rb +17 -0
  90. data/test/test_scout-gear.rb +0 -0
  91. metadata +64 -3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scout-gear
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 5.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-30 00:00:00.000000000 Z
11
+ date: 2023-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: term-ansicolor
@@ -98,6 +98,9 @@ files:
98
98
  - VERSION
99
99
  - bin/scout
100
100
  - lib/scout-gear.rb
101
+ - lib/scout.rb
102
+ - lib/scout/cmd.rb
103
+ - lib/scout/concurrent_stream.rb
101
104
  - lib/scout/exceptions.rb
102
105
  - lib/scout/indiferent_hash.rb
103
106
  - lib/scout/indiferent_hash/case_insensitive.rb
@@ -111,10 +114,28 @@ files:
111
114
  - lib/scout/log/progress/util.rb
112
115
  - lib/scout/meta_extension.rb
113
116
  - lib/scout/misc.rb
117
+ - lib/scout/misc/digest.rb
118
+ - lib/scout/misc/filesystem.rb
114
119
  - lib/scout/misc/format.rb
120
+ - lib/scout/misc/insist.rb
121
+ - lib/scout/open.rb
122
+ - lib/scout/open/lock.rb
123
+ - lib/scout/open/remote.rb
124
+ - lib/scout/open/stream.rb
125
+ - lib/scout/open/util.rb
115
126
  - lib/scout/path.rb
116
127
  - lib/scout/path/find.rb
128
+ - lib/scout/path/tmpfile.rb
117
129
  - lib/scout/path/util.rb
130
+ - lib/scout/persist.rb
131
+ - lib/scout/persist/open.rb
132
+ - lib/scout/persist/path.rb
133
+ - lib/scout/persist/serialize.rb
134
+ - lib/scout/resource.rb
135
+ - lib/scout/resource/path.rb
136
+ - lib/scout/resource/produce.rb
137
+ - lib/scout/resource/produce/rake.rb
138
+ - lib/scout/resource/scout.rb
118
139
  - lib/scout/simple_opt.rb
119
140
  - lib/scout/simple_opt/accessor.rb
120
141
  - lib/scout/simple_opt/doc.rb
@@ -122,22 +143,62 @@ files:
122
143
  - lib/scout/simple_opt/parse.rb
123
144
  - lib/scout/simple_opt/setup.rb
124
145
  - lib/scout/tmpfile.rb
146
+ - lib/scout/workflow.rb
147
+ - lib/scout/workflow/definition.rb
148
+ - lib/scout/workflow/documentation.rb
149
+ - lib/scout/workflow/step.rb
150
+ - lib/scout/workflow/step/info.rb
151
+ - lib/scout/workflow/task.rb
152
+ - lib/scout/workflow/task/inputs.rb
153
+ - lib/scout/workflow/usage.rb
154
+ - lib/scout/workflow/util.rb
155
+ - lib/workflow-scout.rb
125
156
  - scout-gear.gemspec
157
+ - scout_commands/alias
158
+ - scout_commands/find
159
+ - scout_commands/glob
160
+ - scout_commands/rbbt
161
+ - scout_commands/workflow/task
126
162
  - test/scout/indiferent_hash/test_case_insensitive.rb
127
163
  - test/scout/indiferent_hash/test_options.rb
128
164
  - test/scout/log/test_progress.rb
165
+ - test/scout/misc/test_digest.rb
166
+ - test/scout/misc/test_filesystem.rb
167
+ - test/scout/misc/test_insist.rb
168
+ - test/scout/open/test_lock.rb
169
+ - test/scout/open/test_remote.rb
170
+ - test/scout/open/test_stream.rb
171
+ - test/scout/open/test_util.rb
129
172
  - test/scout/path/test_find.rb
130
173
  - test/scout/path/test_util.rb
174
+ - test/scout/persist/test_open.rb
175
+ - test/scout/persist/test_path.rb
176
+ - test/scout/persist/test_serialize.rb
177
+ - test/scout/resource/test_path.rb
178
+ - test/scout/resource/test_produce.rb
131
179
  - test/scout/simple_opt/test_get.rb
132
180
  - test/scout/simple_opt/test_parse.rb
133
181
  - test/scout/simple_opt/test_setup.rb
182
+ - test/scout/test_cmd.rb
183
+ - test/scout/test_concurrent_stream.rb
134
184
  - test/scout/test_indiferent_hash.rb
135
185
  - test/scout/test_log.rb
136
186
  - test/scout/test_meta_extension.rb
137
187
  - test/scout/test_misc.rb
188
+ - test/scout/test_open.rb
138
189
  - test/scout/test_path.rb
190
+ - test/scout/test_persist.rb
191
+ - test/scout/test_resource.rb
139
192
  - test/scout/test_tmpfile.rb
193
+ - test/scout/test_workflow.rb
194
+ - test/scout/workflow/step/test_info.rb
195
+ - test/scout/workflow/task/test_inputs.rb
196
+ - test/scout/workflow/test_step.rb
197
+ - test/scout/workflow/test_task.rb
198
+ - test/scout/workflow/test_usage.rb
199
+ - test/scout/workflow/test_util.rb
140
200
  - test/test_helper.rb
201
+ - test/test_scout-gear.rb
141
202
  homepage: http://github.com/mikisvaz/scout-gear
142
203
  licenses:
143
204
  - MIT
@@ -157,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
218
  - !ruby/object:Gem::Version
158
219
  version: '0'
159
220
  requirements: []
160
- rubygems_version: 3.4.6
221
+ rubygems_version: 3.4.11
161
222
  signing_key:
162
223
  specification_version: 4
163
224
  summary: basic gear for scouts