eac_tools 0.2.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +42 -30
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm/lib/avm/sources/base/configuration.rb +14 -6
- data/sub/avm/lib/avm/sources/base/testing.rb +50 -7
- data/sub/avm/lib/avm/sources/tests/builder.rb +8 -1
- data/sub/avm/lib/avm/sources/tests/single.rb +28 -9
- data/sub/avm/lib/avm/version.rb +1 -1
- data/sub/avm-eac_generic_base0/Gemfile +3 -0
- data/sub/avm-eac_generic_base0/avm-eac_generic_base0.gemspec +3 -3
- data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/base.rb +0 -6
- data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/version.rb +1 -1
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/Gemfile +0 -0
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/avm-eac_rails_base0.gemspec +0 -0
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/lib/avm/eac_rails_base0/apache_host.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/lib/avm/eac_rails_base0/apache_path.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/lib/avm/eac_rails_base0/deploy.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/lib/avm/eac_rails_base0/instance.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/lib/avm/eac_rails_base0/runners/base.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/lib/avm/eac_rails_base0/runners.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/lib/avm/eac_rails_base0/sources/base.rb +14 -1
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/lib/avm/eac_rails_base0/version.rb +1 -1
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/lib/avm/eac_rails_base0.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/spec/lib/avm/eac_rails_base0/apache_host_spec.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/spec/lib/avm/eac_rails_base0/apache_host_spec_files/apache_host_spec_no_ssl_content.conf +0 -0
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/spec/lib/avm/eac_rails_base0/apache_path_spec.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/spec/lib/avm/eac_rails_base0/apache_path_spec_files/stub-app_0_apache_path.conf +0 -0
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/spec/rubocop_spec.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/spec/spec_helper.rb +0 -0
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/template/avm/eac_rails_base0/apache_path/extra_content.conf +0 -0
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/template/avm/eac_rails_base0/deploy/config/database.yml.template +0 -0
- data/sub/{avm-tools/sub/avm-eac_rails_base0 → avm-eac_rails_base0}/template/avm/eac_rails_base0/deploy/config/envvars.d/email.yml.template +0 -0
- data/sub/avm-eac_rails_base1/Gemfile +3 -0
- data/sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec +2 -2
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/sources/base.rb +16 -0
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +1 -1
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/deploy/config/install.sh.template +4 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base.rb +15 -7
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +1 -1
- data/sub/avm-tools/Gemfile.lock +24 -28
- data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
- data/sub/eac_ruby_utils/Gemfile +16 -0
- data/sub/eac_ruby_utils/MIT-LICENCE +16 -0
- data/sub/eac_ruby_utils/README.rdoc +3 -0
- data/sub/eac_ruby_utils/eac_ruby_utils.gemspec +24 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/abstract_methods.rb +68 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/arguments_consumer.rb +81 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/bit.rb +46 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/bit_array.rb +81 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/blank_not_blank.rb +19 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/boolean.rb +31 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/by_reference.rb +23 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/byte.rb +105 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/byte_array.rb +36 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/common_concern/class_setup.rb +52 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/common_concern/module_setup.rb +41 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/common_concern.rb +20 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/class_initialize.rb +29 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/instance_initialize.rb +53 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/super_args.rb +54 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/common_constructor.rb +89 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/compact.rb +22 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/compare_by.rb +28 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/context.rb +33 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/contextualizable.rb +21 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/core_ext.rb +7 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/custom_format.rb +53 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/enum.rb +102 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/base_env.rb +28 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/command/concat.rb +33 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/command/envvars.rb +24 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/command/extra_options.rb +33 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/command.rb +172 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/executable.rb +81 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/file.rb +22 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/local_env.rb +17 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/process.rb +27 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/spawn.rb +32 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/dasho_options.rb +53 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/identity_file.rb +25 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/quiet.rb +24 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/terminal.rb +34 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env.rb +75 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs.rb +23 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/fs/clearable_directory.rb +57 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/fs/extname.rb +30 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/fs/temp/directory.rb +16 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/fs/temp/file.rb +34 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/fs/temp.rb +52 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/fs.rb +9 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/gems_registry/gem.rb +79 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/gems_registry.rb +35 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/array_accessor.rb +32 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/base_accessor.rb +23 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/boolean_accessor.rb +16 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/class_methods.rb +20 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/common_accessor.rb +30 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/hash_accessor.rb +46 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/instance_methods.rb +21 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/immutable.rb +15 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/inflector.rb +29 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/class_methods.rb +14 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/instance_methods.rb +30 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/integer_list.rb +23 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/list.rb +111 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/lists.rb +59 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/string_list.rb +19 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/symbol_list.rb +19 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/value.rb +49 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable.rb +17 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/local_time_zone.rb +48 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/locales/from_all_gems.rb +4 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/locales/from_gem.rb +47 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/locales/module_i18n_translate.rb +74 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/locales.rb +9 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/method_class.rb +35 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/options_consumer.rb +62 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patch.rb +11 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class/abstract.rb +9 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class/common_constructor.rb +9 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class/self_included_modules.rb +7 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class/settings_provider.rb +10 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class.rb +4 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerable/boolean_combinations.rb +45 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerable.rb +4 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator/current.rb +9 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator/stopped.rb +14 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator.rb +4 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/options_consumer.rb +10 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/sym_keys_hash.rb +10 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/to_struct.rb +10 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash.rb +5 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/kernel/nyi.rb +10 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/kernel.rb +4 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/abstract_methods.rb +10 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/common_concern.rb +9 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/compare_by.rb +9 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/context.rb +11 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/i18n_translate.rb +9 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb +10 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/listable.rb +10 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/method_class.rb +9 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/patch.rb +9 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/require_sub.rb +9 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/simple_cache.rb +10 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/speaker.rb +9 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module.rb +4 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/asserts.rb +25 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/call_if_proc.rb +11 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/compact.rb +20 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb +23 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/i18n_translate.rb +13 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_nil.rb +17 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_present.rb +19 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_respond.rb +22 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/to_pathname.rb +15 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/to_uri.rb +15 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object.rb +5 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/basename_noext.rb +10 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/basename_sub.rb +9 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/if_exist.rb +10 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/mkpath_s.rb +12 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/parent_n.rb +11 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/readlink_r.rb +11 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/reqdir_glob.rb +13 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname.rb +4 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/if_match.rb +16 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/to_parser.rb +10 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp.rb +4 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/string/delimited.rb +16 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/string/inflector.rb +11 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/string.rb +4 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb +11 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time.rb +4 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches.rb +4 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/recursive_builder.rb +51 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/regexp_parser.rb +34 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/require_sub.rb +134 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/default_setup.rb +20 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup/conditionals.rb +17 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup.rb +12 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup_manager.rb +49 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb +39 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/rspec.rb +9 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/ruby/command.rb +32 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/ruby/on_clean_environment.rb +38 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/ruby.rb +9 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/settings_provider/setting_value.rb +69 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/settings_provider.rb +46 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/simple_cache.rb +77 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/speaker/receiver.rb +64 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/speaker/sender.rb +32 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/speaker.rb +16 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/string_delimited.rb +70 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/struct.rb +63 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/version.rb +5 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/yaml.rb +105 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils.rb +6 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/abstract_methods_spec.rb +28 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/arguments_consumer_spec.rb +17 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/bit_array_spec.rb +22 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/blank_not_blank_spec.rb +16 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/byte_spec.rb +54 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/common_concern_spec.rb +65 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/common_constructor_spec.rb +125 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/compact_spec.rb +20 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/compare_by_spec.rb +38 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/custom_format_spec.rb +60 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/enum_spec.rb +43 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/envs/executable_spec.rb +37 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/envs/ssh_env_spec.rb +25 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/extname_spec.rb +18 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp/directory_spec.rb +12 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp_spec.rb +52 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb +16 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/listable_spec.rb +275 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/local_time_zone_spec.rb +17 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/method_class_spec.rb +46 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/options_consumer_spec.rb +80 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb +25 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/self_included_modules_spec.rb +30 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerable/boolean_combinations_spec.rb +39 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/current_spec.rb +26 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/stopped_spec.rb +32 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/hash/options_consumer_spec.rb +17 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/hash/sym_keys_hash_spec.rb +13 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/compare_by_spec.rb +36 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/listable_spec.rb +15 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/method_class_spec.rb +20 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/simple_cache_spec.rb +15 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/speaker_spec.rb +13 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/call_if_proc_spec.rb +11 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/compact_spec.rb +20 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/if_present_spec.rb +13 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/template_spec_files/path/my_stub_with_template +1 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/basename_noext_spec.rb +26 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/basename_sub_spec.rb +17 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/parent_n_spec.rb +33 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/string/delimited_spec.rb +34 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/recursive_builder_spec.rb +65 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_module_a.rb +6 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_not_module.rb +6 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb +19 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/ruby_spec.rb +22 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/settings_provider_spec.rb +57 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/simple_cache_spec.rb +129 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/struct_spec.rb +57 -0
- data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/yaml_spec.rb +75 -0
- data/sub/eac_ruby_utils/spec/locales/pt-BR.yml +58 -0
- data/sub/eac_ruby_utils/spec/rubocop_check_spec.rb +3 -0
- data/sub/eac_ruby_utils/spec/spec_helper.rb +15 -0
- metadata +255 -52
- data/sub/avm/lib/avm/sources/tester.rb +0 -24
- data/sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/tester.rb +0 -56
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tester.rb +0 -36
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Put here the authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm-eac_generic_base0
|
@@ -16,54 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 0.2.2
|
19
|
+
version: '0.3'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
30
|
-
|
26
|
+
version: '0.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: avm-eac_rails_base0
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.5'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
31
39
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.
|
40
|
+
version: '0.5'
|
33
41
|
- !ruby/object:Gem::Dependency
|
34
42
|
name: avm-eac_rails_base1
|
35
43
|
requirement: !ruby/object:Gem::Requirement
|
36
44
|
requirements:
|
37
45
|
- - "~>"
|
38
46
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0.
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: 0.3.1
|
47
|
+
version: '0.4'
|
43
48
|
type: :runtime
|
44
49
|
prerelease: false
|
45
50
|
version_requirements: !ruby/object:Gem::Requirement
|
46
51
|
requirements:
|
47
52
|
- - "~>"
|
48
53
|
- !ruby/object:Gem::Version
|
49
|
-
version: '0.
|
50
|
-
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: 0.3.1
|
54
|
+
version: '0.4'
|
53
55
|
- !ruby/object:Gem::Dependency
|
54
56
|
name: avm-eac_redmine_base0
|
55
57
|
requirement: !ruby/object:Gem::Requirement
|
56
58
|
requirements:
|
57
59
|
- - "~>"
|
58
60
|
- !ruby/object:Gem::Version
|
59
|
-
version: '0.
|
61
|
+
version: '0.8'
|
60
62
|
type: :runtime
|
61
63
|
prerelease: false
|
62
64
|
version_requirements: !ruby/object:Gem::Requirement
|
63
65
|
requirements:
|
64
66
|
- - "~>"
|
65
67
|
- !ruby/object:Gem::Version
|
66
|
-
version: '0.
|
68
|
+
version: '0.8'
|
67
69
|
- !ruby/object:Gem::Dependency
|
68
70
|
name: avm-eac_redmine_plugin_base0
|
69
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -90,20 +92,14 @@ dependencies:
|
|
90
92
|
requirements:
|
91
93
|
- - "~>"
|
92
94
|
- !ruby/object:Gem::Version
|
93
|
-
version: '0.
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 0.8.2
|
95
|
+
version: '0.9'
|
97
96
|
type: :runtime
|
98
97
|
prerelease: false
|
99
98
|
version_requirements: !ruby/object:Gem::Requirement
|
100
99
|
requirements:
|
101
100
|
- - "~>"
|
102
101
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0.
|
104
|
-
- - ">="
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
version: 0.8.2
|
102
|
+
version: '0.9'
|
107
103
|
- !ruby/object:Gem::Dependency
|
108
104
|
name: avm-tools
|
109
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -127,7 +123,7 @@ dependencies:
|
|
127
123
|
version: '0.95'
|
128
124
|
- - ">="
|
129
125
|
- !ruby/object:Gem::Version
|
130
|
-
version: 0.95.
|
126
|
+
version: 0.95.2
|
131
127
|
type: :runtime
|
132
128
|
prerelease: false
|
133
129
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -137,7 +133,7 @@ dependencies:
|
|
137
133
|
version: '0.95'
|
138
134
|
- - ">="
|
139
135
|
- !ruby/object:Gem::Version
|
140
|
-
version: 0.95.
|
136
|
+
version: 0.95.2
|
141
137
|
- !ruby/object:Gem::Dependency
|
142
138
|
name: eac_ruby_gem_support
|
143
139
|
requirement: !ruby/object:Gem::Requirement
|
@@ -168,13 +164,32 @@ files:
|
|
168
164
|
- sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources.rb
|
169
165
|
- sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/base.rb
|
170
166
|
- sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/base/version_bump.rb
|
171
|
-
- sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/sources/tester.rb
|
172
167
|
- sub/avm-eac_generic_base0/lib/avm/eac_generic_base0/version.rb
|
173
168
|
- sub/avm-eac_generic_base0/locale/en.yml
|
174
169
|
- sub/avm-eac_generic_base0/locale/pt-BR.yml
|
175
170
|
- sub/avm-eac_generic_base0/spec/lib/avm/eac_generic_base0/sources/base_spec.rb
|
176
171
|
- sub/avm-eac_generic_base0/spec/rubocop_spec.rb
|
177
172
|
- sub/avm-eac_generic_base0/spec/spec_helper.rb
|
173
|
+
- sub/avm-eac_rails_base0/Gemfile
|
174
|
+
- sub/avm-eac_rails_base0/avm-eac_rails_base0.gemspec
|
175
|
+
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0.rb
|
176
|
+
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/apache_host.rb
|
177
|
+
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/apache_path.rb
|
178
|
+
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/deploy.rb
|
179
|
+
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instance.rb
|
180
|
+
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/runners.rb
|
181
|
+
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/runners/base.rb
|
182
|
+
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
|
183
|
+
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb
|
184
|
+
- sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_host_spec.rb
|
185
|
+
- sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_host_spec_files/apache_host_spec_no_ssl_content.conf
|
186
|
+
- sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_path_spec.rb
|
187
|
+
- sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_path_spec_files/stub-app_0_apache_path.conf
|
188
|
+
- sub/avm-eac_rails_base0/spec/rubocop_spec.rb
|
189
|
+
- sub/avm-eac_rails_base0/spec/spec_helper.rb
|
190
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/apache_path/extra_content.conf
|
191
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/database.yml.template
|
192
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/envvars.d/email.yml.template
|
178
193
|
- sub/avm-eac_rails_base1/Gemfile
|
179
194
|
- sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec
|
180
195
|
- sub/avm-eac_rails_base1/lib/avm/eac_rails_base1.rb
|
@@ -264,7 +279,6 @@ files:
|
|
264
279
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners.rb
|
265
280
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler.rb
|
266
281
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundler/incompatible.rb
|
267
|
-
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tester.rb
|
268
282
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests.rb
|
269
283
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/base.rb
|
270
284
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/tests/minitest.rb
|
@@ -561,26 +575,6 @@ files:
|
|
561
575
|
- sub/avm-tools/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/version.rb
|
562
576
|
- sub/avm-tools/sub/avm-eac_postgresql_base0/spec/rubocop_spec.rb
|
563
577
|
- sub/avm-tools/sub/avm-eac_postgresql_base0/spec/spec_helper.rb
|
564
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/Gemfile
|
565
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/avm-eac_rails_base0.gemspec
|
566
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0.rb
|
567
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/apache_host.rb
|
568
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/apache_path.rb
|
569
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/deploy.rb
|
570
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instance.rb
|
571
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/runners.rb
|
572
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/runners/base.rb
|
573
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
|
574
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb
|
575
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_host_spec.rb
|
576
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_host_spec_files/apache_host_spec_no_ssl_content.conf
|
577
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_path_spec.rb
|
578
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_path_spec_files/stub-app_0_apache_path.conf
|
579
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/spec/rubocop_spec.rb
|
580
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/spec/spec_helper.rb
|
581
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/apache_path/extra_content.conf
|
582
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/database.yml.template
|
583
|
-
- sub/avm-tools/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/envvars.d/email.yml.template
|
584
578
|
- sub/avm-tools/sub/avm-eac_ubuntu_base0/Gemfile
|
585
579
|
- sub/avm-tools/sub/avm-eac_ubuntu_base0/avm-eac_ubuntu_base0.gemspec
|
586
580
|
- sub/avm-tools/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0.rb
|
@@ -1109,7 +1103,6 @@ files:
|
|
1109
1103
|
- sub/avm/lib/avm/sources/base/testing.rb
|
1110
1104
|
- sub/avm/lib/avm/sources/configuration.rb
|
1111
1105
|
- sub/avm/lib/avm/sources/configuration/rubocop.rb
|
1112
|
-
- sub/avm/lib/avm/sources/tester.rb
|
1113
1106
|
- sub/avm/lib/avm/sources/tests.rb
|
1114
1107
|
- sub/avm/lib/avm/sources/tests/builder.rb
|
1115
1108
|
- sub/avm/lib/avm/sources/tests/performer.rb
|
@@ -1234,6 +1227,216 @@ files:
|
|
1234
1227
|
- sub/eac_ruby_base0/spec/lib/eac_ruby_base0/runner_with/output_spec.rb
|
1235
1228
|
- sub/eac_ruby_base0/spec/rubocop_spec.rb
|
1236
1229
|
- sub/eac_ruby_base0/spec/spec_helper.rb
|
1230
|
+
- sub/eac_ruby_utils/Gemfile
|
1231
|
+
- sub/eac_ruby_utils/MIT-LICENCE
|
1232
|
+
- sub/eac_ruby_utils/README.rdoc
|
1233
|
+
- sub/eac_ruby_utils/eac_ruby_utils.gemspec
|
1234
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils.rb
|
1235
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/abstract_methods.rb
|
1236
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/arguments_consumer.rb
|
1237
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/bit.rb
|
1238
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/bit_array.rb
|
1239
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/blank_not_blank.rb
|
1240
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/boolean.rb
|
1241
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/by_reference.rb
|
1242
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/byte.rb
|
1243
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/byte_array.rb
|
1244
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/common_concern.rb
|
1245
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/common_concern/class_setup.rb
|
1246
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/common_concern/module_setup.rb
|
1247
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/common_constructor.rb
|
1248
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/class_initialize.rb
|
1249
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/instance_initialize.rb
|
1250
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/super_args.rb
|
1251
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/compact.rb
|
1252
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/compare_by.rb
|
1253
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/context.rb
|
1254
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/contextualizable.rb
|
1255
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/core_ext.rb
|
1256
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/custom_format.rb
|
1257
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/enum.rb
|
1258
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/envs.rb
|
1259
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/envs/base_env.rb
|
1260
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/envs/command.rb
|
1261
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/envs/command/concat.rb
|
1262
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/envs/command/envvars.rb
|
1263
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/envs/command/extra_options.rb
|
1264
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/envs/executable.rb
|
1265
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/envs/file.rb
|
1266
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/envs/local_env.rb
|
1267
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/envs/process.rb
|
1268
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/envs/spawn.rb
|
1269
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env.rb
|
1270
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/dasho_options.rb
|
1271
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/identity_file.rb
|
1272
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/quiet.rb
|
1273
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/terminal.rb
|
1274
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/fs.rb
|
1275
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/fs/clearable_directory.rb
|
1276
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/fs/extname.rb
|
1277
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/fs/temp.rb
|
1278
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/fs/temp/directory.rb
|
1279
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/fs/temp/file.rb
|
1280
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/gems_registry.rb
|
1281
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/gems_registry/gem.rb
|
1282
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/immutable.rb
|
1283
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/array_accessor.rb
|
1284
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/base_accessor.rb
|
1285
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/boolean_accessor.rb
|
1286
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/class_methods.rb
|
1287
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/common_accessor.rb
|
1288
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/hash_accessor.rb
|
1289
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/immutable/instance_methods.rb
|
1290
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/inflector.rb
|
1291
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/listable.rb
|
1292
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/listable/class_methods.rb
|
1293
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/listable/instance_methods.rb
|
1294
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/listable/integer_list.rb
|
1295
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/listable/list.rb
|
1296
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/listable/lists.rb
|
1297
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/listable/string_list.rb
|
1298
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/listable/symbol_list.rb
|
1299
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/listable/value.rb
|
1300
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/local_time_zone.rb
|
1301
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/locales.rb
|
1302
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/locales/from_all_gems.rb
|
1303
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/locales/from_gem.rb
|
1304
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/locales/module_i18n_translate.rb
|
1305
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/method_class.rb
|
1306
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/options_consumer.rb
|
1307
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patch.rb
|
1308
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches.rb
|
1309
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class.rb
|
1310
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class/abstract.rb
|
1311
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class/common_constructor.rb
|
1312
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class/self_included_modules.rb
|
1313
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class/settings_provider.rb
|
1314
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerable.rb
|
1315
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerable/boolean_combinations.rb
|
1316
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator.rb
|
1317
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator/current.rb
|
1318
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator/stopped.rb
|
1319
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash.rb
|
1320
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/options_consumer.rb
|
1321
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/sym_keys_hash.rb
|
1322
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/to_struct.rb
|
1323
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/kernel.rb
|
1324
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/kernel/nyi.rb
|
1325
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module.rb
|
1326
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/abstract_methods.rb
|
1327
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/common_concern.rb
|
1328
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/compare_by.rb
|
1329
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/context.rb
|
1330
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/i18n_translate.rb
|
1331
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb
|
1332
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/listable.rb
|
1333
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/method_class.rb
|
1334
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/patch.rb
|
1335
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/require_sub.rb
|
1336
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/simple_cache.rb
|
1337
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/speaker.rb
|
1338
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object.rb
|
1339
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/asserts.rb
|
1340
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/call_if_proc.rb
|
1341
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/compact.rb
|
1342
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
|
1343
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/i18n_translate.rb
|
1344
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_nil.rb
|
1345
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_present.rb
|
1346
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_respond.rb
|
1347
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/to_pathname.rb
|
1348
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/to_uri.rb
|
1349
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname.rb
|
1350
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/basename_noext.rb
|
1351
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/basename_sub.rb
|
1352
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/if_exist.rb
|
1353
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/mkpath_s.rb
|
1354
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/parent_n.rb
|
1355
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/readlink_r.rb
|
1356
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/reqdir_glob.rb
|
1357
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp.rb
|
1358
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/if_match.rb
|
1359
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/to_parser.rb
|
1360
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/string.rb
|
1361
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/string/delimited.rb
|
1362
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/string/inflector.rb
|
1363
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time.rb
|
1364
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb
|
1365
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/recursive_builder.rb
|
1366
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/regexp_parser.rb
|
1367
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/require_sub.rb
|
1368
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/rspec.rb
|
1369
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/default_setup.rb
|
1370
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup.rb
|
1371
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup/conditionals.rb
|
1372
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup_manager.rb
|
1373
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
|
1374
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/ruby.rb
|
1375
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/ruby/command.rb
|
1376
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/ruby/on_clean_environment.rb
|
1377
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/settings_provider.rb
|
1378
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/settings_provider/setting_value.rb
|
1379
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/simple_cache.rb
|
1380
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/speaker.rb
|
1381
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/speaker/receiver.rb
|
1382
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/speaker/sender.rb
|
1383
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/string_delimited.rb
|
1384
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/struct.rb
|
1385
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/version.rb
|
1386
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/yaml.rb
|
1387
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/abstract_methods_spec.rb
|
1388
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/arguments_consumer_spec.rb
|
1389
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/bit_array_spec.rb
|
1390
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/blank_not_blank_spec.rb
|
1391
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/byte_spec.rb
|
1392
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/common_concern_spec.rb
|
1393
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/common_constructor_spec.rb
|
1394
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/compact_spec.rb
|
1395
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/compare_by_spec.rb
|
1396
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/custom_format_spec.rb
|
1397
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/enum_spec.rb
|
1398
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/envs/executable_spec.rb
|
1399
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/envs/ssh_env_spec.rb
|
1400
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/extname_spec.rb
|
1401
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp/directory_spec.rb
|
1402
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp_spec.rb
|
1403
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
|
1404
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/listable_spec.rb
|
1405
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/local_time_zone_spec.rb
|
1406
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/method_class_spec.rb
|
1407
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/options_consumer_spec.rb
|
1408
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
|
1409
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/self_included_modules_spec.rb
|
1410
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerable/boolean_combinations_spec.rb
|
1411
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/current_spec.rb
|
1412
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/stopped_spec.rb
|
1413
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/hash/options_consumer_spec.rb
|
1414
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/hash/sym_keys_hash_spec.rb
|
1415
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/compare_by_spec.rb
|
1416
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/listable_spec.rb
|
1417
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/method_class_spec.rb
|
1418
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/simple_cache_spec.rb
|
1419
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/speaker_spec.rb
|
1420
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/call_if_proc_spec.rb
|
1421
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/compact_spec.rb
|
1422
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/if_present_spec.rb
|
1423
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/template_spec_files/path/my_stub_with_template
|
1424
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/basename_noext_spec.rb
|
1425
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/basename_sub_spec.rb
|
1426
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/parent_n_spec.rb
|
1427
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/string/delimited_spec.rb
|
1428
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/recursive_builder_spec.rb
|
1429
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
|
1430
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_module_a.rb
|
1431
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_not_module.rb
|
1432
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/ruby_spec.rb
|
1433
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/settings_provider_spec.rb
|
1434
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/simple_cache_spec.rb
|
1435
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/struct_spec.rb
|
1436
|
+
- sub/eac_ruby_utils/spec/lib/eac_ruby_utils/yaml_spec.rb
|
1437
|
+
- sub/eac_ruby_utils/spec/locales/pt-BR.yml
|
1438
|
+
- sub/eac_ruby_utils/spec/rubocop_check_spec.rb
|
1439
|
+
- sub/eac_ruby_utils/spec/spec_helper.rb
|
1237
1440
|
homepage:
|
1238
1441
|
licenses: []
|
1239
1442
|
metadata: {}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_ruby_utils/core_ext'
|
4
|
-
|
5
|
-
module Avm
|
6
|
-
module Sources
|
7
|
-
class Tester
|
8
|
-
enable_abstract_methods
|
9
|
-
common_constructor :source
|
10
|
-
|
11
|
-
abstract_methods :result, :logs
|
12
|
-
|
13
|
-
# @return [EacFs::Logs]
|
14
|
-
def logs
|
15
|
-
raise_abstract_method __method__
|
16
|
-
end
|
17
|
-
|
18
|
-
# @return [Avm::Sources::Tests::Result]
|
19
|
-
def result
|
20
|
-
raise_abstract_method __method__
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
@@ -1,56 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/sources/tester'
|
4
|
-
require 'eac_ruby_utils/core_ext'
|
5
|
-
|
6
|
-
module Avm
|
7
|
-
module EacGenericBase0
|
8
|
-
module Sources
|
9
|
-
class Tester < ::Avm::Sources::Tester
|
10
|
-
TEST_COMMAND_CONFIGURATION_KEY = :test_command
|
11
|
-
|
12
|
-
enable_simple_cache
|
13
|
-
|
14
|
-
# @return [EacRubyUtils::Envs::Command, nil]
|
15
|
-
def test_command
|
16
|
-
source.read_configuration_as_shell_words(TEST_COMMAND_CONFIGURATION_KEY)
|
17
|
-
.if_present do |args|
|
18
|
-
::EacRubyUtils::Envs.local.command(args).chdir(source.path)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
# @return [EacFs::Logs]
|
23
|
-
def logs
|
24
|
-
@logs ||= ::EacFs::Logs.new.add(:stdout).add(:stderr)
|
25
|
-
end
|
26
|
-
|
27
|
-
# @return [Avm::Sources::Tests::Result]
|
28
|
-
def result
|
29
|
-
@result ||= begin
|
30
|
-
if test_command.blank?
|
31
|
-
::Avm::Sources::Tests::Result::NONEXISTENT
|
32
|
-
elsif run_test_command
|
33
|
-
::Avm::Sources::Tests::Result::SUCESSFUL
|
34
|
-
else
|
35
|
-
::Avm::Sources::Tests::Result::FAILED
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
protected
|
41
|
-
|
42
|
-
def run_test_command
|
43
|
-
execute_command_and_log(test_command)
|
44
|
-
end
|
45
|
-
|
46
|
-
# @return [true, false]
|
47
|
-
def execute_command_and_log(command)
|
48
|
-
r = command.execute
|
49
|
-
logs[:stdout].write(r[:stdout])
|
50
|
-
logs[:stderr].write(r[:stderr])
|
51
|
-
r[:exit_code].zero?
|
52
|
-
end
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
@@ -1,36 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/eac_generic_base0/sources/tester'
|
4
|
-
require 'eac_ruby_utils/core_ext'
|
5
|
-
|
6
|
-
module Avm
|
7
|
-
module EacRubyBase1
|
8
|
-
module Sources
|
9
|
-
class Tester < ::Avm::EacGenericBase0::Sources::Tester
|
10
|
-
BUNDLE_TEST_COMMAND_CONFIGURATION_KEY = :bundle_test_command
|
11
|
-
|
12
|
-
# @return [Avm::EacRailsBase1::Sources::Base::BundleCommand, nil]
|
13
|
-
def test_command
|
14
|
-
bundle_test_command || super || default_test_command
|
15
|
-
end
|
16
|
-
|
17
|
-
# @return [Avm::EacRailsBase1::Sources::Base::BundleCommand, nil]
|
18
|
-
def bundle_test_command
|
19
|
-
source.read_configuration_as_shell_words(BUNDLE_TEST_COMMAND_CONFIGURATION_KEY)
|
20
|
-
.if_present { |args| source.bundle(*args).chdir_root }
|
21
|
-
end
|
22
|
-
|
23
|
-
# @return [Avm::EacRailsBase1::Sources::Base::BundleCommand, nil]
|
24
|
-
def default_test_command
|
25
|
-
source.bundle('exec', 'rspec', '--fail-fast').chdir_root
|
26
|
-
end
|
27
|
-
|
28
|
-
def run_test_command
|
29
|
-
execute_command_and_log(source.bundle('install').chdir_root) ||
|
30
|
-
execute_command_and_log(source.bundle('update').chdir_root)
|
31
|
-
super
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|