ehbrs-tools 0.28.3 → 0.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +39 -33
- data/lib/ehbrs/tools/runner/web_utils/finances/bills/consume.rb +43 -0
- data/lib/ehbrs/tools/runner/web_utils/finances/bills.rb +22 -0
- data/lib/ehbrs/tools/runner/web_utils/finances.rb +20 -0
- data/lib/ehbrs/tools/version.rb +1 -1
- metadata +5 -570
- data/vendor/aranha-parsers/Gemfile +0 -5
- data/vendor/aranha-parsers/aranha-parsers.gemspec +0 -25
- data/vendor/aranha-parsers/lib/aranha/parsers/base.rb +0 -81
- data/vendor/aranha-parsers/lib/aranha/parsers/html/base.rb +0 -47
- data/vendor/aranha-parsers/lib/aranha/parsers/html/item.rb +0 -24
- data/vendor/aranha-parsers/lib/aranha/parsers/html/item_list.rb +0 -29
- data/vendor/aranha-parsers/lib/aranha/parsers/html/node/base.rb +0 -36
- data/vendor/aranha-parsers/lib/aranha/parsers/html/node/default/numeric_support.rb +0 -70
- data/vendor/aranha-parsers/lib/aranha/parsers/html/node/default/string_support.rb +0 -77
- data/vendor/aranha-parsers/lib/aranha/parsers/html/node/default.rb +0 -34
- data/vendor/aranha-parsers/lib/aranha/parsers/html/node.rb +0 -13
- data/vendor/aranha-parsers/lib/aranha/parsers/html.rb +0 -11
- data/vendor/aranha-parsers/lib/aranha/parsers/invalid_state_exception.rb +0 -8
- data/vendor/aranha-parsers/lib/aranha/parsers/json/base.rb +0 -20
- data/vendor/aranha-parsers/lib/aranha/parsers/json.rb +0 -11
- data/vendor/aranha-parsers/lib/aranha/parsers/patches/ofx_parser.rb +0 -38
- data/vendor/aranha-parsers/lib/aranha/parsers/patches.rb +0 -11
- data/vendor/aranha-parsers/lib/aranha/parsers/rspec/setup.rb +0 -15
- data/vendor/aranha-parsers/lib/aranha/parsers/rspec/shared_examples/source_target_fixtures.rb +0 -78
- data/vendor/aranha-parsers/lib/aranha/parsers/rspec.rb +0 -11
- data/vendor/aranha-parsers/lib/aranha/parsers/source_address/fetch_content_error.rb +0 -10
- data/vendor/aranha-parsers/lib/aranha/parsers/source_address/file.rb +0 -31
- data/vendor/aranha-parsers/lib/aranha/parsers/source_address/hash_http_get.rb +0 -25
- data/vendor/aranha-parsers/lib/aranha/parsers/source_address/hash_http_post.rb +0 -45
- data/vendor/aranha-parsers/lib/aranha/parsers/source_address/http_get.rb +0 -59
- data/vendor/aranha-parsers/lib/aranha/parsers/source_address.rb +0 -57
- data/vendor/aranha-parsers/lib/aranha/parsers/source_target_fixtures.rb +0 -77
- data/vendor/aranha-parsers/lib/aranha/parsers/version.rb +0 -7
- data/vendor/aranha-parsers/lib/aranha/parsers.rb +0 -9
- data/vendor/aranha-parsers/spec/lib/aranha/parsers/source_address/http_get_spec.rb +0 -21
- data/vendor/aranha-parsers/spec/lib/aranha/parsers/source_address_spec.rb +0 -74
- data/vendor/aranha-parsers/spec/lib/aranha/parsers/source_target_fixtures_spec.rb +0 -27
- data/vendor/aranha-parsers/spec/lib/aranha/parsers/source_target_fixtures_spec_files/stub1.source.txt +0 -1
- data/vendor/aranha-parsers/spec/lib/aranha/parsers/source_target_fixtures_spec_files/stub1.target.html +0 -1
- data/vendor/aranha-parsers/spec/lib/aranha/parsers/source_target_fixtures_spec_files/stub2.source.html +0 -1
- data/vendor/aranha-parsers/spec/lib/aranha/parsers/source_target_fixtures_spec_files/stub3.target.yaml +0 -1
- data/vendor/aranha-parsers/spec/lib/rubocop_check_spec.rb +0 -3
- data/vendor/aranha-parsers/spec/spec_helper.rb +0 -4
- data/vendor/aranha-selenium/Gemfile +0 -5
- data/vendor/aranha-selenium/aranha-selenium.gemspec +0 -19
- data/vendor/aranha-selenium/lib/aranha/selenium/driver_factory/base.rb +0 -84
- data/vendor/aranha-selenium/lib/aranha/selenium/driver_factory/chrome.rb +0 -33
- data/vendor/aranha-selenium/lib/aranha/selenium/driver_factory/firefox.rb +0 -68
- data/vendor/aranha-selenium/lib/aranha/selenium/driver_factory/firefox_auto_download_mime_types +0 -685
- data/vendor/aranha-selenium/lib/aranha/selenium/driver_factory.rb +0 -47
- data/vendor/aranha-selenium/lib/aranha/selenium/session.rb +0 -78
- data/vendor/aranha-selenium/lib/aranha/selenium/version.rb +0 -7
- data/vendor/aranha-selenium/lib/aranha/selenium.rb +0 -8
- data/vendor/aranha-selenium/spec/rubocop_check_spec.rb +0 -3
- data/vendor/aranha-selenium/spec/spec_helper.rb +0 -4
- data/vendor/eac_cli/Gemfile +0 -5
- data/vendor/eac_cli/eac_cli.gemspec +0 -20
- data/vendor/eac_cli/lib/eac_cli/config/entry/options.rb +0 -57
- data/vendor/eac_cli/lib/eac_cli/config/entry/undefined.rb +0 -26
- data/vendor/eac_cli/lib/eac_cli/config/entry.rb +0 -46
- data/vendor/eac_cli/lib/eac_cli/config.rb +0 -21
- data/vendor/eac_cli/lib/eac_cli/core_ext.rb +0 -6
- data/vendor/eac_cli/lib/eac_cli/default_runner.rb +0 -14
- data/vendor/eac_cli/lib/eac_cli/definition/alternative.rb +0 -80
- data/vendor/eac_cli/lib/eac_cli/definition/argument_option.rb +0 -21
- data/vendor/eac_cli/lib/eac_cli/definition/base_option/initialize_args_parser.rb +0 -47
- data/vendor/eac_cli/lib/eac_cli/definition/base_option.rb +0 -66
- data/vendor/eac_cli/lib/eac_cli/definition/boolean_option.rb +0 -27
- data/vendor/eac_cli/lib/eac_cli/definition/help_formatter.rb +0 -77
- data/vendor/eac_cli/lib/eac_cli/definition/positional_argument.rb +0 -61
- data/vendor/eac_cli/lib/eac_cli/definition.rb +0 -99
- data/vendor/eac_cli/lib/eac_cli/old_configs/entry_reader.rb +0 -80
- data/vendor/eac_cli/lib/eac_cli/old_configs/password_entry_reader.rb +0 -16
- data/vendor/eac_cli/lib/eac_cli/old_configs/read_entry_options.rb +0 -44
- data/vendor/eac_cli/lib/eac_cli/old_configs/store_passwords_entry_reader.rb +0 -25
- data/vendor/eac_cli/lib/eac_cli/old_configs.rb +0 -35
- data/vendor/eac_cli/lib/eac_cli/old_configs_bridge.rb +0 -39
- data/vendor/eac_cli/lib/eac_cli/parser/alternative/argv.rb +0 -17
- data/vendor/eac_cli/lib/eac_cli/parser/alternative/double_dash.rb +0 -24
- data/vendor/eac_cli/lib/eac_cli/parser/alternative/long_options.rb +0 -37
- data/vendor/eac_cli/lib/eac_cli/parser/alternative/option_argument.rb +0 -29
- data/vendor/eac_cli/lib/eac_cli/parser/alternative/options.rb +0 -29
- data/vendor/eac_cli/lib/eac_cli/parser/alternative/positionals.rb +0 -30
- data/vendor/eac_cli/lib/eac_cli/parser/alternative/short_options.rb +0 -47
- data/vendor/eac_cli/lib/eac_cli/parser/alternative.rb +0 -92
- data/vendor/eac_cli/lib/eac_cli/parser/collector.rb +0 -46
- data/vendor/eac_cli/lib/eac_cli/parser/error.rb +0 -15
- data/vendor/eac_cli/lib/eac_cli/parser.rb +0 -34
- data/vendor/eac_cli/lib/eac_cli/patches/object/runner_with.rb +0 -26
- data/vendor/eac_cli/lib/eac_cli/patches/object.rb +0 -5
- data/vendor/eac_cli/lib/eac_cli/patches.rb +0 -4
- data/vendor/eac_cli/lib/eac_cli/runner/after_class_methods.rb +0 -46
- data/vendor/eac_cli/lib/eac_cli/runner/context.rb +0 -36
- data/vendor/eac_cli/lib/eac_cli/runner/exit.rb +0 -13
- data/vendor/eac_cli/lib/eac_cli/runner/instance_methods.rb +0 -42
- data/vendor/eac_cli/lib/eac_cli/runner.rb +0 -49
- data/vendor/eac_cli/lib/eac_cli/runner_with/help/builder/alternative.rb +0 -56
- data/vendor/eac_cli/lib/eac_cli/runner_with/help/builder.rb +0 -73
- data/vendor/eac_cli/lib/eac_cli/runner_with/help.rb +0 -41
- data/vendor/eac_cli/lib/eac_cli/runner_with/subcommands/definition_concern.rb +0 -10
- data/vendor/eac_cli/lib/eac_cli/runner_with/subcommands.rb +0 -119
- data/vendor/eac_cli/lib/eac_cli/runner_with.rb +0 -9
- data/vendor/eac_cli/lib/eac_cli/runner_with_set.rb +0 -50
- data/vendor/eac_cli/lib/eac_cli/speaker/_constants.rb +0 -12
- data/vendor/eac_cli/lib/eac_cli/speaker/list.rb +0 -61
- data/vendor/eac_cli/lib/eac_cli/speaker/options.rb +0 -38
- data/vendor/eac_cli/lib/eac_cli/speaker.rb +0 -127
- data/vendor/eac_cli/lib/eac_cli/version.rb +0 -5
- data/vendor/eac_cli/lib/eac_cli.rb +0 -7
- data/vendor/eac_cli/spec/lib/eac_cli/definition/alternative_spec.rb +0 -18
- data/vendor/eac_cli/spec/lib/eac_cli/old_configs_spec.rb +0 -14
- data/vendor/eac_cli/spec/lib/eac_cli/parser/alternative_spec.rb +0 -140
- data/vendor/eac_cli/spec/lib/eac_cli/runner_spec.rb +0 -129
- data/vendor/eac_cli/spec/lib/eac_cli/runner_with/help_spec.rb +0 -42
- data/vendor/eac_cli/spec/lib/eac_cli/runner_with/subcommands_spec.rb +0 -85
- data/vendor/eac_cli/spec/lib/eac_cli/speaker_spec.rb +0 -32
- data/vendor/eac_cli/spec/rubocop_spec.rb +0 -3
- data/vendor/eac_cli/spec/spec_helper.rb +0 -4
- data/vendor/eac_config/Gemfile +0 -5
- data/vendor/eac_config/eac_config.gemspec +0 -19
- data/vendor/eac_config/lib/eac_config/entry.rb +0 -49
- data/vendor/eac_config/lib/eac_config/entry_path.rb +0 -41
- data/vendor/eac_config/lib/eac_config/envvars_node/entry.rb +0 -54
- data/vendor/eac_config/lib/eac_config/envvars_node.rb +0 -25
- data/vendor/eac_config/lib/eac_config/load_nodes_search.rb +0 -39
- data/vendor/eac_config/lib/eac_config/load_path.rb +0 -28
- data/vendor/eac_config/lib/eac_config/node.rb +0 -67
- data/vendor/eac_config/lib/eac_config/node_entry.rb +0 -18
- data/vendor/eac_config/lib/eac_config/node_uri.rb +0 -38
- data/vendor/eac_config/lib/eac_config/old_configs/base.rb +0 -43
- data/vendor/eac_config/lib/eac_config/old_configs/file.rb +0 -47
- data/vendor/eac_config/lib/eac_config/old_configs.rb +0 -75
- data/vendor/eac_config/lib/eac_config/paths_hash/entry_key_error.rb +0 -8
- data/vendor/eac_config/lib/eac_config/paths_hash/node.rb +0 -67
- data/vendor/eac_config/lib/eac_config/paths_hash/path_search.rb +0 -39
- data/vendor/eac_config/lib/eac_config/paths_hash.rb +0 -56
- data/vendor/eac_config/lib/eac_config/version.rb +0 -5
- data/vendor/eac_config/lib/eac_config/yaml_file_node/entry.rb +0 -37
- data/vendor/eac_config/lib/eac_config/yaml_file_node.rb +0 -48
- data/vendor/eac_config/lib/eac_config.rb +0 -7
- data/vendor/eac_config/spec/lib/eac_config/entry_path_spec.rb +0 -30
- data/vendor/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb +0 -14
- data/vendor/eac_config/spec/lib/eac_config/envvars_node_spec.rb +0 -40
- data/vendor/eac_config/spec/lib/eac_config/old_configs_spec.rb +0 -46
- data/vendor/eac_config/spec/lib/eac_config/paths_hash_spec.rb +0 -88
- data/vendor/eac_config/spec/lib/eac_config/yaml_file_node_spec.rb +0 -52
- data/vendor/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1.yaml +0 -6
- data/vendor/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_1.yaml +0 -2
- data/vendor/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2/storage1_2_1.yaml +0 -2
- data/vendor/eac_config/spec/lib/eac_config/yaml_file_node_spec_files/storage1_2.yaml +0 -4
- data/vendor/eac_config/spec/rubocop_spec.rb +0 -3
- data/vendor/eac_config/spec/spec_helper.rb +0 -4
- data/vendor/eac_docker/Gemfile +0 -5
- data/vendor/eac_docker/eac_docker.gemspec +0 -19
- data/vendor/eac_docker/lib/eac_docker/container.rb +0 -78
- data/vendor/eac_docker/lib/eac_docker/debug.rb +0 -15
- data/vendor/eac_docker/lib/eac_docker/executables.rb +0 -18
- data/vendor/eac_docker/lib/eac_docker/images/base.rb +0 -14
- data/vendor/eac_docker/lib/eac_docker/images/coded.rb +0 -43
- data/vendor/eac_docker/lib/eac_docker/images/named.rb +0 -30
- data/vendor/eac_docker/lib/eac_docker/images/templatized.rb +0 -41
- data/vendor/eac_docker/lib/eac_docker/images.rb +0 -9
- data/vendor/eac_docker/lib/eac_docker/registry.rb +0 -17
- data/vendor/eac_docker/lib/eac_docker/rspec/setup.rb +0 -17
- data/vendor/eac_docker/lib/eac_docker/rspec.rb +0 -9
- data/vendor/eac_docker/lib/eac_docker/version.rb +0 -5
- data/vendor/eac_docker/lib/eac_docker.rb +0 -7
- data/vendor/eac_docker/spec/lib/eac_docker/executables_spec.rb +0 -9
- data/vendor/eac_docker/spec/lib/eac_docker/images/coded_spec.rb +0 -12
- data/vendor/eac_docker/spec/lib/eac_docker/images/coded_spec_files/image1/Dockerfile +0 -1
- data/vendor/eac_docker/spec/lib/eac_docker/images/templatized_spec.rb +0 -18
- data/vendor/eac_docker/spec/lib/eac_docker/images/templatized_spec_files/stub_docker_image/Dockerfile +0 -1
- data/vendor/eac_docker/spec/rubocop_spec.rb +0 -3
- data/vendor/eac_docker/spec/spec_helper.rb +0 -4
- data/vendor/eac_fs/Gemfile +0 -5
- data/vendor/eac_fs/eac_fs.gemspec +0 -20
- data/vendor/eac_fs/lib/eac_fs/cache.rb +0 -64
- data/vendor/eac_fs/lib/eac_fs/cached_download.rb +0 -39
- data/vendor/eac_fs/lib/eac_fs/file_info.rb +0 -29
- data/vendor/eac_fs/lib/eac_fs/patches/module/fs_cache.rb +0 -10
- data/vendor/eac_fs/lib/eac_fs/patches/module.rb +0 -4
- data/vendor/eac_fs/lib/eac_fs/patches/object/fs_cache.rb +0 -17
- data/vendor/eac_fs/lib/eac_fs/patches/object.rb +0 -4
- data/vendor/eac_fs/lib/eac_fs/patches/pathname/info.rb +0 -12
- data/vendor/eac_fs/lib/eac_fs/patches/pathname.rb +0 -4
- data/vendor/eac_fs/lib/eac_fs/patches.rb +0 -4
- data/vendor/eac_fs/lib/eac_fs/traversable.rb +0 -45
- data/vendor/eac_fs/lib/eac_fs/traverser.rb +0 -76
- data/vendor/eac_fs/lib/eac_fs/version.rb +0 -5
- data/vendor/eac_fs/lib/eac_fs.rb +0 -7
- data/vendor/eac_fs/spec/lib/eac_fs/cache_spec.rb +0 -32
- data/vendor/eac_fs/spec/rubocop_spec.rb +0 -3
- data/vendor/eac_fs/spec/spec_helper.rb +0 -4
- data/vendor/eac_ruby_base0/Gemfile +0 -5
- data/vendor/eac_ruby_base0/eac_ruby_base0.gemspec +0 -21
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/application.rb +0 -83
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/application_xdg.rb +0 -34
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/core_ext.rb +0 -5
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/jobs_runner.rb +0 -31
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/patches/class/jobs_runner.rb +0 -10
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/patches/class.rb +0 -4
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/patches/object/runner_with.rb +0 -5
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/patches/object.rb +0 -5
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/patches.rb +0 -4
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner/test_all.rb +0 -22
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner.rb +0 -73
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with/confirmation.rb +0 -42
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with/filesystem_traverser.rb +0 -52
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with/input.rb +0 -36
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with/output.rb +0 -58
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with.rb +0 -9
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/version.rb +0 -5
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0.rb +0 -7
- data/vendor/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/confirmation_spec.rb +0 -42
- data/vendor/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/output_spec.rb +0 -81
- data/vendor/eac_ruby_base0/spec/rubocop_spec.rb +0 -3
- data/vendor/eac_ruby_base0/spec/spec_helper.rb +0 -4
- data/vendor/eac_ruby_gems_utils/Gemfile +0 -5
- data/vendor/eac_ruby_gems_utils/LICENCE +0 -16
- data/vendor/eac_ruby_gems_utils/README.rdoc +0 -3
- data/vendor/eac_ruby_gems_utils/eac_ruby_gems_utils.gemspec +0 -30
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/command.rb +0 -33
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/version_file.rb +0 -41
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem.rb +0 -97
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/base.rb +0 -57
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/minitest.rb +0 -25
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/decorated_gem.rb +0 -48
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/result.rb +0 -25
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple.rb +0 -84
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/rspec.rb +0 -21
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests.rb +0 -9
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb +0 -5
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils.rb +0 -7
- data/vendor/eac_ruby_gems_utils/spec/code/rubocop_check_spec.rb +0 -3
- data/vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem/version_file_spec.rb +0 -14
- data/vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem/version_file_spec_files/a_version_file.rb +0 -7
- data/vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb +0 -20
- data/vendor/eac_ruby_gems_utils/spec/spec_helper.rb +0 -4
- data/vendor/eac_ruby_gems_utils/spec/support/mygem/Gemfile +0 -5
- data/vendor/eac_ruby_gems_utils/spec/support/mygem/Gemfile.lock +0 -19
- data/vendor/eac_ruby_gems_utils/spec/support/mygem/Rakefile +0 -14
- data/vendor/eac_ruby_gems_utils/spec/support/mygem/exe/myrunner +0 -5
- data/vendor/eac_ruby_gems_utils/spec/support/mygem/lib/mygem/version.rb +0 -5
- data/vendor/eac_ruby_gems_utils/spec/support/mygem/lib/mygem.rb +0 -5
- data/vendor/eac_ruby_gems_utils/spec/support/mygem/mygem.gemspec +0 -16
- data/vendor/eac_ruby_utils/Gemfile +0 -16
- data/vendor/eac_ruby_utils/MIT-LICENCE +0 -16
- data/vendor/eac_ruby_utils/README.rdoc +0 -3
- data/vendor/eac_ruby_utils/eac_ruby_utils.gemspec +0 -23
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/abstract_methods.rb +0 -67
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/arguments_consumer.rb +0 -81
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/blank_not_blank.rb +0 -19
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/boolean.rb +0 -31
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/by_reference.rb +0 -23
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/common_concern/class_setup.rb +0 -52
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/common_concern/module_setup.rb +0 -41
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/common_concern.rb +0 -20
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/class_initialize.rb +0 -29
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/instance_initialize.rb +0 -53
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/super_args.rb +0 -54
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/common_constructor.rb +0 -89
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/compact.rb +0 -22
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/context.rb +0 -31
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/contextualizable.rb +0 -21
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/core_ext.rb +0 -6
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/custom_format.rb +0 -53
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/base_env.rb +0 -28
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/command/concat.rb +0 -33
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/command/envvars.rb +0 -24
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/command/extra_options.rb +0 -33
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/command.rb +0 -172
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/executable.rb +0 -63
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/file.rb +0 -22
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/local_env.rb +0 -17
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/process.rb +0 -19
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/spawn.rb +0 -32
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/dasho_options.rb +0 -53
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/identity_file.rb +0 -25
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/quiet.rb +0 -24
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/terminal.rb +0 -34
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env.rb +0 -75
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs.rb +0 -23
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/clearable_directory.rb +0 -57
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/extname.rb +0 -30
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/logs.rb +0 -63
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/temp/directory.rb +0 -16
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/temp/file.rb +0 -34
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/temp.rb +0 -52
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/fs.rb +0 -9
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/gems_registry/gem.rb +0 -79
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/gems_registry.rb +0 -35
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/array_accessor.rb +0 -32
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/base_accessor.rb +0 -23
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/boolean_accessor.rb +0 -16
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/class_methods.rb +0 -20
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/common_accessor.rb +0 -30
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/hash_accessor.rb +0 -46
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/instance_methods.rb +0 -21
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable.rb +0 -15
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/inflector.rb +0 -29
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/listable/class_methods.rb +0 -14
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/listable/instance_methods.rb +0 -30
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/listable/integer_list.rb +0 -23
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/listable/list.rb +0 -99
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/listable/lists.rb +0 -59
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/listable/string_list.rb +0 -19
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/listable/symbol_list.rb +0 -19
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/listable/value.rb +0 -39
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/listable.rb +0 -17
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/local_time_zone.rb +0 -48
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/options_consumer.rb +0 -62
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patch.rb +0 -11
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/class/abstract.rb +0 -9
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/class/common_constructor.rb +0 -9
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/class/self_included_modules.rb +0 -7
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/class/settings_provider.rb +0 -10
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/class.rb +0 -4
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerable/boolean_combinations.rb +0 -45
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerable.rb +0 -4
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator/current.rb +0 -9
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator/stopped.rb +0 -14
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator.rb +0 -4
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/options_consumer.rb +0 -10
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/sym_keys_hash.rb +0 -10
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/hash.rb +0 -5
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/kernel/nyi.rb +0 -10
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/kernel.rb +0 -4
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/abstract_methods.rb +0 -10
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/common_concern.rb +0 -9
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/context.rb +0 -11
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/i18n_translate.rb +0 -32
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb +0 -10
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/listable.rb +0 -10
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/patch.rb +0 -9
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/require_sub.rb +0 -9
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/simple_cache.rb +0 -10
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/speaker.rb +0 -9
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module.rb +0 -4
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/asserts.rb +0 -14
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/call_if_proc.rb +0 -11
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/compact.rb +0 -20
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb +0 -17
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/i18n_translate.rb +0 -13
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_nil.rb +0 -17
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_present.rb +0 -19
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_respond.rb +0 -22
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/to_pathname.rb +0 -15
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object.rb +0 -5
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/basename_sub.rb +0 -9
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/parent_n.rb +0 -11
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname.rb +0 -4
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/if_match.rb +0 -16
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/to_parser.rb +0 -10
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp.rb +0 -4
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string/delimited.rb +0 -16
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string/inflector.rb +0 -11
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string.rb +0 -4
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb +0 -11
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time.rb +0 -4
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches.rb +0 -4
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/recursive_builder.rb +0 -51
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/regexp_parser.rb +0 -34
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/require_sub.rb +0 -81
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/default_setup.rb +0 -20
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup/conditionals.rb +0 -17
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup.rb +0 -12
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup_manager.rb +0 -49
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec.rb +0 -9
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/ruby/command.rb +0 -32
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/ruby/on_clean_environment.rb +0 -26
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/ruby.rb +0 -9
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/settings_provider/setting_value.rb +0 -69
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/settings_provider.rb +0 -46
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/simple_cache.rb +0 -67
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/speaker/receiver.rb +0 -57
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/speaker/sender.rb +0 -32
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/speaker.rb +0 -16
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/string_delimited.rb +0 -70
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/struct.rb +0 -63
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb +0 -5
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/yaml.rb +0 -105
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils.rb +0 -6
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/abstract_methods_spec.rb +0 -28
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/arguments_consumer_spec.rb +0 -17
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/blank_not_blank_spec.rb +0 -16
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/common_concern_spec.rb +0 -65
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/common_constructor_spec.rb +0 -125
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/compact_spec.rb +0 -20
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/custom_format_spec.rb +0 -60
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/envs/executable_spec.rb +0 -37
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/envs/ssh_env_spec.rb +0 -25
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/extname_spec.rb +0 -18
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp/temp_spec.rb +0 -12
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp_spec.rb +0 -52
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb +0 -16
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/listable_spec.rb +0 -212
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/local_time_zone_spec.rb +0 -17
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/options_consumer_spec.rb +0 -45
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb +0 -25
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/self_included_modules_spec.rb +0 -30
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerable/boolean_combinations_spec.rb +0 -39
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/current_spec.rb +0 -26
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/stopped_spec.rb +0 -32
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/hash/options_consumer_spec.rb +0 -17
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/hash/sym_keys_hash_spec.rb +0 -13
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/listable_spec.rb +0 -13
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/simple_cache_spec.rb +0 -13
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/speaker_spec.rb +0 -13
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/call_if_proc_spec.rb +0 -11
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/compact_spec.rb +0 -20
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/if_present_spec.rb +0 -13
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/template_spec_files/path/my_stub_with_template +0 -1
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/basename_sub_spec.rb +0 -17
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/parent_n_spec.rb +0 -33
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/string/delimited_spec.rb +0 -34
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/recursive_builder_spec.rb +0 -65
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_module_a.rb +0 -6
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_not_module.rb +0 -6
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb +0 -19
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/ruby_spec.rb +0 -22
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/settings_provider_spec.rb +0 -54
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/simple_cache_spec.rb +0 -129
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/struct_spec.rb +0 -57
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/yaml_spec.rb +0 -75
- data/vendor/eac_ruby_utils/spec/locales/pt-BR.yml +0 -55
- data/vendor/eac_ruby_utils/spec/rubocop_check_spec.rb +0 -3
- data/vendor/eac_ruby_utils/spec/spec_helper.rb +0 -15
- data/vendor/eac_templates/Gemfile +0 -5
- data/vendor/eac_templates/eac_templates.gemspec +0 -19
- data/vendor/eac_templates/lib/eac_templates/directory.rb +0 -108
- data/vendor/eac_templates/lib/eac_templates/file.rb +0 -48
- data/vendor/eac_templates/lib/eac_templates/patches/module/erb_template.rb +0 -9
- data/vendor/eac_templates/lib/eac_templates/patches/module/template.rb +0 -10
- data/vendor/eac_templates/lib/eac_templates/patches/module.rb +0 -4
- data/vendor/eac_templates/lib/eac_templates/patches/object/erb_template.rb +0 -9
- data/vendor/eac_templates/lib/eac_templates/patches/object/template.rb +0 -9
- data/vendor/eac_templates/lib/eac_templates/patches/object.rb +0 -4
- data/vendor/eac_templates/lib/eac_templates/patches.rb +0 -4
- data/vendor/eac_templates/lib/eac_templates/searcher.rb +0 -53
- data/vendor/eac_templates/lib/eac_templates/variable_not_found_error.rb +0 -5
- data/vendor/eac_templates/lib/eac_templates/variable_providers/base.rb +0 -21
- data/vendor/eac_templates/lib/eac_templates/variable_providers/config_reader.rb +0 -27
- data/vendor/eac_templates/lib/eac_templates/variable_providers/entries_reader.rb +0 -23
- data/vendor/eac_templates/lib/eac_templates/variable_providers/generic.rb +0 -23
- data/vendor/eac_templates/lib/eac_templates/variable_providers/hash.rb +0 -27
- data/vendor/eac_templates/lib/eac_templates/variable_providers.rb +0 -23
- data/vendor/eac_templates/lib/eac_templates/version.rb +0 -5
- data/vendor/eac_templates/lib/eac_templates.rb +0 -7
- data/vendor/eac_templates/spec/lib/eac_templates/file_spec.rb +0 -35
- data/vendor/eac_templates/spec/lib/eac_templates/file_spec_files/expected_content +0 -2
- data/vendor/eac_templates/spec/lib/eac_templates/file_spec_files/source.template +0 -2
- data/vendor/eac_templates/spec/lib/eac_templates/searcher_spec.rb +0 -30
- data/vendor/eac_templates/spec/lib/eac_templates/searcher_spec_files/path1/subdir1/file1.template +0 -1
- data/vendor/eac_templates/spec/lib/eac_templates/searcher_spec_files/path1/subdir1/file2 +0 -1
- data/vendor/eac_templates/spec/lib/eac_templates/searcher_spec_files/path2/subdir1/file3.template +0 -1
- data/vendor/eac_templates/spec/lib/object/template_spec.rb +0 -23
- data/vendor/eac_templates/spec/lib/object/template_spec_files/path/my_stub_with_template +0 -1
- data/vendor/eac_templates/spec/rubocop_spec.rb +0 -3
- data/vendor/eac_templates/spec/spec_helper.rb +0 -4
- data/vendor/ehbrs_ruby_utils/Gemfile +0 -16
- data/vendor/ehbrs_ruby_utils/ehbrs_ruby_utils.gemspec +0 -28
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/core_ext.rb +0 -5
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/executables.rb +0 -28
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/finances/bb_browser/docker_image.rb +0 -18
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/fs/compressed_package.rb +0 -48
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/fs/selected/build.rb +0 -41
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/fs/selected/build_file.rb +0 -27
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/fs/selected.rb +0 -45
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/fs.rb +0 -10
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/music/lyrics_book/album.rb +0 -42
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/music/lyrics_book/resource.rb +0 -64
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/music/lyrics_book/song.rb +0 -68
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/music/lyrics_book.rb +0 -65
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/music.rb +0 -9
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/patches/object/template.rb +0 -6
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/patches/object.rb +0 -4
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/patches.rb +0 -4
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/version.rb +0 -5
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/container.rb +0 -70
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/convert_job.rb +0 -91
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/quality.rb +0 -68
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/resolution.rb +0 -68
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos/stream.rb +0 -61
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/videos.rb +0 -9
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils/instance.rb +0 -32
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils/videos/file/rename.rb +0 -28
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils/videos/file.rb +0 -43
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils/videos/files_list.rb +0 -76
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils/videos.rb +0 -11
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils/web_utils.rb +0 -9
- data/vendor/ehbrs_ruby_utils/lib/ehbrs_ruby_utils.rb +0 -7
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/resolution_spec.rb +0 -18
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec.rb +0 -13
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_attachment.source.yaml +0 -28
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_attachment.target.yaml +0 -7
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_audio.source.yaml +0 -49
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_audio.target.yaml +0 -7
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_subtitle.source.yaml +0 -43
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_subtitle.target.yaml +0 -7
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_video.source.yaml +0 -59
- data/vendor/ehbrs_ruby_utils/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_video.target.yaml +0 -7
- data/vendor/ehbrs_ruby_utils/spec/rubocop_check_spec.rb +0 -3
- data/vendor/ehbrs_ruby_utils/spec/spec_helper.rb +0 -4
- data/vendor/ehbrs_ruby_utils/template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Dockerfile +0 -44
- data/vendor/ehbrs_ruby_utils/template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile +0 -35
- data/vendor/ehbrs_ruby_utils/template/ehbrs_ruby_utils/finances/bb_browser/docker_image/README.md +0 -16
- data/vendor/ehbrs_ruby_utils/template/ehbrs_ruby_utils/finances/bb_browser/docker_image/context/firefox.service +0 -8
- data/vendor/ehbrs_ruby_utils/template/ehbrs_ruby_utils/finances/bb_browser/docker_image/context/startbrowser.sh +0 -9
- data/vendor/ehbrs_ruby_utils/template/ehbrs_ruby_utils/music/lyrics_book/album/inner.html.erb +0 -3
- data/vendor/ehbrs_ruby_utils/template/ehbrs_ruby_utils/music/lyrics_book/custom_style.css +0 -15
- data/vendor/ehbrs_ruby_utils/template/ehbrs_ruby_utils/music/lyrics_book/index.html.erb +0 -14
- data/vendor/ehbrs_ruby_utils/template/ehbrs_ruby_utils/music/lyrics_book/main.html.erb +0 -24
- data/vendor/ehbrs_ruby_utils/template/ehbrs_ruby_utils/music/lyrics_book/resource/main.html.erb +0 -8
- data/vendor/ehbrs_ruby_utils/template/ehbrs_ruby_utils/music/lyrics_book/song/inner.html.erb +0 -9
- data/vendor/ultimate_lyrics/Gemfile +0 -5
- data/vendor/ultimate_lyrics/bin/download_parser_spec_files.rb +0 -94
- data/vendor/ultimate_lyrics/lib/ultimate_lyrics/field.rb +0 -83
- data/vendor/ultimate_lyrics/lib/ultimate_lyrics/lyrics.rb +0 -13
- data/vendor/ultimate_lyrics/lib/ultimate_lyrics/parser.rb +0 -28
- data/vendor/ultimate_lyrics/lib/ultimate_lyrics/provider/exclude_item.rb +0 -17
- data/vendor/ultimate_lyrics/lib/ultimate_lyrics/provider/extract_item.rb +0 -21
- data/vendor/ultimate_lyrics/lib/ultimate_lyrics/provider/item.rb +0 -48
- data/vendor/ultimate_lyrics/lib/ultimate_lyrics/provider/replace_fields.rb +0 -13
- data/vendor/ultimate_lyrics/lib/ultimate_lyrics/provider/rule.rb +0 -52
- data/vendor/ultimate_lyrics/lib/ultimate_lyrics/provider/url_format.rb +0 -21
- data/vendor/ultimate_lyrics/lib/ultimate_lyrics/provider.rb +0 -96
- data/vendor/ultimate_lyrics/lib/ultimate_lyrics/provider_search.rb +0 -43
- data/vendor/ultimate_lyrics/lib/ultimate_lyrics/providers_data.xml +0 -356
- data/vendor/ultimate_lyrics/lib/ultimate_lyrics/song_metadata/field.rb +0 -24
- data/vendor/ultimate_lyrics/lib/ultimate_lyrics/song_metadata.rb +0 -28
- data/vendor/ultimate_lyrics/lib/ultimate_lyrics/version.rb +0 -5
- data/vendor/ultimate_lyrics/lib/ultimate_lyrics.rb +0 -7
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec.rb +0 -20
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/encyclopaedia_metallum__michael_jackson_thriller.source.html +0 -8
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/encyclopaedia_metallum__michael_jackson_thriller.target.yaml +0 -3
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/encyclopaedia_metallum__michael_jackson_thriller.url +0 -1
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/encyclopaedia_metallum__milton_nascimento_rouxinol.source.html +0 -8
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/encyclopaedia_metallum__milton_nascimento_rouxinol.target.yaml +0 -3
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/encyclopaedia_metallum__milton_nascimento_rouxinol.url +0 -1
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/hindilyrics_net_bollywood_songs__michael_jackson_thriller.source.html +0 -193
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/hindilyrics_net_bollywood_songs__michael_jackson_thriller.target.yaml +0 -3
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/hindilyrics_net_bollywood_songs__michael_jackson_thriller.url +0 -1
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/hindilyrics_net_bollywood_songs__milton_nascimento_rouxinol.source.html +0 -193
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/hindilyrics_net_bollywood_songs__milton_nascimento_rouxinol.target.yaml +0 -3
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/hindilyrics_net_bollywood_songs__milton_nascimento_rouxinol.url +0 -1
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/lyrics_com__michael_jackson_thriller.source.html +0 -87
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/lyrics_com__michael_jackson_thriller.target.yaml +0 -36
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/lyrics_com__michael_jackson_thriller.url +0 -1
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/lyrics_com__milton_nascimento_rouxinol.source.html +0 -4
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/lyrics_com__milton_nascimento_rouxinol.target.yaml +0 -3
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/lyrics_com__milton_nascimento_rouxinol.url +0 -1
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/lyricsplugin_com__michael_jackson_thriller.source.html +0 -2
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/lyricsplugin_com__michael_jackson_thriller.target.yaml +0 -3
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/lyricsplugin_com__michael_jackson_thriller.url +0 -1
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/lyricsplugin_com__milton_nascimento_rouxinol.source.html +0 -2
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/lyricsplugin_com__milton_nascimento_rouxinol.target.yaml +0 -3
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/lyricsplugin_com__milton_nascimento_rouxinol.url +0 -1
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/lyricsreg_com__milton_nascimento_rouxinol.source.html +0 -101
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/lyricsreg_com__milton_nascimento_rouxinol.target.yaml +0 -3
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/lyricsreg_com__milton_nascimento_rouxinol.url +0 -1
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/mp3lyrics_org__michael_jackson_thriller.source.html +0 -29
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/mp3lyrics_org__michael_jackson_thriller.target.yaml +0 -3
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/mp3lyrics_org__michael_jackson_thriller.url +0 -1
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/mp3lyrics_org__milton_nascimento_rouxinol.source.html +0 -29
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/mp3lyrics_org__milton_nascimento_rouxinol.target.yaml +0 -3
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/mp3lyrics_org__milton_nascimento_rouxinol.url +0 -1
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/songlyrics_com__michael_jackson_thriller.source.html +0 -1301
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/songlyrics_com__michael_jackson_thriller.target.yaml +0 -3
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/parser_spec_files/songlyrics_com__michael_jackson_thriller.url +0 -1
- data/vendor/ultimate_lyrics/spec/lib/ultimate_lyrics/provider_search_spec.rb +0 -72
- data/vendor/ultimate_lyrics/spec/rubocop_spec.rb +0 -3
- data/vendor/ultimate_lyrics/spec/spec_helper.rb +0 -4
- data/vendor/ultimate_lyrics/ultimate_lyrics.gemspec +0 -21
@@ -1,129 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_cli/runner'
|
4
|
-
|
5
|
-
RSpec.describe ::EacCli::Runner do
|
6
|
-
let(:runner_class) do
|
7
|
-
the_module = described_class
|
8
|
-
::Class.new do
|
9
|
-
include the_module
|
10
|
-
|
11
|
-
runner_definition do
|
12
|
-
arg_opt '-o', '--opt1', 'A arg option.'
|
13
|
-
bool_opt '-p', '--opt2', 'A boolean option'
|
14
|
-
arg_opt '-q', '--opt4', 'A repeatable argument option.', repeat: true
|
15
|
-
bool_opt '-r', '--opt5', 'A repeatable boolean option', repeat: true
|
16
|
-
arg_opt '-s', '--opt6', 'A argument option with default value', default: 'DEFAULT'
|
17
|
-
pos_arg :pos1
|
18
|
-
pos_arg :pos2, repeat: true, optional: true
|
19
|
-
alt do
|
20
|
-
bool_opt '-a', '--opt3', 'A boolean option in a alternative.', required: true
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
def run; end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
|
28
|
-
let(:instance) { runner_class.create(argv) }
|
29
|
-
let(:parsed_actual) { instance.parsed.to_h.symbolize_keys }
|
30
|
-
|
31
|
-
context 'when all args are supplied' do
|
32
|
-
let(:argv) { %w[--opt1 aaa --opt2 bbb ccc ddd --opt6 6] }
|
33
|
-
let(:parsed_expected) do
|
34
|
-
{ opt1: 'aaa', opt2: true, opt3: false, opt4: [], opt5: 0, opt6: '6', pos1: 'bbb',
|
35
|
-
pos2: %w[ccc ddd] }
|
36
|
-
end
|
37
|
-
|
38
|
-
it { expect(parsed_actual).to eq(parsed_expected) }
|
39
|
-
it { expect(instance.parsed.opt1).to eq('aaa') }
|
40
|
-
it { expect(instance.parsed.opt2?).to eq(true) }
|
41
|
-
it { expect(instance.parsed.pos1).to eq('bbb') }
|
42
|
-
it { expect(instance.parsed.pos2).to eq(%w[ccc ddd]) }
|
43
|
-
end
|
44
|
-
|
45
|
-
context 'with long option and argument in same position' do
|
46
|
-
let(:argv) { %w[--opt1=aaa pos1] }
|
47
|
-
|
48
|
-
it { expect(instance.parsed.opt1).to eq('aaa') }
|
49
|
-
end
|
50
|
-
|
51
|
-
context 'with valid grouped short options' do
|
52
|
-
let(:argv) { %w[-po aaa pos1] }
|
53
|
-
|
54
|
-
it { expect(instance.parsed.opt1).to eq('aaa') }
|
55
|
-
it { expect(instance.parsed.opt2?).to eq(true) }
|
56
|
-
end
|
57
|
-
|
58
|
-
context 'with invalid grouped short options' do
|
59
|
-
let(:argv) { %w[-op aaa pos1] }
|
60
|
-
|
61
|
-
it do
|
62
|
-
expect { instance.parsed }.to raise_error(::EacCli::Parser::Error)
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
context 'when only required args are supplied' do
|
67
|
-
let(:argv) { %w[bbb] }
|
68
|
-
let(:parsed_expected) do
|
69
|
-
{ opt1: nil, opt2: false, opt3: false, opt4: [], opt5: 0, opt6: 'DEFAULT', pos1: 'bbb',
|
70
|
-
pos2: [] }
|
71
|
-
end
|
72
|
-
|
73
|
-
it { expect(parsed_actual).to eq(parsed_expected) }
|
74
|
-
it { expect(instance.parsed.opt1).to be_nil }
|
75
|
-
it { expect(instance.parsed.opt2?).to eq(false) }
|
76
|
-
it { expect(instance.parsed.pos1).to eq('bbb') }
|
77
|
-
it { expect(instance.parsed.pos2).to eq([]) }
|
78
|
-
end
|
79
|
-
|
80
|
-
context 'when required args are not supplied' do
|
81
|
-
let(:argv) { %w[] }
|
82
|
-
|
83
|
-
it do
|
84
|
-
expect { instance.parsed }.to raise_error(::EacCli::Parser::Error)
|
85
|
-
end
|
86
|
-
end
|
87
|
-
|
88
|
-
context 'when alternative args are supplied' do
|
89
|
-
let(:argv) { %w[--opt3] }
|
90
|
-
let(:parsed_expected) do
|
91
|
-
{ opt1: nil, opt2: false, opt3: true, opt4: [], opt5: 0, opt6: 'DEFAULT', pos1: nil,
|
92
|
-
pos2: [] }
|
93
|
-
end
|
94
|
-
|
95
|
-
it { expect(parsed_actual).to eq(parsed_expected) }
|
96
|
-
it { expect(instance.parsed.opt3?).to eq(true) }
|
97
|
-
end
|
98
|
-
|
99
|
-
context 'when repeated options are supplied' do
|
100
|
-
let(:argv) { %w[--opt5 -rrr --opt4=A -q B --opt4 C AAA] }
|
101
|
-
let(:parsed_expected) do
|
102
|
-
{ opt1: nil, opt2: false, opt3: false, opt4: %w[A B C], opt5: 4, opt6: 'DEFAULT', pos1: 'AAA',
|
103
|
-
pos2: [] }
|
104
|
-
end
|
105
|
-
|
106
|
-
it { expect(parsed_actual).to eq(parsed_expected) }
|
107
|
-
end
|
108
|
-
|
109
|
-
context 'when extra args are not supplied' do
|
110
|
-
let(:runner_class) do
|
111
|
-
the_module = described_class
|
112
|
-
::Class.new do
|
113
|
-
include the_module
|
114
|
-
|
115
|
-
runner_definition do
|
116
|
-
pos_arg :pos1
|
117
|
-
end
|
118
|
-
|
119
|
-
def run; end
|
120
|
-
end
|
121
|
-
end
|
122
|
-
|
123
|
-
let(:argv) { %w[aaa bbb] }
|
124
|
-
|
125
|
-
it do
|
126
|
-
expect { instance.parsed }.to raise_error(::EacCli::Parser::Error)
|
127
|
-
end
|
128
|
-
end
|
129
|
-
end
|
@@ -1,42 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_cli/runner_with/help'
|
4
|
-
require 'eac_ruby_utils/fs/temp'
|
5
|
-
|
6
|
-
RSpec.describe ::EacCli::RunnerWith::Help do
|
7
|
-
let(:runner) do
|
8
|
-
the_module = described_class
|
9
|
-
Class.new do
|
10
|
-
include the_module
|
11
|
-
|
12
|
-
runner_definition do
|
13
|
-
desc 'A stub runner.'
|
14
|
-
pos_arg :a_argument
|
15
|
-
end
|
16
|
-
|
17
|
-
def run
|
18
|
-
puts 'Runner run'
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
let(:runner_argv) { ['--help'] }
|
24
|
-
let(:instance) { runner.create(argv: runner_argv) }
|
25
|
-
let(:expected_output) do
|
26
|
-
<<~OUTPUT
|
27
|
-
A stub runner.
|
28
|
-
|
29
|
-
Usage:
|
30
|
-
__PROGRAM__ [options] <a_argument>
|
31
|
-
__PROGRAM__ --help
|
32
|
-
|
33
|
-
Options:
|
34
|
-
-h --help Show help.
|
35
|
-
|
36
|
-
OUTPUT
|
37
|
-
end
|
38
|
-
|
39
|
-
it 'show help text' do
|
40
|
-
expect { instance.run_run }.to output(expected_output).to_stdout_from_any_process
|
41
|
-
end
|
42
|
-
end
|
@@ -1,85 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_cli/runner'
|
4
|
-
require 'eac_cli/runner_with/help'
|
5
|
-
require 'eac_cli/runner_with/subcommands'
|
6
|
-
|
7
|
-
RSpec.describe ::EacCli::RunnerWith::Subcommands do
|
8
|
-
let(:parent_runner) do
|
9
|
-
the_module = described_class
|
10
|
-
the_child = child_runner
|
11
|
-
Class.new do
|
12
|
-
include the_module
|
13
|
-
const_set('ChildCmd', the_child)
|
14
|
-
|
15
|
-
runner_definition do
|
16
|
-
desc 'A stub root runner.'
|
17
|
-
arg_opt '-r', '--root-var', 'A root variable.'
|
18
|
-
subcommands
|
19
|
-
end
|
20
|
-
|
21
|
-
delegate :root_var, to: :parsed
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
|
-
let(:child_runner) do
|
26
|
-
::Class.new do
|
27
|
-
include ::EacCli::Runner
|
28
|
-
|
29
|
-
runner_definition do
|
30
|
-
bool_opt '-c', '--child-opt', 'A boolean option.'
|
31
|
-
pos_arg :child_var
|
32
|
-
end
|
33
|
-
|
34
|
-
def run; end
|
35
|
-
end
|
36
|
-
end
|
37
|
-
|
38
|
-
let(:instance) { parent_runner.create(argv: parent_argv) }
|
39
|
-
|
40
|
-
context 'when subcommand is supplied' do
|
41
|
-
let(:parent_argv) { %w[--root-var 123 child-cmd --child-opt 456] }
|
42
|
-
|
43
|
-
it { expect(instance.parsed.root_var).to eq('123') }
|
44
|
-
it { expect(instance.parsed.subcommand).to eq('child-cmd') }
|
45
|
-
it { expect(instance.parsed.subcommand_args).to eq(%w[--child-opt 456]) }
|
46
|
-
it { expect(instance.subcommand_runner.parsed.child_opt).to eq(true) }
|
47
|
-
it { expect(instance.subcommand_runner.parsed.child_var).to eq('456') }
|
48
|
-
end
|
49
|
-
|
50
|
-
context 'when subcommand is not supplied' do
|
51
|
-
let(:instance) { parent_runner.create(%w[456]) }
|
52
|
-
|
53
|
-
it do
|
54
|
-
expect { instance.run }.to raise_error(::EacCli::Parser::Error)
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
context 'with help' do
|
59
|
-
let(:instance) { parent_runner.create(%w[--help]) }
|
60
|
-
let(:expected_output) do
|
61
|
-
<<~OUTPUT
|
62
|
-
A stub root runner.
|
63
|
-
|
64
|
-
Usage:
|
65
|
-
__PROGRAM__ [options] __SUBCOMMANDS__ [<subcommand_args>...]
|
66
|
-
__PROGRAM__ --help
|
67
|
-
|
68
|
-
Options:
|
69
|
-
-r --root-var=<value> A root variable.
|
70
|
-
-h --help Show help.
|
71
|
-
|
72
|
-
Subcommands:
|
73
|
-
child-cmd
|
74
|
-
OUTPUT
|
75
|
-
end
|
76
|
-
|
77
|
-
before do
|
78
|
-
parent_runner.include(::EacCli::RunnerWith::Help)
|
79
|
-
end
|
80
|
-
|
81
|
-
it 'show help text' do
|
82
|
-
expect { instance.run_run }.to output(expected_output).to_stdout_from_any_process
|
83
|
-
end
|
84
|
-
end
|
85
|
-
end
|
@@ -1,32 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_cli/speaker'
|
4
|
-
|
5
|
-
RSpec.describe ::EacCli::Speaker do
|
6
|
-
let(:instance) { described_class.new }
|
7
|
-
|
8
|
-
describe '#input' do
|
9
|
-
it 'recover value from hash list' do
|
10
|
-
allow(instance).to receive(:request_string).and_return('opt1')
|
11
|
-
list = { opt1: 'value1', opt2: 'value2' }
|
12
|
-
expect(instance.input('Question', list: list)).to eq('value1')
|
13
|
-
end
|
14
|
-
|
15
|
-
it 'recover value from array list' do
|
16
|
-
allow(instance).to receive(:request_string).and_return('OPT1')
|
17
|
-
list = %w[opt1 opt2]
|
18
|
-
expect(instance.input('Question', list: list)).to eq('opt1')
|
19
|
-
end
|
20
|
-
|
21
|
-
{
|
22
|
-
'yes' => true, 'y' => true, 'Y' => true, 'NO' => false, 'no' => false, 'n' => false
|
23
|
-
}.each do |input, expected|
|
24
|
-
context "when bool: true and input is \"#{input}\"" do
|
25
|
-
it "return #{expected}" do
|
26
|
-
allow(instance).to receive(:request_string).and_return(input)
|
27
|
-
expect(instance.input('Question', bool: true)).to eq(expected)
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
data/vendor/eac_config/Gemfile
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
4
|
-
|
5
|
-
require 'eac_config/version'
|
6
|
-
|
7
|
-
Gem::Specification.new do |s|
|
8
|
-
s.name = 'eac_config'
|
9
|
-
s.version = EacConfig::VERSION
|
10
|
-
s.authors = ['Put here the authors']
|
11
|
-
s.summary = 'Put here de description.'
|
12
|
-
|
13
|
-
s.files = Dir['{lib}/**/*']
|
14
|
-
|
15
|
-
s.add_dependency 'addressable'
|
16
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.70'
|
17
|
-
|
18
|
-
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.3'
|
19
|
-
end
|
@@ -1,49 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_config/entry_path'
|
4
|
-
require 'eac_ruby_utils/core_ext'
|
5
|
-
|
6
|
-
module EacConfig
|
7
|
-
class Entry
|
8
|
-
enable_simple_cache
|
9
|
-
common_constructor :root_node, :path do
|
10
|
-
self.path = ::EacConfig::EntryPath.assert(path)
|
11
|
-
end
|
12
|
-
|
13
|
-
def found?
|
14
|
-
node_entry.if_present(false, &:found?)
|
15
|
-
end
|
16
|
-
|
17
|
-
def found_node
|
18
|
-
node_entry.if_present(&:node)
|
19
|
-
end
|
20
|
-
|
21
|
-
def value
|
22
|
-
node_entry.if_present(&:value)
|
23
|
-
end
|
24
|
-
|
25
|
-
def value=(a_value)
|
26
|
-
write_node.self_entry(path).value = a_value
|
27
|
-
end
|
28
|
-
|
29
|
-
def write_node
|
30
|
-
root_node.write_node || root_node
|
31
|
-
end
|
32
|
-
|
33
|
-
private
|
34
|
-
|
35
|
-
def node_entry_uncached
|
36
|
-
node_entry_from_root || node_entry_from_load_path
|
37
|
-
end
|
38
|
-
|
39
|
-
def node_entry_from_load_path_uncached
|
40
|
-
root_node.recursive_loaded_nodes.lazy.map { |loaded_node| loaded_node.self_entry(path) }
|
41
|
-
.find(&:found?)
|
42
|
-
end
|
43
|
-
|
44
|
-
def node_entry_from_root_uncached
|
45
|
-
e = root_node.self_entry(path)
|
46
|
-
e.found? ? e : nil
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
@@ -1,41 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_ruby_utils/core_ext'
|
4
|
-
|
5
|
-
module EacConfig
|
6
|
-
class EntryPath
|
7
|
-
PART_SEPARATOR = '.'
|
8
|
-
|
9
|
-
class << self
|
10
|
-
def assert(source)
|
11
|
-
source.is_a?(self) ? source : new(build_parts(source))
|
12
|
-
end
|
13
|
-
|
14
|
-
def build_parts(source)
|
15
|
-
return validate_parts!(source.split(PART_SEPARATOR)) if source.is_a?(::String)
|
16
|
-
return validate_parts!(source.flat_map { |part| build_parts(part) }) if
|
17
|
-
source.is_a?(::Enumerable)
|
18
|
-
|
19
|
-
build_parts(source.to_s)
|
20
|
-
end
|
21
|
-
|
22
|
-
def validate_parts!(parts)
|
23
|
-
parts.assert_argument(::Enumerable, 'parts')
|
24
|
-
parts.each_with_index do |part, index|
|
25
|
-
raise ::ArgumentError, "Part #{index} of #{parts} is blank" if part.blank?
|
26
|
-
raise ::ArgumentError, "Part #{index} is not a string" unless part.is_a?(::String)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
attr_reader :parts
|
32
|
-
|
33
|
-
def initialize(parts)
|
34
|
-
@parts = parts.to_a.freeze
|
35
|
-
end
|
36
|
-
|
37
|
-
def to_s
|
38
|
-
"#{self.class}[#{parts.join(PART_SEPARATOR)}]"
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
@@ -1,54 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_config/entry_path'
|
4
|
-
require 'eac_config/node_entry'
|
5
|
-
require 'eac_ruby_utils/blank_not_blank'
|
6
|
-
require 'eac_ruby_utils/core_ext'
|
7
|
-
require 'eac_ruby_utils/yaml'
|
8
|
-
|
9
|
-
module EacConfig
|
10
|
-
class EnvvarsNode
|
11
|
-
class Entry < ::EacConfig::NodeEntry
|
12
|
-
class << self
|
13
|
-
def entry_path_to_envvar_name(path)
|
14
|
-
::EacConfig::EntryPath.assert(path).parts.join('_').gsub(/[^a-z0-9_]/i, '')
|
15
|
-
.gsub(/\A_+/, '').gsub(/_+\z/, '').gsub(/_{2,}/, '_').upcase
|
16
|
-
end
|
17
|
-
|
18
|
-
def from_value(string)
|
19
|
-
return nil if string.nil?
|
20
|
-
return ::EacRubyUtils::Yaml.load(string) if string.start_with?('---')
|
21
|
-
|
22
|
-
string
|
23
|
-
end
|
24
|
-
|
25
|
-
def to_value(object)
|
26
|
-
return nil if object.nil?
|
27
|
-
return object if object.is_a?(String)
|
28
|
-
|
29
|
-
::EacRubyUtils::Yaml.dump(object)
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
|
-
enable_simple_cache
|
34
|
-
|
35
|
-
def found?
|
36
|
-
ENV.key?(envvar_name)
|
37
|
-
end
|
38
|
-
|
39
|
-
def value
|
40
|
-
self.class.from_value(ENV[envvar_name])
|
41
|
-
end
|
42
|
-
|
43
|
-
def value=(a_value)
|
44
|
-
ENV[envvar_name] = self.class.to_value(a_value)
|
45
|
-
end
|
46
|
-
|
47
|
-
private
|
48
|
-
|
49
|
-
def envvar_name_uncached
|
50
|
-
self.class.entry_path_to_envvar_name(path)
|
51
|
-
end
|
52
|
-
end
|
53
|
-
end
|
54
|
-
end
|
@@ -1,25 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'addressable'
|
4
|
-
require 'eac_config/node'
|
5
|
-
require 'eac_ruby_utils/core_ext'
|
6
|
-
|
7
|
-
module EacConfig
|
8
|
-
# A node that read/write entries from environment variables.
|
9
|
-
class EnvvarsNode
|
10
|
-
require_sub __FILE__
|
11
|
-
include ::EacConfig::Node
|
12
|
-
|
13
|
-
URI = ::Addressable::URI.parse('self://envvars')
|
14
|
-
|
15
|
-
class << self
|
16
|
-
def from_uri(uri)
|
17
|
-
return new if uri == URI
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
def url
|
22
|
-
URI
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
@@ -1,39 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_ruby_utils/core_ext'
|
4
|
-
|
5
|
-
module EacConfig
|
6
|
-
class LoadNodesSearch
|
7
|
-
common_constructor :root_node do
|
8
|
-
add_next_pending until pending.empty?
|
9
|
-
end
|
10
|
-
|
11
|
-
def result
|
12
|
-
added
|
13
|
-
end
|
14
|
-
|
15
|
-
private
|
16
|
-
|
17
|
-
def added
|
18
|
-
@added ||= []
|
19
|
-
end
|
20
|
-
|
21
|
-
def add_next_pending
|
22
|
-
current = pending.pop
|
23
|
-
current.self_loaded_nodes.each do |loaded_node|
|
24
|
-
next if added.include?(loaded_node)
|
25
|
-
|
26
|
-
added << loaded_node
|
27
|
-
pending.push(loaded_node)
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
def pending
|
32
|
-
@pending ||= begin
|
33
|
-
r = Queue.new
|
34
|
-
r.push(root_node)
|
35
|
-
r
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
@@ -1,28 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_config/entry_path'
|
4
|
-
require 'eac_ruby_utils/core_ext'
|
5
|
-
|
6
|
-
module EacConfig
|
7
|
-
class LoadPath
|
8
|
-
ENTRY_PATH = ::EacConfig::EntryPath.assert(%w[load_path])
|
9
|
-
|
10
|
-
common_constructor :node
|
11
|
-
|
12
|
-
def entry
|
13
|
-
node.self_entry(ENTRY_PATH)
|
14
|
-
end
|
15
|
-
|
16
|
-
# @return [Array<String>]
|
17
|
-
def paths
|
18
|
-
r = entry.value
|
19
|
-
r.is_a?(::Array) ? r : []
|
20
|
-
end
|
21
|
-
|
22
|
-
def push(new_path)
|
23
|
-
entry.value = paths + [new_path]
|
24
|
-
end
|
25
|
-
|
26
|
-
delegate :to_s, to: :paths
|
27
|
-
end
|
28
|
-
end
|
@@ -1,67 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_config/entry'
|
4
|
-
require 'eac_config/entry_path'
|
5
|
-
require 'eac_config/load_path'
|
6
|
-
require 'eac_config/load_nodes_search'
|
7
|
-
require 'eac_config/node_entry'
|
8
|
-
require 'eac_config/node_uri'
|
9
|
-
require 'eac_ruby_utils/core_ext'
|
10
|
-
require 'eac_ruby_utils/context'
|
11
|
-
|
12
|
-
module EacConfig
|
13
|
-
module Node
|
14
|
-
class << self
|
15
|
-
def context
|
16
|
-
@context ||= ::EacRubyUtils::Context.new
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
attr_accessor :write_node
|
21
|
-
|
22
|
-
common_concern do
|
23
|
-
enable_abstract_methods
|
24
|
-
include ::Comparable
|
25
|
-
end
|
26
|
-
|
27
|
-
def entry(path)
|
28
|
-
::EacConfig::Entry.new(self, path)
|
29
|
-
end
|
30
|
-
|
31
|
-
# @return [[EacConfig::IncludePath]]
|
32
|
-
def load_path
|
33
|
-
@load_path ||= ::EacConfig::LoadPath.new(self)
|
34
|
-
end
|
35
|
-
|
36
|
-
# @return [Addressable::URI]
|
37
|
-
def url
|
38
|
-
raise_abstract_method(__method__)
|
39
|
-
end
|
40
|
-
|
41
|
-
# Return a entry which search values only in the self node.
|
42
|
-
# @return [EacConfig::NodeEntry]
|
43
|
-
def self_entry(path)
|
44
|
-
self_entry_class.new(self, path)
|
45
|
-
end
|
46
|
-
|
47
|
-
def self_entry_class
|
48
|
-
self.class.const_get('Entry')
|
49
|
-
end
|
50
|
-
|
51
|
-
# @return [Array<EacConfig::Node>]
|
52
|
-
def self_loaded_nodes
|
53
|
-
load_path.paths.map { |node_path| load_node(node_path) }
|
54
|
-
end
|
55
|
-
|
56
|
-
# @return [Array<EacConfig::Node>]
|
57
|
-
def recursive_loaded_nodes
|
58
|
-
::EacConfig::LoadNodesSearch.new(self).result
|
59
|
-
end
|
60
|
-
|
61
|
-
private
|
62
|
-
|
63
|
-
def load_node(node_path)
|
64
|
-
::EacConfig::NodeUri.new(node_path, url).instanciate
|
65
|
-
end
|
66
|
-
end
|
67
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_config/entry_path'
|
4
|
-
require 'eac_config/paths_hash'
|
5
|
-
require 'eac_ruby_utils/core_ext'
|
6
|
-
|
7
|
-
module EacConfig
|
8
|
-
# A entry which search values only in the source node.
|
9
|
-
class NodeEntry
|
10
|
-
enable_abstract_methods
|
11
|
-
enable_simple_cache
|
12
|
-
common_constructor :node, :path do
|
13
|
-
self.path = ::EacConfig::EntryPath.assert(path)
|
14
|
-
end
|
15
|
-
|
16
|
-
abstract_methods :found?, :value, :value=
|
17
|
-
end
|
18
|
-
end
|
@@ -1,38 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module EacConfig
|
4
|
-
class NodeUri
|
5
|
-
enable_simple_cache
|
6
|
-
common_constructor :source, :loader_uri, default: [nil]
|
7
|
-
|
8
|
-
def available_node_classes
|
9
|
-
require 'eac_config/envvars_node'
|
10
|
-
require 'eac_config/yaml_file_node'
|
11
|
-
[::EacConfig::EnvvarsNode, ::EacConfig::YamlFileNode]
|
12
|
-
end
|
13
|
-
|
14
|
-
def instanciate
|
15
|
-
available_node_classes.lazy.map { |k| k.from_uri(self) }.find(&:present?) ||
|
16
|
-
raise("No class mapped for \"#{to_addressable}\"")
|
17
|
-
end
|
18
|
-
|
19
|
-
delegate :to_s, to: :to_addressable
|
20
|
-
|
21
|
-
private
|
22
|
-
|
23
|
-
def to_addressable_uncached
|
24
|
-
r = ::Addressable::URI.parse(source)
|
25
|
-
path = r.path.to_pathname
|
26
|
-
r.path = path.expand_path(loader_uri_path_directory).to_path if path.relative?
|
27
|
-
r.scheme = 'file' if r.scheme.blank?
|
28
|
-
r
|
29
|
-
end
|
30
|
-
|
31
|
-
def loader_uri_path_directory
|
32
|
-
r = loader_uri.path
|
33
|
-
raise ".loader_uri \"#{loader_uri}\" has no path (Source: \"#{source}\")" if r.blank?
|
34
|
-
|
35
|
-
r.to_pathname.parent
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|