ric 0.11.19 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +3 -0
- data/Gemfile +21 -0
- data/HISTORY.yml +20 -0
- data/Makefile +53 -0
- data/Manifest +1362 -5
- data/README.md +4 -2
- data/Rakefile +71 -29
- data/VERSION +1 -1
- data/bin/{xcopy → ric-xcopy} +3 -13
- data/bin/septober +27 -23
- data/ric.gemspec +30 -30
- data/vendor/bundle/ruby/2.7.0/bin/allison +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/lolcat +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/rake +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/rdoc +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/ri +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/rubyforge +27 -0
- data/vendor/bundle/ruby/2.7.0/cache/activemodel-6.1.4.4.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/activemodel-serializers-xml-1.0.2.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/activeresource-5.1.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/activesupport-6.1.4.4.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/allison-2.0.3.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/builder-3.2.4.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/concurrent-ruby-1.1.9.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/echoe-4.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/echoe-4.6.3.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/echoe-4.6.5.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/echoe-4.6.6.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/gemcutter-0.7.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/i18n-1.8.11.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/json_pure-2.6.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/lolcat-100.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/manpages-0.6.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/minitest-5.15.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/optimist-3.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/paint-2.2.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/power_assert-2.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/psych-4.0.3.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rake-13.0.6.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rdoc-6.4.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rubyforge-2.0.4.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/stringio-3.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/test-unit-3.5.3.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/tzinfo-2.0.4.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/zeitwerk-2.5.3.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-20/2.7.0/psych-4.0.3/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-20/2.7.0/psych-4.0.3/gem_make.out +41 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-20/2.7.0/psych-4.0.3/psych.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-20/2.7.0/stringio-3.0.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-20/2.7.0/stringio-3.0.0/gem_make.out +137 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-20/2.7.0/stringio-3.0.0/stringio.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/CHANGELOG.md +132 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/README.rdoc +266 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attribute/user_provided_default.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attribute.rb +248 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attribute_assignment.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attribute_methods.rb +555 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attribute_mutation_tracker.rb +181 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attribute_set/builder.rb +191 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attribute_set/yaml_encoder.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attribute_set.rb +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attributes.rb +132 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/callbacks.rb +155 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/conversion.rb +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/dirty.rb +293 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/error.rb +207 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/errors.rb +709 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/forbidden_attributes_protection.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/gem_version.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/lint.rb +118 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/locale/en.yml +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/model.rb +99 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/naming.rb +333 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/nested_error.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/railtie.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/secure_password.rb +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/serialization.rb +194 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/serializers/json.rb +154 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/translation.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/big_integer.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/binary.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/boolean.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/date.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/date_time.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/decimal.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/float.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/helpers/accepts_multiparameter_time.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/helpers/mutable.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/helpers/numeric.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/helpers/time_value.rb +90 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/helpers/timezone.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/helpers.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/immutable_string.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/integer.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/registry.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/string.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/time.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/value.rb +133 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/absence.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/acceptance.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/callbacks.rb +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/clusivity.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/confirmation.rb +80 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/exclusion.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/format.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/helper_methods.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/inclusion.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/length.rb +129 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/numericality.rb +203 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/presence.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/validates.rb +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/with.rb +147 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations.rb +436 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validator.rb +188 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/version.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/CONTRIBUTING.md +99 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/Gemfile +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/README.md +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/Rakefile +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/activemodel-serializers-xml.gemspec +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/lib/active_model/serializers/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/lib/active_model/serializers/xml.rb +238 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/lib/active_model/serializers.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/lib/active_record/serializers/xml_serializer.rb +194 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/lib/activemodel-serializers-xml.rb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/README.rdoc +285 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/active_job_serializer.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/associations/builder/association.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/associations/builder/belongs_to.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/associations/builder/has_many.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/associations/builder/has_one.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/associations.rb +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/base.rb +1695 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/callbacks.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/collection.rb +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/connection.rb +294 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/custom_methods.rb +129 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/exceptions.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/formats/json_format.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/formats/xml_format.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/formats.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/http_mock.rb +373 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/log_subscriber.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/observing.rb +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/railtie.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/reflection.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/schema.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/singleton.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/threadsafe_attributes.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/validations.rb +176 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/version.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/activeresource.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/CHANGELOG.md +665 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/README.rdoc +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/actionable_error.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/all.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/array_inquirer.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/backtrace_cleaner.rb +131 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/benchmarkable.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/builder.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/cache/file_store.rb +196 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/cache/mem_cache_store.rb +213 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/cache/memory_store.rb +195 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/cache/null_store.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/cache/redis_cache_store.rb +493 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/cache/strategy/local_cache.rb +209 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/cache/strategy/local_cache_middleware.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/cache.rb +878 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/callbacks.rb +862 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/concern.rb +215 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/concurrency/load_interlock_aware_monitor.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/concurrency/share_lock.rb +226 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/configurable.rb +146 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/configuration_file.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/array/access.rb +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/array/conversions.rb +213 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/array/extract.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/array/extract_options.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/array/grouping.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/array/inquiry.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/array/wrap.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/array.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/benchmark.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/big_decimal/conversions.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/big_decimal.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/class/attribute.rb +131 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/class/attribute_accessors.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/class/subclasses.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/class.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date/acts_like.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date/blank.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date/calculations.rb +146 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date/conversions.rb +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date/zones.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_and_time/calculations.rb +364 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_and_time/compatibility.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_and_time/zones.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_time/acts_like.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_time/blank.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_time/calculations.rb +211 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_time/compatibility.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_time/conversions.rb +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_time.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/digest/uuid.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/digest.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/enumerable.rb +260 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/file/atomic.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/file.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash/conversions.rb +263 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash/deep_merge.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash/deep_transform_values.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash/except.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash/keys.rb +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash/reverse_merge.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash/slice.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/integer/inflections.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/integer/multiple.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/integer/time.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/integer.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/kernel/concern.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/kernel/reporting.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/kernel/singleton_class.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/kernel.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/load_error.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/marshal.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/aliasing.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/anonymous.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/attr_internal.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/attribute_accessors.rb +206 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +148 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/concerning.rb +140 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/delegation.rb +330 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/deprecation.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/introspection.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/redefine_method.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/remove_method.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/name_error.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/numeric/bytes.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/numeric/conversions.rb +140 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/numeric/time.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/numeric.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/acts_like.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/blank.rb +155 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/conversions.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/deep_dup.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/duplicable.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/inclusion.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/instance_variables.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/json.rb +239 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/to_param.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/to_query.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/try.rb +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/with_options.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/range/compare_range.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/range/conversions.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/range/each.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/range/include_time_with_zone.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/range/overlaps.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/range.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/regexp.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/securerandom.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/access.rb +95 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/behavior.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/conversions.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/exclude.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/filters.rb +145 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/indent.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/inflections.rb +293 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/inquiry.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/multibyte.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/output_safety.rb +315 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/starts_ends_with.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/strip.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/zones.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/symbol/starts_ends_with.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/symbol.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/time/acts_like.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/time/calculations.rb +363 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/time/compatibility.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/time/conversions.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/time/zones.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/time.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/uri.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/current_attributes/test_helper.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/current_attributes.rb +209 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/dependencies/autoload.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/dependencies/interlock.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/dependencies/zeitwerk_integration.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/dependencies.rb +828 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/deprecation/behaviors.rb +122 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/deprecation/constant_accessor.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/deprecation/disallowed.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/deprecation/instance_delegator.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/deprecation/method_wrappers.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/deprecation/proxy_wrappers.rb +177 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/deprecation/reporting.rb +157 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/deprecation.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/descendants_tracker.rb +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/digest.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/duration/iso8601_parser.rb +123 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/duration/iso8601_serializer.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/duration.rb +484 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/encrypted_configuration.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/encrypted_file.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/environment_inquirer.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/evented_file_update_checker.rb +170 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/execution_wrapper.rb +129 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/executor.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/file_update_checker.rb +162 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/fork_tracker.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/gem_version.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/gzip.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/hash_with_indifferent_access.rb +423 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/i18n.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/i18n_railtie.rb +125 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/inflections.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/inflector/inflections.rb +255 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/inflector/methods.rb +401 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/inflector/transliterate.rb +147 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/inflector.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/json/decoding.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/json/encoding.rb +138 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/json.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/key_generator.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/lazy_load_hooks.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/locale/en.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/locale/en.yml +139 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/log_subscriber/test_helper.rb +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/log_subscriber.rb +142 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/logger.rb +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/logger_silence.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/logger_thread_safe_level.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/message_encryptor.rb +224 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/message_verifier.rb +205 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/messages/metadata.rb +80 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/messages/rotation_configuration.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/messages/rotator.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/multibyte/chars.rb +177 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/multibyte/unicode.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/multibyte.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/notifications/fanout.rb +259 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/notifications/instrumenter.rb +155 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/notifications.rb +280 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/number_converter.rb +183 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/number_to_currency_converter.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/number_to_delimited_converter.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/number_to_human_converter.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/number_to_human_size_converter.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/number_to_percentage_converter.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/number_to_phone_converter.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/number_to_rounded_converter.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/rounding_helper.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper.rb +397 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/option_merger.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/ordered_hash.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/ordered_options.rb +95 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/parameter_filter.rb +133 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/per_thread_registry.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/proxy_object.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/rails.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/railtie.rb +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/reloader.rb +130 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/rescuable.rb +174 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/secure_compare_rotator.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/security_utils.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/string_inquirer.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/subscriber.rb +174 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/tagged_logging.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/test_case.rb +163 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/assertions.rb +235 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/autorun.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/constant_lookup.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/declarative.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/deprecation.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/file_fixtures.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/isolation.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/method_call_assertions.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/parallelization/server.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/parallelization/worker.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/parallelization.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/setup_and_teardown.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/stream.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/tagged_logging.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/time_helpers.rb +235 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/time.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/time_with_zone.rb +585 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/values/time_zone.rb +580 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/version.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/xml_mini/jdom.rb +182 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/xml_mini/libxml.rb +80 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/xml_mini/libxmlsax.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/xml_mini/nokogiri.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/xml_mini/nokogirisax.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/xml_mini/rexml.rb +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/xml_mini.rb +201 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support.rb +108 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/CHANGELOG +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/LICENSE +184 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/Manifest +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/README +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/allison.gemspec +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/bin/allison +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/BODY +570 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/CLASS_INDEX +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/CLASS_PAGE +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/FILE_INDEX +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/FILE_PAGE +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/FONTS +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/FR_INDEX_BODY +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/INDEX +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/JAVASCRIPT +316 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/METHOD_INDEX +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/METHOD_LIST +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/SRC_PAGE +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/STYLE +320 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/contrib/Rakefile +147 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/contrib/rdoc_patch.rb +252 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/contrib/rdoc_patch_test.rb +95 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/lib/allison.css +314 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/lib/allison.js +316 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/lib/allison.rb +276 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/CHANGES +119 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/README.md +258 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/Rakefile +194 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/builder.blurb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/builder.gemspec +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/doc/releases/builder-1.2.4.rdoc +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/doc/releases/builder-2.0.0.rdoc +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/lib/blankslate.rb +138 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/lib/builder/blankslate.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/lib/builder/version.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/lib/builder/xchar.rb +198 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/lib/builder/xmlbase.rb +200 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/lib/builder/xmlevents.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/lib/builder/xmlmarkup.rb +345 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/lib/builder.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/rakelib/publish.rake +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/rakelib/tags.rake +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/rakelib/testing.rake +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/helper.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/performance.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/preload.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/test_blankslate.rb +208 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/test_eventbuilder.rb +151 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/test_markupbuilder.rb +617 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/test_method_caching.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/test_namecollision.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/test_xchar.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/CHANGELOG.md +528 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/Gemfile +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/README.md +408 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/Rakefile +339 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/ConcurrentRubyService.java +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/AtomicReferenceLibrary.java +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JRubyMapBackendLibrary.java +248 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicBooleanLibrary.java +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java +159 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/SynchronizationLibrary.java +307 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/agent.rb +587 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/array.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/async.rb +448 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atom.rb +222 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/abstract_thread_local_var.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb +126 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb +164 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb +204 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/event.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/java_count_down_latch.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/java_thread_local_var.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb +115 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb +254 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb +379 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/ruby_thread_local_var.rb +181 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/semaphore.rb +145 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomics.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb +140 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/truffleruby_map_backend.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb +160 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/deprecation.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/logging.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/obligation.rb +220 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/observable.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concurrent_ruby.jar +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/configuration.rb +188 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/constants.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/dataflow.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/delay.rb +199 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/errors.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/exchanger.rb +352 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/executor_service.rb +185 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb +210 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_executor_service.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_single_thread_executor.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb +136 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb +76 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb +377 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/timer_set.rb +172 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executors.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/future.rb +141 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/hash.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/immutable_struct.rb +101 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/ivar.rb +207 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/map.rb +347 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/maybe.rb +229 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/mutable_struct.rb +239 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/mvar.rb +242 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/options.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promise.rb +580 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promises.rb +2167 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/re_include.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/scheduled_task.rb +318 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/set.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/settable_struct.rb +139 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb +171 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/condition.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/jruby_lockable_object.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/jruby_object.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/lock.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/lockable_object.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mri_object.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/object.rb +183 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/rbx_lockable_object.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/rbx_object.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/truffleruby_object.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/volatile.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/striped64.rb +246 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/timer_task.rb +333 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/tuple.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/tvar.rb +261 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/engine.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/monotonic_time.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/native_integer.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/processor_counter.rb +163 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent-ruby.rb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/CHANGELOG +101 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/LICENSE +184 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/Manifest +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/README +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/Rakefile +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/echoe.gemspec +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/lib/echoe/extensions.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/lib/echoe/platform.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/lib/echoe/rubygems.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/lib/echoe.rb +796 -0
- data/{LICENSE → vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/vendor/rake/MIT-LICENSE} +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/vendor/rake/lib/rake/contrib/compositepublisher.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/vendor/rake/lib/rake/contrib/ftptools.rb +153 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/vendor/rake/lib/rake/contrib/publisher.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/vendor/rake/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/vendor/rake/lib/rake/contrib/sshpublisher.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/vendor/rake/lib/rake/contrib/sys.rb +209 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/CHANGELOG +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/LICENSE +184 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/Manifest +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/README +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/Rakefile +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/echoe.gemspec +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/lib/echoe/extensions.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/lib/echoe/platform.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/lib/echoe/rubygems.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/lib/echoe.rb +795 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/vendor/rake/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/vendor/rake/lib/rake/contrib/compositepublisher.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/vendor/rake/lib/rake/contrib/ftptools.rb +153 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/vendor/rake/lib/rake/contrib/publisher.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/vendor/rake/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/vendor/rake/lib/rake/contrib/sshpublisher.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/vendor/rake/lib/rake/contrib/sys.rb +209 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/CHANGELOG +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/LICENSE +184 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/Manifest +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/README.rdoc +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/Rakefile +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/echoe.gemspec +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/echoe.pem +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/lib/echoe/extensions.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/lib/echoe/platform.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/lib/echoe/rubygems.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/lib/echoe.rb +793 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/vendor/rake/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/vendor/rake/lib/rake/contrib/compositepublisher.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/vendor/rake/lib/rake/contrib/ftptools.rb +153 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/vendor/rake/lib/rake/contrib/publisher.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/vendor/rake/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/vendor/rake/lib/rake/contrib/sshpublisher.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/vendor/rake/lib/rake/contrib/sys.rb +209 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/CHANGELOG +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/LICENSE +184 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/Manifest +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/README.rdoc +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/Rakefile +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/echoe.gemspec +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/echoe.pem +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/lib/echoe/extensions.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/lib/echoe/platform.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/lib/echoe/rubygems.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/lib/echoe.rb +793 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/vendor/rake/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/compositepublisher.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/ftptools.rb +153 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/publisher.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/sshpublisher.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/sys.rb +209 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/Gemfile +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/MIT-LICENSE +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/README.md +99 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/Rakefile +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/lib/gemcutter/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/lib/rubygems/commands/migrate_command.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/lib/rubygems/commands/tumble_command.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/lib/rubygems/commands/webhook_command.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/lib/rubygems/commands/yank_command.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/lib/rubygems_plugin.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/test/helper.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/test/webhook_command_test.rb +240 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/test/yank_command_test.rb +157 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/README.md +122 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/base.rb +289 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/cache.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/cache_file.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/cascade.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/chain.rb +130 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/fallbacks.rb +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/flatten.rb +118 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/gettext.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/interpolation_compiler.rb +123 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/key_value.rb +206 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/memoize.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/metadata.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/pluralization.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/simple.rb +108 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/transliterator.rb +108 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/config.rb +165 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/core_ext/hash.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/exceptions.rb +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/gettext/helpers.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/gettext.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/interpolate/ruby.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/locale/fallbacks.rb +99 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/locale/tag/parents.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/locale/tag.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/locale.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/middleware.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/basics.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/defaults.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/interpolation.rb +163 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/link.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/localization/date.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/localization/date_time.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/localization/procs.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/localization/time.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/localization.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/lookup.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/procs.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n.rb +415 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/CHANGES.md +457 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/LICENSE +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/README.md +425 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/VERSION +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/json_pure.gemspec +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/bigdecimal.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/complex.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/core.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/date.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/date_time.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/exception.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/ostruct.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/range.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/rational.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/regexp.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/set.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/struct.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/symbol.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/time.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/common.rb +703 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/ext.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/generic_object.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/pure/generator.rb +479 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/pure/parser.rb +337 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/pure.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/version.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json.rb +583 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/Gemfile +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/LICENSE +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/README.md +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/Rakefile +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/ass/nom.jpg +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/ass/screenshot.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/bin/lolcat +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/lib/lolcat/cat.rb +135 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/lib/lolcat/lol.rb +122 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/lib/lolcat/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/lib/lolcat.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/lolcat.gemspec +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/man/lolcat.6 +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/CHANGELOG.md +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/CODE_OF_CONDUCT.md +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/Gemfile +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/Gemfile.lock +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/README.md +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/Rakefile +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/lib/manpages/gem_version.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/lib/manpages/install.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/lib/manpages/man_files.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/lib/manpages/uninstall.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/lib/manpages/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/lib/manpages.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/lib/rubygems/commands/manpages_command.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/lib/rubygems_plugin.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/manpages.gemspec +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/rbenv/hooks/install-man.bash +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/rbenv/hooks/version-name-change-man.bash +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/rbenv/rbenv_hook_install.sh +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/rbenv/remove_hook_folders.sh +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/rbenv/vars.sh +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/History.rdoc +1430 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/Manifest.txt +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/README.rdoc +803 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/Rakefile +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/design_rationale.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/hoe/minitest.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/assertions.rb +806 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/autorun.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/benchmark.rb +455 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/expectations.rb +303 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/hell.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/mock.rb +244 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/parallel.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/spec.rb +343 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/test.rb +230 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/unit.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest.rb +1069 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/test/minitest/metametameta.rb +136 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/test/minitest/test_minitest_assertions.rb +1588 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/test/minitest/test_minitest_mock.rb +885 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/test/minitest/test_minitest_reporter.rb +311 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/test/minitest/test_minitest_spec.rb +1062 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/test/minitest/test_minitest_test.rb +1109 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/FAQ.txt +92 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/Gemfile +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/History.txt +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/LICENSE.txt +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/README.md +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/Rakefile +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/lib/optimist.rb +1014 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/optimist.gemspec +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist/command_line_error_test.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist/help_needed_test.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist/parser_educate_test.rb +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist/parser_opt_test.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist/parser_parse_test.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist/parser_test.rb +1220 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist/version_needed_test.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist_test.rb +190 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/support/assert_helpers.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/test_helper.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/CHANGELOG.md +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/README.md +194 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/Rakefile +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/data/rgb_colors.marshal.gz +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/lib/paint/constants.rb +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/lib/paint/pa.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/lib/paint/rgb_colors.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/lib/paint/util.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/lib/paint/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/lib/paint.rb +257 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/paint.gemspec +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/BSDL +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/COPYING +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/Gemfile +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/LEGAL +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/README.md +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/Rakefile +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/lib/power_assert/colorize.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/lib/power_assert/configuration.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/lib/power_assert/context.rb +233 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/lib/power_assert/enable_tracepoint_events.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/lib/power_assert/inspector.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/lib/power_assert/parser.rb +251 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/lib/power_assert/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/lib/power_assert.rb +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/power_assert.gemspec +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/Gemfile +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/Mavenfile +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/README.md +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/Rakefile +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/bin/console +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/bin/setup +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/Makefile +274 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/depend +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/extconf.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych.c +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych.h +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych_emitter.c +555 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych_emitter.h +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych_parser.c +579 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych_parser.h +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych_to_ruby.c +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych_to_ruby.h +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych_yaml_tree.c +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych_yaml_tree.h +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/LICENSE +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/api.c +1393 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/config.h +80 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/dumper.c +394 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/emitter.c +2358 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/loader.c +544 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/parser.c +1375 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/reader.c +469 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/scanner.c +3598 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/writer.c +141 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/yaml.h +1985 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/yaml_private.h +688 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/class_loader.rb +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/coder.rb +95 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/core_ext.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/exception.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/handler.rb +255 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/handlers/document_stream.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/handlers/recorder.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/json/ruby_events.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/json/stream.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/json/tree_builder.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/json/yaml_events.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/nodes/alias.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/nodes/document.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/nodes/mapping.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/nodes/node.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/nodes/scalar.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/nodes/sequence.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/nodes/stream.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/nodes.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/omap.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/parser.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/scalar_scanner.rb +135 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/set.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/stream.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/streaming.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/syntax_error.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/tree_builder.rb +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/versions.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/visitors/depth_first.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/visitors/emitter.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/visitors/json_tree.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/visitors/to_ruby.rb +434 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/visitors/visitor.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/visitors/yaml_tree.rb +587 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/visitors.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/y.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych.rb +741 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/psych.gemspec +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/History.rdoc +2403 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/README.rdoc +155 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/exe/rake +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb +831 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/file_utils.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/file_utils_ext.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/packagetask.rb +222 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb +434 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task_manager.rb +331 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/testtask.rb +189 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/rake.gemspec +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/CONTRIBUTING.rdoc +220 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/CVE-2013-0256.rdoc +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/ExampleMarkdown.md +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/ExampleRDoc.rdoc +208 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/Gemfile +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/History.rdoc +1666 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/LEGAL.rdoc +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/LICENSE.rdoc +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/README.rdoc +129 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/RI.rdoc +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/Rakefile +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/TODO.rdoc +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/bin/console +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/bin/setup +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/exe/rdoc +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/exe/ri +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/alias.rb +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/anon_class.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/any_method.rb +364 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/attr.rb +176 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/class_module.rb +802 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/code_object.rb +421 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/code_objects.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/comment.rb +250 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/constant.rb +187 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/context/section.rb +232 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/context.rb +1266 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/cross_reference.rb +210 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/encoding.rb +136 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/erb_partial.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/erbio.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/extend.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/darkfish.rb +790 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/json_index.rb +300 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/markup.rb +160 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/pot/message_extractor.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/pot/po.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/pot/po_entry.rb +141 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/pot.rb +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/ri.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_footer.rhtml +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_head.rhtml +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/class.rhtml +172 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/css/fonts.css +167 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/css/rdoc.css +639 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/add.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/arrow_up.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/brick.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/bug.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/date.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/delete.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/find.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/package.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/page_green.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/plugin.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/ruby.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/transparent.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/wrench.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/zoom.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/index.rhtml +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/js/darkfish.js +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/js/search.js +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/page.rhtml +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/servlet_not_found.rhtml +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/servlet_root.rhtml +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/json_index/js/navigation.js +105 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/json_index/js/searcher.js +229 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/ghost_method.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/i18n/locale.rb +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/i18n/text.rb +126 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/i18n.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/include.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/known_classes.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markdown/entities.rb +2132 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markdown/literals.kpeg +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markdown/literals.rb +416 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markdown.kpeg +1237 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markdown.rb +16684 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/attr_changer.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/attr_span.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/attribute_manager.rb +409 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/attributes.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/blank_line.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/block_quote.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/document.rb +165 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/formatter.rb +266 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/hard_break.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/heading.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/include.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/indented_paragraph.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/list.rb +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/list_item.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/paragraph.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/parser.rb +575 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/pre_process.rb +298 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/raw.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/regexp_handling.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/rule.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/table.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_ansi.rb +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_bs.rb +77 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_html.rb +444 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_html_crossref.rb +176 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_html_snippet.rb +285 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_joined_paragraph.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_label.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_markdown.rb +192 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_rdoc.rb +362 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_table_of_contents.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_test.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_tt_only.rb +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/verbatim.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup.rb +867 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/meta_method.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/method_attr.rb +419 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/mixin.rb +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/normal_class.rb +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/normal_module.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/options.rb +1314 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/c.rb +1237 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/changelog.rb +335 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/markdown.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/rd.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/ripper_state_lex.rb +590 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/ruby.rb +2345 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/ruby_tools.rb +167 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/simple.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/text.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser.rb +277 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/rd/block_parser.rb +1056 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/rd/block_parser.ry +639 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/rd/inline.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/rd/inline_parser.rb +1208 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/rd/inline_parser.ry +593 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/rd.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/rdoc.rb +551 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/require.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/ri/driver.rb +1579 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/ri/formatter.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/ri/paths.rb +171 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/ri/store.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/ri/task.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/ri.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/rubygems_hook.rb +248 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/servlet.rb +451 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/single_class.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/stats/normal.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/stats/quiet.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/stats/verbose.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/stats.rb +462 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/store.rb +979 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/task.rb +329 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/text.rb +312 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/token_stream.rb +119 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/tom_doc.rb +263 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/top_level.rb +289 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/version.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc.rb +201 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/man/ri.1 +247 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/rdoc.gemspec +249 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/History.txt +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/Manifest.txt +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/README.txt +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/Rakefile +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/bin/rubyforge +222 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/lib/rubyforge/client.rb +124 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/lib/rubyforge.rb +389 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/test/test_rubyforge.rb +329 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/test/test_rubyforge_client.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/stringio-3.0.0/README.md +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/stringio-3.0.0/ext/stringio/Makefile +267 -0
- data/vendor/bundle/ruby/2.7.0/gems/stringio-3.0.0/ext/stringio/extconf.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/stringio-3.0.0/ext/stringio/stringio.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/stringio-3.0.0/ext/stringio/stringio.c +1862 -0
- data/vendor/bundle/ruby/2.7.0/gems/stringio-3.0.0/lib/stringio.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/BSDL +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/COPYING +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/PSFL +271 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/README.md +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/Rakefile +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/doc/text/getting-started.md +246 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/doc/text/how-to.md +90 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/doc/text/news.md +1675 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/assertion-failed-error.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/assertions.rb +2449 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/attribute-matcher.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/attribute.rb +227 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/auto-runner-loader.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/autorunner.rb +581 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/code-snippet-fetcher.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/collector/descendant.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/collector/dir.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/collector/load.rb +199 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/collector/objectspace.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/collector/xml.rb +249 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/collector.rb +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/color-scheme.rb +216 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/color.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/data-sets.rb +127 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/data.rb +371 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/diff.rb +745 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/error.rb +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/exception-handler.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/failure.rb +169 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/fault-location-detector.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/fixture.rb +304 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/notification.rb +138 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/omission.rb +198 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/pending.rb +155 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/priority.rb +194 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/runner/console.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/runner/emacs.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/runner/xml.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/test-suite-creator.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/testcase.rb +938 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/testresult.rb +132 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/testsuite.rb +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/ui/console/outputlevel.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/ui/console/testrunner.rb +759 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/ui/emacs/testrunner.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/ui/testrunner.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/ui/testrunnermediator.rb +114 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/ui/testrunnerutilities.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/ui/xml/testrunner.rb +224 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/util/backtracefilter.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/util/memory-usage.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/util/method-owner-finder.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/util/observable.rb +90 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/util/output.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/util/procwrapper.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/warning.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit.rb +521 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test-unit.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/sample/adder.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/sample/subtracter.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/sample/test_adder.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/sample/test_subtracter.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/sample/test_user.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/CHANGES.md +973 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/LICENSE +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/README.md +406 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/annual_rules.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/country.rb +208 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/country_timezone.rb +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb +435 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/country_info.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/data_timezone_info.rb +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/linked_timezone_info.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/posix_time_zone_parser.rb +181 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/ruby_data_source.rb +145 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/timezone_info.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/transitions_data_timezone_info.rb +214 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/zoneinfo_data_source.rb +580 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/zoneinfo_reader.rb +486 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_timezone.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/datetime_with_offset.rb +153 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format1/country_definer.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format1/country_index_definition.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format1/timezone_definer.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format1/timezone_definition.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format1/timezone_index_definition.rb +77 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format1.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format2/country_definer.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format2/country_index_definer.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format2/country_index_definition.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format2/timezone_definer.rb +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format2/timezone_definition.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format2/timezone_index_definer.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format2/timezone_index_definition.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format2.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/info_timezone.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/linked_timezone.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/offset_timezone_period.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/string_deduper.rb +118 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/time_with_offset.rb +154 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/timestamp.rb +548 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/timestamp_with_offset.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/timezone.rb +1160 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/timezone_offset.rb +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/timezone_period.rb +179 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/timezone_proxy.rb +96 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/timezone_transition.rb +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/transition_rule.rb +455 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/transitions_timezone_period.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/untaint_ext.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/version.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/with_offset.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/README.md +1071 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/error.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/explicit_namespace.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/gem_inflector.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/inflector.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/kernel.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/loader/callbacks.rb +92 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/loader/config.rb +321 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/loader/helpers.rb +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/loader.rb +510 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/real_mod_name.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/registry.rb +145 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/specifications/activemodel-6.1.4.4.gemspec +32 -0
- data/vendor/bundle/ruby/2.7.0/specifications/activemodel-serializers-xml-1.0.2.gemspec +39 -0
- data/vendor/bundle/ruby/2.7.0/specifications/activeresource-5.1.1.gemspec +42 -0
- data/vendor/bundle/ruby/2.7.0/specifications/activesupport-6.1.4.4.gemspec +41 -0
- data/vendor/bundle/ruby/2.7.0/specifications/allison-2.0.3.gemspec +22 -0
- data/vendor/bundle/ruby/2.7.0/specifications/builder-3.2.4.gemspec +23 -0
- data/vendor/bundle/ruby/2.7.0/specifications/concurrent-ruby-1.1.9.gemspec +24 -0
- data/vendor/bundle/ruby/2.7.0/specifications/echoe-4.6.0.gemspec +41 -0
- data/vendor/bundle/ruby/2.7.0/specifications/echoe-4.6.3.gemspec +41 -0
- data/vendor/bundle/ruby/2.7.0/specifications/echoe-4.6.5.gemspec +40 -0
- data/vendor/bundle/ruby/2.7.0/specifications/echoe-4.6.6.gemspec +40 -0
- data/vendor/bundle/ruby/2.7.0/specifications/gemcutter-0.7.1.gemspec +40 -0
- data/vendor/bundle/ruby/2.7.0/specifications/i18n-1.8.11.gemspec +32 -0
- data/vendor/bundle/ruby/2.7.0/specifications/json_pure-2.6.1.gemspec +25 -0
- data/vendor/bundle/ruby/2.7.0/specifications/lolcat-100.0.1.gemspec +37 -0
- data/vendor/bundle/ruby/2.7.0/specifications/manpages-0.6.1.gemspec +39 -0
- data/vendor/bundle/ruby/2.7.0/specifications/minitest-5.15.0.gemspec +38 -0
- data/vendor/bundle/ruby/2.7.0/specifications/optimist-3.0.1.gemspec +35 -0
- data/vendor/bundle/ruby/2.7.0/specifications/paint-2.2.1.gemspec +47 -0
- data/vendor/bundle/ruby/2.7.0/specifications/power_assert-2.0.1.gemspec +46 -0
- data/vendor/bundle/ruby/2.7.0/specifications/psych-4.0.3.gemspec +36 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rake-13.0.6.gemspec +26 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rdoc-6.4.0.gemspec +36 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rubyforge-2.0.4.gemspec +33 -0
- data/vendor/bundle/ruby/2.7.0/specifications/stringio-3.0.0.gemspec +36 -0
- data/vendor/bundle/ruby/2.7.0/specifications/test-unit-3.5.3.gemspec +41 -0
- data/vendor/bundle/ruby/2.7.0/specifications/tzinfo-2.0.4.gemspec +36 -0
- data/vendor/bundle/ruby/2.7.0/specifications/zeitwerk-2.5.3.gemspec +22 -0
- data.tar.gz.sig +0 -0
- metadata +1461 -100
- metadata.gz.sig +2 -0
- data/CHANGELOG +0 -7
- data/sbin/reboot.rb +0 -3
- data/sbin/ric_reboot.rb +0 -3
@@ -0,0 +1,1220 @@
|
|
1
|
+
require 'stringio'
|
2
|
+
require 'test_helper'
|
3
|
+
|
4
|
+
module Optimist
|
5
|
+
|
6
|
+
class ParserTest < ::MiniTest::Test
|
7
|
+
def setup
|
8
|
+
@p = Parser.new
|
9
|
+
end
|
10
|
+
|
11
|
+
def parser
|
12
|
+
@p ||= Parser.new
|
13
|
+
end
|
14
|
+
|
15
|
+
# initialize
|
16
|
+
# cloaker
|
17
|
+
|
18
|
+
def test_version
|
19
|
+
assert_nil parser.version
|
20
|
+
assert_equal "optimist 5.2.3", parser.version("optimist 5.2.3")
|
21
|
+
assert_equal "optimist 5.2.3", parser.version
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_usage
|
25
|
+
assert_nil parser.usage
|
26
|
+
|
27
|
+
assert_equal "usage string", parser.usage("usage string")
|
28
|
+
assert_equal "usage string", parser.usage
|
29
|
+
end
|
30
|
+
|
31
|
+
def test_synopsis
|
32
|
+
assert_nil parser.synopsis
|
33
|
+
|
34
|
+
assert_equal "synopsis string", parser.synopsis("synopsis string")
|
35
|
+
assert_equal "synopsis string", parser.synopsis
|
36
|
+
end
|
37
|
+
|
38
|
+
# def test_depends
|
39
|
+
# def test_conflicts
|
40
|
+
# def test_stop_on
|
41
|
+
# def test_stop_on_unknown
|
42
|
+
|
43
|
+
# die
|
44
|
+
# def test_die_educate_on_error
|
45
|
+
|
46
|
+
|
47
|
+
def test_unknown_arguments
|
48
|
+
assert_raises(CommandlineError) { @p.parse(%w(--arg)) }
|
49
|
+
@p.opt "arg"
|
50
|
+
@p.parse(%w(--arg))
|
51
|
+
assert_raises(CommandlineError) { @p.parse(%w(--arg2)) }
|
52
|
+
end
|
53
|
+
|
54
|
+
def test_syntax_check
|
55
|
+
@p.opt "arg"
|
56
|
+
|
57
|
+
@p.parse(%w(--arg))
|
58
|
+
@p.parse(%w(arg))
|
59
|
+
assert_raises(CommandlineError) { @p.parse(%w(---arg)) }
|
60
|
+
assert_raises(CommandlineError) { @p.parse(%w(-arg)) }
|
61
|
+
end
|
62
|
+
|
63
|
+
def test_required_flags_are_required
|
64
|
+
@p.opt "arg", "desc", :required => true
|
65
|
+
@p.opt "arg2", "desc", :required => false
|
66
|
+
@p.opt "arg3", "desc", :required => false
|
67
|
+
|
68
|
+
@p.parse(%w(--arg))
|
69
|
+
@p.parse(%w(--arg --arg2))
|
70
|
+
assert_raises(CommandlineError) { @p.parse(%w(--arg2)) }
|
71
|
+
assert_raises(CommandlineError) { @p.parse(%w(--arg2 --arg3)) }
|
72
|
+
end
|
73
|
+
|
74
|
+
## flags that take an argument error unless given one
|
75
|
+
def test_argflags_demand_args
|
76
|
+
@p.opt "goodarg", "desc", :type => String
|
77
|
+
@p.opt "goodarg2", "desc", :type => String
|
78
|
+
|
79
|
+
@p.parse(%w(--goodarg goat))
|
80
|
+
assert_raises(CommandlineError) { @p.parse(%w(--goodarg --goodarg2 goat)) }
|
81
|
+
assert_raises(CommandlineError) { @p.parse(%w(--goodarg)) }
|
82
|
+
end
|
83
|
+
|
84
|
+
## flags that don't take arguments ignore them
|
85
|
+
def test_arglessflags_refuse_args
|
86
|
+
@p.opt "goodarg"
|
87
|
+
@p.opt "goodarg2"
|
88
|
+
@p.parse(%w(--goodarg))
|
89
|
+
@p.parse(%w(--goodarg --goodarg2))
|
90
|
+
opts = @p.parse %w(--goodarg a)
|
91
|
+
assert_equal true, opts["goodarg"]
|
92
|
+
assert_equal ["a"], @p.leftovers
|
93
|
+
end
|
94
|
+
|
95
|
+
## flags that require args of a specific type refuse args of other
|
96
|
+
## types
|
97
|
+
def test_typed_args_refuse_args_of_other_types
|
98
|
+
@p.opt "goodarg", "desc", :type => :int
|
99
|
+
assert_raises(ArgumentError) { @p.opt "badarg", "desc", :type => :asdf }
|
100
|
+
|
101
|
+
@p.parse(%w(--goodarg 3))
|
102
|
+
assert_raises(CommandlineError) { @p.parse(%w(--goodarg 4.2)) }
|
103
|
+
assert_raises(CommandlineError) { @p.parse(%w(--goodarg hello)) }
|
104
|
+
end
|
105
|
+
|
106
|
+
## type is correctly derived from :default
|
107
|
+
def test_type_correctly_derived_from_default
|
108
|
+
assert_raises(ArgumentError) { @p.opt "badarg", "desc", :default => [] }
|
109
|
+
assert_raises(ArgumentError) { @p.opt "badarg3", "desc", :default => [{1 => 2}] }
|
110
|
+
assert_raises(ArgumentError) { @p.opt "badarg4", "desc", :default => Hash.new }
|
111
|
+
|
112
|
+
# single arg: int
|
113
|
+
@p.opt "argsi", "desc", :default => 0
|
114
|
+
opts = @p.parse(%w(--))
|
115
|
+
assert_equal 0, opts["argsi"]
|
116
|
+
opts = @p.parse(%w(--argsi 4))
|
117
|
+
assert_equal 4, opts["argsi"]
|
118
|
+
opts = @p.parse(%w(--argsi=4))
|
119
|
+
assert_equal 4, opts["argsi"]
|
120
|
+
opts = @p.parse(%w(--argsi=-4))
|
121
|
+
assert_equal( -4, opts["argsi"])
|
122
|
+
|
123
|
+
assert_raises(CommandlineError) { @p.parse(%w(--argsi 4.2)) }
|
124
|
+
assert_raises(CommandlineError) { @p.parse(%w(--argsi hello)) }
|
125
|
+
|
126
|
+
# single arg: float
|
127
|
+
@p.opt "argsf", "desc", :default => 3.14
|
128
|
+
opts = @p.parse(%w(--))
|
129
|
+
assert_equal 3.14, opts["argsf"]
|
130
|
+
opts = @p.parse(%w(--argsf 2.41))
|
131
|
+
assert_equal 2.41, opts["argsf"]
|
132
|
+
opts = @p.parse(%w(--argsf 2))
|
133
|
+
assert_equal 2, opts["argsf"]
|
134
|
+
opts = @p.parse(%w(--argsf 1.0e-2))
|
135
|
+
assert_equal 1.0e-2, opts["argsf"]
|
136
|
+
assert_raises(CommandlineError) { @p.parse(%w(--argsf hello)) }
|
137
|
+
|
138
|
+
# single arg: date
|
139
|
+
date = Date.today
|
140
|
+
@p.opt "argsd", "desc", :default => date
|
141
|
+
opts = @p.parse(%w(--))
|
142
|
+
assert_equal Date.today, opts["argsd"]
|
143
|
+
opts = @p.parse(['--argsd', 'Jan 4, 2007'])
|
144
|
+
assert_equal Date.civil(2007, 1, 4), opts["argsd"]
|
145
|
+
assert_raises(CommandlineError) { @p.parse(%w(--argsd hello)) }
|
146
|
+
|
147
|
+
# single arg: string
|
148
|
+
@p.opt "argss", "desc", :default => "foobar"
|
149
|
+
opts = @p.parse(%w(--))
|
150
|
+
assert_equal "foobar", opts["argss"]
|
151
|
+
opts = @p.parse(%w(--argss 2.41))
|
152
|
+
assert_equal "2.41", opts["argss"]
|
153
|
+
opts = @p.parse(%w(--argss hello))
|
154
|
+
assert_equal "hello", opts["argss"]
|
155
|
+
|
156
|
+
# multi args: ints
|
157
|
+
@p.opt "argmi", "desc", :default => [3, 5]
|
158
|
+
opts = @p.parse(%w(--))
|
159
|
+
assert_equal [3, 5], opts["argmi"]
|
160
|
+
opts = @p.parse(%w(--argmi 4))
|
161
|
+
assert_equal [4], opts["argmi"]
|
162
|
+
assert_raises(CommandlineError) { @p.parse(%w(--argmi 4.2)) }
|
163
|
+
assert_raises(CommandlineError) { @p.parse(%w(--argmi hello)) }
|
164
|
+
|
165
|
+
# multi args: floats
|
166
|
+
@p.opt "argmf", "desc", :default => [3.34, 5.21]
|
167
|
+
opts = @p.parse(%w(--))
|
168
|
+
assert_equal [3.34, 5.21], opts["argmf"]
|
169
|
+
opts = @p.parse(%w(--argmf 2))
|
170
|
+
assert_equal [2], opts["argmf"]
|
171
|
+
opts = @p.parse(%w(--argmf 4.0))
|
172
|
+
assert_equal [4.0], opts["argmf"]
|
173
|
+
assert_raises(CommandlineError) { @p.parse(%w(--argmf hello)) }
|
174
|
+
|
175
|
+
# multi args: dates
|
176
|
+
dates = [Date.today, Date.civil(2007, 1, 4)]
|
177
|
+
@p.opt "argmd", "desc", :default => dates
|
178
|
+
opts = @p.parse(%w(--))
|
179
|
+
assert_equal dates, opts["argmd"]
|
180
|
+
opts = @p.parse(['--argmd', 'Jan 4, 2007'])
|
181
|
+
assert_equal [Date.civil(2007, 1, 4)], opts["argmd"]
|
182
|
+
assert_raises(CommandlineError) { @p.parse(%w(--argmd hello)) }
|
183
|
+
|
184
|
+
# multi args: strings
|
185
|
+
@p.opt "argmst", "desc", :default => %w(hello world)
|
186
|
+
opts = @p.parse(%w(--))
|
187
|
+
assert_equal %w(hello world), opts["argmst"]
|
188
|
+
opts = @p.parse(%w(--argmst 3.4))
|
189
|
+
assert_equal ["3.4"], opts["argmst"]
|
190
|
+
opts = @p.parse(%w(--argmst goodbye))
|
191
|
+
assert_equal ["goodbye"], opts["argmst"]
|
192
|
+
end
|
193
|
+
|
194
|
+
## :type and :default must match if both are specified
|
195
|
+
def test_type_and_default_must_match
|
196
|
+
assert_raises(ArgumentError) { @p.opt "badarg", "desc", :type => :int, :default => "hello" }
|
197
|
+
assert_raises(ArgumentError) { @p.opt "badarg2", "desc", :type => :String, :default => 4 }
|
198
|
+
assert_raises(ArgumentError) { @p.opt "badarg2", "desc", :type => :String, :default => ["hi"] }
|
199
|
+
assert_raises(ArgumentError) { @p.opt "badarg2", "desc", :type => :ints, :default => [3.14] }
|
200
|
+
|
201
|
+
@p.opt "argsi", "desc", :type => :int, :default => 4
|
202
|
+
@p.opt "argsf", "desc", :type => :float, :default => 3.14
|
203
|
+
@p.opt "argsd", "desc", :type => :date, :default => Date.today
|
204
|
+
@p.opt "argss", "desc", :type => :string, :default => "yo"
|
205
|
+
@p.opt "argmi", "desc", :type => :ints, :default => [4]
|
206
|
+
@p.opt "argmf", "desc", :type => :floats, :default => [3.14]
|
207
|
+
@p.opt "argmd", "desc", :type => :dates, :default => [Date.today]
|
208
|
+
@p.opt "argmst", "desc", :type => :strings, :default => ["yo"]
|
209
|
+
end
|
210
|
+
|
211
|
+
##
|
212
|
+
def test_flags_with_defaults_and_no_args_act_as_switches
|
213
|
+
@p.opt :argd, "desc", :default => "default_string"
|
214
|
+
|
215
|
+
opts = @p.parse(%w(--))
|
216
|
+
assert !opts[:argd_given]
|
217
|
+
assert_equal "default_string", opts[:argd]
|
218
|
+
|
219
|
+
opts = @p.parse(%w( --argd ))
|
220
|
+
assert opts[:argd_given]
|
221
|
+
assert_equal "default_string", opts[:argd]
|
222
|
+
|
223
|
+
opts = @p.parse(%w(--argd different_string))
|
224
|
+
assert opts[:argd_given]
|
225
|
+
assert_equal "different_string", opts[:argd]
|
226
|
+
end
|
227
|
+
|
228
|
+
def test_flag_with_no_defaults_and_no_args_act_as_switches_array
|
229
|
+
opts = nil
|
230
|
+
|
231
|
+
@p.opt :argd, "desc", :type => :strings, :default => ["default_string"]
|
232
|
+
|
233
|
+
opts = @p.parse(%w(--argd))
|
234
|
+
assert_equal ["default_string"], opts[:argd]
|
235
|
+
end
|
236
|
+
|
237
|
+
def test_type_and_empty_array
|
238
|
+
@p.opt "argmi", "desc", :type => :ints, :default => []
|
239
|
+
@p.opt "argmf", "desc", :type => :floats, :default => []
|
240
|
+
@p.opt "argmd", "desc", :type => :dates, :default => []
|
241
|
+
@p.opt "argms", "desc", :type => :strings, :default => []
|
242
|
+
assert_raises(ArgumentError) { @p.opt "badi", "desc", :type => :int, :default => [] }
|
243
|
+
assert_raises(ArgumentError) { @p.opt "badf", "desc", :type => :float, :default => [] }
|
244
|
+
assert_raises(ArgumentError) { @p.opt "badd", "desc", :type => :date, :default => [] }
|
245
|
+
assert_raises(ArgumentError) { @p.opt "bads", "desc", :type => :string, :default => [] }
|
246
|
+
opts = @p.parse([])
|
247
|
+
assert_equal(opts["argmi"], [])
|
248
|
+
assert_equal(opts["argmf"], [])
|
249
|
+
assert_equal(opts["argmd"], [])
|
250
|
+
assert_equal(opts["argms"], [])
|
251
|
+
end
|
252
|
+
|
253
|
+
def test_long_detects_bad_names
|
254
|
+
@p.opt "goodarg", "desc", :long => "none"
|
255
|
+
@p.opt "goodarg2", "desc", :long => "--two"
|
256
|
+
assert_raises(ArgumentError) { @p.opt "badarg", "desc", :long => "" }
|
257
|
+
assert_raises(ArgumentError) { @p.opt "badarg2", "desc", :long => "--" }
|
258
|
+
assert_raises(ArgumentError) { @p.opt "badarg3", "desc", :long => "-one" }
|
259
|
+
assert_raises(ArgumentError) { @p.opt "badarg4", "desc", :long => "---toomany" }
|
260
|
+
end
|
261
|
+
|
262
|
+
def test_short_detects_bad_names
|
263
|
+
@p.opt "goodarg", "desc", :short => "a"
|
264
|
+
@p.opt "goodarg2", "desc", :short => "-b"
|
265
|
+
assert_raises(ArgumentError) { @p.opt "badarg", "desc", :short => "" }
|
266
|
+
assert_raises(ArgumentError) { @p.opt "badarg2", "desc", :short => "-ab" }
|
267
|
+
assert_raises(ArgumentError) { @p.opt "badarg3", "desc", :short => "--t" }
|
268
|
+
end
|
269
|
+
|
270
|
+
def test_short_names_created_automatically
|
271
|
+
@p.opt "arg"
|
272
|
+
@p.opt "arg2"
|
273
|
+
@p.opt "arg3"
|
274
|
+
opts = @p.parse %w(-a -g)
|
275
|
+
assert_equal true, opts["arg"]
|
276
|
+
assert_equal false, opts["arg2"]
|
277
|
+
assert_equal true, opts["arg3"]
|
278
|
+
end
|
279
|
+
|
280
|
+
def test_short_autocreation_skips_dashes_and_numbers
|
281
|
+
@p.opt :arg # auto: a
|
282
|
+
@p.opt :arg_potato # auto: r
|
283
|
+
@p.opt :arg_muffin # auto: g
|
284
|
+
@p.opt :arg_daisy # auto: d (not _)!
|
285
|
+
@p.opt :arg_r2d2f # auto: f (not 2)!
|
286
|
+
|
287
|
+
opts = @p.parse %w(-f -d)
|
288
|
+
assert_equal true, opts[:arg_daisy]
|
289
|
+
assert_equal true, opts[:arg_r2d2f]
|
290
|
+
assert_equal false, opts[:arg]
|
291
|
+
assert_equal false, opts[:arg_potato]
|
292
|
+
assert_equal false, opts[:arg_muffin]
|
293
|
+
end
|
294
|
+
|
295
|
+
def test_short_autocreation_is_ok_with_running_out_of_chars
|
296
|
+
@p.opt :arg1 # auto: a
|
297
|
+
@p.opt :arg2 # auto: r
|
298
|
+
@p.opt :arg3 # auto: g
|
299
|
+
@p.opt :arg4 # auto: uh oh!
|
300
|
+
@p.parse []
|
301
|
+
end
|
302
|
+
|
303
|
+
def test_short_can_be_nothing
|
304
|
+
@p.opt "arg", "desc", :short => :none
|
305
|
+
@p.parse []
|
306
|
+
|
307
|
+
sio = StringIO.new "w"
|
308
|
+
@p.educate sio
|
309
|
+
assert sio.string =~ /--arg\s+desc/
|
310
|
+
|
311
|
+
assert_raises(CommandlineError) { @p.parse %w(-a) }
|
312
|
+
end
|
313
|
+
|
314
|
+
## two args can't have the same name
|
315
|
+
def test_conflicting_names_are_detected
|
316
|
+
@p.opt "goodarg"
|
317
|
+
assert_raises(ArgumentError) { @p.opt "goodarg" }
|
318
|
+
end
|
319
|
+
|
320
|
+
## two args can't have the same :long
|
321
|
+
def test_conflicting_longs_detected
|
322
|
+
@p.opt "goodarg", "desc", :long => "--goodarg"
|
323
|
+
assert_raises(ArgumentError) { @p.opt "badarg", "desc", :long => "--goodarg" }
|
324
|
+
end
|
325
|
+
|
326
|
+
## two args can't have the same :short
|
327
|
+
def test_conflicting_shorts_detected
|
328
|
+
@p.opt "goodarg", "desc", :short => "-g"
|
329
|
+
assert_raises(ArgumentError) { @p.opt "badarg", "desc", :short => "-g" }
|
330
|
+
end
|
331
|
+
|
332
|
+
## note: this behavior has changed in optimist 2.0!
|
333
|
+
def test_flag_parameters
|
334
|
+
@p.opt :defaultnone, "desc"
|
335
|
+
@p.opt :defaultfalse, "desc", :default => false
|
336
|
+
@p.opt :defaulttrue, "desc", :default => true
|
337
|
+
|
338
|
+
## default state
|
339
|
+
opts = @p.parse []
|
340
|
+
assert_equal false, opts[:defaultnone]
|
341
|
+
assert_equal false, opts[:defaultfalse]
|
342
|
+
assert_equal true, opts[:defaulttrue]
|
343
|
+
|
344
|
+
## specifying turns them on, regardless of default
|
345
|
+
opts = @p.parse %w(--defaultfalse --defaulttrue --defaultnone)
|
346
|
+
assert_equal true, opts[:defaultnone]
|
347
|
+
assert_equal true, opts[:defaultfalse]
|
348
|
+
assert_equal true, opts[:defaulttrue]
|
349
|
+
|
350
|
+
## using --no- form turns them off, regardless of default
|
351
|
+
opts = @p.parse %w(--no-defaultfalse --no-defaulttrue --no-defaultnone)
|
352
|
+
assert_equal false, opts[:defaultnone]
|
353
|
+
assert_equal false, opts[:defaultfalse]
|
354
|
+
assert_equal false, opts[:defaulttrue]
|
355
|
+
end
|
356
|
+
|
357
|
+
## note: this behavior has changed in optimist 2.0!
|
358
|
+
def test_flag_parameters_for_inverted_flags
|
359
|
+
@p.opt :no_default_none, "desc"
|
360
|
+
@p.opt :no_default_false, "desc", :default => false
|
361
|
+
@p.opt :no_default_true, "desc", :default => true
|
362
|
+
|
363
|
+
## default state
|
364
|
+
opts = @p.parse []
|
365
|
+
assert_equal false, opts[:no_default_none]
|
366
|
+
assert_equal false, opts[:no_default_false]
|
367
|
+
assert_equal true, opts[:no_default_true]
|
368
|
+
|
369
|
+
## specifying turns them all on, regardless of default
|
370
|
+
opts = @p.parse %w(--no-default-false --no-default-true --no-default-none)
|
371
|
+
assert_equal true, opts[:no_default_none]
|
372
|
+
assert_equal true, opts[:no_default_false]
|
373
|
+
assert_equal true, opts[:no_default_true]
|
374
|
+
|
375
|
+
## using dropped-no form turns them all off, regardless of default
|
376
|
+
opts = @p.parse %w(--default-false --default-true --default-none)
|
377
|
+
assert_equal false, opts[:no_default_none]
|
378
|
+
assert_equal false, opts[:no_default_false]
|
379
|
+
assert_equal false, opts[:no_default_true]
|
380
|
+
|
381
|
+
## disallow double negatives for reasons of sanity preservation
|
382
|
+
assert_raises(CommandlineError) { @p.parse %w(--no-no-default-true) }
|
383
|
+
end
|
384
|
+
|
385
|
+
def test_short_options_combine
|
386
|
+
@p.opt :arg1, "desc", :short => "a"
|
387
|
+
@p.opt :arg2, "desc", :short => "b"
|
388
|
+
@p.opt :arg3, "desc", :short => "c", :type => :int
|
389
|
+
|
390
|
+
opts = @p.parse %w(-a -b)
|
391
|
+
assert_equal true, opts[:arg1]
|
392
|
+
assert_equal true, opts[:arg2]
|
393
|
+
assert_nil opts[:arg3]
|
394
|
+
|
395
|
+
opts = @p.parse %w(-ab)
|
396
|
+
assert_equal true, opts[:arg1]
|
397
|
+
assert_equal true, opts[:arg2]
|
398
|
+
assert_nil opts[:arg3]
|
399
|
+
|
400
|
+
opts = @p.parse %w(-ac 4 -b)
|
401
|
+
assert_equal true, opts[:arg1]
|
402
|
+
assert_equal true, opts[:arg2]
|
403
|
+
assert_equal 4, opts[:arg3]
|
404
|
+
|
405
|
+
assert_raises(CommandlineError) { @p.parse %w(-cab 4) }
|
406
|
+
assert_raises(CommandlineError) { @p.parse %w(-cba 4) }
|
407
|
+
end
|
408
|
+
|
409
|
+
def test_doubledash_ends_option_processing
|
410
|
+
@p.opt :arg1, "desc", :short => "a", :default => 0
|
411
|
+
@p.opt :arg2, "desc", :short => "b", :default => 0
|
412
|
+
opts = @p.parse %w(-- -a 3 -b 2)
|
413
|
+
assert_equal opts[:arg1], 0
|
414
|
+
assert_equal opts[:arg2], 0
|
415
|
+
assert_equal %w(-a 3 -b 2), @p.leftovers
|
416
|
+
opts = @p.parse %w(-a 3 -- -b 2)
|
417
|
+
assert_equal opts[:arg1], 3
|
418
|
+
assert_equal opts[:arg2], 0
|
419
|
+
assert_equal %w(-b 2), @p.leftovers
|
420
|
+
opts = @p.parse %w(-a 3 -b 2 --)
|
421
|
+
assert_equal opts[:arg1], 3
|
422
|
+
assert_equal opts[:arg2], 2
|
423
|
+
assert_equal %w(), @p.leftovers
|
424
|
+
end
|
425
|
+
|
426
|
+
def test_wrap
|
427
|
+
assert_equal [""], @p.wrap("")
|
428
|
+
assert_equal ["a"], @p.wrap("a")
|
429
|
+
assert_equal ["one two", "three"], @p.wrap("one two three", :width => 8)
|
430
|
+
assert_equal ["one two three"], @p.wrap("one two three", :width => 80)
|
431
|
+
assert_equal ["one", "two", "three"], @p.wrap("one two three", :width => 3)
|
432
|
+
assert_equal ["onetwothree"], @p.wrap("onetwothree", :width => 3)
|
433
|
+
assert_equal [
|
434
|
+
"Test is an awesome program that does something very, very important.",
|
435
|
+
"",
|
436
|
+
"Usage:",
|
437
|
+
" test [options] <filenames>+",
|
438
|
+
"where [options] are:"], @p.wrap(<<EOM, :width => 100)
|
439
|
+
Test is an awesome program that does something very, very important.
|
440
|
+
|
441
|
+
Usage:
|
442
|
+
test [options] <filenames>+
|
443
|
+
where [options] are:
|
444
|
+
EOM
|
445
|
+
end
|
446
|
+
|
447
|
+
def test_multi_line_description
|
448
|
+
out = StringIO.new
|
449
|
+
@p.opt :arg, <<-EOM, :type => :int
|
450
|
+
This is an arg
|
451
|
+
with a multi-line description
|
452
|
+
EOM
|
453
|
+
@p.educate(out)
|
454
|
+
assert_equal <<-EOM, out.string
|
455
|
+
Options:
|
456
|
+
--arg=<i> This is an arg
|
457
|
+
with a multi-line description
|
458
|
+
EOM
|
459
|
+
end
|
460
|
+
|
461
|
+
def test_integer_formatting
|
462
|
+
@p.opt :arg, "desc", :type => :integer, :short => "i"
|
463
|
+
opts = @p.parse %w(-i 5)
|
464
|
+
assert_equal 5, opts[:arg]
|
465
|
+
end
|
466
|
+
|
467
|
+
def test_integer_formatting_default
|
468
|
+
@p.opt :arg, "desc", :type => :integer, :short => "i", :default => 3
|
469
|
+
opts = @p.parse %w(-i)
|
470
|
+
assert_equal 3, opts[:arg]
|
471
|
+
end
|
472
|
+
|
473
|
+
def test_floating_point_formatting
|
474
|
+
@p.opt :arg, "desc", :type => :float, :short => "f"
|
475
|
+
opts = @p.parse %w(-f 1)
|
476
|
+
assert_equal 1.0, opts[:arg]
|
477
|
+
opts = @p.parse %w(-f 1.0)
|
478
|
+
assert_equal 1.0, opts[:arg]
|
479
|
+
opts = @p.parse %w(-f 0.1)
|
480
|
+
assert_equal 0.1, opts[:arg]
|
481
|
+
opts = @p.parse %w(-f .1)
|
482
|
+
assert_equal 0.1, opts[:arg]
|
483
|
+
opts = @p.parse %w(-f .99999999999999999999)
|
484
|
+
assert_equal 1.0, opts[:arg]
|
485
|
+
opts = @p.parse %w(-f -1)
|
486
|
+
assert_equal(-1.0, opts[:arg])
|
487
|
+
opts = @p.parse %w(-f -1.0)
|
488
|
+
assert_equal(-1.0, opts[:arg])
|
489
|
+
opts = @p.parse %w(-f -0.1)
|
490
|
+
assert_equal(-0.1, opts[:arg])
|
491
|
+
opts = @p.parse %w(-f -.1)
|
492
|
+
assert_equal(-0.1, opts[:arg])
|
493
|
+
assert_raises(CommandlineError) { @p.parse %w(-f a) }
|
494
|
+
assert_raises(CommandlineError) { @p.parse %w(-f 1a) }
|
495
|
+
assert_raises(CommandlineError) { @p.parse %w(-f 1.a) }
|
496
|
+
assert_raises(CommandlineError) { @p.parse %w(-f a.1) }
|
497
|
+
assert_raises(CommandlineError) { @p.parse %w(-f 1.0.0) }
|
498
|
+
assert_raises(CommandlineError) { @p.parse %w(-f .) }
|
499
|
+
assert_raises(CommandlineError) { @p.parse %w(-f -.) }
|
500
|
+
end
|
501
|
+
|
502
|
+
def test_floating_point_formatting_default
|
503
|
+
@p.opt :arg, "desc", :type => :float, :short => "f", :default => 5.5
|
504
|
+
opts = @p.parse %w(-f)
|
505
|
+
assert_equal 5.5, opts[:arg]
|
506
|
+
end
|
507
|
+
|
508
|
+
def test_date_formatting
|
509
|
+
@p.opt :arg, "desc", :type => :date, :short => 'd'
|
510
|
+
opts = @p.parse(['-d', 'Jan 4, 2007'])
|
511
|
+
assert_equal Date.civil(2007, 1, 4), opts[:arg]
|
512
|
+
opts = @p.parse(['-d', 'today'])
|
513
|
+
assert_equal Date.today, opts[:arg]
|
514
|
+
end
|
515
|
+
|
516
|
+
def test_short_options_cant_be_numeric
|
517
|
+
assert_raises(ArgumentError) { @p.opt :arg, "desc", :short => "-1" }
|
518
|
+
@p.opt :a1b, "desc"
|
519
|
+
@p.opt :a2b, "desc"
|
520
|
+
assert @p.specs[:a2b].short.to_i == 0
|
521
|
+
end
|
522
|
+
|
523
|
+
def test_short_options_can_be_weird
|
524
|
+
@p.opt :arg1, "desc", :short => "#"
|
525
|
+
@p.opt :arg2, "desc", :short => "."
|
526
|
+
assert_raises(ArgumentError) { @p.opt :arg3, "desc", :short => "-" }
|
527
|
+
end
|
528
|
+
|
529
|
+
def test_options_cant_be_set_multiple_times_if_not_specified
|
530
|
+
@p.opt :arg, "desc", :short => "-x"
|
531
|
+
@p.parse %w(-x)
|
532
|
+
assert_raises(CommandlineError) { @p.parse %w(-x -x) }
|
533
|
+
assert_raises(CommandlineError) { @p.parse %w(-xx) }
|
534
|
+
end
|
535
|
+
|
536
|
+
def test_options_can_be_set_multiple_times_if_specified
|
537
|
+
@p.opt :arg, "desc", :short => "-x", :multi => true
|
538
|
+
@p.parse %w(-x)
|
539
|
+
@p.parse %w(-x -x)
|
540
|
+
@p.parse %w(-xx)
|
541
|
+
end
|
542
|
+
|
543
|
+
def test_short_options_with_multiple_options
|
544
|
+
@p.opt :xarg, "desc", :short => "-x", :type => String, :multi => true
|
545
|
+
opts = @p.parse %w(-x a -x b)
|
546
|
+
assert_equal %w(a b), opts[:xarg]
|
547
|
+
assert_equal [], @p.leftovers
|
548
|
+
end
|
549
|
+
|
550
|
+
def test_short_options_with_multiple_options_does_not_affect_flags_type
|
551
|
+
@p.opt :xarg, "desc", :short => "-x", :type => :flag, :multi => true
|
552
|
+
|
553
|
+
opts = @p.parse %w(-x a)
|
554
|
+
assert_equal true, opts[:xarg]
|
555
|
+
assert_equal %w(a), @p.leftovers
|
556
|
+
|
557
|
+
opts = @p.parse %w(-x a -x b)
|
558
|
+
assert_equal true, opts[:xarg]
|
559
|
+
assert_equal %w(a b), @p.leftovers
|
560
|
+
|
561
|
+
opts = @p.parse %w(-xx a -x b)
|
562
|
+
assert_equal true, opts[:xarg]
|
563
|
+
assert_equal %w(a b), @p.leftovers
|
564
|
+
end
|
565
|
+
|
566
|
+
def test_short_options_with_multiple_arguments
|
567
|
+
@p.opt :xarg, "desc", :type => :ints
|
568
|
+
opts = @p.parse %w(-x 3 4 0)
|
569
|
+
assert_equal [3, 4, 0], opts[:xarg]
|
570
|
+
assert_equal [], @p.leftovers
|
571
|
+
|
572
|
+
@p.opt :yarg, "desc", :type => :floats
|
573
|
+
opts = @p.parse %w(-y 3.14 4.21 0.66)
|
574
|
+
assert_equal [3.14, 4.21, 0.66], opts[:yarg]
|
575
|
+
assert_equal [], @p.leftovers
|
576
|
+
|
577
|
+
@p.opt :zarg, "desc", :type => :strings
|
578
|
+
opts = @p.parse %w(-z a b c)
|
579
|
+
assert_equal %w(a b c), opts[:zarg]
|
580
|
+
assert_equal [], @p.leftovers
|
581
|
+
end
|
582
|
+
|
583
|
+
def test_short_options_with_multiple_options_and_arguments
|
584
|
+
@p.opt :xarg, "desc", :type => :ints, :multi => true
|
585
|
+
opts = @p.parse %w(-x 3 4 5 -x 6 7)
|
586
|
+
assert_equal [[3, 4, 5], [6, 7]], opts[:xarg]
|
587
|
+
assert_equal [], @p.leftovers
|
588
|
+
|
589
|
+
@p.opt :yarg, "desc", :type => :floats, :multi => true
|
590
|
+
opts = @p.parse %w(-y 3.14 4.21 5.66 -y 6.99 7.01)
|
591
|
+
assert_equal [[3.14, 4.21, 5.66], [6.99, 7.01]], opts[:yarg]
|
592
|
+
assert_equal [], @p.leftovers
|
593
|
+
|
594
|
+
@p.opt :zarg, "desc", :type => :strings, :multi => true
|
595
|
+
opts = @p.parse %w(-z a b c -z d e)
|
596
|
+
assert_equal [%w(a b c), %w(d e)], opts[:zarg]
|
597
|
+
assert_equal [], @p.leftovers
|
598
|
+
end
|
599
|
+
|
600
|
+
def test_combined_short_options_with_multiple_arguments
|
601
|
+
@p.opt :arg1, "desc", :short => "a"
|
602
|
+
@p.opt :arg2, "desc", :short => "b"
|
603
|
+
@p.opt :arg3, "desc", :short => "c", :type => :ints
|
604
|
+
@p.opt :arg4, "desc", :short => "d", :type => :floats
|
605
|
+
|
606
|
+
opts = @p.parse %w(-abc 4 6 9)
|
607
|
+
assert_equal true, opts[:arg1]
|
608
|
+
assert_equal true, opts[:arg2]
|
609
|
+
assert_equal [4, 6, 9], opts[:arg3]
|
610
|
+
|
611
|
+
opts = @p.parse %w(-ac 4 6 9 -bd 3.14 2.41)
|
612
|
+
assert_equal true, opts[:arg1]
|
613
|
+
assert_equal true, opts[:arg2]
|
614
|
+
assert_equal [4, 6, 9], opts[:arg3]
|
615
|
+
assert_equal [3.14, 2.41], opts[:arg4]
|
616
|
+
|
617
|
+
assert_raises(CommandlineError) { opts = @p.parse %w(-abcd 3.14 2.41) }
|
618
|
+
end
|
619
|
+
|
620
|
+
def test_long_options_with_multiple_options
|
621
|
+
@p.opt :xarg, "desc", :type => String, :multi => true
|
622
|
+
opts = @p.parse %w(--xarg=a --xarg=b)
|
623
|
+
assert_equal %w(a b), opts[:xarg]
|
624
|
+
assert_equal [], @p.leftovers
|
625
|
+
opts = @p.parse %w(--xarg a --xarg b)
|
626
|
+
assert_equal %w(a b), opts[:xarg]
|
627
|
+
assert_equal [], @p.leftovers
|
628
|
+
end
|
629
|
+
|
630
|
+
def test_long_options_with_multiple_arguments
|
631
|
+
@p.opt :xarg, "desc", :type => :ints
|
632
|
+
opts = @p.parse %w(--xarg 3 2 5)
|
633
|
+
assert_equal [3, 2, 5], opts[:xarg]
|
634
|
+
assert_equal [], @p.leftovers
|
635
|
+
opts = @p.parse %w(--xarg=3)
|
636
|
+
assert_equal [3], opts[:xarg]
|
637
|
+
assert_equal [], @p.leftovers
|
638
|
+
|
639
|
+
@p.opt :yarg, "desc", :type => :floats
|
640
|
+
opts = @p.parse %w(--yarg 3.14 2.41 5.66)
|
641
|
+
assert_equal [3.14, 2.41, 5.66], opts[:yarg]
|
642
|
+
assert_equal [], @p.leftovers
|
643
|
+
opts = @p.parse %w(--yarg=3.14)
|
644
|
+
assert_equal [3.14], opts[:yarg]
|
645
|
+
assert_equal [], @p.leftovers
|
646
|
+
|
647
|
+
@p.opt :zarg, "desc", :type => :strings
|
648
|
+
opts = @p.parse %w(--zarg a b c)
|
649
|
+
assert_equal %w(a b c), opts[:zarg]
|
650
|
+
assert_equal [], @p.leftovers
|
651
|
+
opts = @p.parse %w(--zarg=a)
|
652
|
+
assert_equal %w(a), opts[:zarg]
|
653
|
+
assert_equal [], @p.leftovers
|
654
|
+
end
|
655
|
+
|
656
|
+
def test_long_options_with_multiple_options_and_arguments
|
657
|
+
@p.opt :xarg, "desc", :type => :ints, :multi => true
|
658
|
+
opts = @p.parse %w(--xarg 3 2 5 --xarg 2 1)
|
659
|
+
assert_equal [[3, 2, 5], [2, 1]], opts[:xarg]
|
660
|
+
assert_equal [], @p.leftovers
|
661
|
+
opts = @p.parse %w(--xarg=3 --xarg=2)
|
662
|
+
assert_equal [[3], [2]], opts[:xarg]
|
663
|
+
assert_equal [], @p.leftovers
|
664
|
+
|
665
|
+
@p.opt :yarg, "desc", :type => :floats, :multi => true
|
666
|
+
opts = @p.parse %w(--yarg 3.14 2.72 5 --yarg 2.41 1.41)
|
667
|
+
assert_equal [[3.14, 2.72, 5], [2.41, 1.41]], opts[:yarg]
|
668
|
+
assert_equal [], @p.leftovers
|
669
|
+
opts = @p.parse %w(--yarg=3.14 --yarg=2.41)
|
670
|
+
assert_equal [[3.14], [2.41]], opts[:yarg]
|
671
|
+
assert_equal [], @p.leftovers
|
672
|
+
|
673
|
+
@p.opt :zarg, "desc", :type => :strings, :multi => true
|
674
|
+
opts = @p.parse %w(--zarg a b c --zarg d e)
|
675
|
+
assert_equal [%w(a b c), %w(d e)], opts[:zarg]
|
676
|
+
assert_equal [], @p.leftovers
|
677
|
+
opts = @p.parse %w(--zarg=a --zarg=d)
|
678
|
+
assert_equal [%w(a), %w(d)], opts[:zarg]
|
679
|
+
assert_equal [], @p.leftovers
|
680
|
+
end
|
681
|
+
|
682
|
+
def test_long_options_also_take_equals
|
683
|
+
@p.opt :arg, "desc", :long => "arg", :type => String, :default => "hello"
|
684
|
+
opts = @p.parse %w()
|
685
|
+
assert_equal "hello", opts[:arg]
|
686
|
+
opts = @p.parse %w(--arg goat)
|
687
|
+
assert_equal "goat", opts[:arg]
|
688
|
+
opts = @p.parse %w(--arg=goat)
|
689
|
+
assert_equal "goat", opts[:arg]
|
690
|
+
## actually, this next one is valid. empty string for --arg, and goat as a
|
691
|
+
## leftover.
|
692
|
+
## assert_raises(CommandlineError) { opts = @p.parse %w(--arg= goat) }
|
693
|
+
end
|
694
|
+
|
695
|
+
def test_auto_generated_long_names_convert_underscores_to_hyphens
|
696
|
+
@p.opt :hello_there
|
697
|
+
assert_equal "hello-there", @p.specs[:hello_there].long
|
698
|
+
end
|
699
|
+
|
700
|
+
def test_arguments_passed_through_block
|
701
|
+
@goat = 3
|
702
|
+
boat = 4
|
703
|
+
Parser.new(@goat) do |goat|
|
704
|
+
boat = goat
|
705
|
+
end
|
706
|
+
assert_equal @goat, boat
|
707
|
+
end
|
708
|
+
|
709
|
+
def test_version_and_help_override_errors
|
710
|
+
@p.opt :asdf, "desc", :type => String
|
711
|
+
@p.version "version"
|
712
|
+
@p.parse %w(--asdf goat)
|
713
|
+
assert_raises(CommandlineError) { @p.parse %w(--asdf) }
|
714
|
+
assert_raises(HelpNeeded) { @p.parse %w(--asdf --help) }
|
715
|
+
assert_raises(VersionNeeded) { @p.parse %w(--asdf --version) }
|
716
|
+
end
|
717
|
+
|
718
|
+
def test_conflicts
|
719
|
+
@p.opt :one
|
720
|
+
assert_raises(ArgumentError) { @p.conflicts :one, :two }
|
721
|
+
@p.opt :two
|
722
|
+
@p.conflicts :one, :two
|
723
|
+
@p.parse %w(--one)
|
724
|
+
@p.parse %w(--two)
|
725
|
+
assert_raises(CommandlineError) { @p.parse %w(--one --two) }
|
726
|
+
|
727
|
+
@p.opt :hello
|
728
|
+
@p.opt :yellow
|
729
|
+
@p.opt :mellow
|
730
|
+
@p.opt :jello
|
731
|
+
@p.conflicts :hello, :yellow, :mellow, :jello
|
732
|
+
assert_raises(CommandlineError) { @p.parse %w(--hello --yellow --mellow --jello) }
|
733
|
+
assert_raises(CommandlineError) { @p.parse %w(--hello --mellow --jello) }
|
734
|
+
assert_raises(CommandlineError) { @p.parse %w(--hello --jello) }
|
735
|
+
|
736
|
+
@p.parse %w(--hello)
|
737
|
+
@p.parse %w(--jello)
|
738
|
+
@p.parse %w(--yellow)
|
739
|
+
@p.parse %w(--mellow)
|
740
|
+
|
741
|
+
@p.parse %w(--mellow --one)
|
742
|
+
@p.parse %w(--mellow --two)
|
743
|
+
|
744
|
+
assert_raises(CommandlineError) { @p.parse %w(--mellow --two --jello) }
|
745
|
+
assert_raises(CommandlineError) { @p.parse %w(--one --mellow --two --jello) }
|
746
|
+
end
|
747
|
+
|
748
|
+
def test_conflict_error_messages
|
749
|
+
@p.opt :one
|
750
|
+
@p.opt "two"
|
751
|
+
@p.conflicts :one, "two"
|
752
|
+
|
753
|
+
assert_raises(CommandlineError, /--one.*--two/) { @p.parse %w(--one --two) }
|
754
|
+
end
|
755
|
+
|
756
|
+
def test_depends
|
757
|
+
@p.opt :one
|
758
|
+
assert_raises(ArgumentError) { @p.depends :one, :two }
|
759
|
+
@p.opt :two
|
760
|
+
@p.depends :one, :two
|
761
|
+
@p.parse %w(--one --two)
|
762
|
+
assert_raises(CommandlineError) { @p.parse %w(--one) }
|
763
|
+
assert_raises(CommandlineError) { @p.parse %w(--two) }
|
764
|
+
|
765
|
+
@p.opt :hello
|
766
|
+
@p.opt :yellow
|
767
|
+
@p.opt :mellow
|
768
|
+
@p.opt :jello
|
769
|
+
@p.depends :hello, :yellow, :mellow, :jello
|
770
|
+
@p.parse %w(--hello --yellow --mellow --jello)
|
771
|
+
assert_raises(CommandlineError) { @p.parse %w(--hello --mellow --jello) }
|
772
|
+
assert_raises(CommandlineError) { @p.parse %w(--hello --jello) }
|
773
|
+
|
774
|
+
assert_raises(CommandlineError) { @p.parse %w(--hello) }
|
775
|
+
assert_raises(CommandlineError) { @p.parse %w(--mellow) }
|
776
|
+
|
777
|
+
@p.parse %w(--hello --yellow --mellow --jello --one --two)
|
778
|
+
@p.parse %w(--hello --yellow --mellow --jello --one --two a b c)
|
779
|
+
|
780
|
+
assert_raises(CommandlineError) { @p.parse %w(--mellow --two --jello --one) }
|
781
|
+
end
|
782
|
+
|
783
|
+
def test_depend_error_messages
|
784
|
+
@p.opt :one
|
785
|
+
@p.opt "two"
|
786
|
+
@p.depends :one, "two"
|
787
|
+
|
788
|
+
@p.parse %w(--one --two)
|
789
|
+
|
790
|
+
assert_raises(CommandlineError, /--one.*--two/) { @p.parse %w(--one) }
|
791
|
+
assert_raises(CommandlineError, /--one.*--two/) { @p.parse %w(--two) }
|
792
|
+
end
|
793
|
+
|
794
|
+
## courtesy neill zero
|
795
|
+
def test_two_required_one_missing_accuses_correctly
|
796
|
+
@p.opt "arg1", "desc1", :required => true
|
797
|
+
@p.opt "arg2", "desc2", :required => true
|
798
|
+
|
799
|
+
assert_raises(CommandlineError, /arg2/) { @p.parse(%w(--arg1)) }
|
800
|
+
assert_raises(CommandlineError, /arg1/) { @p.parse(%w(--arg2)) }
|
801
|
+
@p.parse(%w(--arg1 --arg2))
|
802
|
+
end
|
803
|
+
|
804
|
+
def test_stopwords_mixed
|
805
|
+
@p.opt "arg1", :default => false
|
806
|
+
@p.opt "arg2", :default => false
|
807
|
+
@p.stop_on %w(happy sad)
|
808
|
+
|
809
|
+
opts = @p.parse %w(--arg1 happy --arg2)
|
810
|
+
assert_equal true, opts["arg1"]
|
811
|
+
assert_equal false, opts["arg2"]
|
812
|
+
|
813
|
+
## restart parsing
|
814
|
+
@p.leftovers.shift
|
815
|
+
opts = @p.parse @p.leftovers
|
816
|
+
assert_equal false, opts["arg1"]
|
817
|
+
assert_equal true, opts["arg2"]
|
818
|
+
end
|
819
|
+
|
820
|
+
def test_stopwords_no_stopwords
|
821
|
+
@p.opt "arg1", :default => false
|
822
|
+
@p.opt "arg2", :default => false
|
823
|
+
@p.stop_on %w(happy sad)
|
824
|
+
|
825
|
+
opts = @p.parse %w(--arg1 --arg2)
|
826
|
+
assert_equal true, opts["arg1"]
|
827
|
+
assert_equal true, opts["arg2"]
|
828
|
+
|
829
|
+
## restart parsing
|
830
|
+
@p.leftovers.shift
|
831
|
+
opts = @p.parse @p.leftovers
|
832
|
+
assert_equal false, opts["arg1"]
|
833
|
+
assert_equal false, opts["arg2"]
|
834
|
+
end
|
835
|
+
|
836
|
+
def test_stopwords_multiple_stopwords
|
837
|
+
@p.opt "arg1", :default => false
|
838
|
+
@p.opt "arg2", :default => false
|
839
|
+
@p.stop_on %w(happy sad)
|
840
|
+
|
841
|
+
opts = @p.parse %w(happy sad --arg1 --arg2)
|
842
|
+
assert_equal false, opts["arg1"]
|
843
|
+
assert_equal false, opts["arg2"]
|
844
|
+
|
845
|
+
## restart parsing
|
846
|
+
@p.leftovers.shift
|
847
|
+
opts = @p.parse @p.leftovers
|
848
|
+
assert_equal false, opts["arg1"]
|
849
|
+
assert_equal false, opts["arg2"]
|
850
|
+
|
851
|
+
## restart parsing again
|
852
|
+
@p.leftovers.shift
|
853
|
+
opts = @p.parse @p.leftovers
|
854
|
+
assert_equal true, opts["arg1"]
|
855
|
+
assert_equal true, opts["arg2"]
|
856
|
+
end
|
857
|
+
|
858
|
+
def test_stopwords_with_short_args
|
859
|
+
@p.opt :global_option, "This is a global option", :short => "-g"
|
860
|
+
@p.stop_on %w(sub-command-1 sub-command-2)
|
861
|
+
|
862
|
+
global_opts = @p.parse %w(-g sub-command-1 -c)
|
863
|
+
cmd = @p.leftovers.shift
|
864
|
+
|
865
|
+
@q = Parser.new
|
866
|
+
@q.opt :cmd_option, "This is an option only for the subcommand", :short => "-c"
|
867
|
+
cmd_opts = @q.parse @p.leftovers
|
868
|
+
|
869
|
+
assert_equal true, global_opts[:global_option]
|
870
|
+
assert_nil global_opts[:cmd_option]
|
871
|
+
|
872
|
+
assert_equal true, cmd_opts[:cmd_option]
|
873
|
+
assert_nil cmd_opts[:global_option]
|
874
|
+
|
875
|
+
assert_equal cmd, "sub-command-1"
|
876
|
+
assert_equal @q.leftovers, []
|
877
|
+
end
|
878
|
+
|
879
|
+
def test_unknown_subcommand
|
880
|
+
@p.opt :global_flag, "Global flag", :short => "-g", :type => :flag
|
881
|
+
@p.opt :global_param, "Global parameter", :short => "-p", :default => 5
|
882
|
+
@p.stop_on_unknown
|
883
|
+
|
884
|
+
expected_opts = { :global_flag => true, :help => false, :global_param => 5, :global_flag_given => true }
|
885
|
+
expected_leftovers = [ "my_subcommand", "-c" ]
|
886
|
+
|
887
|
+
assert_parses_correctly @p, %w(--global-flag my_subcommand -c), \
|
888
|
+
expected_opts, expected_leftovers
|
889
|
+
assert_parses_correctly @p, %w(-g my_subcommand -c), \
|
890
|
+
expected_opts, expected_leftovers
|
891
|
+
|
892
|
+
expected_opts = { :global_flag => false, :help => false, :global_param => 5, :global_param_given => true }
|
893
|
+
expected_leftovers = [ "my_subcommand", "-c" ]
|
894
|
+
|
895
|
+
assert_parses_correctly @p, %w(-p 5 my_subcommand -c), \
|
896
|
+
expected_opts, expected_leftovers
|
897
|
+
assert_parses_correctly @p, %w(--global-param 5 my_subcommand -c), \
|
898
|
+
expected_opts, expected_leftovers
|
899
|
+
end
|
900
|
+
|
901
|
+
def test_alternate_args
|
902
|
+
args = %w(-a -b -c)
|
903
|
+
|
904
|
+
opts = ::Optimist.options(args) do
|
905
|
+
opt :alpher, "Ralph Alpher", :short => "-a"
|
906
|
+
opt :bethe, "Hans Bethe", :short => "-b"
|
907
|
+
opt :gamow, "George Gamow", :short => "-c"
|
908
|
+
end
|
909
|
+
|
910
|
+
physicists_with_humor = [:alpher, :bethe, :gamow]
|
911
|
+
physicists_with_humor.each do |physicist|
|
912
|
+
assert_equal true, opts[physicist]
|
913
|
+
end
|
914
|
+
end
|
915
|
+
|
916
|
+
def test_date_arg_type
|
917
|
+
temp = Date.new
|
918
|
+
@p.opt :arg, 'desc', :type => :date
|
919
|
+
@p.opt :arg2, 'desc', :type => Date
|
920
|
+
@p.opt :arg3, 'desc', :default => temp
|
921
|
+
|
922
|
+
opts = @p.parse []
|
923
|
+
assert_equal temp, opts[:arg3]
|
924
|
+
|
925
|
+
opts = @p.parse %w(--arg 5/1/2010)
|
926
|
+
assert_kind_of Date, opts[:arg]
|
927
|
+
assert_equal Date.new(2010, 5, 1), opts[:arg]
|
928
|
+
|
929
|
+
opts = @p.parse %w(--arg2 5/1/2010)
|
930
|
+
assert_kind_of Date, opts[:arg2]
|
931
|
+
assert_equal Date.new(2010, 5, 1), opts[:arg2]
|
932
|
+
|
933
|
+
opts = @p.parse %w(--arg3)
|
934
|
+
assert_equal temp, opts[:arg3]
|
935
|
+
end
|
936
|
+
|
937
|
+
def test_unknown_arg_class_type
|
938
|
+
assert_raises ArgumentError do
|
939
|
+
@p.opt :arg, 'desc', :type => Hash
|
940
|
+
end
|
941
|
+
end
|
942
|
+
|
943
|
+
def test_io_arg_type
|
944
|
+
@p.opt :arg, "desc", :type => :io
|
945
|
+
@p.opt :arg2, "desc", :type => IO
|
946
|
+
@p.opt :arg3, "desc", :default => $stdout
|
947
|
+
|
948
|
+
opts = @p.parse []
|
949
|
+
assert_equal $stdout, opts[:arg3]
|
950
|
+
|
951
|
+
opts = @p.parse %w(--arg /dev/null)
|
952
|
+
assert_kind_of File, opts[:arg]
|
953
|
+
assert_equal "/dev/null", opts[:arg].path
|
954
|
+
|
955
|
+
#TODO: move to mocks
|
956
|
+
#opts = @p.parse %w(--arg2 http://google.com/)
|
957
|
+
#assert_kind_of StringIO, opts[:arg2]
|
958
|
+
|
959
|
+
opts = @p.parse %w(--arg3 stdin)
|
960
|
+
assert_equal $stdin, opts[:arg3]
|
961
|
+
|
962
|
+
assert_raises(CommandlineError) { opts = @p.parse %w(--arg /fdasfasef/fessafef/asdfasdfa/fesasf) }
|
963
|
+
end
|
964
|
+
|
965
|
+
def test_openstruct_style_access
|
966
|
+
@p.opt "arg1", "desc", :type => :int
|
967
|
+
@p.opt :arg2, "desc", :type => :int
|
968
|
+
|
969
|
+
opts = @p.parse(%w(--arg1 3 --arg2 4))
|
970
|
+
|
971
|
+
opts.arg1
|
972
|
+
opts.arg2
|
973
|
+
assert_equal 3, opts.arg1
|
974
|
+
assert_equal 4, opts.arg2
|
975
|
+
end
|
976
|
+
|
977
|
+
def test_multi_args_autobox_defaults
|
978
|
+
@p.opt :arg1, "desc", :default => "hello", :multi => true
|
979
|
+
@p.opt :arg2, "desc", :default => ["hello"], :multi => true
|
980
|
+
|
981
|
+
opts = @p.parse []
|
982
|
+
assert_equal ["hello"], opts[:arg1]
|
983
|
+
assert_equal ["hello"], opts[:arg2]
|
984
|
+
|
985
|
+
opts = @p.parse %w(--arg1 hello)
|
986
|
+
assert_equal ["hello"], opts[:arg1]
|
987
|
+
assert_equal ["hello"], opts[:arg2]
|
988
|
+
|
989
|
+
opts = @p.parse %w(--arg1 hello --arg1 there)
|
990
|
+
assert_equal ["hello", "there"], opts[:arg1]
|
991
|
+
end
|
992
|
+
|
993
|
+
def test_ambigious_multi_plus_array_default_resolved_as_specified_by_documentation
|
994
|
+
@p.opt :arg1, "desc", :default => ["potato"], :multi => true
|
995
|
+
@p.opt :arg2, "desc", :default => ["potato"], :multi => true, :type => :strings
|
996
|
+
@p.opt :arg3, "desc", :default => ["potato"]
|
997
|
+
@p.opt :arg4, "desc", :default => ["potato", "rhubarb"], :short => :none, :multi => true
|
998
|
+
|
999
|
+
## arg1 should be multi-occurring but not multi-valued
|
1000
|
+
opts = @p.parse %w(--arg1 one two)
|
1001
|
+
assert_equal ["one"], opts[:arg1]
|
1002
|
+
assert_equal ["two"], @p.leftovers
|
1003
|
+
|
1004
|
+
opts = @p.parse %w(--arg1 one --arg1 two)
|
1005
|
+
assert_equal ["one", "two"], opts[:arg1]
|
1006
|
+
assert_equal [], @p.leftovers
|
1007
|
+
|
1008
|
+
## arg2 should be multi-valued and multi-occurring
|
1009
|
+
opts = @p.parse %w(--arg2 one two)
|
1010
|
+
assert_equal [["one", "two"]], opts[:arg2]
|
1011
|
+
assert_equal [], @p.leftovers
|
1012
|
+
|
1013
|
+
## arg3 should be multi-valued but not multi-occurring
|
1014
|
+
opts = @p.parse %w(--arg3 one two)
|
1015
|
+
assert_equal ["one", "two"], opts[:arg3]
|
1016
|
+
assert_equal [], @p.leftovers
|
1017
|
+
|
1018
|
+
## arg4 should be multi-valued but not multi-occurring
|
1019
|
+
opts = @p.parse %w()
|
1020
|
+
assert_equal ["potato", "rhubarb"], opts[:arg4]
|
1021
|
+
end
|
1022
|
+
|
1023
|
+
def test_given_keys
|
1024
|
+
@p.opt :arg1
|
1025
|
+
@p.opt :arg2
|
1026
|
+
|
1027
|
+
opts = @p.parse %w(--arg1)
|
1028
|
+
assert opts[:arg1_given]
|
1029
|
+
assert !opts[:arg2_given]
|
1030
|
+
|
1031
|
+
opts = @p.parse %w(--arg2)
|
1032
|
+
assert !opts[:arg1_given]
|
1033
|
+
assert opts[:arg2_given]
|
1034
|
+
|
1035
|
+
opts = @p.parse []
|
1036
|
+
assert !opts[:arg1_given]
|
1037
|
+
assert !opts[:arg2_given]
|
1038
|
+
|
1039
|
+
opts = @p.parse %w(--arg1 --arg2)
|
1040
|
+
assert opts[:arg1_given]
|
1041
|
+
assert opts[:arg2_given]
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
def test_default_shorts_assigned_only_after_user_shorts
|
1045
|
+
@p.opt :aab, "aaa" # should be assigned to -b
|
1046
|
+
@p.opt :ccd, "bbb" # should be assigned to -d
|
1047
|
+
@p.opt :user1, "user1", :short => 'a'
|
1048
|
+
@p.opt :user2, "user2", :short => 'c'
|
1049
|
+
|
1050
|
+
opts = @p.parse %w(-a -b)
|
1051
|
+
assert opts[:user1]
|
1052
|
+
assert !opts[:user2]
|
1053
|
+
assert opts[:aab]
|
1054
|
+
assert !opts[:ccd]
|
1055
|
+
|
1056
|
+
opts = @p.parse %w(-c -d)
|
1057
|
+
assert !opts[:user1]
|
1058
|
+
assert opts[:user2]
|
1059
|
+
assert !opts[:aab]
|
1060
|
+
assert opts[:ccd]
|
1061
|
+
end
|
1062
|
+
|
1063
|
+
def test_accepts_arguments_with_spaces
|
1064
|
+
@p.opt :arg1, "arg", :type => String
|
1065
|
+
@p.opt :arg2, "arg2", :type => String
|
1066
|
+
|
1067
|
+
opts = @p.parse ["--arg1", "hello there", "--arg2=hello there"]
|
1068
|
+
assert_equal "hello there", opts[:arg1]
|
1069
|
+
assert_equal "hello there", opts[:arg2]
|
1070
|
+
assert_equal 0, @p.leftovers.size
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
def test_multi_args_default_to_empty_array
|
1074
|
+
@p.opt :arg1, "arg", :multi => true
|
1075
|
+
opts = @p.parse []
|
1076
|
+
assert_equal [], opts[:arg1]
|
1077
|
+
end
|
1078
|
+
|
1079
|
+
def test_simple_interface_handles_help
|
1080
|
+
assert_stdout(/Options:/) do
|
1081
|
+
assert_raises(SystemExit) do
|
1082
|
+
::Optimist::options(%w(-h)) do
|
1083
|
+
opt :potato
|
1084
|
+
end
|
1085
|
+
end
|
1086
|
+
end
|
1087
|
+
|
1088
|
+
# ensure regular status is returned
|
1089
|
+
|
1090
|
+
assert_stdout do
|
1091
|
+
begin
|
1092
|
+
::Optimist::options(%w(-h)) do
|
1093
|
+
opt :potato
|
1094
|
+
end
|
1095
|
+
rescue SystemExit => e
|
1096
|
+
assert_equal 0, e.status
|
1097
|
+
end
|
1098
|
+
end
|
1099
|
+
end
|
1100
|
+
|
1101
|
+
def test_simple_interface_handles_version
|
1102
|
+
assert_stdout(/1.2/) do
|
1103
|
+
assert_raises(SystemExit) do
|
1104
|
+
::Optimist::options(%w(-v)) do
|
1105
|
+
version "1.2"
|
1106
|
+
opt :potato
|
1107
|
+
end
|
1108
|
+
end
|
1109
|
+
end
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
def test_simple_interface_handles_regular_usage
|
1113
|
+
opts = ::Optimist::options(%w(--potato)) do
|
1114
|
+
opt :potato
|
1115
|
+
end
|
1116
|
+
assert opts[:potato]
|
1117
|
+
end
|
1118
|
+
|
1119
|
+
def test_simple_interface_handles_die
|
1120
|
+
assert_stderr do
|
1121
|
+
::Optimist::options(%w(--potato)) do
|
1122
|
+
opt :potato
|
1123
|
+
end
|
1124
|
+
assert_raises(SystemExit) { ::Optimist::die :potato, "is invalid" }
|
1125
|
+
end
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
def test_simple_interface_handles_die_without_message
|
1129
|
+
assert_stderr(/Error:/) do
|
1130
|
+
::Optimist::options(%w(--potato)) do
|
1131
|
+
opt :potato
|
1132
|
+
end
|
1133
|
+
assert_raises(SystemExit) { ::Optimist::die :potato }
|
1134
|
+
end
|
1135
|
+
end
|
1136
|
+
|
1137
|
+
def test_invalid_option_with_simple_interface
|
1138
|
+
assert_stderr do
|
1139
|
+
assert_raises(SystemExit) do
|
1140
|
+
::Optimist.options(%w(--potato))
|
1141
|
+
end
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
assert_stderr do
|
1145
|
+
begin
|
1146
|
+
::Optimist.options(%w(--potato))
|
1147
|
+
rescue SystemExit => e
|
1148
|
+
assert_equal(-1, e.status)
|
1149
|
+
end
|
1150
|
+
end
|
1151
|
+
end
|
1152
|
+
|
1153
|
+
def test_supports_callback_inline
|
1154
|
+
assert_raises(RuntimeError, "good") do
|
1155
|
+
@p.opt :cb1 do |vals|
|
1156
|
+
raise "good"
|
1157
|
+
end
|
1158
|
+
@p.parse(%w(--cb1))
|
1159
|
+
end
|
1160
|
+
end
|
1161
|
+
|
1162
|
+
def test_supports_callback_param
|
1163
|
+
assert_raises(RuntimeError, "good") do
|
1164
|
+
@p.opt :cb1, "with callback", :callback => lambda { |vals| raise "good" }
|
1165
|
+
@p.parse(%w(--cb1))
|
1166
|
+
end
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
def test_ignore_invalid_options
|
1170
|
+
@p.opt :arg1, "desc", :type => String
|
1171
|
+
@p.opt :b, "desc", :type => String
|
1172
|
+
@p.opt :c, "desc", :type => :flag
|
1173
|
+
@p.opt :d, "desc", :type => :flag
|
1174
|
+
@p.ignore_invalid_options = true
|
1175
|
+
opts = @p.parse %w{unknown -S param --arg1 potato -fb daisy --foo -ecg --bar baz -z}
|
1176
|
+
assert_equal "potato", opts[:arg1]
|
1177
|
+
assert_equal "daisy", opts[:b]
|
1178
|
+
assert opts[:c]
|
1179
|
+
refute opts[:d]
|
1180
|
+
assert_equal %w{unknown -S param -f --foo -eg --bar baz -z}, @p.leftovers
|
1181
|
+
end
|
1182
|
+
|
1183
|
+
def test_ignore_invalid_options_stop_on_unknown_long
|
1184
|
+
@p.opt :arg1, "desc", :type => String
|
1185
|
+
@p.ignore_invalid_options = true
|
1186
|
+
@p.stop_on_unknown
|
1187
|
+
opts = @p.parse %w{--unk --arg1 potato}
|
1188
|
+
refute opts[:arg1]
|
1189
|
+
assert_equal %w{--unk --arg1 potato}, @p.leftovers
|
1190
|
+
end
|
1191
|
+
|
1192
|
+
def test_ignore_invalid_options_stop_on_unknown_short
|
1193
|
+
@p.opt :arg1, "desc", :type => String
|
1194
|
+
@p.ignore_invalid_options = true
|
1195
|
+
@p.stop_on_unknown
|
1196
|
+
opts = @p.parse %w{-ua potato}
|
1197
|
+
refute opts[:arg1]
|
1198
|
+
assert_equal %w{-ua potato}, @p.leftovers
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
def test_ignore_invalid_options_stop_on_unknown_partial_end_short
|
1202
|
+
@p.opt :arg1, "desc", :type => :flag
|
1203
|
+
@p.ignore_invalid_options = true
|
1204
|
+
@p.stop_on_unknown
|
1205
|
+
opts = @p.parse %w{-au potato}
|
1206
|
+
assert opts[:arg1]
|
1207
|
+
assert_equal %w{-u potato}, @p.leftovers
|
1208
|
+
end
|
1209
|
+
|
1210
|
+
def test_ignore_invalid_options_stop_on_unknown_partial_mid_short
|
1211
|
+
@p.opt :arg1, "desc", :type => :flag
|
1212
|
+
@p.ignore_invalid_options = true
|
1213
|
+
@p.stop_on_unknown
|
1214
|
+
opts = @p.parse %w{-abu potato}
|
1215
|
+
assert opts[:arg1]
|
1216
|
+
assert_equal %w{-bu potato}, @p.leftovers
|
1217
|
+
end
|
1218
|
+
end
|
1219
|
+
|
1220
|
+
end
|