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,1862 @@
|
|
1
|
+
/**********************************************************************
|
2
|
+
|
3
|
+
stringio.c -
|
4
|
+
|
5
|
+
$Author$
|
6
|
+
$RoughId: stringio.c,v 1.13 2002/03/14 03:24:18 nobu Exp $
|
7
|
+
created at: Tue Feb 19 04:10:38 JST 2002
|
8
|
+
|
9
|
+
All the files in this distribution are covered under the Ruby's
|
10
|
+
license (see the file COPYING).
|
11
|
+
|
12
|
+
**********************************************************************/
|
13
|
+
|
14
|
+
#define STRINGIO_VERSION "3.0.0"
|
15
|
+
|
16
|
+
#include "ruby.h"
|
17
|
+
#include "ruby/io.h"
|
18
|
+
#include "ruby/encoding.h"
|
19
|
+
#if defined(HAVE_FCNTL_H) || defined(_WIN32)
|
20
|
+
#include <fcntl.h>
|
21
|
+
#elif defined(HAVE_SYS_FCNTL_H)
|
22
|
+
#include <sys/fcntl.h>
|
23
|
+
#endif
|
24
|
+
|
25
|
+
#ifndef RB_INTEGER_TYPE_P
|
26
|
+
# define RB_INTEGER_TYPE_P(c) (FIXNUM_P(c) || RB_TYPE_P(c, T_BIGNUM))
|
27
|
+
#endif
|
28
|
+
|
29
|
+
#ifndef RB_PASS_CALLED_KEYWORDS
|
30
|
+
# define rb_funcallv_kw(recv, mid, arg, argv, kw_splat) rb_funcallv(recv, mid, arg, argv)
|
31
|
+
# define rb_class_new_instance_kw(argc, argv, klass, kw_splat) rb_class_new_instance(argc, argv, klass)
|
32
|
+
#endif
|
33
|
+
|
34
|
+
#ifndef HAVE_RB_IO_EXTRACT_MODEENC
|
35
|
+
#define rb_io_extract_modeenc strio_extract_modeenc
|
36
|
+
static void
|
37
|
+
strio_extract_modeenc(VALUE *vmode_p, VALUE *vperm_p, VALUE opthash,
|
38
|
+
int *oflags_p, int *fmode_p, struct rb_io_enc_t *convconfig_p)
|
39
|
+
{
|
40
|
+
VALUE mode = *vmode_p;
|
41
|
+
VALUE intmode;
|
42
|
+
int fmode;
|
43
|
+
int has_enc = 0, has_vmode = 0;
|
44
|
+
|
45
|
+
convconfig_p->enc = convconfig_p->enc2 = 0;
|
46
|
+
|
47
|
+
vmode_handle:
|
48
|
+
if (NIL_P(mode)) {
|
49
|
+
fmode = FMODE_READABLE;
|
50
|
+
}
|
51
|
+
else if (!NIL_P(intmode = rb_check_to_integer(mode, "to_int"))) {
|
52
|
+
int flags = NUM2INT(intmode);
|
53
|
+
fmode = rb_io_oflags_fmode(flags);
|
54
|
+
}
|
55
|
+
else {
|
56
|
+
const char *m = StringValueCStr(mode), *n, *e;
|
57
|
+
fmode = rb_io_modestr_fmode(m);
|
58
|
+
n = strchr(m, ':');
|
59
|
+
if (n) {
|
60
|
+
long len;
|
61
|
+
char encname[ENCODING_MAXNAMELEN+1];
|
62
|
+
has_enc = 1;
|
63
|
+
if (fmode & FMODE_SETENC_BY_BOM) {
|
64
|
+
n = strchr(n, '|');
|
65
|
+
}
|
66
|
+
e = strchr(++n, ':');
|
67
|
+
len = e ? e - n : strlen(n);
|
68
|
+
if (len > 0 && len <= ENCODING_MAXNAMELEN) {
|
69
|
+
if (e) {
|
70
|
+
memcpy(encname, n, len);
|
71
|
+
encname[len] = '\0';
|
72
|
+
n = encname;
|
73
|
+
}
|
74
|
+
convconfig_p->enc = rb_enc_find(n);
|
75
|
+
}
|
76
|
+
if (e && (len = strlen(++e)) > 0 && len <= ENCODING_MAXNAMELEN) {
|
77
|
+
convconfig_p->enc2 = rb_enc_find(e);
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
if (!NIL_P(opthash)) {
|
83
|
+
rb_encoding *extenc = 0, *intenc = 0;
|
84
|
+
VALUE v;
|
85
|
+
if (!has_vmode) {
|
86
|
+
ID id_mode;
|
87
|
+
CONST_ID(id_mode, "mode");
|
88
|
+
v = rb_hash_aref(opthash, ID2SYM(id_mode));
|
89
|
+
if (!NIL_P(v)) {
|
90
|
+
if (!NIL_P(mode)) {
|
91
|
+
rb_raise(rb_eArgError, "mode specified twice");
|
92
|
+
}
|
93
|
+
has_vmode = 1;
|
94
|
+
mode = v;
|
95
|
+
goto vmode_handle;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
if (rb_io_extract_encoding_option(opthash, &extenc, &intenc, &fmode)) {
|
100
|
+
if (has_enc) {
|
101
|
+
rb_raise(rb_eArgError, "encoding specified twice");
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
*fmode_p = fmode;
|
106
|
+
}
|
107
|
+
#endif
|
108
|
+
|
109
|
+
struct StringIO {
|
110
|
+
VALUE string;
|
111
|
+
rb_encoding *enc;
|
112
|
+
long pos;
|
113
|
+
long lineno;
|
114
|
+
int flags;
|
115
|
+
int count;
|
116
|
+
};
|
117
|
+
|
118
|
+
static VALUE strio_init(int, VALUE *, struct StringIO *, VALUE);
|
119
|
+
static VALUE strio_unget_bytes(struct StringIO *, const char *, long);
|
120
|
+
static long strio_write(VALUE self, VALUE str);
|
121
|
+
|
122
|
+
#define IS_STRIO(obj) (rb_typeddata_is_kind_of((obj), &strio_data_type))
|
123
|
+
#define error_inval(msg) (rb_syserr_fail(EINVAL, msg))
|
124
|
+
#define get_enc(ptr) ((ptr)->enc ? (ptr)->enc : rb_enc_get((ptr)->string))
|
125
|
+
|
126
|
+
static struct StringIO *
|
127
|
+
strio_alloc(void)
|
128
|
+
{
|
129
|
+
struct StringIO *ptr = ALLOC(struct StringIO);
|
130
|
+
ptr->string = Qnil;
|
131
|
+
ptr->pos = 0;
|
132
|
+
ptr->lineno = 0;
|
133
|
+
ptr->flags = 0;
|
134
|
+
ptr->count = 1;
|
135
|
+
return ptr;
|
136
|
+
}
|
137
|
+
|
138
|
+
static void
|
139
|
+
strio_mark(void *p)
|
140
|
+
{
|
141
|
+
struct StringIO *ptr = p;
|
142
|
+
|
143
|
+
rb_gc_mark(ptr->string);
|
144
|
+
}
|
145
|
+
|
146
|
+
static void
|
147
|
+
strio_free(void *p)
|
148
|
+
{
|
149
|
+
struct StringIO *ptr = p;
|
150
|
+
if (--ptr->count <= 0) {
|
151
|
+
xfree(ptr);
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
static size_t
|
156
|
+
strio_memsize(const void *p)
|
157
|
+
{
|
158
|
+
return sizeof(struct StringIO);
|
159
|
+
}
|
160
|
+
|
161
|
+
static const rb_data_type_t strio_data_type = {
|
162
|
+
"strio",
|
163
|
+
{
|
164
|
+
strio_mark,
|
165
|
+
strio_free,
|
166
|
+
strio_memsize,
|
167
|
+
},
|
168
|
+
0, 0, RUBY_TYPED_FREE_IMMEDIATELY
|
169
|
+
};
|
170
|
+
|
171
|
+
#define check_strio(self) ((struct StringIO*)rb_check_typeddata((self), &strio_data_type))
|
172
|
+
|
173
|
+
static struct StringIO*
|
174
|
+
get_strio(VALUE self)
|
175
|
+
{
|
176
|
+
struct StringIO *ptr = check_strio(rb_io_taint_check(self));
|
177
|
+
|
178
|
+
if (!ptr) {
|
179
|
+
rb_raise(rb_eIOError, "uninitialized stream");
|
180
|
+
}
|
181
|
+
return ptr;
|
182
|
+
}
|
183
|
+
|
184
|
+
static VALUE
|
185
|
+
enc_subseq(VALUE str, long pos, long len, rb_encoding *enc)
|
186
|
+
{
|
187
|
+
str = rb_str_subseq(str, pos, len);
|
188
|
+
rb_enc_associate(str, enc);
|
189
|
+
return str;
|
190
|
+
}
|
191
|
+
|
192
|
+
static VALUE
|
193
|
+
strio_substr(struct StringIO *ptr, long pos, long len, rb_encoding *enc)
|
194
|
+
{
|
195
|
+
VALUE str = ptr->string;
|
196
|
+
long rlen = RSTRING_LEN(str) - pos;
|
197
|
+
|
198
|
+
if (len > rlen) len = rlen;
|
199
|
+
if (len < 0) len = 0;
|
200
|
+
if (len == 0) return rb_enc_str_new(0, 0, enc);
|
201
|
+
return enc_subseq(str, pos, len, enc);
|
202
|
+
}
|
203
|
+
|
204
|
+
#define StringIO(obj) get_strio(obj)
|
205
|
+
|
206
|
+
#define STRIO_READABLE FL_USER4
|
207
|
+
#define STRIO_WRITABLE FL_USER5
|
208
|
+
#define STRIO_READWRITE (STRIO_READABLE|STRIO_WRITABLE)
|
209
|
+
typedef char strio_flags_check[(STRIO_READABLE/FMODE_READABLE == STRIO_WRITABLE/FMODE_WRITABLE) * 2 - 1];
|
210
|
+
#define STRIO_MODE_SET_P(strio, mode) \
|
211
|
+
((RBASIC(strio)->flags & STRIO_##mode) && \
|
212
|
+
((struct StringIO*)DATA_PTR(strio))->flags & FMODE_##mode)
|
213
|
+
#define CLOSED(strio) (!STRIO_MODE_SET_P(strio, READWRITE))
|
214
|
+
#define READABLE(strio) STRIO_MODE_SET_P(strio, READABLE)
|
215
|
+
#define WRITABLE(strio) STRIO_MODE_SET_P(strio, WRITABLE)
|
216
|
+
|
217
|
+
static VALUE sym_exception;
|
218
|
+
|
219
|
+
static struct StringIO*
|
220
|
+
readable(VALUE strio)
|
221
|
+
{
|
222
|
+
struct StringIO *ptr = StringIO(strio);
|
223
|
+
if (!READABLE(strio)) {
|
224
|
+
rb_raise(rb_eIOError, "not opened for reading");
|
225
|
+
}
|
226
|
+
return ptr;
|
227
|
+
}
|
228
|
+
|
229
|
+
static struct StringIO*
|
230
|
+
writable(VALUE strio)
|
231
|
+
{
|
232
|
+
struct StringIO *ptr = StringIO(strio);
|
233
|
+
if (!WRITABLE(strio)) {
|
234
|
+
rb_raise(rb_eIOError, "not opened for writing");
|
235
|
+
}
|
236
|
+
return ptr;
|
237
|
+
}
|
238
|
+
|
239
|
+
static void
|
240
|
+
check_modifiable(struct StringIO *ptr)
|
241
|
+
{
|
242
|
+
if (OBJ_FROZEN(ptr->string)) {
|
243
|
+
rb_raise(rb_eIOError, "not modifiable string");
|
244
|
+
}
|
245
|
+
}
|
246
|
+
|
247
|
+
static VALUE
|
248
|
+
strio_s_allocate(VALUE klass)
|
249
|
+
{
|
250
|
+
return TypedData_Wrap_Struct(klass, &strio_data_type, 0);
|
251
|
+
}
|
252
|
+
|
253
|
+
/*
|
254
|
+
* call-seq: StringIO.new(string=""[, mode])
|
255
|
+
*
|
256
|
+
* Creates new StringIO instance from with _string_ and _mode_.
|
257
|
+
*/
|
258
|
+
static VALUE
|
259
|
+
strio_initialize(int argc, VALUE *argv, VALUE self)
|
260
|
+
{
|
261
|
+
struct StringIO *ptr = check_strio(self);
|
262
|
+
|
263
|
+
if (!ptr) {
|
264
|
+
DATA_PTR(self) = ptr = strio_alloc();
|
265
|
+
}
|
266
|
+
rb_call_super(0, 0);
|
267
|
+
return strio_init(argc, argv, ptr, self);
|
268
|
+
}
|
269
|
+
|
270
|
+
static int
|
271
|
+
detect_bom(VALUE str, int *bomlen)
|
272
|
+
{
|
273
|
+
const char *p;
|
274
|
+
long len;
|
275
|
+
|
276
|
+
RSTRING_GETMEM(str, p, len);
|
277
|
+
if (len < 1) return 0;
|
278
|
+
switch ((unsigned char)p[0]) {
|
279
|
+
case 0xEF:
|
280
|
+
if (len < 2) break;
|
281
|
+
if ((unsigned char)p[1] == 0xBB && len > 2) {
|
282
|
+
if ((unsigned char)p[2] == 0xBF) {
|
283
|
+
*bomlen = 3;
|
284
|
+
return rb_utf8_encindex();
|
285
|
+
}
|
286
|
+
}
|
287
|
+
break;
|
288
|
+
|
289
|
+
case 0xFE:
|
290
|
+
if (len < 2) break;
|
291
|
+
if ((unsigned char)p[1] == 0xFF) {
|
292
|
+
*bomlen = 2;
|
293
|
+
return rb_enc_find_index("UTF-16BE");
|
294
|
+
}
|
295
|
+
break;
|
296
|
+
|
297
|
+
case 0xFF:
|
298
|
+
if (len < 2) break;
|
299
|
+
if ((unsigned char)p[1] == 0xFE) {
|
300
|
+
if (len >= 4 && (unsigned char)p[2] == 0 && (unsigned char)p[3] == 0) {
|
301
|
+
*bomlen = 4;
|
302
|
+
return rb_enc_find_index("UTF-32LE");
|
303
|
+
}
|
304
|
+
*bomlen = 2;
|
305
|
+
return rb_enc_find_index("UTF-16LE");
|
306
|
+
}
|
307
|
+
break;
|
308
|
+
|
309
|
+
case 0:
|
310
|
+
if (len < 4) break;
|
311
|
+
if ((unsigned char)p[1] == 0 && (unsigned char)p[2] == 0xFE && (unsigned char)p[3] == 0xFF) {
|
312
|
+
*bomlen = 4;
|
313
|
+
return rb_enc_find_index("UTF-32BE");
|
314
|
+
}
|
315
|
+
break;
|
316
|
+
}
|
317
|
+
return 0;
|
318
|
+
}
|
319
|
+
|
320
|
+
static rb_encoding *
|
321
|
+
set_encoding_by_bom(struct StringIO *ptr)
|
322
|
+
{
|
323
|
+
int bomlen, idx = detect_bom(ptr->string, &bomlen);
|
324
|
+
rb_encoding *extenc = NULL;
|
325
|
+
|
326
|
+
if (idx) {
|
327
|
+
extenc = rb_enc_from_index(idx);
|
328
|
+
ptr->pos = bomlen;
|
329
|
+
if (ptr->flags & FMODE_WRITABLE) {
|
330
|
+
rb_enc_associate_index(ptr->string, idx);
|
331
|
+
}
|
332
|
+
}
|
333
|
+
ptr->enc = extenc;
|
334
|
+
return extenc;
|
335
|
+
}
|
336
|
+
|
337
|
+
static VALUE
|
338
|
+
strio_init(int argc, VALUE *argv, struct StringIO *ptr, VALUE self)
|
339
|
+
{
|
340
|
+
VALUE string, vmode, opt;
|
341
|
+
int oflags;
|
342
|
+
struct rb_io_enc_t convconfig;
|
343
|
+
|
344
|
+
argc = rb_scan_args(argc, argv, "02:", &string, &vmode, &opt);
|
345
|
+
rb_io_extract_modeenc(&vmode, 0, opt, &oflags, &ptr->flags, &convconfig);
|
346
|
+
if (argc) {
|
347
|
+
StringValue(string);
|
348
|
+
}
|
349
|
+
else {
|
350
|
+
string = rb_enc_str_new("", 0, rb_default_external_encoding());
|
351
|
+
}
|
352
|
+
if (OBJ_FROZEN_RAW(string)) {
|
353
|
+
if (ptr->flags & FMODE_WRITABLE) {
|
354
|
+
rb_syserr_fail(EACCES, 0);
|
355
|
+
}
|
356
|
+
}
|
357
|
+
else {
|
358
|
+
if (NIL_P(vmode)) {
|
359
|
+
ptr->flags |= FMODE_WRITABLE;
|
360
|
+
}
|
361
|
+
}
|
362
|
+
if (ptr->flags & FMODE_TRUNC) {
|
363
|
+
rb_str_resize(string, 0);
|
364
|
+
}
|
365
|
+
ptr->string = string;
|
366
|
+
if (argc == 1) {
|
367
|
+
ptr->enc = rb_enc_get(string);
|
368
|
+
}
|
369
|
+
else {
|
370
|
+
ptr->enc = convconfig.enc;
|
371
|
+
}
|
372
|
+
ptr->pos = 0;
|
373
|
+
ptr->lineno = 0;
|
374
|
+
if (ptr->flags & FMODE_SETENC_BY_BOM) set_encoding_by_bom(ptr);
|
375
|
+
RBASIC(self)->flags |= (ptr->flags & FMODE_READWRITE) * (STRIO_READABLE / FMODE_READABLE);
|
376
|
+
return self;
|
377
|
+
}
|
378
|
+
|
379
|
+
static VALUE
|
380
|
+
strio_finalize(VALUE self)
|
381
|
+
{
|
382
|
+
struct StringIO *ptr = StringIO(self);
|
383
|
+
ptr->string = Qnil;
|
384
|
+
ptr->flags &= ~FMODE_READWRITE;
|
385
|
+
return self;
|
386
|
+
}
|
387
|
+
|
388
|
+
/*
|
389
|
+
* call-seq: StringIO.open(string=""[, mode]) {|strio| ...}
|
390
|
+
*
|
391
|
+
* Equivalent to StringIO.new except that when it is called with a block, it
|
392
|
+
* yields with the new instance and closes it, and returns the result which
|
393
|
+
* returned from the block.
|
394
|
+
*/
|
395
|
+
static VALUE
|
396
|
+
strio_s_open(int argc, VALUE *argv, VALUE klass)
|
397
|
+
{
|
398
|
+
VALUE obj = rb_class_new_instance_kw(argc, argv, klass, RB_PASS_CALLED_KEYWORDS);
|
399
|
+
if (!rb_block_given_p()) return obj;
|
400
|
+
return rb_ensure(rb_yield, obj, strio_finalize, obj);
|
401
|
+
}
|
402
|
+
|
403
|
+
/* :nodoc: */
|
404
|
+
static VALUE
|
405
|
+
strio_s_new(int argc, VALUE *argv, VALUE klass)
|
406
|
+
{
|
407
|
+
if (rb_block_given_p()) {
|
408
|
+
VALUE cname = rb_obj_as_string(klass);
|
409
|
+
|
410
|
+
rb_warn("%"PRIsVALUE"::new() does not take block; use %"PRIsVALUE"::open() instead",
|
411
|
+
cname, cname);
|
412
|
+
}
|
413
|
+
return rb_class_new_instance_kw(argc, argv, klass, RB_PASS_CALLED_KEYWORDS);
|
414
|
+
}
|
415
|
+
|
416
|
+
/*
|
417
|
+
* Returns +false+. Just for compatibility to IO.
|
418
|
+
*/
|
419
|
+
static VALUE
|
420
|
+
strio_false(VALUE self)
|
421
|
+
{
|
422
|
+
StringIO(self);
|
423
|
+
return Qfalse;
|
424
|
+
}
|
425
|
+
|
426
|
+
/*
|
427
|
+
* Returns +nil+. Just for compatibility to IO.
|
428
|
+
*/
|
429
|
+
static VALUE
|
430
|
+
strio_nil(VALUE self)
|
431
|
+
{
|
432
|
+
StringIO(self);
|
433
|
+
return Qnil;
|
434
|
+
}
|
435
|
+
|
436
|
+
/*
|
437
|
+
* Returns an object itself. Just for compatibility to IO.
|
438
|
+
*/
|
439
|
+
static VALUE
|
440
|
+
strio_self(VALUE self)
|
441
|
+
{
|
442
|
+
StringIO(self);
|
443
|
+
return self;
|
444
|
+
}
|
445
|
+
|
446
|
+
/*
|
447
|
+
* Returns 0. Just for compatibility to IO.
|
448
|
+
*/
|
449
|
+
static VALUE
|
450
|
+
strio_0(VALUE self)
|
451
|
+
{
|
452
|
+
StringIO(self);
|
453
|
+
return INT2FIX(0);
|
454
|
+
}
|
455
|
+
|
456
|
+
/*
|
457
|
+
* Returns the argument unchanged. Just for compatibility to IO.
|
458
|
+
*/
|
459
|
+
static VALUE
|
460
|
+
strio_first(VALUE self, VALUE arg)
|
461
|
+
{
|
462
|
+
StringIO(self);
|
463
|
+
return arg;
|
464
|
+
}
|
465
|
+
|
466
|
+
/*
|
467
|
+
* Raises NotImplementedError.
|
468
|
+
*/
|
469
|
+
static VALUE
|
470
|
+
strio_unimpl(int argc, VALUE *argv, VALUE self)
|
471
|
+
{
|
472
|
+
StringIO(self);
|
473
|
+
rb_notimplement();
|
474
|
+
|
475
|
+
UNREACHABLE;
|
476
|
+
}
|
477
|
+
|
478
|
+
/*
|
479
|
+
* call-seq: strio.string -> string
|
480
|
+
*
|
481
|
+
* Returns underlying String object, the subject of IO.
|
482
|
+
*/
|
483
|
+
static VALUE
|
484
|
+
strio_get_string(VALUE self)
|
485
|
+
{
|
486
|
+
return StringIO(self)->string;
|
487
|
+
}
|
488
|
+
|
489
|
+
/*
|
490
|
+
* call-seq:
|
491
|
+
* strio.string = string -> string
|
492
|
+
*
|
493
|
+
* Changes underlying String object, the subject of IO.
|
494
|
+
*/
|
495
|
+
static VALUE
|
496
|
+
strio_set_string(VALUE self, VALUE string)
|
497
|
+
{
|
498
|
+
struct StringIO *ptr = StringIO(self);
|
499
|
+
|
500
|
+
rb_io_taint_check(self);
|
501
|
+
ptr->flags &= ~FMODE_READWRITE;
|
502
|
+
StringValue(string);
|
503
|
+
ptr->flags = OBJ_FROZEN(string) ? FMODE_READABLE : FMODE_READWRITE;
|
504
|
+
ptr->pos = 0;
|
505
|
+
ptr->lineno = 0;
|
506
|
+
return ptr->string = string;
|
507
|
+
}
|
508
|
+
|
509
|
+
/*
|
510
|
+
* call-seq:
|
511
|
+
* strio.close -> nil
|
512
|
+
*
|
513
|
+
* Closes a StringIO. The stream is unavailable for any further data
|
514
|
+
* operations; an +IOError+ is raised if such an attempt is made.
|
515
|
+
*/
|
516
|
+
static VALUE
|
517
|
+
strio_close(VALUE self)
|
518
|
+
{
|
519
|
+
StringIO(self);
|
520
|
+
RBASIC(self)->flags &= ~STRIO_READWRITE;
|
521
|
+
return Qnil;
|
522
|
+
}
|
523
|
+
|
524
|
+
/*
|
525
|
+
* call-seq:
|
526
|
+
* strio.close_read -> nil
|
527
|
+
*
|
528
|
+
* Closes the read end of a StringIO. Will raise an +IOError+ if the
|
529
|
+
* receiver is not readable.
|
530
|
+
*/
|
531
|
+
static VALUE
|
532
|
+
strio_close_read(VALUE self)
|
533
|
+
{
|
534
|
+
struct StringIO *ptr = StringIO(self);
|
535
|
+
if (!(ptr->flags & FMODE_READABLE)) {
|
536
|
+
rb_raise(rb_eIOError, "closing non-duplex IO for reading");
|
537
|
+
}
|
538
|
+
RBASIC(self)->flags &= ~STRIO_READABLE;
|
539
|
+
return Qnil;
|
540
|
+
}
|
541
|
+
|
542
|
+
/*
|
543
|
+
* call-seq:
|
544
|
+
* strio.close_write -> nil
|
545
|
+
*
|
546
|
+
* Closes the write end of a StringIO. Will raise an +IOError+ if the
|
547
|
+
* receiver is not writeable.
|
548
|
+
*/
|
549
|
+
static VALUE
|
550
|
+
strio_close_write(VALUE self)
|
551
|
+
{
|
552
|
+
struct StringIO *ptr = StringIO(self);
|
553
|
+
if (!(ptr->flags & FMODE_WRITABLE)) {
|
554
|
+
rb_raise(rb_eIOError, "closing non-duplex IO for writing");
|
555
|
+
}
|
556
|
+
RBASIC(self)->flags &= ~STRIO_WRITABLE;
|
557
|
+
return Qnil;
|
558
|
+
}
|
559
|
+
|
560
|
+
/*
|
561
|
+
* call-seq:
|
562
|
+
* strio.closed? -> true or false
|
563
|
+
*
|
564
|
+
* Returns +true+ if the stream is completely closed, +false+ otherwise.
|
565
|
+
*/
|
566
|
+
static VALUE
|
567
|
+
strio_closed(VALUE self)
|
568
|
+
{
|
569
|
+
StringIO(self);
|
570
|
+
if (!CLOSED(self)) return Qfalse;
|
571
|
+
return Qtrue;
|
572
|
+
}
|
573
|
+
|
574
|
+
/*
|
575
|
+
* call-seq:
|
576
|
+
* strio.closed_read? -> true or false
|
577
|
+
*
|
578
|
+
* Returns +true+ if the stream is not readable, +false+ otherwise.
|
579
|
+
*/
|
580
|
+
static VALUE
|
581
|
+
strio_closed_read(VALUE self)
|
582
|
+
{
|
583
|
+
StringIO(self);
|
584
|
+
if (READABLE(self)) return Qfalse;
|
585
|
+
return Qtrue;
|
586
|
+
}
|
587
|
+
|
588
|
+
/*
|
589
|
+
* call-seq:
|
590
|
+
* strio.closed_write? -> true or false
|
591
|
+
*
|
592
|
+
* Returns +true+ if the stream is not writable, +false+ otherwise.
|
593
|
+
*/
|
594
|
+
static VALUE
|
595
|
+
strio_closed_write(VALUE self)
|
596
|
+
{
|
597
|
+
StringIO(self);
|
598
|
+
if (WRITABLE(self)) return Qfalse;
|
599
|
+
return Qtrue;
|
600
|
+
}
|
601
|
+
|
602
|
+
/*
|
603
|
+
* call-seq:
|
604
|
+
* strio.eof -> true or false
|
605
|
+
* strio.eof? -> true or false
|
606
|
+
*
|
607
|
+
* Returns true if the stream is at the end of the data (underlying string).
|
608
|
+
* The stream must be opened for reading or an +IOError+ will be raised.
|
609
|
+
*/
|
610
|
+
static VALUE
|
611
|
+
strio_eof(VALUE self)
|
612
|
+
{
|
613
|
+
struct StringIO *ptr = readable(self);
|
614
|
+
if (ptr->pos < RSTRING_LEN(ptr->string)) return Qfalse;
|
615
|
+
return Qtrue;
|
616
|
+
}
|
617
|
+
|
618
|
+
/* :nodoc: */
|
619
|
+
static VALUE
|
620
|
+
strio_copy(VALUE copy, VALUE orig)
|
621
|
+
{
|
622
|
+
struct StringIO *ptr;
|
623
|
+
|
624
|
+
orig = rb_convert_type(orig, T_DATA, "StringIO", "to_strio");
|
625
|
+
if (copy == orig) return copy;
|
626
|
+
ptr = StringIO(orig);
|
627
|
+
if (check_strio(copy)) {
|
628
|
+
strio_free(DATA_PTR(copy));
|
629
|
+
}
|
630
|
+
DATA_PTR(copy) = ptr;
|
631
|
+
RBASIC(copy)->flags &= ~STRIO_READWRITE;
|
632
|
+
RBASIC(copy)->flags |= RBASIC(orig)->flags & STRIO_READWRITE;
|
633
|
+
++ptr->count;
|
634
|
+
return copy;
|
635
|
+
}
|
636
|
+
|
637
|
+
/*
|
638
|
+
* call-seq:
|
639
|
+
* strio.lineno -> integer
|
640
|
+
*
|
641
|
+
* Returns the current line number. The stream must be
|
642
|
+
* opened for reading. +lineno+ counts the number of times +gets+ is
|
643
|
+
* called, rather than the number of newlines encountered. The two
|
644
|
+
* values will differ if +gets+ is called with a separator other than
|
645
|
+
* newline. See also the <code>$.</code> variable.
|
646
|
+
*/
|
647
|
+
static VALUE
|
648
|
+
strio_get_lineno(VALUE self)
|
649
|
+
{
|
650
|
+
return LONG2NUM(StringIO(self)->lineno);
|
651
|
+
}
|
652
|
+
|
653
|
+
/*
|
654
|
+
* call-seq:
|
655
|
+
* strio.lineno = integer -> integer
|
656
|
+
*
|
657
|
+
* Manually sets the current line number to the given value.
|
658
|
+
* <code>$.</code> is updated only on the next read.
|
659
|
+
*/
|
660
|
+
static VALUE
|
661
|
+
strio_set_lineno(VALUE self, VALUE lineno)
|
662
|
+
{
|
663
|
+
StringIO(self)->lineno = NUM2LONG(lineno);
|
664
|
+
return lineno;
|
665
|
+
}
|
666
|
+
|
667
|
+
/*
|
668
|
+
* call-seq:
|
669
|
+
* strio.binmode -> stringio
|
670
|
+
*
|
671
|
+
* Puts stream into binary mode. See IO#binmode.
|
672
|
+
*
|
673
|
+
*/
|
674
|
+
static VALUE
|
675
|
+
strio_binmode(VALUE self)
|
676
|
+
{
|
677
|
+
struct StringIO *ptr = StringIO(self);
|
678
|
+
rb_encoding *enc = rb_ascii8bit_encoding();
|
679
|
+
|
680
|
+
ptr->enc = enc;
|
681
|
+
if (WRITABLE(self)) {
|
682
|
+
rb_enc_associate(ptr->string, enc);
|
683
|
+
}
|
684
|
+
return self;
|
685
|
+
}
|
686
|
+
|
687
|
+
#define strio_fcntl strio_unimpl
|
688
|
+
|
689
|
+
#define strio_flush strio_self
|
690
|
+
|
691
|
+
#define strio_fsync strio_0
|
692
|
+
|
693
|
+
/*
|
694
|
+
* call-seq:
|
695
|
+
* strio.reopen(other_StrIO) -> strio
|
696
|
+
* strio.reopen(string, mode) -> strio
|
697
|
+
*
|
698
|
+
* Reinitializes the stream with the given <i>other_StrIO</i> or _string_
|
699
|
+
* and _mode_ (see StringIO#new).
|
700
|
+
*/
|
701
|
+
static VALUE
|
702
|
+
strio_reopen(int argc, VALUE *argv, VALUE self)
|
703
|
+
{
|
704
|
+
rb_io_taint_check(self);
|
705
|
+
if (argc == 1 && !RB_TYPE_P(*argv, T_STRING)) {
|
706
|
+
return strio_copy(self, *argv);
|
707
|
+
}
|
708
|
+
return strio_init(argc, argv, StringIO(self), self);
|
709
|
+
}
|
710
|
+
|
711
|
+
/*
|
712
|
+
* call-seq:
|
713
|
+
* strio.pos -> integer
|
714
|
+
* strio.tell -> integer
|
715
|
+
*
|
716
|
+
* Returns the current offset (in bytes).
|
717
|
+
*/
|
718
|
+
static VALUE
|
719
|
+
strio_get_pos(VALUE self)
|
720
|
+
{
|
721
|
+
return LONG2NUM(StringIO(self)->pos);
|
722
|
+
}
|
723
|
+
|
724
|
+
/*
|
725
|
+
* call-seq:
|
726
|
+
* strio.pos = integer -> integer
|
727
|
+
*
|
728
|
+
* Seeks to the given position (in bytes).
|
729
|
+
*/
|
730
|
+
static VALUE
|
731
|
+
strio_set_pos(VALUE self, VALUE pos)
|
732
|
+
{
|
733
|
+
struct StringIO *ptr = StringIO(self);
|
734
|
+
long p = NUM2LONG(pos);
|
735
|
+
if (p < 0) {
|
736
|
+
error_inval(0);
|
737
|
+
}
|
738
|
+
ptr->pos = p;
|
739
|
+
return pos;
|
740
|
+
}
|
741
|
+
|
742
|
+
/*
|
743
|
+
* call-seq:
|
744
|
+
* strio.rewind -> 0
|
745
|
+
*
|
746
|
+
* Positions the stream to the beginning of input, resetting
|
747
|
+
* +lineno+ to zero.
|
748
|
+
*/
|
749
|
+
static VALUE
|
750
|
+
strio_rewind(VALUE self)
|
751
|
+
{
|
752
|
+
struct StringIO *ptr = StringIO(self);
|
753
|
+
ptr->pos = 0;
|
754
|
+
ptr->lineno = 0;
|
755
|
+
return INT2FIX(0);
|
756
|
+
}
|
757
|
+
|
758
|
+
/*
|
759
|
+
* call-seq:
|
760
|
+
* strio.seek(amount, whence=SEEK_SET) -> 0
|
761
|
+
*
|
762
|
+
* Seeks to a given offset _amount_ in the stream according to
|
763
|
+
* the value of _whence_ (see IO#seek).
|
764
|
+
*/
|
765
|
+
static VALUE
|
766
|
+
strio_seek(int argc, VALUE *argv, VALUE self)
|
767
|
+
{
|
768
|
+
VALUE whence;
|
769
|
+
struct StringIO *ptr = StringIO(self);
|
770
|
+
long amount, offset;
|
771
|
+
|
772
|
+
rb_scan_args(argc, argv, "11", NULL, &whence);
|
773
|
+
amount = NUM2LONG(argv[0]);
|
774
|
+
if (CLOSED(self)) {
|
775
|
+
rb_raise(rb_eIOError, "closed stream");
|
776
|
+
}
|
777
|
+
switch (NIL_P(whence) ? 0 : NUM2LONG(whence)) {
|
778
|
+
case 0:
|
779
|
+
offset = 0;
|
780
|
+
break;
|
781
|
+
case 1:
|
782
|
+
offset = ptr->pos;
|
783
|
+
break;
|
784
|
+
case 2:
|
785
|
+
offset = RSTRING_LEN(ptr->string);
|
786
|
+
break;
|
787
|
+
default:
|
788
|
+
error_inval("invalid whence");
|
789
|
+
}
|
790
|
+
if (amount > LONG_MAX - offset || amount + offset < 0) {
|
791
|
+
error_inval(0);
|
792
|
+
}
|
793
|
+
ptr->pos = amount + offset;
|
794
|
+
return INT2FIX(0);
|
795
|
+
}
|
796
|
+
|
797
|
+
/*
|
798
|
+
* call-seq:
|
799
|
+
* strio.sync -> true
|
800
|
+
*
|
801
|
+
* Returns +true+ always.
|
802
|
+
*/
|
803
|
+
static VALUE
|
804
|
+
strio_get_sync(VALUE self)
|
805
|
+
{
|
806
|
+
StringIO(self);
|
807
|
+
return Qtrue;
|
808
|
+
}
|
809
|
+
|
810
|
+
#define strio_set_sync strio_first
|
811
|
+
|
812
|
+
#define strio_tell strio_get_pos
|
813
|
+
|
814
|
+
/*
|
815
|
+
* call-seq:
|
816
|
+
* strio.each_byte {|byte| block } -> strio
|
817
|
+
* strio.each_byte -> anEnumerator
|
818
|
+
*
|
819
|
+
* See IO#each_byte.
|
820
|
+
*/
|
821
|
+
static VALUE
|
822
|
+
strio_each_byte(VALUE self)
|
823
|
+
{
|
824
|
+
struct StringIO *ptr = readable(self);
|
825
|
+
|
826
|
+
RETURN_ENUMERATOR(self, 0, 0);
|
827
|
+
|
828
|
+
while (ptr->pos < RSTRING_LEN(ptr->string)) {
|
829
|
+
char c = RSTRING_PTR(ptr->string)[ptr->pos++];
|
830
|
+
rb_yield(CHR2FIX(c));
|
831
|
+
}
|
832
|
+
return self;
|
833
|
+
}
|
834
|
+
|
835
|
+
/*
|
836
|
+
* call-seq:
|
837
|
+
* strio.getc -> string or nil
|
838
|
+
*
|
839
|
+
* See IO#getc.
|
840
|
+
*/
|
841
|
+
static VALUE
|
842
|
+
strio_getc(VALUE self)
|
843
|
+
{
|
844
|
+
struct StringIO *ptr = readable(self);
|
845
|
+
rb_encoding *enc = get_enc(ptr);
|
846
|
+
VALUE str = ptr->string;
|
847
|
+
long pos = ptr->pos;
|
848
|
+
int len;
|
849
|
+
char *p;
|
850
|
+
|
851
|
+
if (pos >= RSTRING_LEN(str)) {
|
852
|
+
return Qnil;
|
853
|
+
}
|
854
|
+
p = RSTRING_PTR(str)+pos;
|
855
|
+
len = rb_enc_mbclen(p, RSTRING_END(str), enc);
|
856
|
+
ptr->pos += len;
|
857
|
+
return enc_subseq(str, pos, len, enc);
|
858
|
+
}
|
859
|
+
|
860
|
+
/*
|
861
|
+
* call-seq:
|
862
|
+
* strio.getbyte -> fixnum or nil
|
863
|
+
*
|
864
|
+
* See IO#getbyte.
|
865
|
+
*/
|
866
|
+
static VALUE
|
867
|
+
strio_getbyte(VALUE self)
|
868
|
+
{
|
869
|
+
struct StringIO *ptr = readable(self);
|
870
|
+
int c;
|
871
|
+
if (ptr->pos >= RSTRING_LEN(ptr->string)) {
|
872
|
+
return Qnil;
|
873
|
+
}
|
874
|
+
c = RSTRING_PTR(ptr->string)[ptr->pos++];
|
875
|
+
return CHR2FIX(c);
|
876
|
+
}
|
877
|
+
|
878
|
+
static void
|
879
|
+
strio_extend(struct StringIO *ptr, long pos, long len)
|
880
|
+
{
|
881
|
+
long olen;
|
882
|
+
|
883
|
+
if (len > LONG_MAX - pos)
|
884
|
+
rb_raise(rb_eArgError, "string size too big");
|
885
|
+
|
886
|
+
check_modifiable(ptr);
|
887
|
+
olen = RSTRING_LEN(ptr->string);
|
888
|
+
if (pos + len > olen) {
|
889
|
+
rb_str_resize(ptr->string, pos + len);
|
890
|
+
if (pos > olen)
|
891
|
+
MEMZERO(RSTRING_PTR(ptr->string) + olen, char, pos - olen);
|
892
|
+
}
|
893
|
+
else {
|
894
|
+
rb_str_modify(ptr->string);
|
895
|
+
}
|
896
|
+
}
|
897
|
+
|
898
|
+
/*
|
899
|
+
* call-seq:
|
900
|
+
* strio.ungetc(string) -> nil
|
901
|
+
*
|
902
|
+
* Pushes back one character (passed as a parameter)
|
903
|
+
* such that a subsequent buffered read will return it. There is no
|
904
|
+
* limitation for multiple pushbacks including pushing back behind the
|
905
|
+
* beginning of the buffer string.
|
906
|
+
*/
|
907
|
+
static VALUE
|
908
|
+
strio_ungetc(VALUE self, VALUE c)
|
909
|
+
{
|
910
|
+
struct StringIO *ptr = readable(self);
|
911
|
+
rb_encoding *enc, *enc2;
|
912
|
+
|
913
|
+
check_modifiable(ptr);
|
914
|
+
if (NIL_P(c)) return Qnil;
|
915
|
+
if (RB_INTEGER_TYPE_P(c)) {
|
916
|
+
int len, cc = NUM2INT(c);
|
917
|
+
char buf[16];
|
918
|
+
|
919
|
+
enc = rb_enc_get(ptr->string);
|
920
|
+
len = rb_enc_codelen(cc, enc);
|
921
|
+
if (len <= 0) rb_enc_uint_chr(cc, enc);
|
922
|
+
rb_enc_mbcput(cc, buf, enc);
|
923
|
+
return strio_unget_bytes(ptr, buf, len);
|
924
|
+
}
|
925
|
+
else {
|
926
|
+
SafeStringValue(c);
|
927
|
+
enc = rb_enc_get(ptr->string);
|
928
|
+
enc2 = rb_enc_get(c);
|
929
|
+
if (enc != enc2 && enc != rb_ascii8bit_encoding()) {
|
930
|
+
c = rb_str_conv_enc(c, enc2, enc);
|
931
|
+
}
|
932
|
+
strio_unget_bytes(ptr, RSTRING_PTR(c), RSTRING_LEN(c));
|
933
|
+
RB_GC_GUARD(c);
|
934
|
+
return Qnil;
|
935
|
+
}
|
936
|
+
}
|
937
|
+
|
938
|
+
/*
|
939
|
+
* call-seq:
|
940
|
+
* strio.ungetbyte(fixnum) -> nil
|
941
|
+
*
|
942
|
+
* See IO#ungetbyte
|
943
|
+
*/
|
944
|
+
static VALUE
|
945
|
+
strio_ungetbyte(VALUE self, VALUE c)
|
946
|
+
{
|
947
|
+
struct StringIO *ptr = readable(self);
|
948
|
+
|
949
|
+
check_modifiable(ptr);
|
950
|
+
if (NIL_P(c)) return Qnil;
|
951
|
+
if (RB_INTEGER_TYPE_P(c)) {
|
952
|
+
/* rb_int_and() not visible from exts */
|
953
|
+
VALUE v = rb_funcall(c, '&', 1, INT2FIX(0xff));
|
954
|
+
const char cc = NUM2INT(v) & 0xFF;
|
955
|
+
strio_unget_bytes(ptr, &cc, 1);
|
956
|
+
}
|
957
|
+
else {
|
958
|
+
long cl;
|
959
|
+
SafeStringValue(c);
|
960
|
+
cl = RSTRING_LEN(c);
|
961
|
+
if (cl > 0) {
|
962
|
+
strio_unget_bytes(ptr, RSTRING_PTR(c), cl);
|
963
|
+
RB_GC_GUARD(c);
|
964
|
+
}
|
965
|
+
}
|
966
|
+
return Qnil;
|
967
|
+
}
|
968
|
+
|
969
|
+
static VALUE
|
970
|
+
strio_unget_bytes(struct StringIO *ptr, const char *cp, long cl)
|
971
|
+
{
|
972
|
+
long pos = ptr->pos, len, rest;
|
973
|
+
VALUE str = ptr->string;
|
974
|
+
char *s;
|
975
|
+
|
976
|
+
len = RSTRING_LEN(str);
|
977
|
+
rest = pos - len;
|
978
|
+
if (cl > pos) {
|
979
|
+
long ex = (rest < 0 ? cl-pos : cl+rest);
|
980
|
+
rb_str_modify_expand(str, ex);
|
981
|
+
rb_str_set_len(str, len + ex);
|
982
|
+
s = RSTRING_PTR(str);
|
983
|
+
if (rest < 0) memmove(s + cl, s + pos, -rest);
|
984
|
+
pos = 0;
|
985
|
+
}
|
986
|
+
else {
|
987
|
+
if (rest > 0) {
|
988
|
+
rb_str_modify_expand(str, rest);
|
989
|
+
rb_str_set_len(str, len + rest);
|
990
|
+
}
|
991
|
+
s = RSTRING_PTR(str);
|
992
|
+
if (rest > cl) memset(s + len, 0, rest - cl);
|
993
|
+
pos -= cl;
|
994
|
+
}
|
995
|
+
memcpy(s + pos, cp, cl);
|
996
|
+
ptr->pos = pos;
|
997
|
+
return Qnil;
|
998
|
+
}
|
999
|
+
|
1000
|
+
/*
|
1001
|
+
* call-seq:
|
1002
|
+
* strio.readchar -> string
|
1003
|
+
*
|
1004
|
+
* See IO#readchar.
|
1005
|
+
*/
|
1006
|
+
static VALUE
|
1007
|
+
strio_readchar(VALUE self)
|
1008
|
+
{
|
1009
|
+
VALUE c = rb_funcallv(self, rb_intern("getc"), 0, 0);
|
1010
|
+
if (NIL_P(c)) rb_eof_error();
|
1011
|
+
return c;
|
1012
|
+
}
|
1013
|
+
|
1014
|
+
/*
|
1015
|
+
* call-seq:
|
1016
|
+
* strio.readbyte -> fixnum
|
1017
|
+
*
|
1018
|
+
* See IO#readbyte.
|
1019
|
+
*/
|
1020
|
+
static VALUE
|
1021
|
+
strio_readbyte(VALUE self)
|
1022
|
+
{
|
1023
|
+
VALUE c = rb_funcallv(self, rb_intern("getbyte"), 0, 0);
|
1024
|
+
if (NIL_P(c)) rb_eof_error();
|
1025
|
+
return c;
|
1026
|
+
}
|
1027
|
+
|
1028
|
+
/*
|
1029
|
+
* call-seq:
|
1030
|
+
* strio.each_char {|char| block } -> strio
|
1031
|
+
* strio.each_char -> anEnumerator
|
1032
|
+
*
|
1033
|
+
* See IO#each_char.
|
1034
|
+
*/
|
1035
|
+
static VALUE
|
1036
|
+
strio_each_char(VALUE self)
|
1037
|
+
{
|
1038
|
+
VALUE c;
|
1039
|
+
|
1040
|
+
RETURN_ENUMERATOR(self, 0, 0);
|
1041
|
+
|
1042
|
+
while (!NIL_P(c = strio_getc(self))) {
|
1043
|
+
rb_yield(c);
|
1044
|
+
}
|
1045
|
+
return self;
|
1046
|
+
}
|
1047
|
+
|
1048
|
+
/*
|
1049
|
+
* call-seq:
|
1050
|
+
* strio.each_codepoint {|c| block } -> strio
|
1051
|
+
* strio.each_codepoint -> anEnumerator
|
1052
|
+
*
|
1053
|
+
* See IO#each_codepoint.
|
1054
|
+
*/
|
1055
|
+
static VALUE
|
1056
|
+
strio_each_codepoint(VALUE self)
|
1057
|
+
{
|
1058
|
+
struct StringIO *ptr;
|
1059
|
+
rb_encoding *enc;
|
1060
|
+
unsigned int c;
|
1061
|
+
int n;
|
1062
|
+
|
1063
|
+
RETURN_ENUMERATOR(self, 0, 0);
|
1064
|
+
|
1065
|
+
ptr = readable(self);
|
1066
|
+
enc = get_enc(ptr);
|
1067
|
+
for (;;) {
|
1068
|
+
if (ptr->pos >= RSTRING_LEN(ptr->string)) {
|
1069
|
+
return self;
|
1070
|
+
}
|
1071
|
+
|
1072
|
+
c = rb_enc_codepoint_len(RSTRING_PTR(ptr->string)+ptr->pos,
|
1073
|
+
RSTRING_END(ptr->string), &n, enc);
|
1074
|
+
ptr->pos += n;
|
1075
|
+
rb_yield(UINT2NUM(c));
|
1076
|
+
}
|
1077
|
+
return self;
|
1078
|
+
}
|
1079
|
+
|
1080
|
+
/* Boyer-Moore search: copied from regex.c */
|
1081
|
+
static void
|
1082
|
+
bm_init_skip(long *skip, const char *pat, long m)
|
1083
|
+
{
|
1084
|
+
int c;
|
1085
|
+
|
1086
|
+
for (c = 0; c < (1 << CHAR_BIT); c++) {
|
1087
|
+
skip[c] = m;
|
1088
|
+
}
|
1089
|
+
while (--m) {
|
1090
|
+
skip[(unsigned char)*pat++] = m;
|
1091
|
+
}
|
1092
|
+
}
|
1093
|
+
|
1094
|
+
static long
|
1095
|
+
bm_search(const char *little, long llen, const char *big, long blen, const long *skip)
|
1096
|
+
{
|
1097
|
+
long i, j, k;
|
1098
|
+
|
1099
|
+
i = llen - 1;
|
1100
|
+
while (i < blen) {
|
1101
|
+
k = i;
|
1102
|
+
j = llen - 1;
|
1103
|
+
while (j >= 0 && big[k] == little[j]) {
|
1104
|
+
k--;
|
1105
|
+
j--;
|
1106
|
+
}
|
1107
|
+
if (j < 0) return k + 1;
|
1108
|
+
i += skip[(unsigned char)big[i]];
|
1109
|
+
}
|
1110
|
+
return -1;
|
1111
|
+
}
|
1112
|
+
|
1113
|
+
struct getline_arg {
|
1114
|
+
VALUE rs;
|
1115
|
+
long limit;
|
1116
|
+
unsigned int chomp: 1;
|
1117
|
+
};
|
1118
|
+
|
1119
|
+
static struct getline_arg *
|
1120
|
+
prepare_getline_args(struct getline_arg *arg, int argc, VALUE *argv)
|
1121
|
+
{
|
1122
|
+
VALUE str, lim, opts;
|
1123
|
+
long limit = -1;
|
1124
|
+
|
1125
|
+
argc = rb_scan_args(argc, argv, "02:", &str, &lim, &opts);
|
1126
|
+
switch (argc) {
|
1127
|
+
case 0:
|
1128
|
+
str = rb_rs;
|
1129
|
+
break;
|
1130
|
+
|
1131
|
+
case 1:
|
1132
|
+
if (!NIL_P(str) && !RB_TYPE_P(str, T_STRING)) {
|
1133
|
+
VALUE tmp = rb_check_string_type(str);
|
1134
|
+
if (NIL_P(tmp)) {
|
1135
|
+
limit = NUM2LONG(str);
|
1136
|
+
str = rb_rs;
|
1137
|
+
}
|
1138
|
+
else {
|
1139
|
+
str = tmp;
|
1140
|
+
}
|
1141
|
+
}
|
1142
|
+
break;
|
1143
|
+
|
1144
|
+
case 2:
|
1145
|
+
if (!NIL_P(str)) StringValue(str);
|
1146
|
+
if (!NIL_P(lim)) limit = NUM2LONG(lim);
|
1147
|
+
break;
|
1148
|
+
}
|
1149
|
+
arg->rs = str;
|
1150
|
+
arg->limit = limit;
|
1151
|
+
arg->chomp = 0;
|
1152
|
+
if (!NIL_P(opts)) {
|
1153
|
+
static ID keywords[1];
|
1154
|
+
VALUE vchomp;
|
1155
|
+
if (!keywords[0]) {
|
1156
|
+
keywords[0] = rb_intern_const("chomp");
|
1157
|
+
}
|
1158
|
+
rb_get_kwargs(opts, keywords, 0, 1, &vchomp);
|
1159
|
+
arg->chomp = (vchomp != Qundef) && RTEST(vchomp);
|
1160
|
+
}
|
1161
|
+
return arg;
|
1162
|
+
}
|
1163
|
+
|
1164
|
+
static inline int
|
1165
|
+
chomp_newline_width(const char *s, const char *e)
|
1166
|
+
{
|
1167
|
+
if (e > s && *--e == '\n') {
|
1168
|
+
if (e > s && *--e == '\r') return 2;
|
1169
|
+
return 1;
|
1170
|
+
}
|
1171
|
+
return 0;
|
1172
|
+
}
|
1173
|
+
|
1174
|
+
static VALUE
|
1175
|
+
strio_getline(struct getline_arg *arg, struct StringIO *ptr)
|
1176
|
+
{
|
1177
|
+
const char *s, *e, *p;
|
1178
|
+
long n, limit = arg->limit;
|
1179
|
+
VALUE str = arg->rs;
|
1180
|
+
int w = 0;
|
1181
|
+
rb_encoding *enc = get_enc(ptr);
|
1182
|
+
|
1183
|
+
if (ptr->pos >= (n = RSTRING_LEN(ptr->string))) {
|
1184
|
+
return Qnil;
|
1185
|
+
}
|
1186
|
+
s = RSTRING_PTR(ptr->string);
|
1187
|
+
e = s + RSTRING_LEN(ptr->string);
|
1188
|
+
s += ptr->pos;
|
1189
|
+
if (limit > 0 && (size_t)limit < (size_t)(e - s)) {
|
1190
|
+
e = rb_enc_right_char_head(s, s + limit, e, get_enc(ptr));
|
1191
|
+
}
|
1192
|
+
if (NIL_P(str)) {
|
1193
|
+
if (arg->chomp) {
|
1194
|
+
w = chomp_newline_width(s, e);
|
1195
|
+
}
|
1196
|
+
str = strio_substr(ptr, ptr->pos, e - s - w, enc);
|
1197
|
+
}
|
1198
|
+
else if ((n = RSTRING_LEN(str)) == 0) {
|
1199
|
+
p = s;
|
1200
|
+
while (p[(p + 1 < e) && (*p == '\r') && 0] == '\n') {
|
1201
|
+
p += *p == '\r';
|
1202
|
+
if (++p == e) {
|
1203
|
+
return Qnil;
|
1204
|
+
}
|
1205
|
+
}
|
1206
|
+
s = p;
|
1207
|
+
while ((p = memchr(p, '\n', e - p)) && (p != e)) {
|
1208
|
+
if (*++p == '\n') {
|
1209
|
+
e = p + 1;
|
1210
|
+
w = (arg->chomp ? 1 : 0);
|
1211
|
+
break;
|
1212
|
+
}
|
1213
|
+
else if (*p == '\r' && p < e && p[1] == '\n') {
|
1214
|
+
e = p + 2;
|
1215
|
+
w = (arg->chomp ? 2 : 0);
|
1216
|
+
break;
|
1217
|
+
}
|
1218
|
+
}
|
1219
|
+
if (!w && arg->chomp) {
|
1220
|
+
w = chomp_newline_width(s, e);
|
1221
|
+
}
|
1222
|
+
str = strio_substr(ptr, s - RSTRING_PTR(ptr->string), e - s - w, enc);
|
1223
|
+
}
|
1224
|
+
else if (n == 1) {
|
1225
|
+
if ((p = memchr(s, RSTRING_PTR(str)[0], e - s)) != 0) {
|
1226
|
+
e = p + 1;
|
1227
|
+
w = (arg->chomp ? (p > s && *(p-1) == '\r') + 1 : 0);
|
1228
|
+
}
|
1229
|
+
str = strio_substr(ptr, ptr->pos, e - s - w, enc);
|
1230
|
+
}
|
1231
|
+
else {
|
1232
|
+
if (n < e - s) {
|
1233
|
+
if (e - s < 1024) {
|
1234
|
+
for (p = s; p + n <= e; ++p) {
|
1235
|
+
if (MEMCMP(p, RSTRING_PTR(str), char, n) == 0) {
|
1236
|
+
e = p + (arg->chomp ? 0 : n);
|
1237
|
+
break;
|
1238
|
+
}
|
1239
|
+
}
|
1240
|
+
}
|
1241
|
+
else {
|
1242
|
+
long skip[1 << CHAR_BIT], pos;
|
1243
|
+
p = RSTRING_PTR(str);
|
1244
|
+
bm_init_skip(skip, p, n);
|
1245
|
+
if ((pos = bm_search(p, n, s, e - s, skip)) >= 0) {
|
1246
|
+
e = s + pos + (arg->chomp ? 0 : n);
|
1247
|
+
}
|
1248
|
+
}
|
1249
|
+
}
|
1250
|
+
str = strio_substr(ptr, ptr->pos, e - s - w, enc);
|
1251
|
+
}
|
1252
|
+
ptr->pos = e - RSTRING_PTR(ptr->string);
|
1253
|
+
ptr->lineno++;
|
1254
|
+
return str;
|
1255
|
+
}
|
1256
|
+
|
1257
|
+
/*
|
1258
|
+
* call-seq:
|
1259
|
+
* strio.gets(sep=$/, chomp: false) -> string or nil
|
1260
|
+
* strio.gets(limit, chomp: false) -> string or nil
|
1261
|
+
* strio.gets(sep, limit, chomp: false) -> string or nil
|
1262
|
+
*
|
1263
|
+
* See IO#gets.
|
1264
|
+
*/
|
1265
|
+
static VALUE
|
1266
|
+
strio_gets(int argc, VALUE *argv, VALUE self)
|
1267
|
+
{
|
1268
|
+
struct getline_arg arg;
|
1269
|
+
VALUE str;
|
1270
|
+
|
1271
|
+
if (prepare_getline_args(&arg, argc, argv)->limit == 0) {
|
1272
|
+
struct StringIO *ptr = readable(self);
|
1273
|
+
return rb_enc_str_new(0, 0, get_enc(ptr));
|
1274
|
+
}
|
1275
|
+
|
1276
|
+
str = strio_getline(&arg, readable(self));
|
1277
|
+
rb_lastline_set(str);
|
1278
|
+
return str;
|
1279
|
+
}
|
1280
|
+
|
1281
|
+
/*
|
1282
|
+
* call-seq:
|
1283
|
+
* strio.readline(sep=$/, chomp: false) -> string
|
1284
|
+
* strio.readline(limit, chomp: false) -> string or nil
|
1285
|
+
* strio.readline(sep, limit, chomp: false) -> string or nil
|
1286
|
+
*
|
1287
|
+
* See IO#readline.
|
1288
|
+
*/
|
1289
|
+
static VALUE
|
1290
|
+
strio_readline(int argc, VALUE *argv, VALUE self)
|
1291
|
+
{
|
1292
|
+
VALUE line = rb_funcallv_kw(self, rb_intern("gets"), argc, argv, RB_PASS_CALLED_KEYWORDS);
|
1293
|
+
if (NIL_P(line)) rb_eof_error();
|
1294
|
+
return line;
|
1295
|
+
}
|
1296
|
+
|
1297
|
+
/*
|
1298
|
+
* call-seq:
|
1299
|
+
* strio.each(sep=$/, chomp: false) {|line| block } -> strio
|
1300
|
+
* strio.each(limit, chomp: false) {|line| block } -> strio
|
1301
|
+
* strio.each(sep, limit, chomp: false) {|line| block } -> strio
|
1302
|
+
* strio.each(...) -> anEnumerator
|
1303
|
+
*
|
1304
|
+
* strio.each_line(sep=$/, chomp: false) {|line| block } -> strio
|
1305
|
+
* strio.each_line(limit, chomp: false) {|line| block } -> strio
|
1306
|
+
* strio.each_line(sep, limit, chomp: false) {|line| block } -> strio
|
1307
|
+
* strio.each_line(...) -> anEnumerator
|
1308
|
+
*
|
1309
|
+
* See IO#each.
|
1310
|
+
*/
|
1311
|
+
static VALUE
|
1312
|
+
strio_each(int argc, VALUE *argv, VALUE self)
|
1313
|
+
{
|
1314
|
+
VALUE line;
|
1315
|
+
struct getline_arg arg;
|
1316
|
+
|
1317
|
+
StringIO(self);
|
1318
|
+
RETURN_ENUMERATOR(self, argc, argv);
|
1319
|
+
|
1320
|
+
if (prepare_getline_args(&arg, argc, argv)->limit == 0) {
|
1321
|
+
rb_raise(rb_eArgError, "invalid limit: 0 for each_line");
|
1322
|
+
}
|
1323
|
+
|
1324
|
+
while (!NIL_P(line = strio_getline(&arg, readable(self)))) {
|
1325
|
+
rb_yield(line);
|
1326
|
+
}
|
1327
|
+
return self;
|
1328
|
+
}
|
1329
|
+
|
1330
|
+
/*
|
1331
|
+
* call-seq:
|
1332
|
+
* strio.readlines(sep=$/, chomp: false) -> array
|
1333
|
+
* strio.readlines(limit, chomp: false) -> array
|
1334
|
+
* strio.readlines(sep, limit, chomp: false) -> array
|
1335
|
+
*
|
1336
|
+
* See IO#readlines.
|
1337
|
+
*/
|
1338
|
+
static VALUE
|
1339
|
+
strio_readlines(int argc, VALUE *argv, VALUE self)
|
1340
|
+
{
|
1341
|
+
VALUE ary, line;
|
1342
|
+
struct getline_arg arg;
|
1343
|
+
|
1344
|
+
StringIO(self);
|
1345
|
+
ary = rb_ary_new();
|
1346
|
+
if (prepare_getline_args(&arg, argc, argv)->limit == 0) {
|
1347
|
+
rb_raise(rb_eArgError, "invalid limit: 0 for readlines");
|
1348
|
+
}
|
1349
|
+
|
1350
|
+
while (!NIL_P(line = strio_getline(&arg, readable(self)))) {
|
1351
|
+
rb_ary_push(ary, line);
|
1352
|
+
}
|
1353
|
+
return ary;
|
1354
|
+
}
|
1355
|
+
|
1356
|
+
/*
|
1357
|
+
* call-seq:
|
1358
|
+
* strio.write(string, ...) -> integer
|
1359
|
+
* strio.syswrite(string) -> integer
|
1360
|
+
*
|
1361
|
+
* Appends the given string to the underlying buffer string.
|
1362
|
+
* The stream must be opened for writing. If the argument is not a
|
1363
|
+
* string, it will be converted to a string using <code>to_s</code>.
|
1364
|
+
* Returns the number of bytes written. See IO#write.
|
1365
|
+
*/
|
1366
|
+
static VALUE
|
1367
|
+
strio_write_m(int argc, VALUE *argv, VALUE self)
|
1368
|
+
{
|
1369
|
+
long len = 0;
|
1370
|
+
while (argc-- > 0) {
|
1371
|
+
/* StringIO can't exceed long limit */
|
1372
|
+
len += strio_write(self, *argv++);
|
1373
|
+
}
|
1374
|
+
return LONG2NUM(len);
|
1375
|
+
}
|
1376
|
+
|
1377
|
+
static long
|
1378
|
+
strio_write(VALUE self, VALUE str)
|
1379
|
+
{
|
1380
|
+
struct StringIO *ptr = writable(self);
|
1381
|
+
long len, olen;
|
1382
|
+
rb_encoding *enc, *enc2;
|
1383
|
+
rb_encoding *const ascii8bit = rb_ascii8bit_encoding();
|
1384
|
+
rb_encoding *usascii = 0;
|
1385
|
+
|
1386
|
+
if (!RB_TYPE_P(str, T_STRING))
|
1387
|
+
str = rb_obj_as_string(str);
|
1388
|
+
enc = get_enc(ptr);
|
1389
|
+
enc2 = rb_enc_get(str);
|
1390
|
+
if (enc != enc2 && enc != ascii8bit && enc != (usascii = rb_usascii_encoding())) {
|
1391
|
+
VALUE converted = rb_str_conv_enc(str, enc2, enc);
|
1392
|
+
if (converted == str && enc2 != ascii8bit && enc2 != usascii) { /* conversion failed */
|
1393
|
+
rb_enc_check(rb_enc_from_encoding(enc), str);
|
1394
|
+
}
|
1395
|
+
str = converted;
|
1396
|
+
}
|
1397
|
+
len = RSTRING_LEN(str);
|
1398
|
+
if (len == 0) return 0;
|
1399
|
+
check_modifiable(ptr);
|
1400
|
+
olen = RSTRING_LEN(ptr->string);
|
1401
|
+
if (ptr->flags & FMODE_APPEND) {
|
1402
|
+
ptr->pos = olen;
|
1403
|
+
}
|
1404
|
+
if (ptr->pos == olen) {
|
1405
|
+
if (enc == ascii8bit || enc2 == ascii8bit) {
|
1406
|
+
rb_enc_str_buf_cat(ptr->string, RSTRING_PTR(str), len, enc);
|
1407
|
+
}
|
1408
|
+
else {
|
1409
|
+
rb_str_buf_append(ptr->string, str);
|
1410
|
+
}
|
1411
|
+
}
|
1412
|
+
else {
|
1413
|
+
strio_extend(ptr, ptr->pos, len);
|
1414
|
+
memmove(RSTRING_PTR(ptr->string)+ptr->pos, RSTRING_PTR(str), len);
|
1415
|
+
}
|
1416
|
+
RB_GC_GUARD(str);
|
1417
|
+
ptr->pos += len;
|
1418
|
+
return len;
|
1419
|
+
}
|
1420
|
+
|
1421
|
+
/*
|
1422
|
+
* call-seq:
|
1423
|
+
* strio << obj -> strio
|
1424
|
+
*
|
1425
|
+
* See IO#<<.
|
1426
|
+
*/
|
1427
|
+
#define strio_addstr rb_io_addstr
|
1428
|
+
|
1429
|
+
/*
|
1430
|
+
* call-seq:
|
1431
|
+
* strio.print() -> nil
|
1432
|
+
* strio.print(obj, ...) -> nil
|
1433
|
+
*
|
1434
|
+
* See IO#print.
|
1435
|
+
*/
|
1436
|
+
#define strio_print rb_io_print
|
1437
|
+
|
1438
|
+
/*
|
1439
|
+
* call-seq:
|
1440
|
+
* strio.printf(format_string [, obj, ...] ) -> nil
|
1441
|
+
*
|
1442
|
+
* See IO#printf.
|
1443
|
+
*/
|
1444
|
+
#define strio_printf rb_io_printf
|
1445
|
+
|
1446
|
+
/*
|
1447
|
+
* call-seq:
|
1448
|
+
* strio.putc(obj) -> obj
|
1449
|
+
*
|
1450
|
+
* See IO#putc.
|
1451
|
+
*/
|
1452
|
+
static VALUE
|
1453
|
+
strio_putc(VALUE self, VALUE ch)
|
1454
|
+
{
|
1455
|
+
struct StringIO *ptr = writable(self);
|
1456
|
+
VALUE str;
|
1457
|
+
|
1458
|
+
check_modifiable(ptr);
|
1459
|
+
if (RB_TYPE_P(ch, T_STRING)) {
|
1460
|
+
str = rb_str_substr(ch, 0, 1);
|
1461
|
+
}
|
1462
|
+
else {
|
1463
|
+
char c = NUM2CHR(ch);
|
1464
|
+
str = rb_str_new(&c, 1);
|
1465
|
+
}
|
1466
|
+
strio_write(self, str);
|
1467
|
+
return ch;
|
1468
|
+
}
|
1469
|
+
|
1470
|
+
/*
|
1471
|
+
* call-seq:
|
1472
|
+
* strio.puts(obj, ...) -> nil
|
1473
|
+
*
|
1474
|
+
* See IO#puts.
|
1475
|
+
*/
|
1476
|
+
#define strio_puts rb_io_puts
|
1477
|
+
|
1478
|
+
/*
|
1479
|
+
* call-seq:
|
1480
|
+
* strio.read([length [, outbuf]]) -> string, outbuf, or nil
|
1481
|
+
*
|
1482
|
+
* See IO#read.
|
1483
|
+
*/
|
1484
|
+
static VALUE
|
1485
|
+
strio_read(int argc, VALUE *argv, VALUE self)
|
1486
|
+
{
|
1487
|
+
struct StringIO *ptr = readable(self);
|
1488
|
+
VALUE str = Qnil;
|
1489
|
+
long len;
|
1490
|
+
int binary = 0;
|
1491
|
+
|
1492
|
+
switch (argc) {
|
1493
|
+
case 2:
|
1494
|
+
str = argv[1];
|
1495
|
+
if (!NIL_P(str)) {
|
1496
|
+
StringValue(str);
|
1497
|
+
rb_str_modify(str);
|
1498
|
+
}
|
1499
|
+
/* fall through */
|
1500
|
+
case 1:
|
1501
|
+
if (!NIL_P(argv[0])) {
|
1502
|
+
len = NUM2LONG(argv[0]);
|
1503
|
+
if (len < 0) {
|
1504
|
+
rb_raise(rb_eArgError, "negative length %ld given", len);
|
1505
|
+
}
|
1506
|
+
if (len > 0 && ptr->pos >= RSTRING_LEN(ptr->string)) {
|
1507
|
+
if (!NIL_P(str)) rb_str_resize(str, 0);
|
1508
|
+
return Qnil;
|
1509
|
+
}
|
1510
|
+
binary = 1;
|
1511
|
+
break;
|
1512
|
+
}
|
1513
|
+
/* fall through */
|
1514
|
+
case 0:
|
1515
|
+
len = RSTRING_LEN(ptr->string);
|
1516
|
+
if (len <= ptr->pos) {
|
1517
|
+
rb_encoding *enc = get_enc(ptr);
|
1518
|
+
if (NIL_P(str)) {
|
1519
|
+
str = rb_str_new(0, 0);
|
1520
|
+
}
|
1521
|
+
else {
|
1522
|
+
rb_str_resize(str, 0);
|
1523
|
+
}
|
1524
|
+
rb_enc_associate(str, enc);
|
1525
|
+
return str;
|
1526
|
+
}
|
1527
|
+
else {
|
1528
|
+
len -= ptr->pos;
|
1529
|
+
}
|
1530
|
+
break;
|
1531
|
+
default:
|
1532
|
+
rb_error_arity(argc, 0, 2);
|
1533
|
+
}
|
1534
|
+
if (NIL_P(str)) {
|
1535
|
+
rb_encoding *enc = binary ? rb_ascii8bit_encoding() : get_enc(ptr);
|
1536
|
+
str = strio_substr(ptr, ptr->pos, len, enc);
|
1537
|
+
}
|
1538
|
+
else {
|
1539
|
+
long rest = RSTRING_LEN(ptr->string) - ptr->pos;
|
1540
|
+
if (len > rest) len = rest;
|
1541
|
+
rb_str_resize(str, len);
|
1542
|
+
MEMCPY(RSTRING_PTR(str), RSTRING_PTR(ptr->string) + ptr->pos, char, len);
|
1543
|
+
if (binary)
|
1544
|
+
rb_enc_associate(str, rb_ascii8bit_encoding());
|
1545
|
+
else
|
1546
|
+
rb_enc_copy(str, ptr->string);
|
1547
|
+
}
|
1548
|
+
ptr->pos += RSTRING_LEN(str);
|
1549
|
+
return str;
|
1550
|
+
}
|
1551
|
+
|
1552
|
+
/*
|
1553
|
+
* call-seq:
|
1554
|
+
* strio.sysread(integer[, outbuf]) -> string
|
1555
|
+
* strio.readpartial(integer[, outbuf]) -> string
|
1556
|
+
*
|
1557
|
+
* Similar to #read, but raises +EOFError+ at end of string instead of
|
1558
|
+
* returning +nil+, as well as IO#sysread does.
|
1559
|
+
*/
|
1560
|
+
static VALUE
|
1561
|
+
strio_sysread(int argc, VALUE *argv, VALUE self)
|
1562
|
+
{
|
1563
|
+
VALUE val = rb_funcallv_kw(self, rb_intern("read"), argc, argv, RB_PASS_CALLED_KEYWORDS);
|
1564
|
+
if (NIL_P(val)) {
|
1565
|
+
rb_eof_error();
|
1566
|
+
}
|
1567
|
+
return val;
|
1568
|
+
}
|
1569
|
+
|
1570
|
+
/*
|
1571
|
+
* call-seq:
|
1572
|
+
* strio.read_nonblock(integer[, outbuf [, opts]]) -> string
|
1573
|
+
*
|
1574
|
+
* Similar to #read, but raises +EOFError+ at end of string unless the
|
1575
|
+
* +exception: false+ option is passed in.
|
1576
|
+
*/
|
1577
|
+
static VALUE
|
1578
|
+
strio_read_nonblock(int argc, VALUE *argv, VALUE self)
|
1579
|
+
{
|
1580
|
+
VALUE opts = Qnil, val;
|
1581
|
+
|
1582
|
+
rb_scan_args(argc, argv, "11:", NULL, NULL, &opts);
|
1583
|
+
|
1584
|
+
if (!NIL_P(opts)) {
|
1585
|
+
argc--;
|
1586
|
+
}
|
1587
|
+
|
1588
|
+
val = strio_read(argc, argv, self);
|
1589
|
+
if (NIL_P(val)) {
|
1590
|
+
if (!NIL_P(opts) &&
|
1591
|
+
rb_hash_lookup2(opts, sym_exception, Qundef) == Qfalse)
|
1592
|
+
return Qnil;
|
1593
|
+
else
|
1594
|
+
rb_eof_error();
|
1595
|
+
}
|
1596
|
+
|
1597
|
+
return val;
|
1598
|
+
}
|
1599
|
+
|
1600
|
+
#define strio_syswrite rb_io_write
|
1601
|
+
|
1602
|
+
static VALUE
|
1603
|
+
strio_syswrite_nonblock(int argc, VALUE *argv, VALUE self)
|
1604
|
+
{
|
1605
|
+
VALUE str;
|
1606
|
+
|
1607
|
+
rb_scan_args(argc, argv, "10:", &str, NULL);
|
1608
|
+
return strio_syswrite(self, str);
|
1609
|
+
}
|
1610
|
+
|
1611
|
+
#define strio_isatty strio_false
|
1612
|
+
|
1613
|
+
#define strio_pid strio_nil
|
1614
|
+
|
1615
|
+
#define strio_fileno strio_nil
|
1616
|
+
|
1617
|
+
/*
|
1618
|
+
* call-seq:
|
1619
|
+
* strio.length -> integer
|
1620
|
+
* strio.size -> integer
|
1621
|
+
*
|
1622
|
+
* Returns the size of the buffer string.
|
1623
|
+
*/
|
1624
|
+
static VALUE
|
1625
|
+
strio_size(VALUE self)
|
1626
|
+
{
|
1627
|
+
VALUE string = StringIO(self)->string;
|
1628
|
+
if (NIL_P(string)) {
|
1629
|
+
rb_raise(rb_eIOError, "not opened");
|
1630
|
+
}
|
1631
|
+
return ULONG2NUM(RSTRING_LEN(string));
|
1632
|
+
}
|
1633
|
+
|
1634
|
+
/*
|
1635
|
+
* call-seq:
|
1636
|
+
* strio.truncate(integer) -> 0
|
1637
|
+
*
|
1638
|
+
* Truncates the buffer string to at most _integer_ bytes. The stream
|
1639
|
+
* must be opened for writing.
|
1640
|
+
*/
|
1641
|
+
static VALUE
|
1642
|
+
strio_truncate(VALUE self, VALUE len)
|
1643
|
+
{
|
1644
|
+
VALUE string = writable(self)->string;
|
1645
|
+
long l = NUM2LONG(len);
|
1646
|
+
long plen = RSTRING_LEN(string);
|
1647
|
+
if (l < 0) {
|
1648
|
+
error_inval("negative length");
|
1649
|
+
}
|
1650
|
+
rb_str_resize(string, l);
|
1651
|
+
if (plen < l) {
|
1652
|
+
MEMZERO(RSTRING_PTR(string) + plen, char, l - plen);
|
1653
|
+
}
|
1654
|
+
return len;
|
1655
|
+
}
|
1656
|
+
|
1657
|
+
/*
|
1658
|
+
* call-seq:
|
1659
|
+
* strio.external_encoding => encoding
|
1660
|
+
*
|
1661
|
+
* Returns the Encoding object that represents the encoding of the file.
|
1662
|
+
* If the stream is write mode and no encoding is specified, returns
|
1663
|
+
* +nil+.
|
1664
|
+
*/
|
1665
|
+
|
1666
|
+
static VALUE
|
1667
|
+
strio_external_encoding(VALUE self)
|
1668
|
+
{
|
1669
|
+
struct StringIO *ptr = StringIO(self);
|
1670
|
+
return rb_enc_from_encoding(get_enc(ptr));
|
1671
|
+
}
|
1672
|
+
|
1673
|
+
/*
|
1674
|
+
* call-seq:
|
1675
|
+
* strio.internal_encoding => encoding
|
1676
|
+
*
|
1677
|
+
* Returns the Encoding of the internal string if conversion is
|
1678
|
+
* specified. Otherwise returns +nil+.
|
1679
|
+
*/
|
1680
|
+
|
1681
|
+
static VALUE
|
1682
|
+
strio_internal_encoding(VALUE self)
|
1683
|
+
{
|
1684
|
+
return Qnil;
|
1685
|
+
}
|
1686
|
+
|
1687
|
+
/*
|
1688
|
+
* call-seq:
|
1689
|
+
* strio.set_encoding(ext_enc, [int_enc[, opt]]) => strio
|
1690
|
+
*
|
1691
|
+
* Specify the encoding of the StringIO as <i>ext_enc</i>.
|
1692
|
+
* Use the default external encoding if <i>ext_enc</i> is nil.
|
1693
|
+
* 2nd argument <i>int_enc</i> and optional hash <i>opt</i> argument
|
1694
|
+
* are ignored; they are for API compatibility to IO.
|
1695
|
+
*/
|
1696
|
+
|
1697
|
+
static VALUE
|
1698
|
+
strio_set_encoding(int argc, VALUE *argv, VALUE self)
|
1699
|
+
{
|
1700
|
+
rb_encoding* enc;
|
1701
|
+
struct StringIO *ptr = StringIO(self);
|
1702
|
+
VALUE ext_enc, int_enc, opt;
|
1703
|
+
|
1704
|
+
argc = rb_scan_args(argc, argv, "11:", &ext_enc, &int_enc, &opt);
|
1705
|
+
|
1706
|
+
if (NIL_P(ext_enc)) {
|
1707
|
+
enc = rb_default_external_encoding();
|
1708
|
+
}
|
1709
|
+
else {
|
1710
|
+
enc = rb_to_encoding(ext_enc);
|
1711
|
+
}
|
1712
|
+
ptr->enc = enc;
|
1713
|
+
if (WRITABLE(self)) {
|
1714
|
+
rb_enc_associate(ptr->string, enc);
|
1715
|
+
}
|
1716
|
+
|
1717
|
+
return self;
|
1718
|
+
}
|
1719
|
+
|
1720
|
+
static VALUE
|
1721
|
+
strio_set_encoding_by_bom(VALUE self)
|
1722
|
+
{
|
1723
|
+
struct StringIO *ptr = StringIO(self);
|
1724
|
+
|
1725
|
+
if (!set_encoding_by_bom(ptr)) return Qnil;
|
1726
|
+
return rb_enc_from_encoding(ptr->enc);
|
1727
|
+
}
|
1728
|
+
|
1729
|
+
/*
|
1730
|
+
* Pseudo I/O on String object, with interface corresponding to IO.
|
1731
|
+
*
|
1732
|
+
* Commonly used to simulate <code>$stdio</code> or <code>$stderr</code>
|
1733
|
+
*
|
1734
|
+
* === Examples
|
1735
|
+
*
|
1736
|
+
* require 'stringio'
|
1737
|
+
*
|
1738
|
+
* # Writing stream emulation
|
1739
|
+
* io = StringIO.new
|
1740
|
+
* io.puts "Hello World"
|
1741
|
+
* io.string #=> "Hello World\n"
|
1742
|
+
*
|
1743
|
+
* # Reading stream emulation
|
1744
|
+
* io = StringIO.new "first\nsecond\nlast\n"
|
1745
|
+
* io.getc #=> "f"
|
1746
|
+
* io.gets #=> "irst\n"
|
1747
|
+
* io.read #=> "second\nlast\n"
|
1748
|
+
*/
|
1749
|
+
void
|
1750
|
+
Init_stringio(void)
|
1751
|
+
{
|
1752
|
+
#undef rb_intern
|
1753
|
+
|
1754
|
+
#ifdef HAVE_RB_EXT_RACTOR_SAFE
|
1755
|
+
rb_ext_ractor_safe(true);
|
1756
|
+
#endif
|
1757
|
+
|
1758
|
+
VALUE StringIO = rb_define_class("StringIO", rb_cData);
|
1759
|
+
|
1760
|
+
rb_define_const(StringIO, "VERSION", rb_str_new_cstr(STRINGIO_VERSION));
|
1761
|
+
|
1762
|
+
rb_include_module(StringIO, rb_mEnumerable);
|
1763
|
+
rb_define_alloc_func(StringIO, strio_s_allocate);
|
1764
|
+
rb_define_singleton_method(StringIO, "new", strio_s_new, -1);
|
1765
|
+
rb_define_singleton_method(StringIO, "open", strio_s_open, -1);
|
1766
|
+
rb_define_method(StringIO, "initialize", strio_initialize, -1);
|
1767
|
+
rb_define_method(StringIO, "initialize_copy", strio_copy, 1);
|
1768
|
+
rb_define_method(StringIO, "reopen", strio_reopen, -1);
|
1769
|
+
|
1770
|
+
rb_define_method(StringIO, "string", strio_get_string, 0);
|
1771
|
+
rb_define_method(StringIO, "string=", strio_set_string, 1);
|
1772
|
+
rb_define_method(StringIO, "lineno", strio_get_lineno, 0);
|
1773
|
+
rb_define_method(StringIO, "lineno=", strio_set_lineno, 1);
|
1774
|
+
|
1775
|
+
|
1776
|
+
/* call-seq: strio.binmode -> true */
|
1777
|
+
rb_define_method(StringIO, "binmode", strio_binmode, 0);
|
1778
|
+
rb_define_method(StringIO, "close", strio_close, 0);
|
1779
|
+
rb_define_method(StringIO, "close_read", strio_close_read, 0);
|
1780
|
+
rb_define_method(StringIO, "close_write", strio_close_write, 0);
|
1781
|
+
rb_define_method(StringIO, "closed?", strio_closed, 0);
|
1782
|
+
rb_define_method(StringIO, "closed_read?", strio_closed_read, 0);
|
1783
|
+
rb_define_method(StringIO, "closed_write?", strio_closed_write, 0);
|
1784
|
+
rb_define_method(StringIO, "eof", strio_eof, 0);
|
1785
|
+
rb_define_method(StringIO, "eof?", strio_eof, 0);
|
1786
|
+
/* call-seq: strio.fcntl */
|
1787
|
+
rb_define_method(StringIO, "fcntl", strio_fcntl, -1);
|
1788
|
+
/* call-seq: strio.flush -> strio */
|
1789
|
+
rb_define_method(StringIO, "flush", strio_flush, 0);
|
1790
|
+
/* call-seq: strio.fsync -> 0 */
|
1791
|
+
rb_define_method(StringIO, "fsync", strio_fsync, 0);
|
1792
|
+
rb_define_method(StringIO, "pos", strio_get_pos, 0);
|
1793
|
+
rb_define_method(StringIO, "pos=", strio_set_pos, 1);
|
1794
|
+
rb_define_method(StringIO, "rewind", strio_rewind, 0);
|
1795
|
+
rb_define_method(StringIO, "seek", strio_seek, -1);
|
1796
|
+
rb_define_method(StringIO, "sync", strio_get_sync, 0);
|
1797
|
+
/* call-seq: strio.sync = boolean -> boolean */
|
1798
|
+
rb_define_method(StringIO, "sync=", strio_set_sync, 1);
|
1799
|
+
rb_define_method(StringIO, "tell", strio_tell, 0);
|
1800
|
+
|
1801
|
+
rb_define_method(StringIO, "each", strio_each, -1);
|
1802
|
+
rb_define_method(StringIO, "each_line", strio_each, -1);
|
1803
|
+
rb_define_method(StringIO, "each_byte", strio_each_byte, 0);
|
1804
|
+
rb_define_method(StringIO, "each_char", strio_each_char, 0);
|
1805
|
+
rb_define_method(StringIO, "each_codepoint", strio_each_codepoint, 0);
|
1806
|
+
rb_define_method(StringIO, "getc", strio_getc, 0);
|
1807
|
+
rb_define_method(StringIO, "ungetc", strio_ungetc, 1);
|
1808
|
+
rb_define_method(StringIO, "ungetbyte", strio_ungetbyte, 1);
|
1809
|
+
rb_define_method(StringIO, "getbyte", strio_getbyte, 0);
|
1810
|
+
rb_define_method(StringIO, "gets", strio_gets, -1);
|
1811
|
+
rb_define_method(StringIO, "readlines", strio_readlines, -1);
|
1812
|
+
rb_define_method(StringIO, "read", strio_read, -1);
|
1813
|
+
|
1814
|
+
rb_define_method(StringIO, "write", strio_write_m, -1);
|
1815
|
+
rb_define_method(StringIO, "putc", strio_putc, 1);
|
1816
|
+
|
1817
|
+
/*
|
1818
|
+
* call-seq:
|
1819
|
+
* strio.isatty -> nil
|
1820
|
+
* strio.tty? -> nil
|
1821
|
+
*
|
1822
|
+
*/
|
1823
|
+
rb_define_method(StringIO, "isatty", strio_isatty, 0);
|
1824
|
+
rb_define_method(StringIO, "tty?", strio_isatty, 0);
|
1825
|
+
|
1826
|
+
/* call-seq: strio.pid -> nil */
|
1827
|
+
rb_define_method(StringIO, "pid", strio_pid, 0);
|
1828
|
+
|
1829
|
+
/* call-seq: strio.fileno -> nil */
|
1830
|
+
rb_define_method(StringIO, "fileno", strio_fileno, 0);
|
1831
|
+
rb_define_method(StringIO, "size", strio_size, 0);
|
1832
|
+
rb_define_method(StringIO, "length", strio_size, 0);
|
1833
|
+
rb_define_method(StringIO, "truncate", strio_truncate, 1);
|
1834
|
+
|
1835
|
+
rb_define_method(StringIO, "external_encoding", strio_external_encoding, 0);
|
1836
|
+
rb_define_method(StringIO, "internal_encoding", strio_internal_encoding, 0);
|
1837
|
+
rb_define_method(StringIO, "set_encoding", strio_set_encoding, -1);
|
1838
|
+
rb_define_method(StringIO, "set_encoding_by_bom", strio_set_encoding_by_bom, 0);
|
1839
|
+
|
1840
|
+
{
|
1841
|
+
VALUE mReadable = rb_define_module_under(rb_cIO, "generic_readable");
|
1842
|
+
rb_define_method(mReadable, "readchar", strio_readchar, 0);
|
1843
|
+
rb_define_method(mReadable, "readbyte", strio_readbyte, 0);
|
1844
|
+
rb_define_method(mReadable, "readline", strio_readline, -1);
|
1845
|
+
rb_define_method(mReadable, "sysread", strio_sysread, -1);
|
1846
|
+
rb_define_method(mReadable, "readpartial", strio_sysread, -1);
|
1847
|
+
rb_define_method(mReadable, "read_nonblock", strio_read_nonblock, -1);
|
1848
|
+
rb_include_module(StringIO, mReadable);
|
1849
|
+
}
|
1850
|
+
{
|
1851
|
+
VALUE mWritable = rb_define_module_under(rb_cIO, "generic_writable");
|
1852
|
+
rb_define_method(mWritable, "<<", strio_addstr, 1);
|
1853
|
+
rb_define_method(mWritable, "print", strio_print, -1);
|
1854
|
+
rb_define_method(mWritable, "printf", strio_printf, -1);
|
1855
|
+
rb_define_method(mWritable, "puts", strio_puts, -1);
|
1856
|
+
rb_define_method(mWritable, "syswrite", strio_syswrite, 1);
|
1857
|
+
rb_define_method(mWritable, "write_nonblock", strio_syswrite_nonblock, -1);
|
1858
|
+
rb_include_module(StringIO, mWritable);
|
1859
|
+
}
|
1860
|
+
|
1861
|
+
sym_exception = ID2SYM(rb_intern("exception"));
|
1862
|
+
}
|