ehbrs-tools 0.14.1 → 0.16.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ehbrs/runner.rb +4 -7
- data/lib/ehbrs/runner/finances.rb +4 -7
- data/lib/ehbrs/runner/finances/bb_browser.rb +5 -10
- data/lib/ehbrs/runner/fs.rb +4 -7
- data/lib/ehbrs/runner/fs/used_space.rb +4 -5
- data/lib/ehbrs/runner/google.rb +4 -7
- data/lib/ehbrs/runner/google/translate.rb +7 -12
- data/lib/ehbrs/runner/self.rb +4 -7
- data/lib/ehbrs/runner/self/test.rb +5 -10
- data/lib/ehbrs/runner/vg.rb +4 -7
- data/lib/ehbrs/runner/vg/ips.rb +9 -14
- data/lib/ehbrs/runner/vg/wii.rb +10 -13
- data/lib/ehbrs/runner/videos.rb +3 -5
- data/lib/ehbrs/runner/videos/extract.rb +10 -13
- data/lib/ehbrs/runner/videos/probe.rb +6 -9
- data/lib/ehbrs/runner/videos/series.rb +5 -8
- data/lib/ehbrs/runner/videos/series/rename.rb +9 -12
- data/lib/ehbrs/runner/videos/unsupported.rb +9 -13
- data/lib/ehbrs/runner/web_utils.rb +24 -0
- data/lib/ehbrs/runner/web_utils/videos.rb +18 -0
- data/lib/ehbrs/runner/web_utils/videos/download.rb +63 -0
- data/lib/ehbrs/runner/web_utils/videos/upload.rb +75 -0
- data/lib/ehbrs/tools/version.rb +1 -1
- data/lib/ehbrs/vg/wii/wit/parsers/dump.rb +10 -5
- data/lib/ehbrs/videos/file.rb +4 -8
- data/lib/ehbrs/videos/series/rename/file/options.rb +3 -13
- data/lib/ehbrs/videos/track.rb +20 -10
- data/lib/ehbrs/videos/unsupported/checks/codec_extra_unlisted.rb +2 -0
- data/lib/ehbrs/videos/unsupported/checks/codec_extra_unsupported.rb +2 -0
- data/lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb +2 -0
- data/lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb +2 -0
- data/lib/ehbrs/videos/unsupported/checks/invalid_extension.rb +2 -0
- data/lib/ehbrs/videos/unsupported/fixes/supported_codec.rb +1 -1
- data/lib/ehbrs/videos/unsupported/profiles/base.rb +17 -3
- data/lib/ehbrs/videos/unsupported/profiles/philco.rb +5 -4
- data/vendor/aranha-parsers/Gemfile +5 -0
- data/vendor/aranha-parsers/aranha-parsers.gemspec +23 -0
- data/vendor/aranha-parsers/lib/aranha/parsers.rb +9 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/base.rb +79 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/html.rb +11 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/html/base.rb +47 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/html/item.rb +24 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/html/item_list.rb +29 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/html/node.rb +13 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/html/node/base.rb +36 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/html/node/default.rb +126 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/invalid_state_exception.rb +8 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/patches.rb +11 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/patches/ofx_parser.rb +38 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/source_address.rb +55 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/source_address/file.rb +31 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/source_address/hash_http_get.rb +25 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/source_address/hash_http_post.rb +45 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/source_address/http_get.rb +49 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/source_target_fixtures.rb +77 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/spec/source_target_fixtures_example.rb +78 -0
- data/vendor/aranha-parsers/lib/aranha/parsers/version.rb +7 -0
- data/vendor/aranha-parsers/spec/lib/aranha/parsers/source_address/http_get_spec.rb +21 -0
- data/vendor/aranha-parsers/spec/lib/aranha/parsers/source_address_spec.rb +74 -0
- data/vendor/aranha-parsers/spec/lib/aranha/parsers/source_target_fixtures_spec.rb +27 -0
- data/vendor/aranha-parsers/spec/lib/aranha/parsers/source_target_fixtures_spec_files/stub1.source.txt +1 -0
- data/vendor/aranha-parsers/spec/lib/aranha/parsers/source_target_fixtures_spec_files/stub1.target.html +1 -0
- data/vendor/aranha-parsers/spec/lib/aranha/parsers/source_target_fixtures_spec_files/stub2.source.html +1 -0
- data/vendor/aranha-parsers/spec/lib/aranha/parsers/source_target_fixtures_spec_files/stub3.target.yaml +1 -0
- data/vendor/aranha-parsers/spec/lib/rubocop_check_spec.rb +7 -0
- data/vendor/aranha-parsers/spec/spec_helper.rb +8 -0
- data/vendor/eac_cli/eac_cli.gemspec +1 -1
- data/vendor/eac_cli/lib/eac_cli/definition.rb +49 -22
- data/vendor/eac_cli/lib/eac_cli/definition/alternative.rb +83 -0
- data/vendor/eac_cli/lib/eac_cli/definition/base_option.rb +17 -1
- data/vendor/eac_cli/lib/eac_cli/{parser/options_collection.rb → definition/help_formatter.rb} +20 -49
- data/vendor/eac_cli/lib/eac_cli/definition/positional_argument.rb +21 -4
- data/vendor/eac_cli/lib/eac_cli/docopt/doc_builder.rb +18 -40
- data/vendor/eac_cli/lib/eac_cli/docopt/doc_builder/alternative.rb +50 -0
- data/vendor/eac_cli/lib/eac_cli/docopt/runner_extension.rb +1 -0
- data/vendor/eac_cli/lib/eac_cli/parser.rb +23 -3
- data/vendor/eac_cli/lib/eac_cli/parser/alternative.rb +92 -0
- data/vendor/eac_cli/lib/eac_cli/parser/alternative/argv.rb +17 -0
- data/vendor/eac_cli/lib/eac_cli/parser/alternative/double_dash.rb +24 -0
- data/vendor/eac_cli/lib/eac_cli/parser/alternative/options.rb +58 -0
- data/vendor/eac_cli/lib/eac_cli/parser/alternative/positionals.rb +30 -0
- data/vendor/eac_cli/lib/eac_cli/parser/collector.rb +4 -0
- data/vendor/eac_cli/lib/eac_cli/patches/object/runner_with.rb +2 -1
- data/vendor/eac_cli/lib/eac_cli/runner.rb +17 -5
- data/vendor/eac_cli/lib/eac_cli/runner/context.rb +19 -2
- data/vendor/eac_cli/lib/eac_cli/runner/exit.rb +13 -0
- data/vendor/eac_cli/lib/eac_cli/runner_with/help.rb +16 -1
- data/vendor/eac_cli/lib/eac_cli/runner_with/output_file.rb +5 -1
- data/vendor/eac_cli/lib/eac_cli/runner_with/subcommands.rb +96 -0
- data/vendor/eac_cli/lib/eac_cli/version.rb +1 -1
- data/vendor/eac_cli/spec/lib/eac_cli/definition/alternative_spec.rb +14 -0
- data/vendor/eac_cli/spec/lib/eac_cli/docopt/runner_extension_spec.rb +35 -0
- data/vendor/eac_cli/spec/lib/eac_cli/parser/alternative_spec.rb +140 -0
- data/vendor/eac_cli/spec/lib/eac_cli/runner_spec.rb +59 -39
- data/vendor/eac_cli/spec/lib/eac_cli/runner_with/help_spec.rb +42 -0
- data/vendor/eac_cli/spec/lib/eac_cli/runner_with/output_file_spec.rb +53 -0
- data/vendor/eac_cli/spec/lib/eac_cli/runner_with/subcommands_spec.rb +56 -0
- data/vendor/eac_docker/lib/eac_docker/container.rb +24 -0
- data/vendor/eac_docker/lib/eac_docker/images/coded.rb +39 -0
- data/vendor/eac_docker/lib/eac_docker/images/templatized.rb +26 -0
- data/vendor/eac_docker/lib/eac_docker/registry.rb +17 -0
- data/vendor/eac_docker/lib/eac_docker/version.rb +1 -1
- data/vendor/eac_docker/spec/lib/eac_docker/images/coded_spec.rb +12 -0
- data/vendor/eac_docker/spec/lib/eac_docker/images/coded_spec_files/image1/Dockerfile +1 -0
- data/vendor/eac_docker/spec/lib/eac_docker/images/templatized_spec.rb +17 -0
- data/vendor/eac_docker/spec/lib/eac_docker/images/templatized_spec_files/stub_docker_image/Dockerfile +1 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/abstract_methods.rb +60 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/blank_not_blank.rb +19 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/common_concern.rb +2 -50
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/common_concern/class_setup.rb +52 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/common_concern/module_setup.rb +31 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/common_constructor.rb +53 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/configs/base.rb +43 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/configs/file.rb +12 -31
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/console/configs.rb +7 -104
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/console/configs/entry_reader.rb +81 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/console/configs/password_entry_reader.rb +18 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/console/configs/read_entry_options.rb +46 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/console/configs/store_passwords_entry_reader.rb +27 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/command.rb +4 -6
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/command/concat.rb +33 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/command/envvars.rb +24 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/command/extra_options.rb +0 -21
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/clearable_directory.rb +57 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator.rb +4 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator/current.rb +9 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator/stopped.rb +14 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/abstract_methods.rb +10 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb +17 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash.rb +21 -58
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash/entry_key_error.rb +8 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash/node.rb +67 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash/path_search.rb +39 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/ruby/command.rb +2 -1
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/struct.rb +11 -1
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/yaml.rb +3 -2
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/abstract_methods_spec.rb +28 -0
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/blank_not_blank_spec.rb +16 -0
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/common_concern_spec.rb +30 -17
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/common_constructor_spec.rb +66 -8
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/configs_spec.rb +15 -0
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/current_spec.rb +26 -0
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/stopped_spec.rb +32 -0
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/paths_hash_spec.rb +52 -13
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/struct_spec.rb +12 -1
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/version.rb +1 -1
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/container.rb +30 -2
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/convert_job.rb +91 -0
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/stream.rb +51 -0
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils.rb +9 -0
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils/instance.rb +32 -0
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils/videos.rb +11 -0
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils/videos/file.rb +40 -0
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils/videos/files_list.rb +76 -0
- metadata +91 -7
- data/vendor/eac_cli/lib/eac_cli/parser/parse_result.rb +0 -21
- data/vendor/eac_cli/lib/eac_cli/parser/positional_collection.rb +0 -49
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/container/file.rb +0 -31
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/container/info.rb +0 -21
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ehbrs-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Esquilo Azul Company
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm-tools
|
@@ -124,6 +124,10 @@ files:
|
|
124
124
|
- lib/ehbrs/runner/videos/series.rb
|
125
125
|
- lib/ehbrs/runner/videos/series/rename.rb
|
126
126
|
- lib/ehbrs/runner/videos/unsupported.rb
|
127
|
+
- lib/ehbrs/runner/web_utils.rb
|
128
|
+
- lib/ehbrs/runner/web_utils/videos.rb
|
129
|
+
- lib/ehbrs/runner/web_utils/videos/download.rb
|
130
|
+
- lib/ehbrs/runner/web_utils/videos/upload.rb
|
127
131
|
- lib/ehbrs/self.rb
|
128
132
|
- lib/ehbrs/self/observers/used_space.rb
|
129
133
|
- lib/ehbrs/self/observers/with_persistence.rb
|
@@ -178,6 +182,37 @@ files:
|
|
178
182
|
- lib/ehbrs/videos/unsupported/profiles/samsung.rb
|
179
183
|
- lib/ehbrs/videos/unsupported/search.rb
|
180
184
|
- lib/ehbrs/videos/unsupported/track.rb
|
185
|
+
- vendor/aranha-parsers/Gemfile
|
186
|
+
- vendor/aranha-parsers/aranha-parsers.gemspec
|
187
|
+
- vendor/aranha-parsers/lib/aranha/parsers.rb
|
188
|
+
- vendor/aranha-parsers/lib/aranha/parsers/base.rb
|
189
|
+
- vendor/aranha-parsers/lib/aranha/parsers/html.rb
|
190
|
+
- vendor/aranha-parsers/lib/aranha/parsers/html/base.rb
|
191
|
+
- vendor/aranha-parsers/lib/aranha/parsers/html/item.rb
|
192
|
+
- vendor/aranha-parsers/lib/aranha/parsers/html/item_list.rb
|
193
|
+
- vendor/aranha-parsers/lib/aranha/parsers/html/node.rb
|
194
|
+
- vendor/aranha-parsers/lib/aranha/parsers/html/node/base.rb
|
195
|
+
- vendor/aranha-parsers/lib/aranha/parsers/html/node/default.rb
|
196
|
+
- vendor/aranha-parsers/lib/aranha/parsers/invalid_state_exception.rb
|
197
|
+
- vendor/aranha-parsers/lib/aranha/parsers/patches.rb
|
198
|
+
- vendor/aranha-parsers/lib/aranha/parsers/patches/ofx_parser.rb
|
199
|
+
- vendor/aranha-parsers/lib/aranha/parsers/source_address.rb
|
200
|
+
- vendor/aranha-parsers/lib/aranha/parsers/source_address/file.rb
|
201
|
+
- vendor/aranha-parsers/lib/aranha/parsers/source_address/hash_http_get.rb
|
202
|
+
- vendor/aranha-parsers/lib/aranha/parsers/source_address/hash_http_post.rb
|
203
|
+
- vendor/aranha-parsers/lib/aranha/parsers/source_address/http_get.rb
|
204
|
+
- vendor/aranha-parsers/lib/aranha/parsers/source_target_fixtures.rb
|
205
|
+
- vendor/aranha-parsers/lib/aranha/parsers/spec/source_target_fixtures_example.rb
|
206
|
+
- vendor/aranha-parsers/lib/aranha/parsers/version.rb
|
207
|
+
- vendor/aranha-parsers/spec/lib/aranha/parsers/source_address/http_get_spec.rb
|
208
|
+
- vendor/aranha-parsers/spec/lib/aranha/parsers/source_address_spec.rb
|
209
|
+
- vendor/aranha-parsers/spec/lib/aranha/parsers/source_target_fixtures_spec.rb
|
210
|
+
- vendor/aranha-parsers/spec/lib/aranha/parsers/source_target_fixtures_spec_files/stub1.source.txt
|
211
|
+
- vendor/aranha-parsers/spec/lib/aranha/parsers/source_target_fixtures_spec_files/stub1.target.html
|
212
|
+
- vendor/aranha-parsers/spec/lib/aranha/parsers/source_target_fixtures_spec_files/stub2.source.html
|
213
|
+
- vendor/aranha-parsers/spec/lib/aranha/parsers/source_target_fixtures_spec_files/stub3.target.yaml
|
214
|
+
- vendor/aranha-parsers/spec/lib/rubocop_check_spec.rb
|
215
|
+
- vendor/aranha-parsers/spec/spec_helper.rb
|
181
216
|
- vendor/aranha-selenium/Gemfile
|
182
217
|
- vendor/aranha-selenium/aranha-selenium.gemspec
|
183
218
|
- vendor/aranha-selenium/lib/aranha/selenium.rb
|
@@ -196,28 +231,41 @@ files:
|
|
196
231
|
- vendor/eac_cli/lib/eac_cli/core_ext.rb
|
197
232
|
- vendor/eac_cli/lib/eac_cli/default_runner.rb
|
198
233
|
- vendor/eac_cli/lib/eac_cli/definition.rb
|
234
|
+
- vendor/eac_cli/lib/eac_cli/definition/alternative.rb
|
199
235
|
- vendor/eac_cli/lib/eac_cli/definition/argument_option.rb
|
200
236
|
- vendor/eac_cli/lib/eac_cli/definition/base_option.rb
|
201
237
|
- vendor/eac_cli/lib/eac_cli/definition/boolean_option.rb
|
238
|
+
- vendor/eac_cli/lib/eac_cli/definition/help_formatter.rb
|
202
239
|
- vendor/eac_cli/lib/eac_cli/definition/positional_argument.rb
|
203
240
|
- vendor/eac_cli/lib/eac_cli/docopt/doc_builder.rb
|
241
|
+
- vendor/eac_cli/lib/eac_cli/docopt/doc_builder/alternative.rb
|
204
242
|
- vendor/eac_cli/lib/eac_cli/docopt/runner_extension.rb
|
205
243
|
- vendor/eac_cli/lib/eac_cli/parser.rb
|
244
|
+
- vendor/eac_cli/lib/eac_cli/parser/alternative.rb
|
245
|
+
- vendor/eac_cli/lib/eac_cli/parser/alternative/argv.rb
|
246
|
+
- vendor/eac_cli/lib/eac_cli/parser/alternative/double_dash.rb
|
247
|
+
- vendor/eac_cli/lib/eac_cli/parser/alternative/options.rb
|
248
|
+
- vendor/eac_cli/lib/eac_cli/parser/alternative/positionals.rb
|
206
249
|
- vendor/eac_cli/lib/eac_cli/parser/collector.rb
|
207
250
|
- vendor/eac_cli/lib/eac_cli/parser/error.rb
|
208
|
-
- vendor/eac_cli/lib/eac_cli/parser/options_collection.rb
|
209
|
-
- vendor/eac_cli/lib/eac_cli/parser/parse_result.rb
|
210
|
-
- vendor/eac_cli/lib/eac_cli/parser/positional_collection.rb
|
211
251
|
- vendor/eac_cli/lib/eac_cli/patches.rb
|
212
252
|
- vendor/eac_cli/lib/eac_cli/patches/object.rb
|
213
253
|
- vendor/eac_cli/lib/eac_cli/patches/object/runner_with.rb
|
214
254
|
- vendor/eac_cli/lib/eac_cli/runner.rb
|
215
255
|
- vendor/eac_cli/lib/eac_cli/runner/context.rb
|
256
|
+
- vendor/eac_cli/lib/eac_cli/runner/exit.rb
|
216
257
|
- vendor/eac_cli/lib/eac_cli/runner_with.rb
|
217
258
|
- vendor/eac_cli/lib/eac_cli/runner_with/help.rb
|
218
259
|
- vendor/eac_cli/lib/eac_cli/runner_with/output_file.rb
|
260
|
+
- vendor/eac_cli/lib/eac_cli/runner_with/subcommands.rb
|
219
261
|
- vendor/eac_cli/lib/eac_cli/version.rb
|
262
|
+
- vendor/eac_cli/spec/lib/eac_cli/definition/alternative_spec.rb
|
263
|
+
- vendor/eac_cli/spec/lib/eac_cli/docopt/runner_extension_spec.rb
|
264
|
+
- vendor/eac_cli/spec/lib/eac_cli/parser/alternative_spec.rb
|
220
265
|
- vendor/eac_cli/spec/lib/eac_cli/runner_spec.rb
|
266
|
+
- vendor/eac_cli/spec/lib/eac_cli/runner_with/help_spec.rb
|
267
|
+
- vendor/eac_cli/spec/lib/eac_cli/runner_with/output_file_spec.rb
|
268
|
+
- vendor/eac_cli/spec/lib/eac_cli/runner_with/subcommands_spec.rb
|
221
269
|
- vendor/eac_cli/spec/rubocop_spec.rb
|
222
270
|
- vendor/eac_cli/spec/spec_helper.rb
|
223
271
|
- vendor/eac_docker/Gemfile
|
@@ -227,10 +275,17 @@ files:
|
|
227
275
|
- vendor/eac_docker/lib/eac_docker/executables.rb
|
228
276
|
- vendor/eac_docker/lib/eac_docker/images.rb
|
229
277
|
- vendor/eac_docker/lib/eac_docker/images/base.rb
|
278
|
+
- vendor/eac_docker/lib/eac_docker/images/coded.rb
|
230
279
|
- vendor/eac_docker/lib/eac_docker/images/named.rb
|
280
|
+
- vendor/eac_docker/lib/eac_docker/images/templatized.rb
|
281
|
+
- vendor/eac_docker/lib/eac_docker/registry.rb
|
231
282
|
- vendor/eac_docker/lib/eac_docker/rspec.rb
|
232
283
|
- vendor/eac_docker/lib/eac_docker/version.rb
|
233
284
|
- vendor/eac_docker/spec/lib/eac_docker/executables_spec.rb
|
285
|
+
- vendor/eac_docker/spec/lib/eac_docker/images/coded_spec.rb
|
286
|
+
- vendor/eac_docker/spec/lib/eac_docker/images/coded_spec_files/image1/Dockerfile
|
287
|
+
- vendor/eac_docker/spec/lib/eac_docker/images/templatized_spec.rb
|
288
|
+
- vendor/eac_docker/spec/lib/eac_docker/images/templatized_spec_files/stub_docker_image/Dockerfile
|
234
289
|
- vendor/eac_docker/spec/rubocop_spec.rb
|
235
290
|
- vendor/eac_docker/spec/spec_helper.rb
|
236
291
|
- vendor/eac_ruby_utils/Gemfile
|
@@ -238,15 +293,24 @@ files:
|
|
238
293
|
- vendor/eac_ruby_utils/README.rdoc
|
239
294
|
- vendor/eac_ruby_utils/eac_ruby_utils.gemspec
|
240
295
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils.rb
|
296
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/abstract_methods.rb
|
241
297
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/arguments_consumer.rb
|
298
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/blank_not_blank.rb
|
242
299
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/boolean.rb
|
243
300
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/by_reference.rb
|
244
301
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/common_concern.rb
|
302
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/common_concern/class_setup.rb
|
303
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/common_concern/module_setup.rb
|
245
304
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/common_constructor.rb
|
246
305
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/configs.rb
|
306
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/configs/base.rb
|
247
307
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/configs/file.rb
|
248
308
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/console.rb
|
249
309
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/console/configs.rb
|
310
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/console/configs/entry_reader.rb
|
311
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/console/configs/password_entry_reader.rb
|
312
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/console/configs/read_entry_options.rb
|
313
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/console/configs/store_passwords_entry_reader.rb
|
250
314
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/console/docopt_runner.rb
|
251
315
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/console/docopt_runner/_class_methods.rb
|
252
316
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/console/docopt_runner/_doc.rb
|
@@ -263,6 +327,8 @@ files:
|
|
263
327
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/envs.rb
|
264
328
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/base_env.rb
|
265
329
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/command.rb
|
330
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/command/concat.rb
|
331
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/command/envvars.rb
|
266
332
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/command/extra_options.rb
|
267
333
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/executable.rb
|
268
334
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/file.rb
|
@@ -276,6 +342,7 @@ files:
|
|
276
342
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/terminal.rb
|
277
343
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/filesystem_cache.rb
|
278
344
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs.rb
|
345
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/clearable_directory.rb
|
279
346
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/extname.rb
|
280
347
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/temp.rb
|
281
348
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/temp/directory.rb
|
@@ -309,10 +376,14 @@ files:
|
|
309
376
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/class/common_constructor.rb
|
310
377
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerable.rb
|
311
378
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerable/boolean_combinations.rb
|
379
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator.rb
|
380
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator/current.rb
|
381
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator/stopped.rb
|
312
382
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/hash.rb
|
313
383
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/options_consumer.rb
|
314
384
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/sym_keys_hash.rb
|
315
385
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module.rb
|
386
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/abstract_methods.rb
|
316
387
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/common_concern.rb
|
317
388
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/console_speaker.rb
|
318
389
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb
|
@@ -322,6 +393,7 @@ files:
|
|
322
393
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/simple_cache.rb
|
323
394
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object.rb
|
324
395
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/asserts.rb
|
396
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
|
325
397
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_present.rb
|
326
398
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_respond.rb
|
327
399
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/template.rb
|
@@ -336,6 +408,9 @@ files:
|
|
336
408
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time/default_time_zone_set.rb
|
337
409
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time/local_time_zone.rb
|
338
410
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash.rb
|
411
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash/entry_key_error.rb
|
412
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash/node.rb
|
413
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash/path_search.rb
|
339
414
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/require_sub.rb
|
340
415
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec.rb
|
341
416
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/conditional.rb
|
@@ -358,7 +433,9 @@ files:
|
|
358
433
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/templates/variable_providers/hash.rb
|
359
434
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb
|
360
435
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/yaml.rb
|
436
|
+
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/abstract_methods_spec.rb
|
361
437
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/arguments_consumer_spec.rb
|
438
|
+
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/blank_not_blank_spec.rb
|
362
439
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/common_concern_spec.rb
|
363
440
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/common_constructor_spec.rb
|
364
441
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/configs_spec.rb
|
@@ -376,6 +453,8 @@ files:
|
|
376
453
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/listable_spec.rb
|
377
454
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/options_consumer_spec.rb
|
378
455
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerable/boolean_combinations_spec.rb
|
456
|
+
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/current_spec.rb
|
457
|
+
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/stopped_spec.rb
|
379
458
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/hash/options_consumer_spec.rb
|
380
459
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/hash/sym_keys_hash_spec.rb
|
381
460
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/console_speaker_spec.rb
|
@@ -411,10 +490,15 @@ files:
|
|
411
490
|
- vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/version.rb
|
412
491
|
- vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos.rb
|
413
492
|
- vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/container.rb
|
414
|
-
- vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/
|
415
|
-
- vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/container/info.rb
|
493
|
+
- vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/convert_job.rb
|
416
494
|
- vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/quality.rb
|
417
495
|
- vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/resolution.rb
|
496
|
+
- vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/stream.rb
|
497
|
+
- vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils.rb
|
498
|
+
- vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils/instance.rb
|
499
|
+
- vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils/videos.rb
|
500
|
+
- vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils/videos/file.rb
|
501
|
+
- vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils/videos/files_list.rb
|
418
502
|
- vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/resolution_spec.rb
|
419
503
|
- vendor/ehbrs_ruby_utils/spec/rubocop_check_spec.rb
|
420
504
|
- vendor/ehbrs_ruby_utils/spec/spec_helper.rb
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_ruby_utils/core_ext'
|
4
|
-
|
5
|
-
module EacCli
|
6
|
-
class Parser
|
7
|
-
class ParseResult
|
8
|
-
common_constructor :definition, :argv
|
9
|
-
|
10
|
-
def result
|
11
|
-
::EacCli::Parser::Collector.to_data(definition) do |collector|
|
12
|
-
::EacCli::Parser::PositionalCollection.new(
|
13
|
-
definition,
|
14
|
-
::EacCli::Parser::OptionsCollection.new(definition, argv, collector).arguments,
|
15
|
-
collector
|
16
|
-
)
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
@@ -1,49 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_ruby_utils/core_ext'
|
4
|
-
require 'eac_cli/parser/error'
|
5
|
-
|
6
|
-
module EacCli
|
7
|
-
class Parser
|
8
|
-
class PositionalCollection
|
9
|
-
common_constructor(:definition, :argv, :collector) { collect }
|
10
|
-
|
11
|
-
private
|
12
|
-
|
13
|
-
def collected
|
14
|
-
@collected ||= ::Set.new
|
15
|
-
end
|
16
|
-
|
17
|
-
def collect
|
18
|
-
argv.each { |argv_value| colect_argv_value(argv_value) }
|
19
|
-
return unless pending_required_positional?
|
20
|
-
|
21
|
-
raise ::EacCli::Parser::Error.new(
|
22
|
-
definition, argv, 'No value for required positional ' \
|
23
|
-
"\"#{current_positional.identifier}\""
|
24
|
-
)
|
25
|
-
end
|
26
|
-
|
27
|
-
def colect_argv_value(argv_value)
|
28
|
-
collector.collect(current_positional, argv_value)
|
29
|
-
collected << current_positional
|
30
|
-
positional_enumerator.next unless current_positional.repeat?
|
31
|
-
end
|
32
|
-
|
33
|
-
def pending_required_positional?
|
34
|
-
!(current_positional.blank? || current_positional.optional? ||
|
35
|
-
collected.include?(current_positional))
|
36
|
-
end
|
37
|
-
|
38
|
-
def positional_enumerator
|
39
|
-
@positional_enumerator ||= definition.positional.each
|
40
|
-
end
|
41
|
-
|
42
|
-
def current_positional
|
43
|
-
positional_enumerator.peek
|
44
|
-
rescue ::StopIteration
|
45
|
-
nil
|
46
|
-
end
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
@@ -1,31 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'json'
|
4
|
-
require 'eac_ruby_utils/core_ext'
|
5
|
-
require 'ehbrs_ruby_utils/executables'
|
6
|
-
require 'ehbrs_ruby_utils/videos/container/info'
|
7
|
-
|
8
|
-
module EhbrsRubyUtils
|
9
|
-
module Videos
|
10
|
-
module Container
|
11
|
-
class File
|
12
|
-
enable_simple_cache
|
13
|
-
common_constructor :path do
|
14
|
-
self.path = path.to_pathname
|
15
|
-
end
|
16
|
-
|
17
|
-
private
|
18
|
-
|
19
|
-
def info_uncached
|
20
|
-
::EhbrsRubyUtils::Videos::Container::Info.new(
|
21
|
-
::JSON.parse(
|
22
|
-
::EhbrsRubyUtils::Executables.ffprobe.command(
|
23
|
-
'-hide_banner', '-print_format', 'json', '-show_format', '-show_streams', path
|
24
|
-
).execute!
|
25
|
-
)
|
26
|
-
)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_ruby_utils/core_ext'
|
4
|
-
require 'ehbrs_ruby_utils/videos/container/info'
|
5
|
-
|
6
|
-
module EhbrsRubyUtils
|
7
|
-
module Videos
|
8
|
-
module Container
|
9
|
-
class Info
|
10
|
-
enable_simple_cache
|
11
|
-
common_constructor :ffprobe_data do
|
12
|
-
self.ffprobe_data = ffprobe_data.with_indifferent_access.freeze
|
13
|
-
end
|
14
|
-
|
15
|
-
def to_h
|
16
|
-
ffprobe_data
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|