ric 0.12.0 → 0.14.1
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 +2 -0
- data/Gemfile +7 -1
- data/HISTORY.yml +20 -0
- data/Manifest +1360 -8
- data/README.md +1 -1
- data/Rakefile +70 -41
- data/VERSION +1 -1
- data/bin/{xcopy → ric-xcopy} +3 -13
- data/bin/septober +47 -27
- data/lib/ruby_classes/strings.rb +5 -0
- 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/{TODO-rake-deploy.touch → 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 +1459 -105
- metadata.gz.sig +2 -0
- data/CHANGELOG +0 -7
- data/Makefile +0 -8
- data/sbin/rake-deploy1.sh +0 -9
- data/sbin/rake-deploy2.sh +0 -11
- data/sbin/reboot.rb +0 -3
- data/sbin/ric_reboot.rb +0 -3
@@ -0,0 +1,2345 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
##
|
3
|
+
# This file contains stuff stolen outright from:
|
4
|
+
#
|
5
|
+
# rtags.rb -
|
6
|
+
# ruby-lex.rb - ruby lexcal analyzer
|
7
|
+
# ruby-token.rb - ruby tokens
|
8
|
+
# by Keiju ISHITSUKA (Nippon Rational Inc.)
|
9
|
+
#
|
10
|
+
|
11
|
+
##
|
12
|
+
# Extracts code elements from a source file returning a TopLevel object
|
13
|
+
# containing the constituent file elements.
|
14
|
+
#
|
15
|
+
# This file is based on rtags
|
16
|
+
#
|
17
|
+
# RubyParser understands how to document:
|
18
|
+
# * classes
|
19
|
+
# * modules
|
20
|
+
# * methods
|
21
|
+
# * constants
|
22
|
+
# * aliases
|
23
|
+
# * private, public, protected
|
24
|
+
# * private_class_function, public_class_function
|
25
|
+
# * private_constant, public_constant
|
26
|
+
# * module_function
|
27
|
+
# * attr, attr_reader, attr_writer, attr_accessor
|
28
|
+
# * extra accessors given on the command line
|
29
|
+
# * metaprogrammed methods
|
30
|
+
# * require
|
31
|
+
# * include
|
32
|
+
#
|
33
|
+
# == Method Arguments
|
34
|
+
#
|
35
|
+
#--
|
36
|
+
# NOTE: I don't think this works, needs tests, remove the paragraph following
|
37
|
+
# this block when known to work
|
38
|
+
#
|
39
|
+
# The parser extracts the arguments from the method definition. You can
|
40
|
+
# override this with a custom argument definition using the :args: directive:
|
41
|
+
#
|
42
|
+
# ##
|
43
|
+
# # This method tries over and over until it is tired
|
44
|
+
#
|
45
|
+
# def go_go_go(thing_to_try, tries = 10) # :args: thing_to_try
|
46
|
+
# puts thing_to_try
|
47
|
+
# go_go_go thing_to_try, tries - 1
|
48
|
+
# end
|
49
|
+
#
|
50
|
+
# If you have a more-complex set of overrides you can use the :call-seq:
|
51
|
+
# directive:
|
52
|
+
#++
|
53
|
+
#
|
54
|
+
# The parser extracts the arguments from the method definition. You can
|
55
|
+
# override this with a custom argument definition using the :call-seq:
|
56
|
+
# directive:
|
57
|
+
#
|
58
|
+
# ##
|
59
|
+
# # This method can be called with a range or an offset and length
|
60
|
+
# #
|
61
|
+
# # :call-seq:
|
62
|
+
# # my_method(Range)
|
63
|
+
# # my_method(offset, length)
|
64
|
+
#
|
65
|
+
# def my_method(*args)
|
66
|
+
# end
|
67
|
+
#
|
68
|
+
# The parser extracts +yield+ expressions from method bodies to gather the
|
69
|
+
# yielded argument names. If your method manually calls a block instead of
|
70
|
+
# yielding or you want to override the discovered argument names use
|
71
|
+
# the :yields: directive:
|
72
|
+
#
|
73
|
+
# ##
|
74
|
+
# # My method is awesome
|
75
|
+
#
|
76
|
+
# def my_method(&block) # :yields: happy, times
|
77
|
+
# block.call 1, 2
|
78
|
+
# end
|
79
|
+
#
|
80
|
+
# == Metaprogrammed Methods
|
81
|
+
#
|
82
|
+
# To pick up a metaprogrammed method, the parser looks for a comment starting
|
83
|
+
# with '##' before an identifier:
|
84
|
+
#
|
85
|
+
# ##
|
86
|
+
# # This is a meta-programmed method!
|
87
|
+
#
|
88
|
+
# add_my_method :meta_method, :arg1, :arg2
|
89
|
+
#
|
90
|
+
# The parser looks at the token after the identifier to determine the name, in
|
91
|
+
# this example, :meta_method. If a name cannot be found, a warning is printed
|
92
|
+
# and 'unknown is used.
|
93
|
+
#
|
94
|
+
# You can force the name of a method using the :method: directive:
|
95
|
+
#
|
96
|
+
# ##
|
97
|
+
# # :method: some_method!
|
98
|
+
#
|
99
|
+
# By default, meta-methods are instance methods. To indicate that a method is
|
100
|
+
# a singleton method instead use the :singleton-method: directive:
|
101
|
+
#
|
102
|
+
# ##
|
103
|
+
# # :singleton-method:
|
104
|
+
#
|
105
|
+
# You can also use the :singleton-method: directive with a name:
|
106
|
+
#
|
107
|
+
# ##
|
108
|
+
# # :singleton-method: some_method!
|
109
|
+
#
|
110
|
+
# You can define arguments for metaprogrammed methods via either the
|
111
|
+
# :call-seq:, :arg: or :args: directives.
|
112
|
+
#
|
113
|
+
# Additionally you can mark a method as an attribute by
|
114
|
+
# using :attr:, :attr_reader:, :attr_writer: or :attr_accessor:. Just like
|
115
|
+
# for :method:, the name is optional.
|
116
|
+
#
|
117
|
+
# ##
|
118
|
+
# # :attr_reader: my_attr_name
|
119
|
+
#
|
120
|
+
# == Hidden methods and attributes
|
121
|
+
#
|
122
|
+
# You can provide documentation for methods that don't appear using
|
123
|
+
# the :method:, :singleton-method: and :attr: directives:
|
124
|
+
#
|
125
|
+
# ##
|
126
|
+
# # :attr_writer: ghost_writer
|
127
|
+
# # There is an attribute here, but you can't see it!
|
128
|
+
#
|
129
|
+
# ##
|
130
|
+
# # :method: ghost_method
|
131
|
+
# # There is a method here, but you can't see it!
|
132
|
+
#
|
133
|
+
# ##
|
134
|
+
# # this is a comment for a regular method
|
135
|
+
#
|
136
|
+
# def regular_method() end
|
137
|
+
#
|
138
|
+
# Note that by default, the :method: directive will be ignored if there is a
|
139
|
+
# standard rdocable item following it.
|
140
|
+
|
141
|
+
require 'ripper'
|
142
|
+
require_relative 'ripper_state_lex'
|
143
|
+
|
144
|
+
class RDoc::Parser::Ruby < RDoc::Parser
|
145
|
+
|
146
|
+
parse_files_matching(/\.rbw?$/)
|
147
|
+
|
148
|
+
include RDoc::TokenStream
|
149
|
+
include RDoc::Parser::RubyTools
|
150
|
+
|
151
|
+
##
|
152
|
+
# RDoc::NormalClass type
|
153
|
+
|
154
|
+
NORMAL = "::"
|
155
|
+
|
156
|
+
##
|
157
|
+
# RDoc::SingleClass type
|
158
|
+
|
159
|
+
SINGLE = "<<"
|
160
|
+
|
161
|
+
##
|
162
|
+
# Creates a new Ruby parser.
|
163
|
+
|
164
|
+
def initialize(top_level, file_name, content, options, stats)
|
165
|
+
super
|
166
|
+
|
167
|
+
if /\t/ =~ content then
|
168
|
+
tab_width = @options.tab_width
|
169
|
+
content = content.split(/\n/).map do |line|
|
170
|
+
1 while line.gsub!(/\t+/) {
|
171
|
+
' ' * (tab_width*$&.length - $`.length % tab_width)
|
172
|
+
} && $~
|
173
|
+
line
|
174
|
+
end.join("\n")
|
175
|
+
end
|
176
|
+
|
177
|
+
@size = 0
|
178
|
+
@token_listeners = nil
|
179
|
+
content = RDoc::Encoding.remove_magic_comment content
|
180
|
+
@scanner = RDoc::Parser::RipperStateLex.parse(content)
|
181
|
+
@content = content
|
182
|
+
@scanner_point = 0
|
183
|
+
@prev_seek = nil
|
184
|
+
@markup = @options.markup
|
185
|
+
@track_visibility = :nodoc != @options.visibility
|
186
|
+
@encoding = @options.encoding
|
187
|
+
|
188
|
+
reset
|
189
|
+
end
|
190
|
+
|
191
|
+
def tk_nl?(tk)
|
192
|
+
:on_nl == tk[:kind] or :on_ignored_nl == tk[:kind]
|
193
|
+
end
|
194
|
+
|
195
|
+
##
|
196
|
+
# Retrieves the read token stream and replaces +pattern+ with +replacement+
|
197
|
+
# using gsub. If the result is only a ";" returns an empty string.
|
198
|
+
|
199
|
+
def get_tkread_clean pattern, replacement # :nodoc:
|
200
|
+
read = get_tkread.gsub(pattern, replacement).strip
|
201
|
+
return '' if read == ';'
|
202
|
+
read
|
203
|
+
end
|
204
|
+
|
205
|
+
##
|
206
|
+
# Extracts the visibility information for the visibility token +tk+
|
207
|
+
# and +single+ class type identifier.
|
208
|
+
#
|
209
|
+
# Returns the visibility type (a string), the visibility (a symbol) and
|
210
|
+
# +singleton+ if the methods following should be converted to singleton
|
211
|
+
# methods.
|
212
|
+
|
213
|
+
def get_visibility_information tk, single # :nodoc:
|
214
|
+
vis_type = tk[:text]
|
215
|
+
singleton = single == SINGLE
|
216
|
+
|
217
|
+
vis =
|
218
|
+
case vis_type
|
219
|
+
when 'private' then :private
|
220
|
+
when 'protected' then :protected
|
221
|
+
when 'public' then :public
|
222
|
+
when 'private_class_method' then
|
223
|
+
singleton = true
|
224
|
+
:private
|
225
|
+
when 'public_class_method' then
|
226
|
+
singleton = true
|
227
|
+
:public
|
228
|
+
when 'module_function' then
|
229
|
+
singleton = true
|
230
|
+
:public
|
231
|
+
else
|
232
|
+
raise RDoc::Error, "Invalid visibility: #{tk.name}"
|
233
|
+
end
|
234
|
+
|
235
|
+
return vis_type, vis, singleton
|
236
|
+
end
|
237
|
+
|
238
|
+
##
|
239
|
+
# Look for the first comment in a file that isn't a shebang line.
|
240
|
+
|
241
|
+
def collect_first_comment
|
242
|
+
skip_tkspace
|
243
|
+
comment = ''.dup
|
244
|
+
comment = RDoc::Encoding.change_encoding comment, @encoding if @encoding
|
245
|
+
first_line = true
|
246
|
+
first_comment_tk_kind = nil
|
247
|
+
line_no = nil
|
248
|
+
|
249
|
+
tk = get_tk
|
250
|
+
|
251
|
+
while tk && (:on_comment == tk[:kind] or :on_embdoc == tk[:kind])
|
252
|
+
comment_body = retrieve_comment_body(tk)
|
253
|
+
if first_line and comment_body =~ /\A#!/ then
|
254
|
+
skip_tkspace
|
255
|
+
tk = get_tk
|
256
|
+
elsif first_line and comment_body =~ /\A#\s*-\*-/ then
|
257
|
+
first_line = false
|
258
|
+
skip_tkspace
|
259
|
+
tk = get_tk
|
260
|
+
else
|
261
|
+
break if first_comment_tk_kind and not first_comment_tk_kind === tk[:kind]
|
262
|
+
first_comment_tk_kind = tk[:kind]
|
263
|
+
|
264
|
+
line_no = tk[:line_no] if first_line
|
265
|
+
first_line = false
|
266
|
+
comment << comment_body
|
267
|
+
tk = get_tk
|
268
|
+
|
269
|
+
if :on_nl === tk then
|
270
|
+
skip_tkspace_without_nl
|
271
|
+
tk = get_tk
|
272
|
+
end
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
276
|
+
unget_tk tk
|
277
|
+
|
278
|
+
new_comment comment, line_no
|
279
|
+
end
|
280
|
+
|
281
|
+
##
|
282
|
+
# Consumes trailing whitespace from the token stream
|
283
|
+
|
284
|
+
def consume_trailing_spaces # :nodoc:
|
285
|
+
skip_tkspace_without_nl
|
286
|
+
end
|
287
|
+
|
288
|
+
##
|
289
|
+
# Creates a new attribute in +container+ with +name+.
|
290
|
+
|
291
|
+
def create_attr container, single, name, rw, comment # :nodoc:
|
292
|
+
att = RDoc::Attr.new get_tkread, name, rw, comment, single == SINGLE
|
293
|
+
record_location att
|
294
|
+
|
295
|
+
container.add_attribute att
|
296
|
+
@stats.add_attribute att
|
297
|
+
|
298
|
+
att
|
299
|
+
end
|
300
|
+
|
301
|
+
##
|
302
|
+
# Creates a module alias in +container+ at +rhs_name+ (or at the top-level
|
303
|
+
# for "::") with the name from +constant+.
|
304
|
+
|
305
|
+
def create_module_alias container, constant, rhs_name # :nodoc:
|
306
|
+
mod = if rhs_name =~ /^::/ then
|
307
|
+
@store.find_class_or_module rhs_name
|
308
|
+
else
|
309
|
+
container.find_module_named rhs_name
|
310
|
+
end
|
311
|
+
|
312
|
+
container.add_module_alias mod, rhs_name, constant, @top_level
|
313
|
+
end
|
314
|
+
|
315
|
+
##
|
316
|
+
# Aborts with +msg+
|
317
|
+
|
318
|
+
def error(msg)
|
319
|
+
msg = make_message msg
|
320
|
+
|
321
|
+
abort msg
|
322
|
+
end
|
323
|
+
|
324
|
+
##
|
325
|
+
# Looks for a true or false token.
|
326
|
+
|
327
|
+
def get_bool
|
328
|
+
skip_tkspace
|
329
|
+
tk = get_tk
|
330
|
+
if :on_kw == tk[:kind] && 'true' == tk[:text]
|
331
|
+
true
|
332
|
+
elsif :on_kw == tk[:kind] && ('false' == tk[:text] || 'nil' == tk[:text])
|
333
|
+
false
|
334
|
+
else
|
335
|
+
unget_tk tk
|
336
|
+
true
|
337
|
+
end
|
338
|
+
end
|
339
|
+
|
340
|
+
##
|
341
|
+
# Look for the name of a class of module (optionally with a leading :: or
|
342
|
+
# with :: separated named) and return the ultimate name, the associated
|
343
|
+
# container, and the given name (with the ::).
|
344
|
+
|
345
|
+
def get_class_or_module container, ignore_constants = false
|
346
|
+
skip_tkspace
|
347
|
+
name_t = get_tk
|
348
|
+
given_name = ''.dup
|
349
|
+
|
350
|
+
# class ::A -> A is in the top level
|
351
|
+
if :on_op == name_t[:kind] and '::' == name_t[:text] then # bug
|
352
|
+
name_t = get_tk
|
353
|
+
container = @top_level
|
354
|
+
given_name << '::'
|
355
|
+
end
|
356
|
+
|
357
|
+
skip_tkspace_without_nl
|
358
|
+
given_name << name_t[:text]
|
359
|
+
|
360
|
+
is_self = name_t[:kind] == :on_op && name_t[:text] == '<<'
|
361
|
+
new_modules = []
|
362
|
+
while !is_self && (tk = peek_tk) and :on_op == tk[:kind] and '::' == tk[:text] do
|
363
|
+
prev_container = container
|
364
|
+
container = container.find_module_named name_t[:text]
|
365
|
+
container ||=
|
366
|
+
if ignore_constants then
|
367
|
+
c = RDoc::NormalModule.new name_t[:text]
|
368
|
+
c.store = @store
|
369
|
+
new_modules << [prev_container, c]
|
370
|
+
c
|
371
|
+
else
|
372
|
+
c = prev_container.add_module RDoc::NormalModule, name_t[:text]
|
373
|
+
c.ignore unless prev_container.document_children
|
374
|
+
@top_level.add_to_classes_or_modules c
|
375
|
+
c
|
376
|
+
end
|
377
|
+
|
378
|
+
record_location container
|
379
|
+
|
380
|
+
get_tk
|
381
|
+
skip_tkspace
|
382
|
+
if :on_lparen == peek_tk[:kind] # ProcObjectInConstant::()
|
383
|
+
parse_method_or_yield_parameters
|
384
|
+
break
|
385
|
+
end
|
386
|
+
name_t = get_tk
|
387
|
+
unless :on_const == name_t[:kind] || :on_ident == name_t[:kind]
|
388
|
+
raise RDoc::Error, "Invalid class or module definition: #{given_name}"
|
389
|
+
end
|
390
|
+
if prev_container == container and !ignore_constants
|
391
|
+
given_name = name_t[:text]
|
392
|
+
else
|
393
|
+
given_name << '::' + name_t[:text]
|
394
|
+
end
|
395
|
+
end
|
396
|
+
|
397
|
+
skip_tkspace_without_nl
|
398
|
+
|
399
|
+
return [container, name_t, given_name, new_modules]
|
400
|
+
end
|
401
|
+
|
402
|
+
##
|
403
|
+
# Return a superclass, which can be either a constant of an expression
|
404
|
+
|
405
|
+
def get_class_specification
|
406
|
+
tk = peek_tk
|
407
|
+
if tk.nil?
|
408
|
+
return ''
|
409
|
+
elsif :on_kw == tk[:kind] && 'self' == tk[:text]
|
410
|
+
return 'self'
|
411
|
+
elsif :on_gvar == tk[:kind]
|
412
|
+
return ''
|
413
|
+
end
|
414
|
+
|
415
|
+
res = get_constant
|
416
|
+
|
417
|
+
skip_tkspace_without_nl
|
418
|
+
|
419
|
+
get_tkread # empty out read buffer
|
420
|
+
|
421
|
+
tk = get_tk
|
422
|
+
return res unless tk
|
423
|
+
|
424
|
+
case tk[:kind]
|
425
|
+
when :on_nl, :on_comment, :on_embdoc, :on_semicolon then
|
426
|
+
unget_tk(tk)
|
427
|
+
return res
|
428
|
+
end
|
429
|
+
|
430
|
+
res += parse_call_parameters(tk)
|
431
|
+
res
|
432
|
+
end
|
433
|
+
|
434
|
+
##
|
435
|
+
# Parse a constant, which might be qualified by one or more class or module
|
436
|
+
# names
|
437
|
+
|
438
|
+
def get_constant
|
439
|
+
res = ""
|
440
|
+
skip_tkspace_without_nl
|
441
|
+
tk = get_tk
|
442
|
+
|
443
|
+
while tk && ((:on_op == tk[:kind] && '::' == tk[:text]) || :on_const == tk[:kind]) do
|
444
|
+
res += tk[:text]
|
445
|
+
tk = get_tk
|
446
|
+
end
|
447
|
+
|
448
|
+
unget_tk(tk)
|
449
|
+
res
|
450
|
+
end
|
451
|
+
|
452
|
+
##
|
453
|
+
# Get an included module that may be surrounded by parens
|
454
|
+
|
455
|
+
def get_included_module_with_optional_parens
|
456
|
+
skip_tkspace_without_nl
|
457
|
+
get_tkread
|
458
|
+
tk = get_tk
|
459
|
+
end_token = get_end_token tk
|
460
|
+
return '' unless end_token
|
461
|
+
|
462
|
+
nest = 0
|
463
|
+
continue = false
|
464
|
+
only_constant = true
|
465
|
+
|
466
|
+
while tk != nil do
|
467
|
+
is_element_of_constant = false
|
468
|
+
case tk[:kind]
|
469
|
+
when :on_semicolon then
|
470
|
+
break if nest == 0
|
471
|
+
when :on_lbracket then
|
472
|
+
nest += 1
|
473
|
+
when :on_rbracket then
|
474
|
+
nest -= 1
|
475
|
+
when :on_lbrace then
|
476
|
+
nest += 1
|
477
|
+
when :on_rbrace then
|
478
|
+
nest -= 1
|
479
|
+
if nest <= 0
|
480
|
+
# we might have a.each { |i| yield i }
|
481
|
+
unget_tk(tk) if nest < 0
|
482
|
+
break
|
483
|
+
end
|
484
|
+
when :on_lparen then
|
485
|
+
nest += 1
|
486
|
+
when end_token[:kind] then
|
487
|
+
if end_token[:kind] == :on_rparen
|
488
|
+
nest -= 1
|
489
|
+
break if nest <= 0
|
490
|
+
else
|
491
|
+
break if nest <= 0
|
492
|
+
end
|
493
|
+
when :on_rparen then
|
494
|
+
nest -= 1
|
495
|
+
when :on_comment, :on_embdoc then
|
496
|
+
@read.pop
|
497
|
+
if :on_nl == end_token[:kind] and "\n" == tk[:text][-1] and
|
498
|
+
(!continue or (tk[:state] & RDoc::Parser::RipperStateLex::EXPR_LABEL) != 0) then
|
499
|
+
break if !continue and nest <= 0
|
500
|
+
end
|
501
|
+
when :on_comma then
|
502
|
+
continue = true
|
503
|
+
when :on_ident then
|
504
|
+
continue = false if continue
|
505
|
+
when :on_kw then
|
506
|
+
case tk[:text]
|
507
|
+
when 'def', 'do', 'case', 'for', 'begin', 'class', 'module'
|
508
|
+
nest += 1
|
509
|
+
when 'if', 'unless', 'while', 'until', 'rescue'
|
510
|
+
# postfix if/unless/while/until/rescue must be EXPR_LABEL
|
511
|
+
nest += 1 unless (tk[:state] & RDoc::Parser::RipperStateLex::EXPR_LABEL) != 0
|
512
|
+
when 'end'
|
513
|
+
nest -= 1
|
514
|
+
break if nest == 0
|
515
|
+
end
|
516
|
+
when :on_const then
|
517
|
+
is_element_of_constant = true
|
518
|
+
when :on_op then
|
519
|
+
is_element_of_constant = true if '::' == tk[:text]
|
520
|
+
end
|
521
|
+
only_constant = false unless is_element_of_constant
|
522
|
+
tk = get_tk
|
523
|
+
end
|
524
|
+
|
525
|
+
if only_constant
|
526
|
+
get_tkread_clean(/\s+/, ' ')
|
527
|
+
else
|
528
|
+
''
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
532
|
+
##
|
533
|
+
# Little hack going on here. In the statement:
|
534
|
+
#
|
535
|
+
# f = 2*(1+yield)
|
536
|
+
#
|
537
|
+
# We see the RPAREN as the next token, so we need to exit early. This still
|
538
|
+
# won't catch all cases (such as "a = yield + 1"
|
539
|
+
|
540
|
+
def get_end_token tk # :nodoc:
|
541
|
+
case tk[:kind]
|
542
|
+
when :on_lparen
|
543
|
+
token = RDoc::Parser::RipperStateLex::Token.new
|
544
|
+
token[:kind] = :on_rparen
|
545
|
+
token[:text] = ')'
|
546
|
+
token
|
547
|
+
when :on_rparen
|
548
|
+
nil
|
549
|
+
else
|
550
|
+
token = RDoc::Parser::RipperStateLex::Token.new
|
551
|
+
token[:kind] = :on_nl
|
552
|
+
token[:text] = "\n"
|
553
|
+
token
|
554
|
+
end
|
555
|
+
end
|
556
|
+
|
557
|
+
##
|
558
|
+
# Retrieves the method container for a singleton method.
|
559
|
+
|
560
|
+
def get_method_container container, name_t # :nodoc:
|
561
|
+
prev_container = container
|
562
|
+
container = container.find_module_named(name_t[:text])
|
563
|
+
|
564
|
+
unless container then
|
565
|
+
constant = prev_container.constants.find do |const|
|
566
|
+
const.name == name_t[:text]
|
567
|
+
end
|
568
|
+
|
569
|
+
if constant then
|
570
|
+
parse_method_dummy prev_container
|
571
|
+
return
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
575
|
+
unless container then
|
576
|
+
# TODO seems broken, should starting at Object in @store
|
577
|
+
obj = name_t[:text].split("::").inject(Object) do |state, item|
|
578
|
+
state.const_get(item)
|
579
|
+
end rescue nil
|
580
|
+
|
581
|
+
type = obj.class == Class ? RDoc::NormalClass : RDoc::NormalModule
|
582
|
+
|
583
|
+
unless [Class, Module].include?(obj.class) then
|
584
|
+
warn("Couldn't find #{name_t[:text]}. Assuming it's a module")
|
585
|
+
end
|
586
|
+
|
587
|
+
if type == RDoc::NormalClass then
|
588
|
+
sclass = obj.superclass ? obj.superclass.name : nil
|
589
|
+
container = prev_container.add_class type, name_t[:text], sclass
|
590
|
+
else
|
591
|
+
container = prev_container.add_module type, name_t[:text]
|
592
|
+
end
|
593
|
+
|
594
|
+
record_location container
|
595
|
+
end
|
596
|
+
|
597
|
+
container
|
598
|
+
end
|
599
|
+
|
600
|
+
##
|
601
|
+
# Extracts a name or symbol from the token stream.
|
602
|
+
|
603
|
+
def get_symbol_or_name
|
604
|
+
tk = get_tk
|
605
|
+
case tk[:kind]
|
606
|
+
when :on_symbol then
|
607
|
+
text = tk[:text].sub(/^:/, '')
|
608
|
+
|
609
|
+
next_tk = peek_tk
|
610
|
+
if next_tk && :on_op == next_tk[:kind] && '=' == next_tk[:text] then
|
611
|
+
get_tk
|
612
|
+
text << '='
|
613
|
+
end
|
614
|
+
|
615
|
+
text
|
616
|
+
when :on_ident, :on_const, :on_gvar, :on_cvar, :on_ivar, :on_op, :on_kw then
|
617
|
+
tk[:text]
|
618
|
+
when :on_tstring, :on_dstring then
|
619
|
+
tk[:text][1..-2]
|
620
|
+
else
|
621
|
+
raise RDoc::Error, "Name or symbol expected (got #{tk})"
|
622
|
+
end
|
623
|
+
end
|
624
|
+
|
625
|
+
##
|
626
|
+
# Marks containers between +container+ and +ancestor+ as ignored
|
627
|
+
|
628
|
+
def suppress_parents container, ancestor # :nodoc:
|
629
|
+
while container and container != ancestor do
|
630
|
+
container.suppress unless container.documented?
|
631
|
+
container = container.parent
|
632
|
+
end
|
633
|
+
end
|
634
|
+
|
635
|
+
##
|
636
|
+
# Look for directives in a normal comment block:
|
637
|
+
#
|
638
|
+
# # :stopdoc:
|
639
|
+
# # Don't display comment from this point forward
|
640
|
+
#
|
641
|
+
# This routine modifies its +comment+ parameter.
|
642
|
+
|
643
|
+
def look_for_directives_in container, comment
|
644
|
+
@preprocess.handle comment, container do |directive, param|
|
645
|
+
case directive
|
646
|
+
when 'method', 'singleton-method',
|
647
|
+
'attr', 'attr_accessor', 'attr_reader', 'attr_writer' then
|
648
|
+
false # handled elsewhere
|
649
|
+
when 'section' then
|
650
|
+
break unless container.kind_of?(RDoc::Context)
|
651
|
+
container.set_current_section param, comment.dup
|
652
|
+
comment.text = ''
|
653
|
+
break
|
654
|
+
end
|
655
|
+
end
|
656
|
+
|
657
|
+
comment.remove_private
|
658
|
+
end
|
659
|
+
|
660
|
+
##
|
661
|
+
# Adds useful info about the parser to +message+
|
662
|
+
|
663
|
+
def make_message message
|
664
|
+
prefix = "#{@file_name}:".dup
|
665
|
+
|
666
|
+
tk = peek_tk
|
667
|
+
prefix << "#{tk[:line_no]}:#{tk[:char_no]}:" if tk
|
668
|
+
|
669
|
+
"#{prefix} #{message}"
|
670
|
+
end
|
671
|
+
|
672
|
+
##
|
673
|
+
# Creates a comment with the correct format
|
674
|
+
|
675
|
+
def new_comment comment, line_no = nil
|
676
|
+
c = RDoc::Comment.new comment, @top_level, :ruby
|
677
|
+
c.line = line_no
|
678
|
+
c.format = @markup
|
679
|
+
c
|
680
|
+
end
|
681
|
+
|
682
|
+
##
|
683
|
+
# Creates an RDoc::Attr for the name following +tk+, setting the comment to
|
684
|
+
# +comment+.
|
685
|
+
|
686
|
+
def parse_attr(context, single, tk, comment)
|
687
|
+
line_no = tk[:line_no]
|
688
|
+
|
689
|
+
args = parse_symbol_arg 1
|
690
|
+
if args.size > 0 then
|
691
|
+
name = args[0]
|
692
|
+
rw = "R"
|
693
|
+
skip_tkspace_without_nl
|
694
|
+
tk = get_tk
|
695
|
+
|
696
|
+
if :on_comma == tk[:kind] then
|
697
|
+
rw = "RW" if get_bool
|
698
|
+
else
|
699
|
+
unget_tk tk
|
700
|
+
end
|
701
|
+
|
702
|
+
att = create_attr context, single, name, rw, comment
|
703
|
+
att.line = line_no
|
704
|
+
|
705
|
+
read_documentation_modifiers att, RDoc::ATTR_MODIFIERS
|
706
|
+
else
|
707
|
+
warn "'attr' ignored - looks like a variable"
|
708
|
+
end
|
709
|
+
end
|
710
|
+
|
711
|
+
##
|
712
|
+
# Creates an RDoc::Attr for each attribute listed after +tk+, setting the
|
713
|
+
# comment for each to +comment+.
|
714
|
+
|
715
|
+
def parse_attr_accessor(context, single, tk, comment)
|
716
|
+
line_no = tk[:line_no]
|
717
|
+
|
718
|
+
args = parse_symbol_arg
|
719
|
+
rw = "?"
|
720
|
+
|
721
|
+
tmp = RDoc::CodeObject.new
|
722
|
+
read_documentation_modifiers tmp, RDoc::ATTR_MODIFIERS
|
723
|
+
# TODO In most other places we let the context keep track of document_self
|
724
|
+
# and add found items appropriately but here we do not. I'm not sure why.
|
725
|
+
return if @track_visibility and not tmp.document_self
|
726
|
+
|
727
|
+
case tk[:text]
|
728
|
+
when "attr_reader" then rw = "R"
|
729
|
+
when "attr_writer" then rw = "W"
|
730
|
+
when "attr_accessor" then rw = "RW"
|
731
|
+
else
|
732
|
+
rw = '?'
|
733
|
+
end
|
734
|
+
|
735
|
+
for name in args
|
736
|
+
att = create_attr context, single, name, rw, comment
|
737
|
+
att.line = line_no
|
738
|
+
end
|
739
|
+
end
|
740
|
+
|
741
|
+
##
|
742
|
+
# Parses an +alias+ in +context+ with +comment+
|
743
|
+
|
744
|
+
def parse_alias(context, single, tk, comment)
|
745
|
+
line_no = tk[:line_no]
|
746
|
+
|
747
|
+
skip_tkspace
|
748
|
+
|
749
|
+
if :on_lparen === peek_tk[:kind] then
|
750
|
+
get_tk
|
751
|
+
skip_tkspace
|
752
|
+
end
|
753
|
+
|
754
|
+
new_name = get_symbol_or_name
|
755
|
+
|
756
|
+
skip_tkspace
|
757
|
+
if :on_comma === peek_tk[:kind] then
|
758
|
+
get_tk
|
759
|
+
skip_tkspace
|
760
|
+
end
|
761
|
+
|
762
|
+
begin
|
763
|
+
old_name = get_symbol_or_name
|
764
|
+
rescue RDoc::Error
|
765
|
+
return
|
766
|
+
end
|
767
|
+
|
768
|
+
al = RDoc::Alias.new(get_tkread, old_name, new_name, comment,
|
769
|
+
single == SINGLE)
|
770
|
+
record_location al
|
771
|
+
al.line = line_no
|
772
|
+
|
773
|
+
read_documentation_modifiers al, RDoc::ATTR_MODIFIERS
|
774
|
+
context.add_alias al
|
775
|
+
@stats.add_alias al
|
776
|
+
|
777
|
+
al
|
778
|
+
end
|
779
|
+
|
780
|
+
##
|
781
|
+
# Extracts call parameters from the token stream.
|
782
|
+
|
783
|
+
def parse_call_parameters(tk)
|
784
|
+
end_token = case tk[:kind]
|
785
|
+
when :on_lparen
|
786
|
+
:on_rparen
|
787
|
+
when :on_rparen
|
788
|
+
return ""
|
789
|
+
else
|
790
|
+
:on_nl
|
791
|
+
end
|
792
|
+
nest = 0
|
793
|
+
|
794
|
+
loop do
|
795
|
+
break if tk.nil?
|
796
|
+
case tk[:kind]
|
797
|
+
when :on_semicolon
|
798
|
+
break
|
799
|
+
when :on_lparen
|
800
|
+
nest += 1
|
801
|
+
when end_token
|
802
|
+
if end_token == :on_rparen
|
803
|
+
nest -= 1
|
804
|
+
break if RDoc::Parser::RipperStateLex.end?(tk) and nest <= 0
|
805
|
+
else
|
806
|
+
break if RDoc::Parser::RipperStateLex.end?(tk)
|
807
|
+
end
|
808
|
+
when :on_comment, :on_embdoc
|
809
|
+
unget_tk(tk)
|
810
|
+
break
|
811
|
+
when :on_op
|
812
|
+
if tk[:text] =~ /^(.{1,2})?=$/
|
813
|
+
unget_tk(tk)
|
814
|
+
break
|
815
|
+
end
|
816
|
+
end
|
817
|
+
tk = get_tk
|
818
|
+
end
|
819
|
+
|
820
|
+
get_tkread_clean "\n", " "
|
821
|
+
end
|
822
|
+
|
823
|
+
##
|
824
|
+
# Parses a class in +context+ with +comment+
|
825
|
+
|
826
|
+
def parse_class container, single, tk, comment
|
827
|
+
line_no = tk[:line_no]
|
828
|
+
|
829
|
+
declaration_context = container
|
830
|
+
container, name_t, given_name, = get_class_or_module container
|
831
|
+
|
832
|
+
if name_t[:kind] == :on_const
|
833
|
+
cls = parse_class_regular container, declaration_context, single,
|
834
|
+
name_t, given_name, comment
|
835
|
+
elsif name_t[:kind] == :on_op && name_t[:text] == '<<'
|
836
|
+
case name = get_class_specification
|
837
|
+
when 'self', container.name
|
838
|
+
read_documentation_modifiers cls, RDoc::CLASS_MODIFIERS
|
839
|
+
parse_statements container, SINGLE
|
840
|
+
return # don't update line
|
841
|
+
else
|
842
|
+
cls = parse_class_singleton container, name, comment
|
843
|
+
end
|
844
|
+
else
|
845
|
+
warn "Expected class name or '<<'. Got #{name_t[:kind]}: #{name_t[:text].inspect}"
|
846
|
+
return
|
847
|
+
end
|
848
|
+
|
849
|
+
cls.line = line_no
|
850
|
+
|
851
|
+
# after end modifiers
|
852
|
+
read_documentation_modifiers cls, RDoc::CLASS_MODIFIERS
|
853
|
+
|
854
|
+
cls
|
855
|
+
end
|
856
|
+
|
857
|
+
##
|
858
|
+
# Parses and creates a regular class
|
859
|
+
|
860
|
+
def parse_class_regular container, declaration_context, single, # :nodoc:
|
861
|
+
name_t, given_name, comment
|
862
|
+
superclass = '::Object'
|
863
|
+
|
864
|
+
if given_name =~ /^::/ then
|
865
|
+
declaration_context = @top_level
|
866
|
+
given_name = $'
|
867
|
+
end
|
868
|
+
|
869
|
+
tk = peek_tk
|
870
|
+
if tk[:kind] == :on_op && tk[:text] == '<' then
|
871
|
+
get_tk
|
872
|
+
skip_tkspace
|
873
|
+
superclass = get_class_specification
|
874
|
+
superclass = '(unknown)' if superclass.empty?
|
875
|
+
end
|
876
|
+
|
877
|
+
cls_type = single == SINGLE ? RDoc::SingleClass : RDoc::NormalClass
|
878
|
+
cls = declaration_context.add_class cls_type, given_name, superclass
|
879
|
+
cls.ignore unless container.document_children
|
880
|
+
|
881
|
+
read_documentation_modifiers cls, RDoc::CLASS_MODIFIERS
|
882
|
+
record_location cls
|
883
|
+
|
884
|
+
cls.add_comment comment, @top_level
|
885
|
+
|
886
|
+
@top_level.add_to_classes_or_modules cls
|
887
|
+
@stats.add_class cls
|
888
|
+
|
889
|
+
suppress_parents container, declaration_context unless cls.document_self
|
890
|
+
|
891
|
+
parse_statements cls
|
892
|
+
|
893
|
+
cls
|
894
|
+
end
|
895
|
+
|
896
|
+
##
|
897
|
+
# Parses a singleton class in +container+ with the given +name+ and
|
898
|
+
# +comment+.
|
899
|
+
|
900
|
+
def parse_class_singleton container, name, comment # :nodoc:
|
901
|
+
other = @store.find_class_named name
|
902
|
+
|
903
|
+
unless other then
|
904
|
+
if name =~ /^::/ then
|
905
|
+
name = $'
|
906
|
+
container = @top_level
|
907
|
+
end
|
908
|
+
|
909
|
+
other = container.add_module RDoc::NormalModule, name
|
910
|
+
record_location other
|
911
|
+
|
912
|
+
# class << $gvar
|
913
|
+
other.ignore if name.empty?
|
914
|
+
|
915
|
+
other.add_comment comment, @top_level
|
916
|
+
end
|
917
|
+
|
918
|
+
# notify :nodoc: all if not a constant-named class/module
|
919
|
+
# (and remove any comment)
|
920
|
+
unless name =~ /\A(::)?[A-Z]/ then
|
921
|
+
other.document_self = nil
|
922
|
+
other.document_children = false
|
923
|
+
other.clear_comment
|
924
|
+
end
|
925
|
+
|
926
|
+
@top_level.add_to_classes_or_modules other
|
927
|
+
@stats.add_class other
|
928
|
+
|
929
|
+
read_documentation_modifiers other, RDoc::CLASS_MODIFIERS
|
930
|
+
parse_statements(other, SINGLE)
|
931
|
+
|
932
|
+
other
|
933
|
+
end
|
934
|
+
|
935
|
+
##
|
936
|
+
# Parses a constant in +context+ with +comment+. If +ignore_constants+ is
|
937
|
+
# true, no found constants will be added to RDoc.
|
938
|
+
|
939
|
+
def parse_constant container, tk, comment, ignore_constants = false
|
940
|
+
line_no = tk[:line_no]
|
941
|
+
|
942
|
+
name = tk[:text]
|
943
|
+
skip_tkspace_without_nl
|
944
|
+
|
945
|
+
return unless name =~ /^\w+$/
|
946
|
+
|
947
|
+
new_modules = []
|
948
|
+
if :on_op == peek_tk[:kind] && '::' == peek_tk[:text] then
|
949
|
+
unget_tk tk
|
950
|
+
|
951
|
+
container, name_t, _, new_modules = get_class_or_module container, true
|
952
|
+
|
953
|
+
name = name_t[:text]
|
954
|
+
end
|
955
|
+
|
956
|
+
is_array_or_hash = false
|
957
|
+
if peek_tk && :on_lbracket == peek_tk[:kind]
|
958
|
+
get_tk
|
959
|
+
nest = 1
|
960
|
+
while bracket_tk = get_tk
|
961
|
+
case bracket_tk[:kind]
|
962
|
+
when :on_lbracket
|
963
|
+
nest += 1
|
964
|
+
when :on_rbracket
|
965
|
+
nest -= 1
|
966
|
+
break if nest == 0
|
967
|
+
end
|
968
|
+
end
|
969
|
+
skip_tkspace_without_nl
|
970
|
+
is_array_or_hash = true
|
971
|
+
end
|
972
|
+
|
973
|
+
unless peek_tk && :on_op == peek_tk[:kind] && '=' == peek_tk[:text] then
|
974
|
+
return false
|
975
|
+
end
|
976
|
+
get_tk
|
977
|
+
|
978
|
+
unless ignore_constants
|
979
|
+
new_modules.each do |prev_c, new_module|
|
980
|
+
prev_c.add_module_by_normal_module new_module
|
981
|
+
new_module.ignore unless prev_c.document_children
|
982
|
+
@top_level.add_to_classes_or_modules new_module
|
983
|
+
end
|
984
|
+
end
|
985
|
+
|
986
|
+
value = ''
|
987
|
+
con = RDoc::Constant.new name, value, comment
|
988
|
+
|
989
|
+
body = parse_constant_body container, con, is_array_or_hash
|
990
|
+
|
991
|
+
return unless body
|
992
|
+
|
993
|
+
con.value = body
|
994
|
+
record_location con
|
995
|
+
con.line = line_no
|
996
|
+
read_documentation_modifiers con, RDoc::CONSTANT_MODIFIERS
|
997
|
+
|
998
|
+
return if is_array_or_hash
|
999
|
+
|
1000
|
+
@stats.add_constant con
|
1001
|
+
container.add_constant con
|
1002
|
+
|
1003
|
+
true
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
def parse_constant_body container, constant, is_array_or_hash # :nodoc:
|
1007
|
+
nest = 0
|
1008
|
+
rhs_name = ''.dup
|
1009
|
+
|
1010
|
+
get_tkread
|
1011
|
+
|
1012
|
+
tk = get_tk
|
1013
|
+
|
1014
|
+
body = nil
|
1015
|
+
loop do
|
1016
|
+
break if tk.nil?
|
1017
|
+
if :on_semicolon == tk[:kind] then
|
1018
|
+
break if nest <= 0
|
1019
|
+
elsif [:on_tlambeg, :on_lparen, :on_lbrace, :on_lbracket].include?(tk[:kind]) then
|
1020
|
+
nest += 1
|
1021
|
+
elsif (:on_kw == tk[:kind] && 'def' == tk[:text]) then
|
1022
|
+
nest += 1
|
1023
|
+
elsif (:on_kw == tk[:kind] && %w{do if unless case begin}.include?(tk[:text])) then
|
1024
|
+
if (tk[:state] & RDoc::Parser::RipperStateLex::EXPR_LABEL) == 0
|
1025
|
+
nest += 1
|
1026
|
+
end
|
1027
|
+
elsif [:on_rparen, :on_rbrace, :on_rbracket].include?(tk[:kind]) ||
|
1028
|
+
(:on_kw == tk[:kind] && 'end' == tk[:text]) then
|
1029
|
+
nest -= 1
|
1030
|
+
elsif (:on_comment == tk[:kind] or :on_embdoc == tk[:kind]) then
|
1031
|
+
unget_tk tk
|
1032
|
+
if nest <= 0 and RDoc::Parser::RipperStateLex.end?(tk) then
|
1033
|
+
body = get_tkread_clean(/^[ \t]+/, '')
|
1034
|
+
read_documentation_modifiers constant, RDoc::CONSTANT_MODIFIERS
|
1035
|
+
break
|
1036
|
+
else
|
1037
|
+
read_documentation_modifiers constant, RDoc::CONSTANT_MODIFIERS
|
1038
|
+
end
|
1039
|
+
elsif :on_const == tk[:kind] then
|
1040
|
+
rhs_name << tk[:text]
|
1041
|
+
|
1042
|
+
next_tk = peek_tk
|
1043
|
+
if nest <= 0 and (next_tk.nil? || :on_nl == next_tk[:kind]) then
|
1044
|
+
create_module_alias container, constant, rhs_name unless is_array_or_hash
|
1045
|
+
break
|
1046
|
+
end
|
1047
|
+
elsif :on_nl == tk[:kind] then
|
1048
|
+
if nest <= 0 and RDoc::Parser::RipperStateLex.end?(tk) then
|
1049
|
+
unget_tk tk
|
1050
|
+
break
|
1051
|
+
end
|
1052
|
+
elsif :on_op == tk[:kind] && '::' == tk[:text]
|
1053
|
+
rhs_name << '::'
|
1054
|
+
end
|
1055
|
+
tk = get_tk
|
1056
|
+
end
|
1057
|
+
|
1058
|
+
body ? body : get_tkread_clean(/^[ \t]+/, '')
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
##
|
1062
|
+
# Generates an RDoc::Method or RDoc::Attr from +comment+ by looking for
|
1063
|
+
# :method: or :attr: directives in +comment+.
|
1064
|
+
|
1065
|
+
def parse_comment container, tk, comment
|
1066
|
+
return parse_comment_tomdoc container, tk, comment if @markup == 'tomdoc'
|
1067
|
+
column = tk[:char_no]
|
1068
|
+
line_no = comment.line.nil? ? tk[:line_no] : comment.line
|
1069
|
+
|
1070
|
+
comment.text = comment.text.sub(/(^# +:?)(singleton-)(method:)/, '\1\3')
|
1071
|
+
singleton = !!$~
|
1072
|
+
|
1073
|
+
co =
|
1074
|
+
if (comment.text = comment.text.sub(/^# +:?method: *(\S*).*?\n/i, '')) && !!$~ then
|
1075
|
+
line_no += $`.count("\n")
|
1076
|
+
parse_comment_ghost container, comment.text, $1, column, line_no, comment
|
1077
|
+
elsif (comment.text = comment.text.sub(/# +:?(attr(_reader|_writer|_accessor)?): *(\S*).*?\n/i, '')) && !!$~ then
|
1078
|
+
parse_comment_attr container, $1, $3, comment
|
1079
|
+
end
|
1080
|
+
|
1081
|
+
if co then
|
1082
|
+
co.singleton = singleton
|
1083
|
+
co.line = line_no
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
true
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
##
|
1090
|
+
# Parse a comment that is describing an attribute in +container+ with the
|
1091
|
+
# given +name+ and +comment+.
|
1092
|
+
|
1093
|
+
def parse_comment_attr container, type, name, comment # :nodoc:
|
1094
|
+
return if name.empty?
|
1095
|
+
|
1096
|
+
rw = case type
|
1097
|
+
when 'attr_reader' then 'R'
|
1098
|
+
when 'attr_writer' then 'W'
|
1099
|
+
else 'RW'
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
create_attr container, NORMAL, name, rw, comment
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
def parse_comment_ghost container, text, name, column, line_no, # :nodoc:
|
1106
|
+
comment
|
1107
|
+
name = nil if name.empty?
|
1108
|
+
|
1109
|
+
meth = RDoc::GhostMethod.new get_tkread, name
|
1110
|
+
record_location meth
|
1111
|
+
|
1112
|
+
meth.start_collecting_tokens
|
1113
|
+
indent = RDoc::Parser::RipperStateLex::Token.new(1, 1, :on_sp, ' ' * column)
|
1114
|
+
position_comment = RDoc::Parser::RipperStateLex::Token.new(line_no, 1, :on_comment)
|
1115
|
+
position_comment[:text] = "# File #{@top_level.relative_name}, line #{line_no}"
|
1116
|
+
newline = RDoc::Parser::RipperStateLex::Token.new(0, 0, :on_nl, "\n")
|
1117
|
+
meth.add_tokens [position_comment, newline, indent]
|
1118
|
+
|
1119
|
+
meth.params =
|
1120
|
+
if text.sub!(/^#\s+:?args?:\s*(.*?)\s*$/i, '') then
|
1121
|
+
$1
|
1122
|
+
else
|
1123
|
+
''
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
comment.normalize
|
1127
|
+
comment.extract_call_seq meth
|
1128
|
+
|
1129
|
+
return unless meth.name
|
1130
|
+
|
1131
|
+
container.add_method meth
|
1132
|
+
|
1133
|
+
meth.comment = comment
|
1134
|
+
|
1135
|
+
@stats.add_method meth
|
1136
|
+
|
1137
|
+
meth
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
##
|
1141
|
+
# Creates an RDoc::Method on +container+ from +comment+ if there is a
|
1142
|
+
# Signature section in the comment
|
1143
|
+
|
1144
|
+
def parse_comment_tomdoc container, tk, comment
|
1145
|
+
return unless signature = RDoc::TomDoc.signature(comment)
|
1146
|
+
column = tk[:char_no]
|
1147
|
+
line_no = tk[:line_no]
|
1148
|
+
|
1149
|
+
name, = signature.split %r%[ \(]%, 2
|
1150
|
+
|
1151
|
+
meth = RDoc::GhostMethod.new get_tkread, name
|
1152
|
+
record_location meth
|
1153
|
+
meth.line = line_no
|
1154
|
+
|
1155
|
+
meth.start_collecting_tokens
|
1156
|
+
indent = RDoc::Parser::RipperStateLex::Token.new(1, 1, :on_sp, ' ' * column)
|
1157
|
+
position_comment = RDoc::Parser::RipperStateLex::Token.new(line_no, 1, :on_comment)
|
1158
|
+
position_comment[:text] = "# File #{@top_level.relative_name}, line #{line_no}"
|
1159
|
+
newline = RDoc::Parser::RipperStateLex::Token.new(0, 0, :on_nl, "\n")
|
1160
|
+
meth.add_tokens [position_comment, newline, indent]
|
1161
|
+
|
1162
|
+
meth.call_seq = signature
|
1163
|
+
|
1164
|
+
comment.normalize
|
1165
|
+
|
1166
|
+
return unless meth.name
|
1167
|
+
|
1168
|
+
container.add_method meth
|
1169
|
+
|
1170
|
+
meth.comment = comment
|
1171
|
+
|
1172
|
+
@stats.add_method meth
|
1173
|
+
end
|
1174
|
+
|
1175
|
+
##
|
1176
|
+
# Parses an +include+ or +extend+, indicated by the +klass+ and adds it to
|
1177
|
+
# +container+ # with +comment+
|
1178
|
+
|
1179
|
+
def parse_extend_or_include klass, container, comment # :nodoc:
|
1180
|
+
loop do
|
1181
|
+
skip_tkspace_comment
|
1182
|
+
|
1183
|
+
name = get_included_module_with_optional_parens
|
1184
|
+
|
1185
|
+
unless name.empty? then
|
1186
|
+
obj = container.add klass, name, comment
|
1187
|
+
record_location obj
|
1188
|
+
end
|
1189
|
+
|
1190
|
+
return if peek_tk.nil? || :on_comma != peek_tk[:kind]
|
1191
|
+
|
1192
|
+
get_tk
|
1193
|
+
end
|
1194
|
+
end
|
1195
|
+
|
1196
|
+
##
|
1197
|
+
# Parses an +included+ with a block feature of ActiveSupport::Concern.
|
1198
|
+
|
1199
|
+
def parse_included_with_activesupport_concern container, comment # :nodoc:
|
1200
|
+
skip_tkspace_without_nl
|
1201
|
+
tk = get_tk
|
1202
|
+
unless tk[:kind] == :on_lbracket || (tk[:kind] == :on_kw && tk[:text] == 'do')
|
1203
|
+
unget_tk tk
|
1204
|
+
return nil # should be a block
|
1205
|
+
end
|
1206
|
+
|
1207
|
+
parse_statements container
|
1208
|
+
|
1209
|
+
container
|
1210
|
+
end
|
1211
|
+
|
1212
|
+
##
|
1213
|
+
# Parses identifiers that can create new methods or change visibility.
|
1214
|
+
#
|
1215
|
+
# Returns true if the comment was not consumed.
|
1216
|
+
|
1217
|
+
def parse_identifier container, single, tk, comment # :nodoc:
|
1218
|
+
case tk[:text]
|
1219
|
+
when 'private', 'protected', 'public', 'private_class_method',
|
1220
|
+
'public_class_method', 'module_function' then
|
1221
|
+
parse_visibility container, single, tk
|
1222
|
+
return true
|
1223
|
+
when 'private_constant', 'public_constant'
|
1224
|
+
parse_constant_visibility container, single, tk
|
1225
|
+
return true
|
1226
|
+
when 'attr' then
|
1227
|
+
parse_attr container, single, tk, comment
|
1228
|
+
when /^attr_(reader|writer|accessor)$/ then
|
1229
|
+
parse_attr_accessor container, single, tk, comment
|
1230
|
+
when 'alias_method' then
|
1231
|
+
parse_alias container, single, tk, comment
|
1232
|
+
when 'require', 'include' then
|
1233
|
+
# ignore
|
1234
|
+
else
|
1235
|
+
if comment.text =~ /\A#\#$/ then
|
1236
|
+
case comment.text
|
1237
|
+
when /^# +:?attr(_reader|_writer|_accessor)?:/ then
|
1238
|
+
parse_meta_attr container, single, tk, comment
|
1239
|
+
else
|
1240
|
+
method = parse_meta_method container, single, tk, comment
|
1241
|
+
method.params = container.params if
|
1242
|
+
container.params
|
1243
|
+
method.block_params = container.block_params if
|
1244
|
+
container.block_params
|
1245
|
+
end
|
1246
|
+
end
|
1247
|
+
end
|
1248
|
+
|
1249
|
+
false
|
1250
|
+
end
|
1251
|
+
|
1252
|
+
##
|
1253
|
+
# Parses a meta-programmed attribute and creates an RDoc::Attr.
|
1254
|
+
#
|
1255
|
+
# To create foo and bar attributes on class C with comment "My attributes":
|
1256
|
+
#
|
1257
|
+
# class C
|
1258
|
+
#
|
1259
|
+
# ##
|
1260
|
+
# # :attr:
|
1261
|
+
# #
|
1262
|
+
# # My attributes
|
1263
|
+
#
|
1264
|
+
# my_attr :foo, :bar
|
1265
|
+
#
|
1266
|
+
# end
|
1267
|
+
#
|
1268
|
+
# To create a foo attribute on class C with comment "My attribute":
|
1269
|
+
#
|
1270
|
+
# class C
|
1271
|
+
#
|
1272
|
+
# ##
|
1273
|
+
# # :attr: foo
|
1274
|
+
# #
|
1275
|
+
# # My attribute
|
1276
|
+
#
|
1277
|
+
# my_attr :foo, :bar
|
1278
|
+
#
|
1279
|
+
# end
|
1280
|
+
|
1281
|
+
def parse_meta_attr(context, single, tk, comment)
|
1282
|
+
args = parse_symbol_arg
|
1283
|
+
rw = "?"
|
1284
|
+
|
1285
|
+
# If nodoc is given, don't document any of them
|
1286
|
+
|
1287
|
+
tmp = RDoc::CodeObject.new
|
1288
|
+
read_documentation_modifiers tmp, RDoc::ATTR_MODIFIERS
|
1289
|
+
|
1290
|
+
regexp = /^# +:?(attr(_reader|_writer|_accessor)?): *(\S*).*?\n/i
|
1291
|
+
if regexp =~ comment.text then
|
1292
|
+
comment.text = comment.text.sub(regexp, '')
|
1293
|
+
rw = case $1
|
1294
|
+
when 'attr_reader' then 'R'
|
1295
|
+
when 'attr_writer' then 'W'
|
1296
|
+
else 'RW'
|
1297
|
+
end
|
1298
|
+
name = $3 unless $3.empty?
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
if name then
|
1302
|
+
att = create_attr context, single, name, rw, comment
|
1303
|
+
else
|
1304
|
+
args.each do |attr_name|
|
1305
|
+
att = create_attr context, single, attr_name, rw, comment
|
1306
|
+
end
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
att
|
1310
|
+
end
|
1311
|
+
|
1312
|
+
##
|
1313
|
+
# Parses a meta-programmed method
|
1314
|
+
|
1315
|
+
def parse_meta_method(container, single, tk, comment)
|
1316
|
+
column = tk[:char_no]
|
1317
|
+
line_no = tk[:line_no]
|
1318
|
+
|
1319
|
+
start_collecting_tokens
|
1320
|
+
add_token tk
|
1321
|
+
add_token_listener self
|
1322
|
+
|
1323
|
+
skip_tkspace_without_nl
|
1324
|
+
|
1325
|
+
comment.text = comment.text.sub(/(^# +:?)(singleton-)(method:)/, '\1\3')
|
1326
|
+
singleton = !!$~
|
1327
|
+
|
1328
|
+
name = parse_meta_method_name comment, tk
|
1329
|
+
|
1330
|
+
return unless name
|
1331
|
+
|
1332
|
+
meth = RDoc::MetaMethod.new get_tkread, name
|
1333
|
+
record_location meth
|
1334
|
+
meth.line = line_no
|
1335
|
+
meth.singleton = singleton
|
1336
|
+
|
1337
|
+
remove_token_listener self
|
1338
|
+
|
1339
|
+
meth.start_collecting_tokens
|
1340
|
+
indent = RDoc::Parser::RipperStateLex::Token.new(1, 1, :on_sp, ' ' * column)
|
1341
|
+
position_comment = RDoc::Parser::RipperStateLex::Token.new(line_no, 1, :on_comment)
|
1342
|
+
position_comment[:text] = "# File #{@top_level.relative_name}, line #{line_no}"
|
1343
|
+
newline = RDoc::Parser::RipperStateLex::Token.new(0, 0, :on_nl, "\n")
|
1344
|
+
meth.add_tokens [position_comment, newline, indent]
|
1345
|
+
meth.add_tokens @token_stream
|
1346
|
+
|
1347
|
+
parse_meta_method_params container, single, meth, tk, comment
|
1348
|
+
|
1349
|
+
meth.comment = comment
|
1350
|
+
|
1351
|
+
@stats.add_method meth
|
1352
|
+
|
1353
|
+
meth
|
1354
|
+
end
|
1355
|
+
|
1356
|
+
##
|
1357
|
+
# Parses the name of a metaprogrammed method. +comment+ is used to
|
1358
|
+
# determine the name while +tk+ is used in an error message if the name
|
1359
|
+
# cannot be determined.
|
1360
|
+
|
1361
|
+
def parse_meta_method_name comment, tk # :nodoc:
|
1362
|
+
if comment.text.sub!(/^# +:?method: *(\S*).*?\n/i, '') then
|
1363
|
+
return $1 unless $1.empty?
|
1364
|
+
end
|
1365
|
+
|
1366
|
+
name_t = get_tk
|
1367
|
+
|
1368
|
+
if :on_symbol == name_t[:kind] then
|
1369
|
+
name_t[:text][1..-1]
|
1370
|
+
elsif :on_tstring == name_t[:kind] then
|
1371
|
+
name_t[:text][1..-2]
|
1372
|
+
elsif :on_op == name_t[:kind] && '=' == name_t[:text] then # ignore
|
1373
|
+
remove_token_listener self
|
1374
|
+
|
1375
|
+
nil
|
1376
|
+
else
|
1377
|
+
warn "unknown name token #{name_t.inspect} for meta-method '#{tk[:text]}'"
|
1378
|
+
'unknown'
|
1379
|
+
end
|
1380
|
+
end
|
1381
|
+
|
1382
|
+
##
|
1383
|
+
# Parses the parameters and block for a meta-programmed method.
|
1384
|
+
|
1385
|
+
def parse_meta_method_params container, single, meth, tk, comment # :nodoc:
|
1386
|
+
token_listener meth do
|
1387
|
+
meth.params = ''
|
1388
|
+
|
1389
|
+
look_for_directives_in meth, comment
|
1390
|
+
comment.normalize
|
1391
|
+
comment.extract_call_seq meth
|
1392
|
+
|
1393
|
+
container.add_method meth
|
1394
|
+
|
1395
|
+
last_tk = tk
|
1396
|
+
|
1397
|
+
while tk = get_tk do
|
1398
|
+
if :on_semicolon == tk[:kind] then
|
1399
|
+
break
|
1400
|
+
elsif :on_nl == tk[:kind] then
|
1401
|
+
break unless last_tk and :on_comma == last_tk[:kind]
|
1402
|
+
elsif :on_sp == tk[:kind] then
|
1403
|
+
# expression continues
|
1404
|
+
elsif :on_kw == tk[:kind] && 'do' == tk[:text] then
|
1405
|
+
parse_statements container, single, meth
|
1406
|
+
break
|
1407
|
+
else
|
1408
|
+
last_tk = tk
|
1409
|
+
end
|
1410
|
+
end
|
1411
|
+
end
|
1412
|
+
end
|
1413
|
+
|
1414
|
+
##
|
1415
|
+
# Parses a normal method defined by +def+
|
1416
|
+
|
1417
|
+
def parse_method(container, single, tk, comment)
|
1418
|
+
singleton = nil
|
1419
|
+
added_container = false
|
1420
|
+
name = nil
|
1421
|
+
column = tk[:char_no]
|
1422
|
+
line_no = tk[:line_no]
|
1423
|
+
|
1424
|
+
start_collecting_tokens
|
1425
|
+
add_token tk
|
1426
|
+
|
1427
|
+
token_listener self do
|
1428
|
+
prev_container = container
|
1429
|
+
name, container, singleton = parse_method_name container
|
1430
|
+
added_container = container != prev_container
|
1431
|
+
end
|
1432
|
+
|
1433
|
+
return unless name
|
1434
|
+
|
1435
|
+
meth = RDoc::AnyMethod.new get_tkread, name
|
1436
|
+
look_for_directives_in meth, comment
|
1437
|
+
meth.singleton = single == SINGLE ? true : singleton
|
1438
|
+
|
1439
|
+
record_location meth
|
1440
|
+
meth.line = line_no
|
1441
|
+
|
1442
|
+
meth.start_collecting_tokens
|
1443
|
+
indent = RDoc::Parser::RipperStateLex::Token.new(1, 1, :on_sp, ' ' * column)
|
1444
|
+
token = RDoc::Parser::RipperStateLex::Token.new(line_no, 1, :on_comment)
|
1445
|
+
token[:text] = "# File #{@top_level.relative_name}, line #{line_no}"
|
1446
|
+
newline = RDoc::Parser::RipperStateLex::Token.new(0, 0, :on_nl, "\n")
|
1447
|
+
meth.add_tokens [token, newline, indent]
|
1448
|
+
meth.add_tokens @token_stream
|
1449
|
+
|
1450
|
+
parse_method_params_and_body container, single, meth, added_container
|
1451
|
+
|
1452
|
+
comment.normalize
|
1453
|
+
comment.extract_call_seq meth
|
1454
|
+
|
1455
|
+
meth.comment = comment
|
1456
|
+
|
1457
|
+
# after end modifiers
|
1458
|
+
read_documentation_modifiers meth, RDoc::METHOD_MODIFIERS
|
1459
|
+
|
1460
|
+
@stats.add_method meth
|
1461
|
+
end
|
1462
|
+
|
1463
|
+
##
|
1464
|
+
# Parses the parameters and body of +meth+
|
1465
|
+
|
1466
|
+
def parse_method_params_and_body container, single, meth, added_container
|
1467
|
+
token_listener meth do
|
1468
|
+
parse_method_parameters meth
|
1469
|
+
|
1470
|
+
if meth.document_self or not @track_visibility then
|
1471
|
+
container.add_method meth
|
1472
|
+
elsif added_container then
|
1473
|
+
container.document_self = false
|
1474
|
+
end
|
1475
|
+
|
1476
|
+
# Having now read the method parameters and documentation modifiers, we
|
1477
|
+
# now know whether we have to rename #initialize to ::new
|
1478
|
+
|
1479
|
+
if meth.name == "initialize" && !meth.singleton then
|
1480
|
+
if meth.dont_rename_initialize then
|
1481
|
+
meth.visibility = :protected
|
1482
|
+
else
|
1483
|
+
meth.singleton = true
|
1484
|
+
meth.name = "new"
|
1485
|
+
meth.visibility = :public
|
1486
|
+
end
|
1487
|
+
end
|
1488
|
+
|
1489
|
+
parse_statements container, single, meth
|
1490
|
+
end
|
1491
|
+
end
|
1492
|
+
|
1493
|
+
##
|
1494
|
+
# Parses a method that needs to be ignored.
|
1495
|
+
|
1496
|
+
def parse_method_dummy container
|
1497
|
+
dummy = RDoc::Context.new
|
1498
|
+
dummy.parent = container
|
1499
|
+
dummy.store = container.store
|
1500
|
+
skip_method dummy
|
1501
|
+
end
|
1502
|
+
|
1503
|
+
##
|
1504
|
+
# Parses the name of a method in +container+.
|
1505
|
+
#
|
1506
|
+
# Returns the method name, the container it is in (for def Foo.name) and if
|
1507
|
+
# it is a singleton or regular method.
|
1508
|
+
|
1509
|
+
def parse_method_name container # :nodoc:
|
1510
|
+
skip_tkspace
|
1511
|
+
name_t = get_tk
|
1512
|
+
back_tk = skip_tkspace_without_nl
|
1513
|
+
singleton = false
|
1514
|
+
|
1515
|
+
dot = get_tk
|
1516
|
+
if dot[:kind] == :on_period || (dot[:kind] == :on_op && dot[:text] == '::') then
|
1517
|
+
singleton = true
|
1518
|
+
|
1519
|
+
name, container = parse_method_name_singleton container, name_t
|
1520
|
+
else
|
1521
|
+
unget_tk dot
|
1522
|
+
back_tk.reverse_each do |token|
|
1523
|
+
unget_tk token
|
1524
|
+
end
|
1525
|
+
|
1526
|
+
name = parse_method_name_regular container, name_t
|
1527
|
+
end
|
1528
|
+
|
1529
|
+
return name, container, singleton
|
1530
|
+
end
|
1531
|
+
|
1532
|
+
##
|
1533
|
+
# For the given +container+ and initial name token +name_t+ the method name
|
1534
|
+
# is parsed from the token stream for a regular method.
|
1535
|
+
|
1536
|
+
def parse_method_name_regular container, name_t # :nodoc:
|
1537
|
+
if :on_op == name_t[:kind] && (%w{* & [] []= <<}.include?(name_t[:text])) then
|
1538
|
+
name_t[:text]
|
1539
|
+
else
|
1540
|
+
unless [:on_kw, :on_const, :on_ident].include?(name_t[:kind]) then
|
1541
|
+
warn "expected method name token, . or ::, got #{name_t.inspect}"
|
1542
|
+
skip_method container
|
1543
|
+
return
|
1544
|
+
end
|
1545
|
+
name_t[:text]
|
1546
|
+
end
|
1547
|
+
end
|
1548
|
+
|
1549
|
+
##
|
1550
|
+
# For the given +container+ and initial name token +name_t+ the method name
|
1551
|
+
# and the new +container+ (if necessary) are parsed from the token stream
|
1552
|
+
# for a singleton method.
|
1553
|
+
|
1554
|
+
def parse_method_name_singleton container, name_t # :nodoc:
|
1555
|
+
skip_tkspace
|
1556
|
+
name_t2 = get_tk
|
1557
|
+
|
1558
|
+
if (:on_kw == name_t[:kind] && 'self' == name_t[:text]) || (:on_op == name_t[:kind] && '%' == name_t[:text]) then
|
1559
|
+
# NOTE: work around '[' being consumed early
|
1560
|
+
if :on_lbracket == name_t2[:kind]
|
1561
|
+
get_tk
|
1562
|
+
name = '[]'
|
1563
|
+
else
|
1564
|
+
name = name_t2[:text]
|
1565
|
+
end
|
1566
|
+
elsif :on_const == name_t[:kind] then
|
1567
|
+
name = name_t2[:text]
|
1568
|
+
|
1569
|
+
container = get_method_container container, name_t
|
1570
|
+
|
1571
|
+
return unless container
|
1572
|
+
|
1573
|
+
name
|
1574
|
+
elsif :on_ident == name_t[:kind] || :on_ivar == name_t[:kind] || :on_gvar == name_t[:kind] then
|
1575
|
+
parse_method_dummy container
|
1576
|
+
|
1577
|
+
name = nil
|
1578
|
+
elsif (:on_kw == name_t[:kind]) && ('true' == name_t[:text] || 'false' == name_t[:text] || 'nil' == name_t[:text]) then
|
1579
|
+
klass_name = "#{name_t[:text].capitalize}Class"
|
1580
|
+
container = @store.find_class_named klass_name
|
1581
|
+
container ||= @top_level.add_class RDoc::NormalClass, klass_name
|
1582
|
+
|
1583
|
+
name = name_t2[:text]
|
1584
|
+
else
|
1585
|
+
warn "unexpected method name token #{name_t.inspect}"
|
1586
|
+
# break
|
1587
|
+
skip_method container
|
1588
|
+
|
1589
|
+
name = nil
|
1590
|
+
end
|
1591
|
+
|
1592
|
+
return name, container
|
1593
|
+
end
|
1594
|
+
|
1595
|
+
##
|
1596
|
+
# Extracts +yield+ parameters from +method+
|
1597
|
+
|
1598
|
+
def parse_method_or_yield_parameters(method = nil,
|
1599
|
+
modifiers = RDoc::METHOD_MODIFIERS)
|
1600
|
+
skip_tkspace_without_nl
|
1601
|
+
tk = get_tk
|
1602
|
+
end_token = get_end_token tk
|
1603
|
+
return '' unless end_token
|
1604
|
+
|
1605
|
+
nest = 0
|
1606
|
+
continue = false
|
1607
|
+
|
1608
|
+
while tk != nil do
|
1609
|
+
case tk[:kind]
|
1610
|
+
when :on_semicolon then
|
1611
|
+
break if nest == 0
|
1612
|
+
when :on_lbracket then
|
1613
|
+
nest += 1
|
1614
|
+
when :on_rbracket then
|
1615
|
+
nest -= 1
|
1616
|
+
when :on_lbrace then
|
1617
|
+
nest += 1
|
1618
|
+
when :on_rbrace then
|
1619
|
+
nest -= 1
|
1620
|
+
if nest <= 0
|
1621
|
+
# we might have a.each { |i| yield i }
|
1622
|
+
unget_tk(tk) if nest < 0
|
1623
|
+
break
|
1624
|
+
end
|
1625
|
+
when :on_lparen then
|
1626
|
+
nest += 1
|
1627
|
+
when end_token[:kind] then
|
1628
|
+
if end_token[:kind] == :on_rparen
|
1629
|
+
nest -= 1
|
1630
|
+
break if nest <= 0
|
1631
|
+
else
|
1632
|
+
break
|
1633
|
+
end
|
1634
|
+
when :on_rparen then
|
1635
|
+
nest -= 1
|
1636
|
+
when :on_comment, :on_embdoc then
|
1637
|
+
@read.pop
|
1638
|
+
if :on_nl == end_token[:kind] and "\n" == tk[:text][-1] and
|
1639
|
+
(!continue or (tk[:state] & RDoc::Parser::RipperStateLex::EXPR_LABEL) != 0) then
|
1640
|
+
if method && method.block_params.nil? then
|
1641
|
+
unget_tk tk
|
1642
|
+
read_documentation_modifiers method, modifiers
|
1643
|
+
end
|
1644
|
+
break if !continue and nest <= 0
|
1645
|
+
end
|
1646
|
+
when :on_comma then
|
1647
|
+
continue = true
|
1648
|
+
when :on_ident then
|
1649
|
+
continue = false if continue
|
1650
|
+
end
|
1651
|
+
tk = get_tk
|
1652
|
+
end
|
1653
|
+
|
1654
|
+
get_tkread_clean(/\s+/, ' ')
|
1655
|
+
end
|
1656
|
+
|
1657
|
+
##
|
1658
|
+
# Capture the method's parameters. Along the way, look for a comment
|
1659
|
+
# containing:
|
1660
|
+
#
|
1661
|
+
# # yields: ....
|
1662
|
+
#
|
1663
|
+
# and add this as the block_params for the method
|
1664
|
+
|
1665
|
+
def parse_method_parameters method
|
1666
|
+
res = parse_method_or_yield_parameters method
|
1667
|
+
|
1668
|
+
res = "(#{res})" unless res =~ /\A\(/
|
1669
|
+
method.params = res unless method.params
|
1670
|
+
|
1671
|
+
return if method.block_params
|
1672
|
+
|
1673
|
+
skip_tkspace_without_nl
|
1674
|
+
read_documentation_modifiers method, RDoc::METHOD_MODIFIERS
|
1675
|
+
end
|
1676
|
+
|
1677
|
+
##
|
1678
|
+
# Parses an RDoc::NormalModule in +container+ with +comment+
|
1679
|
+
|
1680
|
+
def parse_module container, single, tk, comment
|
1681
|
+
container, name_t, = get_class_or_module container
|
1682
|
+
|
1683
|
+
name = name_t[:text]
|
1684
|
+
|
1685
|
+
mod = container.add_module RDoc::NormalModule, name
|
1686
|
+
mod.ignore unless container.document_children
|
1687
|
+
record_location mod
|
1688
|
+
|
1689
|
+
read_documentation_modifiers mod, RDoc::CLASS_MODIFIERS
|
1690
|
+
mod.add_comment comment, @top_level
|
1691
|
+
parse_statements mod
|
1692
|
+
|
1693
|
+
# after end modifiers
|
1694
|
+
read_documentation_modifiers mod, RDoc::CLASS_MODIFIERS
|
1695
|
+
|
1696
|
+
@stats.add_module mod
|
1697
|
+
end
|
1698
|
+
|
1699
|
+
##
|
1700
|
+
# Parses an RDoc::Require in +context+ containing +comment+
|
1701
|
+
|
1702
|
+
def parse_require(context, comment)
|
1703
|
+
skip_tkspace_comment
|
1704
|
+
tk = get_tk
|
1705
|
+
|
1706
|
+
if :on_lparen == tk[:kind] then
|
1707
|
+
skip_tkspace_comment
|
1708
|
+
tk = get_tk
|
1709
|
+
end
|
1710
|
+
|
1711
|
+
name = tk[:text][1..-2] if :on_tstring == tk[:kind]
|
1712
|
+
|
1713
|
+
if name then
|
1714
|
+
@top_level.add_require RDoc::Require.new(name, comment)
|
1715
|
+
else
|
1716
|
+
unget_tk tk
|
1717
|
+
end
|
1718
|
+
end
|
1719
|
+
|
1720
|
+
##
|
1721
|
+
# Parses a rescue
|
1722
|
+
|
1723
|
+
def parse_rescue
|
1724
|
+
skip_tkspace_without_nl
|
1725
|
+
|
1726
|
+
while tk = get_tk
|
1727
|
+
case tk[:kind]
|
1728
|
+
when :on_nl, :on_semicolon, :on_comment then
|
1729
|
+
break
|
1730
|
+
when :on_comma then
|
1731
|
+
skip_tkspace_without_nl
|
1732
|
+
|
1733
|
+
get_tk if :on_nl == peek_tk[:kind]
|
1734
|
+
end
|
1735
|
+
|
1736
|
+
skip_tkspace_without_nl
|
1737
|
+
end
|
1738
|
+
end
|
1739
|
+
|
1740
|
+
##
|
1741
|
+
# Retrieve comment body without =begin/=end
|
1742
|
+
|
1743
|
+
def retrieve_comment_body(tk)
|
1744
|
+
if :on_embdoc == tk[:kind]
|
1745
|
+
tk[:text].gsub(/\A=begin.*\n/, '').gsub(/=end\n?\z/, '')
|
1746
|
+
else
|
1747
|
+
tk[:text]
|
1748
|
+
end
|
1749
|
+
end
|
1750
|
+
|
1751
|
+
##
|
1752
|
+
# The core of the Ruby parser.
|
1753
|
+
|
1754
|
+
def parse_statements(container, single = NORMAL, current_method = nil,
|
1755
|
+
comment = new_comment(''))
|
1756
|
+
raise 'no' unless RDoc::Comment === comment
|
1757
|
+
comment = RDoc::Encoding.change_encoding comment, @encoding if @encoding
|
1758
|
+
|
1759
|
+
nest = 1
|
1760
|
+
save_visibility = container.visibility
|
1761
|
+
|
1762
|
+
non_comment_seen = true
|
1763
|
+
|
1764
|
+
while tk = get_tk do
|
1765
|
+
keep_comment = false
|
1766
|
+
try_parse_comment = false
|
1767
|
+
|
1768
|
+
non_comment_seen = true unless (:on_comment == tk[:kind] or :on_embdoc == tk[:kind])
|
1769
|
+
|
1770
|
+
case tk[:kind]
|
1771
|
+
when :on_nl, :on_ignored_nl, :on_comment, :on_embdoc then
|
1772
|
+
if :on_nl == tk[:kind] or :on_ignored_nl == tk[:kind]
|
1773
|
+
skip_tkspace
|
1774
|
+
tk = get_tk
|
1775
|
+
else
|
1776
|
+
past_tokens = @read.size > 1 ? @read[0..-2] : []
|
1777
|
+
nl_position = 0
|
1778
|
+
past_tokens.reverse.each_with_index do |read_tk, i|
|
1779
|
+
if read_tk =~ /^\n$/ then
|
1780
|
+
nl_position = (past_tokens.size - 1) - i
|
1781
|
+
break
|
1782
|
+
elsif read_tk =~ /^#.*\n$/ then
|
1783
|
+
nl_position = ((past_tokens.size - 1) - i) + 1
|
1784
|
+
break
|
1785
|
+
end
|
1786
|
+
end
|
1787
|
+
comment_only_line = past_tokens[nl_position..-1].all?{ |c| c =~ /^\s+$/ }
|
1788
|
+
unless comment_only_line then
|
1789
|
+
tk = get_tk
|
1790
|
+
end
|
1791
|
+
end
|
1792
|
+
|
1793
|
+
if tk and (:on_comment == tk[:kind] or :on_embdoc == tk[:kind]) then
|
1794
|
+
if non_comment_seen then
|
1795
|
+
# Look for RDoc in a comment about to be thrown away
|
1796
|
+
non_comment_seen = parse_comment container, tk, comment unless
|
1797
|
+
comment.empty?
|
1798
|
+
|
1799
|
+
comment = ''
|
1800
|
+
comment = RDoc::Encoding.change_encoding comment, @encoding if @encoding
|
1801
|
+
end
|
1802
|
+
|
1803
|
+
line_no = nil
|
1804
|
+
while tk and (:on_comment == tk[:kind] or :on_embdoc == tk[:kind]) do
|
1805
|
+
comment_body = retrieve_comment_body(tk)
|
1806
|
+
line_no = tk[:line_no] if comment.empty?
|
1807
|
+
comment += comment_body
|
1808
|
+
comment << "\n" unless comment_body =~ /\n\z/
|
1809
|
+
|
1810
|
+
if comment_body.size > 1 && comment_body =~ /\n\z/ then
|
1811
|
+
skip_tkspace_without_nl # leading spaces
|
1812
|
+
end
|
1813
|
+
tk = get_tk
|
1814
|
+
end
|
1815
|
+
|
1816
|
+
comment = new_comment comment, line_no
|
1817
|
+
|
1818
|
+
unless comment.empty? then
|
1819
|
+
look_for_directives_in container, comment
|
1820
|
+
|
1821
|
+
if container.done_documenting then
|
1822
|
+
throw :eof if RDoc::TopLevel === container
|
1823
|
+
container.ongoing_visibility = save_visibility
|
1824
|
+
end
|
1825
|
+
end
|
1826
|
+
|
1827
|
+
keep_comment = true
|
1828
|
+
else
|
1829
|
+
non_comment_seen = true
|
1830
|
+
end
|
1831
|
+
|
1832
|
+
unget_tk tk
|
1833
|
+
keep_comment = true
|
1834
|
+
container.current_line_visibility = nil
|
1835
|
+
|
1836
|
+
when :on_kw then
|
1837
|
+
case tk[:text]
|
1838
|
+
when 'class' then
|
1839
|
+
parse_class container, single, tk, comment
|
1840
|
+
|
1841
|
+
when 'module' then
|
1842
|
+
parse_module container, single, tk, comment
|
1843
|
+
|
1844
|
+
when 'def' then
|
1845
|
+
parse_method container, single, tk, comment
|
1846
|
+
|
1847
|
+
when 'alias' then
|
1848
|
+
parse_alias container, single, tk, comment unless current_method
|
1849
|
+
|
1850
|
+
when 'yield' then
|
1851
|
+
if current_method.nil? then
|
1852
|
+
warn "Warning: yield outside of method" if container.document_self
|
1853
|
+
else
|
1854
|
+
parse_yield container, single, tk, current_method
|
1855
|
+
end
|
1856
|
+
|
1857
|
+
when 'until', 'while' then
|
1858
|
+
if (tk[:state] & RDoc::Parser::RipperStateLex::EXPR_LABEL) == 0
|
1859
|
+
nest += 1
|
1860
|
+
skip_optional_do_after_expression
|
1861
|
+
end
|
1862
|
+
|
1863
|
+
# Until and While can have a 'do', which shouldn't increase the nesting.
|
1864
|
+
# We can't solve the general case, but we can handle most occurrences by
|
1865
|
+
# ignoring a do at the end of a line.
|
1866
|
+
|
1867
|
+
# 'for' is trickier
|
1868
|
+
when 'for' then
|
1869
|
+
nest += 1
|
1870
|
+
skip_for_variable
|
1871
|
+
skip_optional_do_after_expression
|
1872
|
+
|
1873
|
+
when 'case', 'do', 'if', 'unless', 'begin' then
|
1874
|
+
if (tk[:state] & RDoc::Parser::RipperStateLex::EXPR_LABEL) == 0
|
1875
|
+
nest += 1
|
1876
|
+
end
|
1877
|
+
|
1878
|
+
when 'super' then
|
1879
|
+
current_method.calls_super = true if current_method
|
1880
|
+
|
1881
|
+
when 'rescue' then
|
1882
|
+
parse_rescue
|
1883
|
+
|
1884
|
+
when 'end' then
|
1885
|
+
nest -= 1
|
1886
|
+
if nest == 0 then
|
1887
|
+
container.ongoing_visibility = save_visibility
|
1888
|
+
|
1889
|
+
parse_comment container, tk, comment unless comment.empty?
|
1890
|
+
|
1891
|
+
return
|
1892
|
+
end
|
1893
|
+
end
|
1894
|
+
|
1895
|
+
when :on_const then
|
1896
|
+
unless parse_constant container, tk, comment, current_method then
|
1897
|
+
try_parse_comment = true
|
1898
|
+
end
|
1899
|
+
|
1900
|
+
when :on_ident then
|
1901
|
+
if nest == 1 and current_method.nil? then
|
1902
|
+
keep_comment = parse_identifier container, single, tk, comment
|
1903
|
+
end
|
1904
|
+
|
1905
|
+
case tk[:text]
|
1906
|
+
when "require" then
|
1907
|
+
parse_require container, comment
|
1908
|
+
when "include" then
|
1909
|
+
parse_extend_or_include RDoc::Include, container, comment
|
1910
|
+
when "extend" then
|
1911
|
+
parse_extend_or_include RDoc::Extend, container, comment
|
1912
|
+
when "included" then
|
1913
|
+
parse_included_with_activesupport_concern container, comment
|
1914
|
+
end
|
1915
|
+
|
1916
|
+
else
|
1917
|
+
try_parse_comment = nest == 1
|
1918
|
+
end
|
1919
|
+
|
1920
|
+
if try_parse_comment then
|
1921
|
+
non_comment_seen = parse_comment container, tk, comment unless
|
1922
|
+
comment.empty?
|
1923
|
+
|
1924
|
+
keep_comment = false
|
1925
|
+
end
|
1926
|
+
|
1927
|
+
unless keep_comment then
|
1928
|
+
comment = new_comment ''
|
1929
|
+
comment = RDoc::Encoding.change_encoding comment, @encoding if @encoding
|
1930
|
+
container.params = nil
|
1931
|
+
container.block_params = nil
|
1932
|
+
end
|
1933
|
+
|
1934
|
+
consume_trailing_spaces
|
1935
|
+
end
|
1936
|
+
|
1937
|
+
container.params = nil
|
1938
|
+
container.block_params = nil
|
1939
|
+
end
|
1940
|
+
|
1941
|
+
##
|
1942
|
+
# Parse up to +no+ symbol arguments
|
1943
|
+
|
1944
|
+
def parse_symbol_arg(no = nil)
|
1945
|
+
skip_tkspace_comment
|
1946
|
+
|
1947
|
+
tk = get_tk
|
1948
|
+
if tk[:kind] == :on_lparen
|
1949
|
+
parse_symbol_arg_paren no
|
1950
|
+
else
|
1951
|
+
parse_symbol_arg_space no, tk
|
1952
|
+
end
|
1953
|
+
end
|
1954
|
+
|
1955
|
+
##
|
1956
|
+
# Parses up to +no+ symbol arguments surrounded by () and places them in
|
1957
|
+
# +args+.
|
1958
|
+
|
1959
|
+
def parse_symbol_arg_paren no # :nodoc:
|
1960
|
+
args = []
|
1961
|
+
|
1962
|
+
loop do
|
1963
|
+
skip_tkspace_comment
|
1964
|
+
if tk1 = parse_symbol_in_arg
|
1965
|
+
args.push tk1
|
1966
|
+
break if no and args.size >= no
|
1967
|
+
end
|
1968
|
+
|
1969
|
+
skip_tkspace_comment
|
1970
|
+
case (tk2 = get_tk)[:kind]
|
1971
|
+
when :on_rparen
|
1972
|
+
break
|
1973
|
+
when :on_comma
|
1974
|
+
else
|
1975
|
+
warn("unexpected token: '#{tk2.inspect}'") if $DEBUG_RDOC
|
1976
|
+
break
|
1977
|
+
end
|
1978
|
+
end
|
1979
|
+
|
1980
|
+
args
|
1981
|
+
end
|
1982
|
+
|
1983
|
+
##
|
1984
|
+
# Parses up to +no+ symbol arguments separated by spaces and places them in
|
1985
|
+
# +args+.
|
1986
|
+
|
1987
|
+
def parse_symbol_arg_space no, tk # :nodoc:
|
1988
|
+
args = []
|
1989
|
+
|
1990
|
+
unget_tk tk
|
1991
|
+
if tk = parse_symbol_in_arg
|
1992
|
+
args.push tk
|
1993
|
+
return args if no and args.size >= no
|
1994
|
+
end
|
1995
|
+
|
1996
|
+
loop do
|
1997
|
+
skip_tkspace_without_nl
|
1998
|
+
|
1999
|
+
tk1 = get_tk
|
2000
|
+
if tk1.nil? || :on_comma != tk1[:kind] then
|
2001
|
+
unget_tk tk1
|
2002
|
+
break
|
2003
|
+
end
|
2004
|
+
|
2005
|
+
skip_tkspace_comment
|
2006
|
+
if tk = parse_symbol_in_arg
|
2007
|
+
args.push tk
|
2008
|
+
break if no and args.size >= no
|
2009
|
+
end
|
2010
|
+
end
|
2011
|
+
|
2012
|
+
args
|
2013
|
+
end
|
2014
|
+
|
2015
|
+
##
|
2016
|
+
# Returns symbol text from the next token
|
2017
|
+
|
2018
|
+
def parse_symbol_in_arg
|
2019
|
+
tk = get_tk
|
2020
|
+
if :on_symbol == tk[:kind] then
|
2021
|
+
tk[:text].sub(/^:/, '')
|
2022
|
+
elsif :on_tstring == tk[:kind] then
|
2023
|
+
tk[:text][1..-2]
|
2024
|
+
elsif :on_dstring == tk[:kind] or :on_ident == tk[:kind] then
|
2025
|
+
nil # ignore
|
2026
|
+
else
|
2027
|
+
warn("Expected symbol or string, got #{tk.inspect}") if $DEBUG_RDOC
|
2028
|
+
nil
|
2029
|
+
end
|
2030
|
+
end
|
2031
|
+
|
2032
|
+
##
|
2033
|
+
# Parses statements in the top-level +container+
|
2034
|
+
|
2035
|
+
def parse_top_level_statements container
|
2036
|
+
comment = collect_first_comment
|
2037
|
+
|
2038
|
+
look_for_directives_in container, comment
|
2039
|
+
|
2040
|
+
throw :eof if container.done_documenting
|
2041
|
+
|
2042
|
+
@markup = comment.format
|
2043
|
+
|
2044
|
+
# HACK move if to RDoc::Context#comment=
|
2045
|
+
container.comment = comment if container.document_self unless comment.empty?
|
2046
|
+
|
2047
|
+
parse_statements container, NORMAL, nil, comment
|
2048
|
+
end
|
2049
|
+
|
2050
|
+
##
|
2051
|
+
# Determines the visibility in +container+ from +tk+
|
2052
|
+
|
2053
|
+
def parse_visibility(container, single, tk)
|
2054
|
+
vis_type, vis, singleton = get_visibility_information tk, single
|
2055
|
+
|
2056
|
+
skip_tkspace_comment false
|
2057
|
+
|
2058
|
+
ptk = peek_tk
|
2059
|
+
# Ryan Davis suggested the extension to ignore modifiers, because he
|
2060
|
+
# often writes
|
2061
|
+
#
|
2062
|
+
# protected unless $TESTING
|
2063
|
+
#
|
2064
|
+
if [:on_nl, :on_semicolon].include?(ptk[:kind]) || (:on_kw == ptk[:kind] && (['if', 'unless'].include?(ptk[:text]))) then
|
2065
|
+
container.ongoing_visibility = vis
|
2066
|
+
elsif :on_kw == ptk[:kind] && 'def' == ptk[:text]
|
2067
|
+
container.current_line_visibility = vis
|
2068
|
+
else
|
2069
|
+
update_visibility container, vis_type, vis, singleton
|
2070
|
+
end
|
2071
|
+
end
|
2072
|
+
|
2073
|
+
##
|
2074
|
+
# Parses a Module#private_constant or Module#public_constant call from +tk+.
|
2075
|
+
|
2076
|
+
def parse_constant_visibility(container, single, tk)
|
2077
|
+
args = parse_symbol_arg
|
2078
|
+
case tk[:text]
|
2079
|
+
when 'private_constant'
|
2080
|
+
vis = :private
|
2081
|
+
when 'public_constant'
|
2082
|
+
vis = :public
|
2083
|
+
else
|
2084
|
+
raise RDoc::Error, 'Unreachable'
|
2085
|
+
end
|
2086
|
+
container.set_constant_visibility_for args, vis
|
2087
|
+
end
|
2088
|
+
|
2089
|
+
##
|
2090
|
+
# Determines the block parameter for +context+
|
2091
|
+
|
2092
|
+
def parse_yield(context, single, tk, method)
|
2093
|
+
return if method.block_params
|
2094
|
+
|
2095
|
+
get_tkread
|
2096
|
+
method.block_params = parse_method_or_yield_parameters
|
2097
|
+
end
|
2098
|
+
|
2099
|
+
##
|
2100
|
+
# Directives are modifier comments that can appear after class, module, or
|
2101
|
+
# method names. For example:
|
2102
|
+
#
|
2103
|
+
# def fred # :yields: a, b
|
2104
|
+
#
|
2105
|
+
# or:
|
2106
|
+
#
|
2107
|
+
# class MyClass # :nodoc:
|
2108
|
+
#
|
2109
|
+
# We return the directive name and any parameters as a two element array if
|
2110
|
+
# the name is in +allowed+. A directive can be found anywhere up to the end
|
2111
|
+
# of the current line.
|
2112
|
+
|
2113
|
+
def read_directive allowed
|
2114
|
+
tokens = []
|
2115
|
+
|
2116
|
+
while tk = get_tk do
|
2117
|
+
tokens << tk
|
2118
|
+
|
2119
|
+
if :on_nl == tk[:kind] or (:on_kw == tk[:kind] && 'def' == tk[:text]) then
|
2120
|
+
return
|
2121
|
+
elsif :on_comment == tk[:kind] or :on_embdoc == tk[:kind] then
|
2122
|
+
return unless tk[:text] =~ /\s*:?([\w-]+):\s*(.*)/
|
2123
|
+
|
2124
|
+
directive = $1.downcase
|
2125
|
+
|
2126
|
+
return [directive, $2] if allowed.include? directive
|
2127
|
+
|
2128
|
+
return
|
2129
|
+
end
|
2130
|
+
end
|
2131
|
+
ensure
|
2132
|
+
unless tokens.length == 1 and (:on_comment == tokens.first[:kind] or :on_embdoc == tokens.first[:kind]) then
|
2133
|
+
tokens.reverse_each do |token|
|
2134
|
+
unget_tk token
|
2135
|
+
end
|
2136
|
+
end
|
2137
|
+
end
|
2138
|
+
|
2139
|
+
##
|
2140
|
+
# Handles directives following the definition for +context+ (any
|
2141
|
+
# RDoc::CodeObject) if the directives are +allowed+ at this point.
|
2142
|
+
#
|
2143
|
+
# See also RDoc::Markup::PreProcess#handle_directive
|
2144
|
+
|
2145
|
+
def read_documentation_modifiers context, allowed
|
2146
|
+
skip_tkspace_without_nl
|
2147
|
+
directive, value = read_directive allowed
|
2148
|
+
|
2149
|
+
return unless directive
|
2150
|
+
|
2151
|
+
@preprocess.handle_directive '', directive, value, context do |dir, param|
|
2152
|
+
if %w[notnew not_new not-new].include? dir then
|
2153
|
+
context.dont_rename_initialize = true
|
2154
|
+
|
2155
|
+
true
|
2156
|
+
end
|
2157
|
+
end
|
2158
|
+
end
|
2159
|
+
|
2160
|
+
##
|
2161
|
+
# Records the location of this +container+ in the file for this parser and
|
2162
|
+
# adds it to the list of classes and modules in the file.
|
2163
|
+
|
2164
|
+
def record_location container # :nodoc:
|
2165
|
+
case container
|
2166
|
+
when RDoc::ClassModule then
|
2167
|
+
@top_level.add_to_classes_or_modules container
|
2168
|
+
end
|
2169
|
+
|
2170
|
+
container.record_location @top_level
|
2171
|
+
end
|
2172
|
+
|
2173
|
+
##
|
2174
|
+
# Scans this Ruby file for Ruby constructs
|
2175
|
+
|
2176
|
+
def scan
|
2177
|
+
reset
|
2178
|
+
|
2179
|
+
catch :eof do
|
2180
|
+
begin
|
2181
|
+
parse_top_level_statements @top_level
|
2182
|
+
|
2183
|
+
rescue StandardError => e
|
2184
|
+
if @content.include?('<%') and @content.include?('%>') then
|
2185
|
+
# Maybe, this is ERB.
|
2186
|
+
$stderr.puts "\033[2KRDoc detects ERB file. Skips it for compatibility:"
|
2187
|
+
$stderr.puts @file_name
|
2188
|
+
return
|
2189
|
+
end
|
2190
|
+
|
2191
|
+
if @scanner_point >= @scanner.size
|
2192
|
+
now_line_no = @scanner[@scanner.size - 1][:line_no]
|
2193
|
+
else
|
2194
|
+
now_line_no = peek_tk[:line_no]
|
2195
|
+
end
|
2196
|
+
first_tk_index = @scanner.find_index { |tk| tk[:line_no] == now_line_no }
|
2197
|
+
last_tk_index = @scanner.find_index { |tk| tk[:line_no] == now_line_no + 1 }
|
2198
|
+
last_tk_index = last_tk_index ? last_tk_index - 1 : @scanner.size - 1
|
2199
|
+
code = @scanner[first_tk_index..last_tk_index].map{ |t| t[:text] }.join
|
2200
|
+
|
2201
|
+
$stderr.puts <<-EOF
|
2202
|
+
|
2203
|
+
#{self.class} failure around line #{now_line_no} of
|
2204
|
+
#{@file_name}
|
2205
|
+
|
2206
|
+
EOF
|
2207
|
+
|
2208
|
+
unless code.empty? then
|
2209
|
+
$stderr.puts code
|
2210
|
+
$stderr.puts
|
2211
|
+
end
|
2212
|
+
|
2213
|
+
raise e
|
2214
|
+
end
|
2215
|
+
end
|
2216
|
+
|
2217
|
+
@top_level
|
2218
|
+
end
|
2219
|
+
|
2220
|
+
##
|
2221
|
+
# while, until, and for have an optional do
|
2222
|
+
|
2223
|
+
def skip_optional_do_after_expression
|
2224
|
+
skip_tkspace_without_nl
|
2225
|
+
tk = get_tk
|
2226
|
+
|
2227
|
+
b_nest = 0
|
2228
|
+
nest = 0
|
2229
|
+
|
2230
|
+
loop do
|
2231
|
+
break unless tk
|
2232
|
+
case tk[:kind]
|
2233
|
+
when :on_semicolon, :on_nl, :on_ignored_nl then
|
2234
|
+
break if b_nest.zero?
|
2235
|
+
when :on_lparen then
|
2236
|
+
nest += 1
|
2237
|
+
when :on_rparen then
|
2238
|
+
nest -= 1
|
2239
|
+
when :on_kw then
|
2240
|
+
case tk[:text]
|
2241
|
+
when 'begin'
|
2242
|
+
b_nest += 1
|
2243
|
+
when 'end'
|
2244
|
+
b_nest -= 1
|
2245
|
+
when 'do'
|
2246
|
+
break if nest.zero?
|
2247
|
+
end
|
2248
|
+
when :on_comment, :on_embdoc then
|
2249
|
+
if b_nest.zero? and "\n" == tk[:text][-1] then
|
2250
|
+
break
|
2251
|
+
end
|
2252
|
+
end
|
2253
|
+
tk = get_tk
|
2254
|
+
end
|
2255
|
+
|
2256
|
+
skip_tkspace_without_nl
|
2257
|
+
|
2258
|
+
get_tk if peek_tk && :on_kw == peek_tk[:kind] && 'do' == peek_tk[:text]
|
2259
|
+
end
|
2260
|
+
|
2261
|
+
##
|
2262
|
+
# skip the var [in] part of a 'for' statement
|
2263
|
+
|
2264
|
+
def skip_for_variable
|
2265
|
+
skip_tkspace_without_nl
|
2266
|
+
get_tk
|
2267
|
+
skip_tkspace_without_nl
|
2268
|
+
tk = get_tk
|
2269
|
+
unget_tk(tk) unless :on_kw == tk[:kind] and 'in' == tk[:text]
|
2270
|
+
end
|
2271
|
+
|
2272
|
+
##
|
2273
|
+
# Skips the next method in +container+
|
2274
|
+
|
2275
|
+
def skip_method container
|
2276
|
+
meth = RDoc::AnyMethod.new "", "anon"
|
2277
|
+
parse_method_parameters meth
|
2278
|
+
parse_statements container, false, meth
|
2279
|
+
end
|
2280
|
+
|
2281
|
+
##
|
2282
|
+
# Skip spaces until a comment is found
|
2283
|
+
|
2284
|
+
def skip_tkspace_comment(skip_nl = true)
|
2285
|
+
loop do
|
2286
|
+
skip_nl ? skip_tkspace : skip_tkspace_without_nl
|
2287
|
+
next_tk = peek_tk
|
2288
|
+
return if next_tk.nil? || (:on_comment != next_tk[:kind] and :on_embdoc != next_tk[:kind])
|
2289
|
+
get_tk
|
2290
|
+
end
|
2291
|
+
end
|
2292
|
+
|
2293
|
+
##
|
2294
|
+
# Updates visibility in +container+ from +vis_type+ and +vis+.
|
2295
|
+
|
2296
|
+
def update_visibility container, vis_type, vis, singleton # :nodoc:
|
2297
|
+
new_methods = []
|
2298
|
+
|
2299
|
+
case vis_type
|
2300
|
+
when 'module_function' then
|
2301
|
+
args = parse_symbol_arg
|
2302
|
+
container.set_visibility_for args, :private, false
|
2303
|
+
|
2304
|
+
container.methods_matching args do |m|
|
2305
|
+
s_m = m.dup
|
2306
|
+
record_location s_m
|
2307
|
+
s_m.singleton = true
|
2308
|
+
new_methods << s_m
|
2309
|
+
end
|
2310
|
+
when 'public_class_method', 'private_class_method' then
|
2311
|
+
args = parse_symbol_arg
|
2312
|
+
|
2313
|
+
container.methods_matching args, true do |m|
|
2314
|
+
if m.parent != container then
|
2315
|
+
m = m.dup
|
2316
|
+
record_location m
|
2317
|
+
new_methods << m
|
2318
|
+
end
|
2319
|
+
|
2320
|
+
m.visibility = vis
|
2321
|
+
end
|
2322
|
+
else
|
2323
|
+
args = parse_symbol_arg
|
2324
|
+
container.set_visibility_for args, vis, singleton
|
2325
|
+
end
|
2326
|
+
|
2327
|
+
new_methods.each do |method|
|
2328
|
+
case method
|
2329
|
+
when RDoc::AnyMethod then
|
2330
|
+
container.add_method method
|
2331
|
+
when RDoc::Attr then
|
2332
|
+
container.add_attribute method
|
2333
|
+
end
|
2334
|
+
method.visibility = vis
|
2335
|
+
end
|
2336
|
+
end
|
2337
|
+
|
2338
|
+
##
|
2339
|
+
# Prints +message+ to +$stderr+ unless we're being quiet
|
2340
|
+
|
2341
|
+
def warn message
|
2342
|
+
@options.warn make_message message
|
2343
|
+
end
|
2344
|
+
|
2345
|
+
end
|