ric 0.12.0 → 0.12.2
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 +1 -0
- data.tar.gz.sig +2 -0
- data/Gemfile +0 -1
- data/HISTORY.yml +2 -0
- data/LICENSE +1 -1
- data/Makefile +12 -2
- data/Manifest +1189 -4
- data/Rakefile +16 -9
- data/VERSION +1 -1
- data/ric.gemspec +31 -27
- data/vendor/bundle/ruby/2.5.0/bin/allison +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/rake +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/rdoc +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/ri +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/rubyforge +27 -0
- data/vendor/bundle/ruby/2.5.0/cache/activemodel-5.2.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/activemodel-serializers-xml-1.0.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/activeresource-5.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/activesupport-5.2.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/allison-2.0.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/builder-3.2.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/concurrent-ruby-1.1.5.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/echoe-4.6.6.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/i18n-1.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/json_pure-2.2.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/minitest-5.11.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rake-12.3.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rdoc-6.1.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rubyforge-2.0.4.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/thread_safe-0.3.6.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/tzinfo-1.2.5.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/CHANGELOG.md +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/README.rdoc +264 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attribute.rb +248 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attribute/user_provided_default.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attribute_assignment.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attribute_methods.rb +478 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attribute_mutation_tracker.rb +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attribute_set.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attribute_set/builder.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attribute_set/yaml_encoder.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attributes.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/callbacks.rb +153 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/conversion.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/dirty.rb +343 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/errors.rb +517 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/forbidden_attributes_protection.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/gem_version.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/lint.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/locale/en.yml +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/model.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/naming.rb +318 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/railtie.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/secure_password.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/serialization.rb +192 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/serializers/json.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/translation.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/big_integer.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/binary.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/boolean.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/date.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/date_time.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/decimal.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/float.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/helpers.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/helpers/accepts_multiparameter_time.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/helpers/mutable.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/helpers/numeric.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/helpers/time_value.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/helpers/timezone.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/immutable_string.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/integer.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/registry.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/string.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/time.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/value.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations.rb +439 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/absence.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/acceptance.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/callbacks.rb +122 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/clusivity.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/confirmation.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/exclusion.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/format.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/helper_methods.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/inclusion.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/length.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/numericality.rb +189 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/presence.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/validates.rb +174 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/with.rb +147 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validator.rb +183 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/version.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/CONTRIBUTING.md +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/Gemfile +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/README.md +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/Rakefile +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/activemodel-serializers-xml.gemspec +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/lib/active_model/serializers.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/lib/active_model/serializers/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/lib/active_model/serializers/xml.rb +238 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/lib/active_record/serializers/xml_serializer.rb +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/lib/activemodel-serializers-xml.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/README.rdoc +285 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/active_job_serializer.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/associations.rb +175 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/associations/builder/association.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/associations/builder/belongs_to.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/associations/builder/has_many.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/associations/builder/has_one.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/base.rb +1695 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/callbacks.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/collection.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/connection.rb +294 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/custom_methods.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/exceptions.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/formats.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/formats/json_format.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/formats/xml_format.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/http_mock.rb +373 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/log_subscriber.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/observing.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/railtie.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/reflection.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/schema.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/singleton.rb +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/threadsafe_attributes.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/validations.rb +176 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/version.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/activeresource.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/CHANGELOG.md +602 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/README.rdoc +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/all.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/array_inquirer.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/backtrace_cleaner.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/benchmarkable.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/builder.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/cache.rb +808 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/cache/file_store.rb +196 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/cache/mem_cache_store.rb +207 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/cache/memory_store.rb +169 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/cache/null_store.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/cache/redis_cache_store.rb +461 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/cache/strategy/local_cache.rb +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/cache/strategy/local_cache_middleware.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb +845 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/concern.rb +148 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/concurrency/share_lock.rb +227 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/configurable.rb +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/access.rb +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/conversions.rb +213 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/extract_options.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/grouping.rb +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/inquiry.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/prepend_and_append.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/wrap.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/benchmark.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/big_decimal.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/big_decimal/conversions.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/class.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/class/attribute.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/class/attribute_accessors.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/class/subclasses.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date/acts_like.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date/blank.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date/calculations.rb +145 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date/conversions.rb +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date/zones.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_and_time/calculations.rb +374 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_and_time/compatibility.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_and_time/zones.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_time.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_time/acts_like.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_time/blank.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_time/calculations.rb +211 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_time/compatibility.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_time/conversions.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/digest/uuid.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/enumerable.rb +164 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/file.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/file/atomic.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/compact.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/conversions.rb +263 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/deep_merge.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/except.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/keys.rb +172 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/reverse_merge.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/slice.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/transform_values.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/integer.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/integer/inflections.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/integer/multiple.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/integer/time.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/kernel.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/kernel/agnostics.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/kernel/concern.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/kernel/reporting.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/kernel/singleton_class.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/load_error.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/marshal.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/aliasing.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/anonymous.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/attr_internal.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/attribute_accessors.rb +215 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/concerning.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/delegation.rb +287 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/deprecation.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/introspection.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/reachable.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/redefine_method.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/remove_method.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/name_error.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/numeric.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/numeric/bytes.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/numeric/conversions.rb +140 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/numeric/inquiry.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/numeric/time.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/acts_like.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/blank.rb +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/conversions.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/deep_dup.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/duplicable.rb +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/inclusion.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/instance_variables.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/json.rb +227 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/to_param.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/to_query.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/try.rb +148 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/with_options.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/range.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/range/compare_range.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/range/conversions.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/range/each.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/range/include_range.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/range/include_time_with_zone.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/range/overlaps.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/regexp.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/securerandom.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/access.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/behavior.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/conversions.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/exclude.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/filters.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/indent.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/inflections.rb +254 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/inquiry.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/multibyte.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/output_safety.rb +258 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/starts_ends_with.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/strip.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/zones.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/time.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/time/acts_like.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/time/calculations.rb +315 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/time/compatibility.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/time/conversions.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/time/zones.rb +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/uri.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/current_attributes.rb +195 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb +753 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies/autoload.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/deprecation.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/deprecation/behaviors.rb +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/deprecation/constant_accessor.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/deprecation/instance_delegator.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/deprecation/method_wrappers.rb +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/deprecation/proxy_wrappers.rb +154 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/deprecation/reporting.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/descendants_tracker.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/digest.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/duration.rb +432 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/duration/iso8601_parser.rb +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/duration/iso8601_serializer.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/encrypted_configuration.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/encrypted_file.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/evented_file_update_checker.rb +205 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/execution_wrapper.rb +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/executor.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/file_update_checker.rb +163 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/gem_version.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/gzip.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/hash_with_indifferent_access.rb +395 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/i18n.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/i18n_railtie.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/inflections.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/inflector.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/inflector/inflections.rb +260 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/inflector/methods.rb +410 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/inflector/transliterate.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/json.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/json/decoding.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/json/encoding.rb +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/key_generator.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/locale/en.yml +135 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/log_subscriber.rb +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/log_subscriber/test_helper.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/logger.rb +108 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/logger_silence.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/logger_thread_safe_level.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/message_encryptor.rb +229 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/message_verifier.rb +205 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/messages/metadata.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/messages/rotation_configuration.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/messages/rotator.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/multibyte.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/multibyte/chars.rb +235 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/multibyte/unicode.rb +394 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/notifications.rb +216 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/notifications/fanout.rb +159 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/notifications/instrumenter.rb +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper.rb +371 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/number_converter.rb +184 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/number_to_currency_converter.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/number_to_delimited_converter.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/number_to_human_converter.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/number_to_human_size_converter.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/number_to_percentage_converter.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/number_to_phone_converter.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/number_to_rounded_converter.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/rounding_helper.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/option_merger.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/ordered_hash.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/ordered_options.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/per_thread_registry.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/proxy_object.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/rails.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/railtie.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/reloader.rb +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/rescuable.rb +174 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/security_utils.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/string_inquirer.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/subscriber.rb +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/tagged_logging.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/test_case.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/assertions.rb +214 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/autorun.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/constant_lookup.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/declarative.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/deprecation.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/file_fixtures.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/isolation.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/method_call_assertions.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/setup_and_teardown.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/stream.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/tagged_logging.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/time_helpers.rb +200 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/time.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/time_with_zone.rb +551 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/values/time_zone.rb +565 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/version.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/xml_mini.rb +209 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/xml_mini/jdom.rb +183 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/xml_mini/libxml.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/xml_mini/libxmlsax.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/xml_mini/nokogiri.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/xml_mini/nokogirisax.rb +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/xml_mini/rexml.rb +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/CHANGELOG +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/LICENSE +184 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/Manifest +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/README +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/allison.gemspec +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/bin/allison +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/BODY +570 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/CLASS_INDEX +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/CLASS_PAGE +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/FILE_INDEX +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/FILE_PAGE +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/FONTS +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/FR_INDEX_BODY +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/INDEX +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/JAVASCRIPT +316 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/METHOD_INDEX +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/METHOD_LIST +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/SRC_PAGE +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/STYLE +320 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/contrib/Rakefile +147 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/contrib/rdoc_patch.rb +252 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/contrib/rdoc_patch_test.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/lib/allison.css +314 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/lib/allison.js +316 -0
- data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/lib/allison.rb +276 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/CHANGES +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/README.md +258 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/Rakefile +195 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/doc/jamis.rb +591 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/doc/releases/builder-1.2.4.rdoc +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/doc/releases/builder-2.0.0.rdoc +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/doc/releases/builder-2.1.1.rdoc +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/lib/blankslate.rb +137 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/lib/builder.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/lib/builder/blankslate.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/lib/builder/version.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/lib/builder/xchar.rb +197 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/lib/builder/xmlbase.rb +199 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/lib/builder/xmlevents.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/lib/builder/xmlmarkup.rb +339 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/rakelib/publish.rake +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/rakelib/tags.rake +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/rakelib/testing.rake +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/helper.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/performance.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/preload.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/test_blankslate.rb +213 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/test_eventbuilder.rb +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/test_markupbuilder.rb +611 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/test_method_caching.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/test_namecollision.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/test_xchar.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/CHANGELOG.md +478 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/Gemfile +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/README.md +381 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/Rakefile +327 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/ConcurrentRubyService.java +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/AtomicReferenceLibrary.java +175 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/JRubyMapBackendLibrary.java +248 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicBooleanLibrary.java +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java +159 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/SynchronizationLibrary.java +307 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent-ruby.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/agent.rb +587 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/array.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/async.rb +459 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atom.rb +222 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/abstract_thread_local_var.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/atomic_boolean.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/atomic_fixnum.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/atomic_markable_reference.rb +164 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/atomic_reference.rb +204 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/count_down_latch.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/cyclic_barrier.rb +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/event.rb +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/java_count_down_latch.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/java_thread_local_var.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/mutex_atomic_boolean.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/mutex_count_down_latch.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/mutex_semaphore.rb +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/read_write_lock.rb +254 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/reentrant_read_write_lock.rb +379 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/ruby_thread_local_var.rb +161 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/semaphore.rb +145 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/thread_local_var.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic_reference/mutex_atomic.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomics.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/lock_free_stack.rb +158 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/non_concurrent_map_backend.rb +140 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/synchronized_map_backend.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/deprecation.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/logging.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/obligation.rb +220 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/observable.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concurrent_ruby.jar +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/configuration.rb +184 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/constants.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/dataflow.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/delay.rb +199 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/errors.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/exchanger.rb +352 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/abstract_executor_service.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/executor_service.rb +185 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/fixed_thread_pool.rb +206 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/java_executor_service.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/java_single_thread_executor.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/java_thread_pool_executor.rb +123 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_executor_service.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_single_thread_executor.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb +362 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/simple_executor_service.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/single_thread_executor.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/thread_pool_executor.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/timer_set.rb +173 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executors.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/future.rb +141 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/hash.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/immutable_struct.rb +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/ivar.rb +207 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/map.rb +337 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/maybe.rb +229 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/mutable_struct.rb +229 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/mvar.rb +242 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/options.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/promise.rb +579 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/promises.rb +2167 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/re_include.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/scheduled_task.rb +318 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/set.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/settable_struct.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/abstract_lockable_object.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/abstract_object.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/abstract_struct.rb +160 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/condition.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/jruby_lockable_object.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/jruby_object.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/lock.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/lockable_object.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/mri_object.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/mutex_lockable_object.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/object.rb +183 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/rbx_lockable_object.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/rbx_object.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/truffleruby_object.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/volatile.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/synchronized_delegator.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/data_structures.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/striped64.rb +246 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/timer_task.rb +334 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/tuple.rb +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/tvar.rb +258 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/at_exit.rb +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/engine.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/monotonic_time.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/native_extension_loader.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/native_integer.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/processor_counter.rb +158 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/CHANGELOG +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/LICENSE +184 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/Manifest +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/README.rdoc +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/Rakefile +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/echoe.gemspec +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/echoe.pem +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/lib/echoe.rb +793 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/lib/echoe/extensions.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/lib/echoe/platform.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/lib/echoe/rubygems.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/vendor/rake/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/compositepublisher.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/ftptools.rb +153 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/publisher.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/sshpublisher.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/sys.rb +209 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/README.md +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n.rb +398 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/base.rb +284 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/cache.rb +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/cache_file.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/cascade.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/chain.rb +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/fallbacks.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/flatten.rb +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/gettext.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/interpolation_compiler.rb +123 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/key_value.rb +206 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/memoize.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/metadata.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/pluralization.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/simple.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/transliterator.rb +108 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/config.rb +165 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/core_ext/hash.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/exceptions.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/gettext.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/gettext/helpers.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/interpolate/ruby.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/locale.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/locale/fallbacks.rb +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/locale/tag.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/locale/tag/parents.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/middleware.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/basics.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/defaults.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/interpolation.rb +159 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/link.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/localization.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/localization/date.rb +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/localization/date_time.rb +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/localization/procs.rb +116 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/localization/time.rb +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/lookup.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/procs.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/CHANGES.md +391 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/Gemfile +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/README-json-jruby.md +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/README.md +409 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/Rakefile +408 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/VERSION +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/fbuffer/fbuffer.h +187 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/generator/depend +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/generator/extconf.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/generator/generator.c +1444 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/generator/generator.h +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/parser/depend +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/parser/extconf.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/parser/parser.c +2131 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/parser/parser.h +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/parser/parser.rl +891 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/extconf.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/install.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/ByteListTranscoder.java +166 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/Generator.java +443 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/GeneratorMethods.java +231 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/GeneratorService.java +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/GeneratorState.java +490 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/OptionsReader.java +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/Parser.java +2362 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/Parser.rl +893 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/ParserService.java +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/RuntimeInfo.java +116 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/StringDecoder.java +166 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/StringEncoder.java +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/Utils.java +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/json-java.gemspec +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/json.gemspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/json_pure.gemspec +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/bigdecimal.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/complex.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/core.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/date.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/date_time.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/exception.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/ostruct.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/range.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/rational.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/regexp.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/set.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/struct.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/symbol.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/time.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/common.rb +456 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/ext.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/generic_object.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/pure.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/pure/generator.rb +458 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/pure/parser.rb +311 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/version.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/references/rfc7159.txt +899 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail10.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail11.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail12.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail13.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail14.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail18.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail19.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail2.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail20.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail21.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail22.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail23.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail24.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail25.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail27.json +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail28.json +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail3.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail4.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail5.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail6.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail7.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail8.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail9.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/obsolete_fail1.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/pass1.json +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/pass15.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/pass16.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/pass17.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/pass2.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/pass26.json +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/pass3.json +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_addition_test.rb +203 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_common_interface_test.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_encoding_test.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_ext_parser_test.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_fixtures_test.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_generator_test.rb +377 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_generic_object_test.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_parser_test.rb +472 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_string_matching_test.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/test_helper.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tools/diff.sh +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tools/fuzz.rb +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tools/server.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/History.rdoc +1310 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/Manifest.txt +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/README.rdoc +746 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/Rakefile +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/design_rationale.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/hoe/minitest.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest.rb +987 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/assertions.rb +693 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/autorun.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/benchmark.rb +455 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/expectations.rb +284 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/hell.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/mock.rb +240 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/parallel.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/spec.rb +331 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/test.rb +220 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/unit.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/test/minitest/metametameta.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/test/minitest/test_minitest_mock.rb +874 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/test/minitest/test_minitest_reporter.rb +299 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/test/minitest/test_minitest_spec.rb +987 -0
- data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/test/minitest/test_minitest_test.rb +2142 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/CONTRIBUTING.rdoc +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/Gemfile +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/History.rdoc +2333 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/README.rdoc +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/Rakefile +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/bin/bundle +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/bin/console +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/bin/rake +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/bin/rdoc +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/bin/rubocop +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/bin/setup +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/exe/rake +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/application.rb +824 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/file_utils.rb +137 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/file_utils_ext.rb +145 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/packagetask.rb +207 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/task.rb +413 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/task_manager.rb +323 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/testtask.rb +224 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/rake.gemspec +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/CONTRIBUTING.rdoc +220 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/CVE-2013-0256.rdoc +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/ExampleMarkdown.md +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/ExampleRDoc.rdoc +208 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/Gemfile +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/History.rdoc +1666 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/LEGAL.rdoc +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/LICENSE.rdoc +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/README.rdoc +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/RI.rdoc +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/Rakefile +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/TODO.rdoc +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/appveyor.yml +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/bin/console +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/bin/setup +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/exe/rdoc +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/exe/ri +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc.rb +180 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/alias.rb +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/anon_class.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/any_method.rb +316 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/attr.rb +176 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/class_module.rb +802 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/code_object.rb +421 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/code_objects.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/comment.rb +239 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/constant.rb +187 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/context.rb +1258 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/context/section.rb +245 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/cross_reference.rb +202 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/encoding.rb +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/erb_partial.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/erbio.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/extend.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/darkfish.rb +790 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/json_index.rb +300 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/markup.rb +160 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/pot.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/pot/message_extractor.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/pot/po.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/pot/po_entry.rb +141 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/ri.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_footer.rhtml +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_head.rhtml +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/class.rhtml +172 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/css/fonts.css +167 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/css/rdoc.css +590 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/add.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/arrow_up.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/brick.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/bug.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/date.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/delete.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/find.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/package.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/page_green.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/plugin.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/ruby.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/transparent.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/wrench.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/zoom.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/index.rhtml +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/js/darkfish.js +161 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/js/jquery.js +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/js/search.js +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/page.rhtml +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/servlet_not_found.rhtml +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/servlet_root.rhtml +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/json_index/js/navigation.js +141 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/json_index/js/searcher.js +229 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/ghost_method.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/i18n.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/i18n/locale.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/i18n/text.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/include.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/known_classes.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markdown.kpeg +1219 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markdown/entities.rb +2132 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markdown/literals.kpeg +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup.rb +868 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/attr_changer.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/attr_span.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/attribute_manager.rb +344 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/attributes.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/blank_line.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/block_quote.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/document.rb +165 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/formatter.rb +266 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/formatter_test_case.rb +764 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/hard_break.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/heading.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/include.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/indented_paragraph.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/list.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/list_item.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/paragraph.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/parser.rb +559 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/pre_process.rb +296 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/raw.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/regexp_handling.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/rule.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/text_formatter_test_case.rb +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_ansi.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_bs.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_html.rb +404 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_html_crossref.rb +164 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_html_snippet.rb +285 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_joined_paragraph.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_label.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_markdown.rb +192 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_rdoc.rb +334 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_table_of_contents.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_test.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_tt_only.rb +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/verbatim.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/meta_method.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/method_attr.rb +419 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/mixin.rb +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/normal_class.rb +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/normal_module.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/options.rb +1235 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser.rb +277 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/c.rb +1269 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/changelog.rb +204 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/markdown.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/rd.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/ripper_state_lex.rb +589 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/ruby.rb +2317 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/ruby_tools.rb +167 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/simple.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/text.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/rd.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/rd/block_parser.ry +639 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/rd/inline.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/rd/inline_parser.ry +593 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/rdoc.rb +566 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/require.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/ri.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/ri/driver.rb +1568 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/ri/formatter.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/ri/paths.rb +185 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/ri/store.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/ri/task.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/rubygems_hook.rb +246 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/servlet.rb +443 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/single_class.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/stats.rb +462 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/stats/normal.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/stats/quiet.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/stats/verbose.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/store.rb +987 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/task.rb +329 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/text.rb +298 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/token_stream.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/tom_doc.rb +264 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/top_level.rb +289 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/version.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/rdoc.gemspec +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/History.txt +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/Manifest.txt +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/README.txt +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/Rakefile +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/bin/rubyforge +222 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/lib/rubyforge.rb +389 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/lib/rubyforge/client.rb +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/test/test_rubyforge.rb +329 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/test/test_rubyforge_client.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/Gemfile +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/LICENSE +144 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/README.md +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/Rakefile +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/examples/bench_cache.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/thread_safe/JrubyCacheBackendService.java +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/atomic_reference_cache_backend.rb +908 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/cache.rb +161 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/mri_cache_backend.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/non_concurrent_cache_backend.rb +135 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_cache_backend.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_delegator.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util/adder.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util/atomic_reference.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util/cheap_lockable.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util/striped64.rb +222 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile_tuple.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util/xor_shift_random.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/version.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/spec_helper.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/src/thread_safe/SecurityManager.java +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/support/threads.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/support/threadsafe_test.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/thread_safe/array_spec.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_loops_spec.rb +507 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_spec.rb +943 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/thread_safe/hash_spec.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/thread_safe/no_unsafe_spec.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/thread_safe/synchronized_delegator_spec.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/tasks/update_doc.rake +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/thread_safe.gemspec +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/yard-template/default/fulldoc/html/css/common.css +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/yard-template/default/layout/html/footer.erb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/CHANGES.md +786 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/LICENSE +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/README.md +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/Rakefile +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/country.rb +196 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/country_index_definition.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/country_info.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/country_timezone.rb +135 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/data_source.rb +190 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/data_timezone.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/data_timezone_info.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/info_timezone.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/linked_timezone.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/linked_timezone_info.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/offset_rationals.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/ruby_core_support.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/ruby_country_info.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/ruby_data_source.rb +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/time_or_datetime.rb +340 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone.rb +669 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_definition.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_index_definition.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_info.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_offset.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_period.rb +245 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_proxy.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_transition.rb +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_transition_definition.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/transition_data_timezone_info.rb +274 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_country_info.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_data_source.rb +488 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_timezone_info.rb +296 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_country.rb +234 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_country_index_definition.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_country_info.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_country_timezone.rb +173 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_data_source.rb +218 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_data_timezone.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_data_timezone_info.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_info_timezone.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_linked_timezone.rb +155 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_linked_timezone_info.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_offset_rationals.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_ruby_core_support.rb +168 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_ruby_country_info.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_ruby_data_source.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_time_or_datetime.rb +654 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone.rb +1350 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_definition.rb +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_index_definition.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_info.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_london.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_melbourne.rb +142 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_new_york.rb +142 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_offset.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_period.rb +555 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_proxy.rb +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_transition.rb +366 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_transition_definition.rb +295 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_utc.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_transition_data_timezone_info.rb +423 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_zoneinfo_country_info.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_zoneinfo_data_source.rb +1195 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_zoneinfo_timezone_info.rb +1232 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/test_utils.rb +163 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/ts_all.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/ts_all_ruby.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/ts_all_zoneinfo.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +315 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +218 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/EST.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +261 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +186 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +321 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +265 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +220 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/indexes/countries.rb +927 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +596 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/version.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/America/New_York +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/Australia/Melbourne +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/EST +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/Etc/UTC +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Amsterdam +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Andorra +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/London +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Paris +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Prague +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/Factory +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/iso3166.tab +275 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/leapseconds +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/posix/Europe/London +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/posixrules +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/right/Europe/London +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/zone.tab +439 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/zone1970.tab +369 -0
- data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/tzinfo.gemspec +21 -0
- data/vendor/bundle/ruby/2.5.0/specifications/activemodel-5.2.3.gemspec +34 -0
- data/vendor/bundle/ruby/2.5.0/specifications/activemodel-serializers-xml-1.0.2.gemspec +46 -0
- data/vendor/bundle/ruby/2.5.0/specifications/activeresource-5.1.0.gemspec +48 -0
- data/vendor/bundle/ruby/2.5.0/specifications/activesupport-5.2.3.gemspec +44 -0
- data/vendor/bundle/ruby/2.5.0/specifications/allison-2.0.3.gemspec +23 -0
- data/vendor/bundle/ruby/2.5.0/specifications/builder-3.2.3.gemspec +21 -0
- data/vendor/bundle/ruby/2.5.0/specifications/concurrent-ruby-1.1.5.gemspec +24 -0
- data/vendor/bundle/ruby/2.5.0/specifications/echoe-4.6.6.gemspec +46 -0
- data/vendor/bundle/ruby/2.5.0/specifications/i18n-1.6.0.gemspec +35 -0
- data/vendor/bundle/ruby/2.5.0/specifications/json_pure-2.2.0.gemspec +39 -0
- data/vendor/bundle/ruby/2.5.0/specifications/minitest-5.11.3.gemspec +39 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rake-12.3.2.gemspec +49 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rdoc-6.1.1.gemspec +50 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rubyforge-2.0.4.gemspec +36 -0
- data/vendor/bundle/ruby/2.5.0/specifications/thread_safe-0.3.6.gemspec +38 -0
- data/vendor/bundle/ruby/2.5.0/specifications/tzinfo-1.2.5.gemspec +37 -0
- metadata +1283 -91
- metadata.gz.sig +2 -0
- 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,277 @@
|
|
1
|
+
# -*- coding: us-ascii -*-
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
##
|
5
|
+
# A parser is simple a class that subclasses RDoc::Parser and implements #scan
|
6
|
+
# to fill in an RDoc::TopLevel with parsed data.
|
7
|
+
#
|
8
|
+
# The initialize method takes an RDoc::TopLevel to fill with parsed content,
|
9
|
+
# the name of the file to be parsed, the content of the file, an RDoc::Options
|
10
|
+
# object and an RDoc::Stats object to inform the user of parsed items. The
|
11
|
+
# scan method is then called to parse the file and must return the
|
12
|
+
# RDoc::TopLevel object. By calling super these items will be set for you.
|
13
|
+
#
|
14
|
+
# In order to be used by RDoc the parser needs to register the file extensions
|
15
|
+
# it can parse. Use ::parse_files_matching to register extensions.
|
16
|
+
#
|
17
|
+
# require 'rdoc'
|
18
|
+
#
|
19
|
+
# class RDoc::Parser::Xyz < RDoc::Parser
|
20
|
+
# parse_files_matching /\.xyz$/
|
21
|
+
#
|
22
|
+
# def initialize top_level, file_name, content, options, stats
|
23
|
+
# super
|
24
|
+
#
|
25
|
+
# # extra initialization if needed
|
26
|
+
# end
|
27
|
+
#
|
28
|
+
# def scan
|
29
|
+
# # parse file and fill in @top_level
|
30
|
+
# end
|
31
|
+
# end
|
32
|
+
|
33
|
+
class RDoc::Parser
|
34
|
+
|
35
|
+
@parsers = []
|
36
|
+
|
37
|
+
class << self
|
38
|
+
|
39
|
+
##
|
40
|
+
# An Array of arrays that maps file extension (or name) regular
|
41
|
+
# expressions to parser classes that will parse matching filenames.
|
42
|
+
#
|
43
|
+
# Use parse_files_matching to register a parser's file extensions.
|
44
|
+
|
45
|
+
attr_reader :parsers
|
46
|
+
|
47
|
+
end
|
48
|
+
|
49
|
+
##
|
50
|
+
# The name of the file being parsed
|
51
|
+
|
52
|
+
attr_reader :file_name
|
53
|
+
|
54
|
+
##
|
55
|
+
# Alias an extension to another extension. After this call, files ending
|
56
|
+
# "new_ext" will be parsed using the same parser as "old_ext"
|
57
|
+
|
58
|
+
def self.alias_extension(old_ext, new_ext)
|
59
|
+
old_ext = old_ext.sub(/^\.(.*)/, '\1')
|
60
|
+
new_ext = new_ext.sub(/^\.(.*)/, '\1')
|
61
|
+
|
62
|
+
parser = can_parse_by_name "xxx.#{old_ext}"
|
63
|
+
return false unless parser
|
64
|
+
|
65
|
+
RDoc::Parser.parsers.unshift [/\.#{new_ext}$/, parser]
|
66
|
+
|
67
|
+
true
|
68
|
+
end
|
69
|
+
|
70
|
+
##
|
71
|
+
# Determines if the file is a "binary" file which basically means it has
|
72
|
+
# content that an RDoc parser shouldn't try to consume.
|
73
|
+
|
74
|
+
def self.binary?(file)
|
75
|
+
return false if file =~ /\.(rdoc|txt)$/
|
76
|
+
|
77
|
+
s = File.read(file, 1024) or return false
|
78
|
+
|
79
|
+
return true if s[0, 2] == Marshal.dump('')[0, 2] or s.index("\x00")
|
80
|
+
|
81
|
+
mode = 'r:utf-8' # default source encoding has been chagened to utf-8
|
82
|
+
s.sub!(/\A#!.*\n/, '') # assume shebang line isn't longer than 1024.
|
83
|
+
encoding = s[/^\s*\#\s*(?:-\*-\s*)?(?:en)?coding:\s*([^\s;]+?)(?:-\*-|[\s;])/, 1]
|
84
|
+
mode = "rb:#{encoding}" if encoding
|
85
|
+
s = File.open(file, mode) {|f| f.gets(nil, 1024)}
|
86
|
+
|
87
|
+
not s.valid_encoding?
|
88
|
+
end
|
89
|
+
|
90
|
+
##
|
91
|
+
# Checks if +file+ is a zip file in disguise. Signatures from
|
92
|
+
# http://www.garykessler.net/library/file_sigs.html
|
93
|
+
|
94
|
+
def self.zip? file
|
95
|
+
zip_signature = File.read file, 4
|
96
|
+
|
97
|
+
zip_signature == "PK\x03\x04" or
|
98
|
+
zip_signature == "PK\x05\x06" or
|
99
|
+
zip_signature == "PK\x07\x08"
|
100
|
+
rescue
|
101
|
+
false
|
102
|
+
end
|
103
|
+
|
104
|
+
##
|
105
|
+
# Return a parser that can handle a particular extension
|
106
|
+
|
107
|
+
def self.can_parse file_name
|
108
|
+
parser = can_parse_by_name file_name
|
109
|
+
|
110
|
+
# HACK Selenium hides a jar file using a .txt extension
|
111
|
+
return if parser == RDoc::Parser::Simple and zip? file_name
|
112
|
+
|
113
|
+
parser
|
114
|
+
end
|
115
|
+
|
116
|
+
##
|
117
|
+
# Returns a parser that can handle the extension for +file_name+. This does
|
118
|
+
# not depend upon the file being readable.
|
119
|
+
|
120
|
+
def self.can_parse_by_name file_name
|
121
|
+
_, parser = RDoc::Parser.parsers.find { |regexp,| regexp =~ file_name }
|
122
|
+
|
123
|
+
# The default parser must not parse binary files
|
124
|
+
ext_name = File.extname file_name
|
125
|
+
return parser if ext_name.empty?
|
126
|
+
|
127
|
+
if parser == RDoc::Parser::Simple and ext_name !~ /txt|rdoc/ then
|
128
|
+
case check_modeline file_name
|
129
|
+
when nil, 'rdoc' then # continue
|
130
|
+
else return nil
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
parser
|
135
|
+
rescue Errno::EACCES
|
136
|
+
end
|
137
|
+
|
138
|
+
##
|
139
|
+
# Returns the file type from the modeline in +file_name+
|
140
|
+
|
141
|
+
def self.check_modeline file_name
|
142
|
+
line = File.open file_name do |io|
|
143
|
+
io.gets
|
144
|
+
end
|
145
|
+
|
146
|
+
/-\*-\s*(.*?\S)\s*-\*-/ =~ line
|
147
|
+
|
148
|
+
return nil unless type = $1
|
149
|
+
|
150
|
+
if /;/ =~ type then
|
151
|
+
return nil unless /(?:\s|\A)mode:\s*([^\s;]+)/i =~ type
|
152
|
+
type = $1
|
153
|
+
end
|
154
|
+
|
155
|
+
return nil if /coding:/i =~ type
|
156
|
+
|
157
|
+
type.downcase
|
158
|
+
rescue ArgumentError
|
159
|
+
rescue Encoding::InvalidByteSequenceError # invalid byte sequence
|
160
|
+
|
161
|
+
end
|
162
|
+
|
163
|
+
##
|
164
|
+
# Finds and instantiates the correct parser for the given +file_name+ and
|
165
|
+
# +content+.
|
166
|
+
|
167
|
+
def self.for top_level, file_name, content, options, stats
|
168
|
+
return if binary? file_name
|
169
|
+
|
170
|
+
parser = use_markup content
|
171
|
+
|
172
|
+
unless parser then
|
173
|
+
parse_name = file_name
|
174
|
+
|
175
|
+
# If no extension, look for shebang
|
176
|
+
if file_name !~ /\.\w+$/ && content =~ %r{\A#!(.+)} then
|
177
|
+
shebang = $1
|
178
|
+
case shebang
|
179
|
+
when %r{env\s+ruby}, %r{/ruby}
|
180
|
+
parse_name = 'dummy.rb'
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
parser = can_parse parse_name
|
185
|
+
end
|
186
|
+
|
187
|
+
return unless parser
|
188
|
+
|
189
|
+
content = remove_modeline content
|
190
|
+
|
191
|
+
parser.new top_level, file_name, content, options, stats
|
192
|
+
rescue SystemCallError
|
193
|
+
nil
|
194
|
+
end
|
195
|
+
|
196
|
+
##
|
197
|
+
# Record which file types this parser can understand.
|
198
|
+
#
|
199
|
+
# It is ok to call this multiple times.
|
200
|
+
|
201
|
+
def self.parse_files_matching(regexp)
|
202
|
+
RDoc::Parser.parsers.unshift [regexp, self]
|
203
|
+
end
|
204
|
+
|
205
|
+
##
|
206
|
+
# Removes an emacs-style modeline from the first line of the document
|
207
|
+
|
208
|
+
def self.remove_modeline content
|
209
|
+
content.sub(/\A.*-\*-\s*(.*?\S)\s*-\*-.*\r?\n/, '')
|
210
|
+
end
|
211
|
+
|
212
|
+
##
|
213
|
+
# If there is a <tt>markup: parser_name</tt> comment at the front of the
|
214
|
+
# file, use it to determine the parser. For example:
|
215
|
+
#
|
216
|
+
# # markup: rdoc
|
217
|
+
# # Class comment can go here
|
218
|
+
#
|
219
|
+
# class C
|
220
|
+
# end
|
221
|
+
#
|
222
|
+
# The comment should appear as the first line of the +content+.
|
223
|
+
#
|
224
|
+
# If the content contains a shebang or editor modeline the comment may
|
225
|
+
# appear on the second or third line.
|
226
|
+
#
|
227
|
+
# Any comment style may be used to hide the markup comment.
|
228
|
+
|
229
|
+
def self.use_markup content
|
230
|
+
markup = content.lines.first(3).grep(/markup:\s+(\w+)/) { $1 }.first
|
231
|
+
|
232
|
+
return unless markup
|
233
|
+
|
234
|
+
# TODO Ruby should be returned only when the filename is correct
|
235
|
+
return RDoc::Parser::Ruby if %w[tomdoc markdown].include? markup
|
236
|
+
|
237
|
+
markup = Regexp.escape markup
|
238
|
+
|
239
|
+
_, selected = RDoc::Parser.parsers.find do |_, parser|
|
240
|
+
/^#{markup}$/i =~ parser.name.sub(/.*:/, '')
|
241
|
+
end
|
242
|
+
|
243
|
+
selected
|
244
|
+
end
|
245
|
+
|
246
|
+
##
|
247
|
+
# Creates a new Parser storing +top_level+, +file_name+, +content+,
|
248
|
+
# +options+ and +stats+ in instance variables. In +@preprocess+ an
|
249
|
+
# RDoc::Markup::PreProcess object is created which allows processing of
|
250
|
+
# directives.
|
251
|
+
|
252
|
+
def initialize top_level, file_name, content, options, stats
|
253
|
+
@top_level = top_level
|
254
|
+
@top_level.parser = self.class
|
255
|
+
@store = @top_level.store
|
256
|
+
|
257
|
+
@file_name = file_name
|
258
|
+
@content = content
|
259
|
+
@options = options
|
260
|
+
@stats = stats
|
261
|
+
|
262
|
+
@preprocess = RDoc::Markup::PreProcess.new @file_name, @options.rdoc_include
|
263
|
+
@preprocess.options = @options
|
264
|
+
end
|
265
|
+
|
266
|
+
autoload :RubyTools, 'rdoc/parser/ruby_tools'
|
267
|
+
autoload :Text, 'rdoc/parser/text'
|
268
|
+
|
269
|
+
end
|
270
|
+
|
271
|
+
# simple must come first in order to show up last in the parsers list
|
272
|
+
require 'rdoc/parser/simple'
|
273
|
+
require 'rdoc/parser/c'
|
274
|
+
require 'rdoc/parser/changelog'
|
275
|
+
require 'rdoc/parser/markdown'
|
276
|
+
require 'rdoc/parser/rd'
|
277
|
+
require 'rdoc/parser/ruby'
|
@@ -0,0 +1,1269 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
require 'tsort'
|
3
|
+
|
4
|
+
##
|
5
|
+
# RDoc::Parser::C attempts to parse C extension files. It looks for
|
6
|
+
# the standard patterns that you find in extensions: <tt>rb_define_class,
|
7
|
+
# rb_define_method</tt> and so on. It tries to find the corresponding
|
8
|
+
# C source for the methods and extract comments, but if we fail
|
9
|
+
# we don't worry too much.
|
10
|
+
#
|
11
|
+
# The comments associated with a Ruby method are extracted from the C
|
12
|
+
# comment block associated with the routine that _implements_ that
|
13
|
+
# method, that is to say the method whose name is given in the
|
14
|
+
# <tt>rb_define_method</tt> call. For example, you might write:
|
15
|
+
#
|
16
|
+
# /*
|
17
|
+
# * Returns a new array that is a one-dimensional flattening of this
|
18
|
+
# * array (recursively). That is, for every element that is an array,
|
19
|
+
# * extract its elements into the new array.
|
20
|
+
# *
|
21
|
+
# * s = [ 1, 2, 3 ] #=> [1, 2, 3]
|
22
|
+
# * t = [ 4, 5, 6, [7, 8] ] #=> [4, 5, 6, [7, 8]]
|
23
|
+
# * a = [ s, t, 9, 10 ] #=> [[1, 2, 3], [4, 5, 6, [7, 8]], 9, 10]
|
24
|
+
# * a.flatten #=> [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
25
|
+
# */
|
26
|
+
# static VALUE
|
27
|
+
# rb_ary_flatten(ary)
|
28
|
+
# VALUE ary;
|
29
|
+
# {
|
30
|
+
# ary = rb_obj_dup(ary);
|
31
|
+
# rb_ary_flatten_bang(ary);
|
32
|
+
# return ary;
|
33
|
+
# }
|
34
|
+
#
|
35
|
+
# ...
|
36
|
+
#
|
37
|
+
# void
|
38
|
+
# Init_Array()
|
39
|
+
# {
|
40
|
+
# ...
|
41
|
+
# rb_define_method(rb_cArray, "flatten", rb_ary_flatten, 0);
|
42
|
+
#
|
43
|
+
# Here RDoc will determine from the rb_define_method line that there's a
|
44
|
+
# method called "flatten" in class Array, and will look for the implementation
|
45
|
+
# in the method rb_ary_flatten. It will then use the comment from that
|
46
|
+
# method in the HTML output. This method must be in the same source file
|
47
|
+
# as the rb_define_method.
|
48
|
+
#
|
49
|
+
# The comment blocks may include special directives:
|
50
|
+
#
|
51
|
+
# [Document-class: +name+]
|
52
|
+
# Documentation for the named class.
|
53
|
+
#
|
54
|
+
# [Document-module: +name+]
|
55
|
+
# Documentation for the named module.
|
56
|
+
#
|
57
|
+
# [Document-const: +name+]
|
58
|
+
# Documentation for the named +rb_define_const+.
|
59
|
+
#
|
60
|
+
# Constant values can be supplied on the first line of the comment like so:
|
61
|
+
#
|
62
|
+
# /* 300: The highest possible score in bowling */
|
63
|
+
# rb_define_const(cFoo, "PERFECT", INT2FIX(300));
|
64
|
+
#
|
65
|
+
# The value can contain internal colons so long as they are escaped with a \
|
66
|
+
#
|
67
|
+
# [Document-global: +name+]
|
68
|
+
# Documentation for the named +rb_define_global_const+
|
69
|
+
#
|
70
|
+
# [Document-variable: +name+]
|
71
|
+
# Documentation for the named +rb_define_variable+
|
72
|
+
#
|
73
|
+
# [Document-method: +method_name+]
|
74
|
+
# Documentation for the named method. Use this when the method name is
|
75
|
+
# unambiguous.
|
76
|
+
#
|
77
|
+
# [Document-method: <tt>ClassName::method_name<tt>]
|
78
|
+
# Documentation for a singleton method in the given class. Use this when
|
79
|
+
# the method name alone is ambiguous.
|
80
|
+
#
|
81
|
+
# [Document-method: <tt>ClassName#method_name<tt>]
|
82
|
+
# Documentation for a instance method in the given class. Use this when the
|
83
|
+
# method name alone is ambiguous.
|
84
|
+
#
|
85
|
+
# [Document-attr: +name+]
|
86
|
+
# Documentation for the named attribute.
|
87
|
+
#
|
88
|
+
# [call-seq: <i>text up to an empty line</i>]
|
89
|
+
# Because C source doesn't give descriptive names to Ruby-level parameters,
|
90
|
+
# you need to document the calling sequence explicitly
|
91
|
+
#
|
92
|
+
# In addition, RDoc assumes by default that the C method implementing a
|
93
|
+
# Ruby function is in the same source file as the rb_define_method call.
|
94
|
+
# If this isn't the case, add the comment:
|
95
|
+
#
|
96
|
+
# rb_define_method(....); // in filename
|
97
|
+
#
|
98
|
+
# As an example, we might have an extension that defines multiple classes
|
99
|
+
# in its Init_xxx method. We could document them using
|
100
|
+
#
|
101
|
+
# /*
|
102
|
+
# * Document-class: MyClass
|
103
|
+
# *
|
104
|
+
# * Encapsulate the writing and reading of the configuration
|
105
|
+
# * file. ...
|
106
|
+
# */
|
107
|
+
#
|
108
|
+
# /*
|
109
|
+
# * Document-method: read_value
|
110
|
+
# *
|
111
|
+
# * call-seq:
|
112
|
+
# * cfg.read_value(key) -> value
|
113
|
+
# * cfg.read_value(key} { |key| } -> value
|
114
|
+
# *
|
115
|
+
# * Return the value corresponding to +key+ from the configuration.
|
116
|
+
# * In the second form, if the key isn't found, invoke the
|
117
|
+
# * block and return its value.
|
118
|
+
# */
|
119
|
+
|
120
|
+
class RDoc::Parser::C < RDoc::Parser
|
121
|
+
|
122
|
+
parse_files_matching(/\.(?:([CcHh])\1?|c([+xp])\2|y)\z/)
|
123
|
+
|
124
|
+
include RDoc::Text
|
125
|
+
|
126
|
+
##
|
127
|
+
# Maps C variable names to names of Ruby classes or modules
|
128
|
+
|
129
|
+
attr_reader :classes
|
130
|
+
|
131
|
+
##
|
132
|
+
# C file the parser is parsing
|
133
|
+
|
134
|
+
attr_accessor :content
|
135
|
+
|
136
|
+
##
|
137
|
+
# Dependencies from a missing enclosing class to the classes in
|
138
|
+
# missing_dependencies that depend upon it.
|
139
|
+
|
140
|
+
attr_reader :enclosure_dependencies
|
141
|
+
|
142
|
+
##
|
143
|
+
# Maps C variable names to names of Ruby classes (and singleton classes)
|
144
|
+
|
145
|
+
attr_reader :known_classes
|
146
|
+
|
147
|
+
##
|
148
|
+
# Classes found while parsing the C file that were not yet registered due to
|
149
|
+
# a missing enclosing class. These are processed by do_missing
|
150
|
+
|
151
|
+
attr_reader :missing_dependencies
|
152
|
+
|
153
|
+
##
|
154
|
+
# Maps C variable names to names of Ruby singleton classes
|
155
|
+
|
156
|
+
attr_reader :singleton_classes
|
157
|
+
|
158
|
+
##
|
159
|
+
# The TopLevel items in the parsed file belong to
|
160
|
+
|
161
|
+
attr_reader :top_level
|
162
|
+
|
163
|
+
##
|
164
|
+
# Prepares for parsing a C file. See RDoc::Parser#initialize for details on
|
165
|
+
# the arguments.
|
166
|
+
|
167
|
+
def initialize top_level, file_name, content, options, stats
|
168
|
+
super
|
169
|
+
|
170
|
+
@known_classes = RDoc::KNOWN_CLASSES.dup
|
171
|
+
@content = handle_tab_width handle_ifdefs_in @content
|
172
|
+
@file_dir = File.dirname @file_name
|
173
|
+
|
174
|
+
@classes = load_variable_map :c_class_variables
|
175
|
+
@singleton_classes = load_variable_map :c_singleton_class_variables
|
176
|
+
|
177
|
+
# class_variable => { function => [method, ...] }
|
178
|
+
@methods = Hash.new { |h, f| h[f] = Hash.new { |i, m| i[m] = [] } }
|
179
|
+
|
180
|
+
# missing variable => [handle_class_module arguments]
|
181
|
+
@missing_dependencies = {}
|
182
|
+
|
183
|
+
# missing enclosure variable => [dependent handle_class_module arguments]
|
184
|
+
@enclosure_dependencies = Hash.new { |h, k| h[k] = [] }
|
185
|
+
@enclosure_dependencies.instance_variable_set :@missing_dependencies,
|
186
|
+
@missing_dependencies
|
187
|
+
|
188
|
+
@enclosure_dependencies.extend TSort
|
189
|
+
|
190
|
+
def @enclosure_dependencies.tsort_each_node &block
|
191
|
+
each_key(&block)
|
192
|
+
rescue TSort::Cyclic => e
|
193
|
+
cycle_vars = e.message.scan(/"(.*?)"/).flatten
|
194
|
+
|
195
|
+
cycle = cycle_vars.sort.map do |var_name|
|
196
|
+
delete var_name
|
197
|
+
|
198
|
+
var_name, type, mod_name, = @missing_dependencies[var_name]
|
199
|
+
|
200
|
+
"#{type} #{mod_name} (#{var_name})"
|
201
|
+
end.join ', '
|
202
|
+
|
203
|
+
warn "Unable to create #{cycle} due to a cyclic class or module creation"
|
204
|
+
|
205
|
+
retry
|
206
|
+
end
|
207
|
+
|
208
|
+
def @enclosure_dependencies.tsort_each_child node, &block
|
209
|
+
fetch(node, []).each(&block)
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
213
|
+
##
|
214
|
+
# Removes duplicate call-seq entries for methods using the same
|
215
|
+
# implementation.
|
216
|
+
|
217
|
+
def deduplicate_call_seq
|
218
|
+
@methods.each do |var_name, functions|
|
219
|
+
class_name = @known_classes[var_name]
|
220
|
+
next unless class_name
|
221
|
+
class_obj = find_class var_name, class_name
|
222
|
+
|
223
|
+
functions.each_value do |method_names|
|
224
|
+
next if method_names.length == 1
|
225
|
+
|
226
|
+
method_names.each do |method_name|
|
227
|
+
deduplicate_method_name class_obj, method_name
|
228
|
+
end
|
229
|
+
end
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
##
|
234
|
+
# If two ruby methods share a C implementation (and comment) this
|
235
|
+
# deduplicates the examples in the call_seq for the method to reduce
|
236
|
+
# confusion in the output.
|
237
|
+
|
238
|
+
def deduplicate_method_name class_obj, method_name # :nodoc:
|
239
|
+
return unless
|
240
|
+
method = class_obj.method_list.find { |m| m.name == method_name }
|
241
|
+
return unless call_seq = method.call_seq
|
242
|
+
|
243
|
+
method_name = method_name[0, 1] if method_name =~ /\A\[/
|
244
|
+
|
245
|
+
entries = call_seq.split "\n"
|
246
|
+
|
247
|
+
matching = entries.select do |entry|
|
248
|
+
entry =~ /^\w*\.?#{Regexp.escape method_name}/ or
|
249
|
+
entry =~ /\s#{Regexp.escape method_name}\s/
|
250
|
+
end
|
251
|
+
|
252
|
+
method.call_seq = matching.join "\n"
|
253
|
+
end
|
254
|
+
|
255
|
+
##
|
256
|
+
# Scans #content for rb_define_alias
|
257
|
+
|
258
|
+
def do_aliases
|
259
|
+
@content.scan(/rb_define_alias\s*\(
|
260
|
+
\s*(\w+),
|
261
|
+
\s*"(.+?)",
|
262
|
+
\s*"(.+?)"
|
263
|
+
\s*\)/xm) do |var_name, new_name, old_name|
|
264
|
+
class_name = @known_classes[var_name]
|
265
|
+
|
266
|
+
unless class_name then
|
267
|
+
@options.warn "Enclosing class or module %p for alias %s %s is not known" % [
|
268
|
+
var_name, new_name, old_name]
|
269
|
+
next
|
270
|
+
end
|
271
|
+
|
272
|
+
class_obj = find_class var_name, class_name
|
273
|
+
|
274
|
+
al = RDoc::Alias.new '', old_name, new_name, ''
|
275
|
+
al.singleton = @singleton_classes.key? var_name
|
276
|
+
|
277
|
+
comment = find_alias_comment var_name, new_name, old_name
|
278
|
+
|
279
|
+
comment.normalize
|
280
|
+
|
281
|
+
al.comment = comment
|
282
|
+
|
283
|
+
al.record_location @top_level
|
284
|
+
|
285
|
+
class_obj.add_alias al
|
286
|
+
@stats.add_alias al
|
287
|
+
end
|
288
|
+
end
|
289
|
+
|
290
|
+
##
|
291
|
+
# Scans #content for rb_attr and rb_define_attr
|
292
|
+
|
293
|
+
def do_attrs
|
294
|
+
@content.scan(/rb_attr\s*\(
|
295
|
+
\s*(\w+),
|
296
|
+
\s*([\w"()]+),
|
297
|
+
\s*([01]),
|
298
|
+
\s*([01]),
|
299
|
+
\s*\w+\);/xm) do |var_name, attr_name, read, write|
|
300
|
+
handle_attr var_name, attr_name, read, write
|
301
|
+
end
|
302
|
+
|
303
|
+
@content.scan(%r%rb_define_attr\(
|
304
|
+
\s*([\w\.]+),
|
305
|
+
\s*"([^"]+)",
|
306
|
+
\s*(\d+),
|
307
|
+
\s*(\d+)\s*\);
|
308
|
+
%xm) do |var_name, attr_name, read, write|
|
309
|
+
handle_attr var_name, attr_name, read, write
|
310
|
+
end
|
311
|
+
end
|
312
|
+
|
313
|
+
##
|
314
|
+
# Scans #content for boot_defclass
|
315
|
+
|
316
|
+
def do_boot_defclass
|
317
|
+
@content.scan(/(\w+)\s*=\s*boot_defclass\s*\(\s*"(\w+?)",\s*(\w+?)\s*\)/) do
|
318
|
+
|var_name, class_name, parent|
|
319
|
+
parent = nil if parent == "0"
|
320
|
+
handle_class_module(var_name, :class, class_name, parent, nil)
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
##
|
325
|
+
# Scans #content for rb_define_class, boot_defclass, rb_define_class_under
|
326
|
+
# and rb_singleton_class
|
327
|
+
|
328
|
+
def do_classes
|
329
|
+
do_boot_defclass
|
330
|
+
do_define_class
|
331
|
+
do_define_class_under
|
332
|
+
do_singleton_class
|
333
|
+
do_struct_define_without_accessor
|
334
|
+
end
|
335
|
+
|
336
|
+
##
|
337
|
+
# Scans #content for rb_define_variable, rb_define_readonly_variable,
|
338
|
+
# rb_define_const and rb_define_global_const
|
339
|
+
|
340
|
+
def do_constants
|
341
|
+
@content.scan(%r%\Wrb_define_
|
342
|
+
( variable |
|
343
|
+
readonly_variable |
|
344
|
+
const |
|
345
|
+
global_const )
|
346
|
+
\s*\(
|
347
|
+
(?:\s*(\w+),)?
|
348
|
+
\s*"(\w+)",
|
349
|
+
\s*(.*?)\s*\)\s*;
|
350
|
+
%xm) do |type, var_name, const_name, definition|
|
351
|
+
var_name = "rb_cObject" if !var_name or var_name == "rb_mKernel"
|
352
|
+
handle_constants type, var_name, const_name, definition
|
353
|
+
end
|
354
|
+
|
355
|
+
@content.scan(%r%
|
356
|
+
\Wrb_curses_define_const
|
357
|
+
\s*\(
|
358
|
+
\s*
|
359
|
+
(\w+)
|
360
|
+
\s*
|
361
|
+
\)
|
362
|
+
\s*;%xm) do |consts|
|
363
|
+
const = consts.first
|
364
|
+
|
365
|
+
handle_constants 'const', 'mCurses', const, "UINT2NUM(#{const})"
|
366
|
+
end
|
367
|
+
|
368
|
+
@content.scan(%r%
|
369
|
+
\Wrb_file_const
|
370
|
+
\s*\(
|
371
|
+
\s*
|
372
|
+
"([^"]+)",
|
373
|
+
\s*
|
374
|
+
(.*?)
|
375
|
+
\s*
|
376
|
+
\)
|
377
|
+
\s*;%xm) do |name, value|
|
378
|
+
handle_constants 'const', 'rb_mFConst', name, value
|
379
|
+
end
|
380
|
+
end
|
381
|
+
|
382
|
+
##
|
383
|
+
# Scans #content for rb_define_class
|
384
|
+
|
385
|
+
def do_define_class
|
386
|
+
# The '.' lets us handle SWIG-generated files
|
387
|
+
@content.scan(/([\w\.]+)\s* = \s*rb_define_class\s*
|
388
|
+
\(
|
389
|
+
\s*"(\w+)",
|
390
|
+
\s*(\w+)\s*
|
391
|
+
\)/mx) do |var_name, class_name, parent|
|
392
|
+
handle_class_module(var_name, :class, class_name, parent, nil)
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
##
|
397
|
+
# Scans #content for rb_define_class_under
|
398
|
+
|
399
|
+
def do_define_class_under
|
400
|
+
@content.scan(/([\w\.]+)\s* = # var_name
|
401
|
+
\s*rb_define_class_under\s*
|
402
|
+
\(
|
403
|
+
\s* (\w+), # under
|
404
|
+
\s* "(\w+)", # class_name
|
405
|
+
\s*
|
406
|
+
(?:
|
407
|
+
([\w\*\s\(\)\.\->]+) | # parent_name
|
408
|
+
rb_path2class\("([\w:]+)"\) # path
|
409
|
+
)
|
410
|
+
\s*
|
411
|
+
\)
|
412
|
+
/mx) do |var_name, under, class_name, parent_name, path|
|
413
|
+
parent = path || parent_name
|
414
|
+
|
415
|
+
handle_class_module var_name, :class, class_name, parent, under
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
##
|
420
|
+
# Scans #content for rb_define_module
|
421
|
+
|
422
|
+
def do_define_module
|
423
|
+
@content.scan(/(\w+)\s* = \s*rb_define_module\s*\(\s*"(\w+)"\s*\)/mx) do
|
424
|
+
|var_name, class_name|
|
425
|
+
handle_class_module(var_name, :module, class_name, nil, nil)
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
429
|
+
##
|
430
|
+
# Scans #content for rb_define_module_under
|
431
|
+
|
432
|
+
def do_define_module_under
|
433
|
+
@content.scan(/(\w+)\s* = \s*rb_define_module_under\s*
|
434
|
+
\(
|
435
|
+
\s*(\w+),
|
436
|
+
\s*"(\w+)"
|
437
|
+
\s*\)/mx) do |var_name, in_module, class_name|
|
438
|
+
handle_class_module(var_name, :module, class_name, nil, in_module)
|
439
|
+
end
|
440
|
+
end
|
441
|
+
|
442
|
+
##
|
443
|
+
# Scans #content for rb_include_module
|
444
|
+
|
445
|
+
def do_includes
|
446
|
+
@content.scan(/rb_include_module\s*\(\s*(\w+?),\s*(\w+?)\s*\)/) do |c,m|
|
447
|
+
next unless cls = @classes[c]
|
448
|
+
m = @known_classes[m] || m
|
449
|
+
|
450
|
+
comment = RDoc::Comment.new '', @top_level
|
451
|
+
incl = cls.add_include RDoc::Include.new(m, comment)
|
452
|
+
incl.record_location @top_level
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
456
|
+
##
|
457
|
+
# Scans #content for rb_define_method, rb_define_singleton_method,
|
458
|
+
# rb_define_module_function, rb_define_private_method,
|
459
|
+
# rb_define_global_function and define_filetest_function
|
460
|
+
|
461
|
+
def do_methods
|
462
|
+
@content.scan(%r%rb_define_
|
463
|
+
(
|
464
|
+
singleton_method |
|
465
|
+
method |
|
466
|
+
module_function |
|
467
|
+
private_method
|
468
|
+
)
|
469
|
+
\s*\(\s*([\w\.]+),
|
470
|
+
\s*"([^"]+)",
|
471
|
+
\s*(?:RUBY_METHOD_FUNC\(|VALUEFUNC\(|\(METHOD\))?(\w+)\)?,
|
472
|
+
\s*(-?\w+)\s*\)
|
473
|
+
(?:;\s*/[*/]\s+in\s+(\w+?\.(?:cpp|c|y)))?
|
474
|
+
%xm) do |type, var_name, meth_name, function, param_count, source_file|
|
475
|
+
|
476
|
+
# Ignore top-object and weird struct.c dynamic stuff
|
477
|
+
next if var_name == "ruby_top_self"
|
478
|
+
next if var_name == "nstr"
|
479
|
+
|
480
|
+
var_name = "rb_cObject" if var_name == "rb_mKernel"
|
481
|
+
handle_method(type, var_name, meth_name, function, param_count,
|
482
|
+
source_file)
|
483
|
+
end
|
484
|
+
|
485
|
+
@content.scan(%r%rb_define_global_function\s*\(
|
486
|
+
\s*"([^"]+)",
|
487
|
+
\s*(?:RUBY_METHOD_FUNC\(|VALUEFUNC\()?(\w+)\)?,
|
488
|
+
\s*(-?\w+)\s*\)
|
489
|
+
(?:;\s*/[*/]\s+in\s+(\w+?\.[cy]))?
|
490
|
+
%xm) do |meth_name, function, param_count, source_file|
|
491
|
+
handle_method("method", "rb_mKernel", meth_name, function, param_count,
|
492
|
+
source_file)
|
493
|
+
end
|
494
|
+
|
495
|
+
@content.scan(/define_filetest_function\s*\(
|
496
|
+
\s*"([^"]+)",
|
497
|
+
\s*(?:RUBY_METHOD_FUNC\(|VALUEFUNC\()?(\w+)\)?,
|
498
|
+
\s*(-?\w+)\s*\)/xm) do |meth_name, function, param_count|
|
499
|
+
|
500
|
+
handle_method("method", "rb_mFileTest", meth_name, function, param_count)
|
501
|
+
handle_method("singleton_method", "rb_cFile", meth_name, function,
|
502
|
+
param_count)
|
503
|
+
end
|
504
|
+
end
|
505
|
+
|
506
|
+
##
|
507
|
+
# Creates classes and module that were missing were defined due to the file
|
508
|
+
# order being different than the declaration order.
|
509
|
+
|
510
|
+
def do_missing
|
511
|
+
return if @missing_dependencies.empty?
|
512
|
+
|
513
|
+
@enclosure_dependencies.tsort.each do |in_module|
|
514
|
+
arguments = @missing_dependencies.delete in_module
|
515
|
+
|
516
|
+
next unless arguments # dependency on existing class
|
517
|
+
|
518
|
+
handle_class_module(*arguments)
|
519
|
+
end
|
520
|
+
end
|
521
|
+
|
522
|
+
##
|
523
|
+
# Scans #content for rb_define_module and rb_define_module_under
|
524
|
+
|
525
|
+
def do_modules
|
526
|
+
do_define_module
|
527
|
+
do_define_module_under
|
528
|
+
end
|
529
|
+
|
530
|
+
##
|
531
|
+
# Scans #content for rb_singleton_class
|
532
|
+
|
533
|
+
def do_singleton_class
|
534
|
+
@content.scan(/([\w\.]+)\s* = \s*rb_singleton_class\s*
|
535
|
+
\(
|
536
|
+
\s*(\w+)
|
537
|
+
\s*\)/mx) do |sclass_var, class_var|
|
538
|
+
handle_singleton sclass_var, class_var
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
542
|
+
##
|
543
|
+
# Scans #content for struct_define_without_accessor
|
544
|
+
|
545
|
+
def do_struct_define_without_accessor
|
546
|
+
@content.scan(/([\w\.]+)\s* = \s*rb_struct_define_without_accessor\s*
|
547
|
+
\(
|
548
|
+
\s*"(\w+)", # Class name
|
549
|
+
\s*(\w+), # Parent class
|
550
|
+
\s*\w+, # Allocation function
|
551
|
+
(\s*"\w+",)* # Attributes
|
552
|
+
\s*NULL
|
553
|
+
\)/mx) do |var_name, class_name, parent|
|
554
|
+
handle_class_module(var_name, :class, class_name, parent, nil)
|
555
|
+
end
|
556
|
+
end
|
557
|
+
|
558
|
+
##
|
559
|
+
# Finds the comment for an alias on +class_name+ from +new_name+ to
|
560
|
+
# +old_name+
|
561
|
+
|
562
|
+
def find_alias_comment class_name, new_name, old_name
|
563
|
+
content =~ %r%((?>/\*.*?\*/\s+))
|
564
|
+
rb_define_alias\(\s*#{Regexp.escape class_name}\s*,
|
565
|
+
\s*"#{Regexp.escape new_name}"\s*,
|
566
|
+
\s*"#{Regexp.escape old_name}"\s*\);%xm
|
567
|
+
|
568
|
+
RDoc::Comment.new($1 || '', @top_level)
|
569
|
+
end
|
570
|
+
|
571
|
+
##
|
572
|
+
# Finds a comment for rb_define_attr, rb_attr or Document-attr.
|
573
|
+
#
|
574
|
+
# +var_name+ is the C class variable the attribute is defined on.
|
575
|
+
# +attr_name+ is the attribute's name.
|
576
|
+
#
|
577
|
+
# +read+ and +write+ are the read/write flags ('1' or '0'). Either both or
|
578
|
+
# neither must be provided.
|
579
|
+
|
580
|
+
def find_attr_comment var_name, attr_name, read = nil, write = nil
|
581
|
+
attr_name = Regexp.escape attr_name
|
582
|
+
|
583
|
+
rw = if read and write then
|
584
|
+
/\s*#{read}\s*,\s*#{write}\s*/xm
|
585
|
+
else
|
586
|
+
/.*?/m
|
587
|
+
end
|
588
|
+
|
589
|
+
comment = if @content =~ %r%((?>/\*.*?\*/\s+))
|
590
|
+
rb_define_attr\((?:\s*#{var_name},)?\s*
|
591
|
+
"#{attr_name}"\s*,
|
592
|
+
#{rw}\)\s*;%xm then
|
593
|
+
$1
|
594
|
+
elsif @content =~ %r%((?>/\*.*?\*/\s+))
|
595
|
+
rb_attr\(\s*#{var_name}\s*,
|
596
|
+
\s*#{attr_name}\s*,
|
597
|
+
#{rw},.*?\)\s*;%xm then
|
598
|
+
$1
|
599
|
+
elsif @content =~ %r%(/\*.*?(?:\s*\*\s*)?)
|
600
|
+
Document-attr:\s#{attr_name}\s*?\n
|
601
|
+
((?>(.|\n)*?\*/))%x then
|
602
|
+
"#{$1}\n#{$2}"
|
603
|
+
else
|
604
|
+
''
|
605
|
+
end
|
606
|
+
|
607
|
+
RDoc::Comment.new comment, @top_level
|
608
|
+
end
|
609
|
+
|
610
|
+
##
|
611
|
+
# Generate a Ruby-method table
|
612
|
+
|
613
|
+
def gen_body_table file_content
|
614
|
+
table = {}
|
615
|
+
file_content.scan(%r{
|
616
|
+
((?>/\*.*?\*/\s*)?)
|
617
|
+
((?:(?:\w+)\s+)?
|
618
|
+
(?:intern\s+)?VALUE\s+(\w+)
|
619
|
+
\s*(?:\([^)]*\))(?:[^;]|$))
|
620
|
+
| ((?>/\*.*?\*/\s*))^\s*(\#\s*define\s+(\w+)\s+(\w+))
|
621
|
+
| ^\s*\#\s*define\s+(\w+)\s+(\w+)
|
622
|
+
}xm) do
|
623
|
+
case
|
624
|
+
when $1
|
625
|
+
table[$3] = [:func_def, $1, $2, $~.offset(2)] if !table[$3] || table[$3][0] != :func_def
|
626
|
+
when $4
|
627
|
+
table[$6] = [:macro_def, $4, $5, $~.offset(5), $7] if !table[$6] || table[$6][0] == :macro_alias
|
628
|
+
when $8
|
629
|
+
table[$8] ||= [:macro_alias, $9]
|
630
|
+
end
|
631
|
+
end
|
632
|
+
table
|
633
|
+
end
|
634
|
+
|
635
|
+
##
|
636
|
+
# Find the C code corresponding to a Ruby method
|
637
|
+
|
638
|
+
def find_body class_name, meth_name, meth_obj, file_content, quiet = false
|
639
|
+
if file_content
|
640
|
+
@body_table ||= {}
|
641
|
+
@body_table[file_content] ||= gen_body_table file_content
|
642
|
+
type, *args = @body_table[file_content][meth_name]
|
643
|
+
end
|
644
|
+
|
645
|
+
case type
|
646
|
+
when :func_def
|
647
|
+
comment = RDoc::Comment.new args[0], @top_level
|
648
|
+
body = args[1]
|
649
|
+
offset, = args[2]
|
650
|
+
|
651
|
+
comment.remove_private if comment
|
652
|
+
|
653
|
+
# try to find the whole body
|
654
|
+
body = $& if /#{Regexp.escape body}[^(]*?\{.*?^\}/m =~ file_content
|
655
|
+
|
656
|
+
# The comment block may have been overridden with a 'Document-method'
|
657
|
+
# block. This happens in the interpreter when multiple methods are
|
658
|
+
# vectored through to the same C method but those methods are logically
|
659
|
+
# distinct (for example Kernel.hash and Kernel.object_id share the same
|
660
|
+
# implementation
|
661
|
+
|
662
|
+
override_comment = find_override_comment class_name, meth_obj
|
663
|
+
comment = override_comment if override_comment
|
664
|
+
|
665
|
+
comment.normalize
|
666
|
+
find_modifiers comment, meth_obj if comment
|
667
|
+
|
668
|
+
#meth_obj.params = params
|
669
|
+
meth_obj.start_collecting_tokens
|
670
|
+
tk = { :line_no => 1, :char_no => 1, :text => body }
|
671
|
+
meth_obj.add_token tk
|
672
|
+
meth_obj.comment = comment
|
673
|
+
meth_obj.line = file_content[0, offset].count("\n") + 1
|
674
|
+
|
675
|
+
body
|
676
|
+
when :macro_def
|
677
|
+
comment = RDoc::Comment.new args[0], @top_level
|
678
|
+
body = args[1]
|
679
|
+
offset, = args[2]
|
680
|
+
|
681
|
+
find_body class_name, args[3], meth_obj, file_content, true
|
682
|
+
|
683
|
+
comment.normalize
|
684
|
+
find_modifiers comment, meth_obj
|
685
|
+
|
686
|
+
meth_obj.start_collecting_tokens
|
687
|
+
tk = { :line_no => 1, :char_no => 1, :text => body }
|
688
|
+
meth_obj.add_token tk
|
689
|
+
meth_obj.comment = comment
|
690
|
+
meth_obj.line = file_content[0, offset].count("\n") + 1
|
691
|
+
|
692
|
+
body
|
693
|
+
when :macro_alias
|
694
|
+
# with no comment we hope the aliased definition has it and use it's
|
695
|
+
# definition
|
696
|
+
|
697
|
+
body = find_body(class_name, args[0], meth_obj, file_content, true)
|
698
|
+
|
699
|
+
return body if body
|
700
|
+
|
701
|
+
@options.warn "No definition for #{meth_name}"
|
702
|
+
false
|
703
|
+
else # No body, but might still have an override comment
|
704
|
+
comment = find_override_comment class_name, meth_obj
|
705
|
+
|
706
|
+
if comment then
|
707
|
+
comment.normalize
|
708
|
+
find_modifiers comment, meth_obj
|
709
|
+
meth_obj.comment = comment
|
710
|
+
|
711
|
+
''
|
712
|
+
else
|
713
|
+
@options.warn "No definition for #{meth_name}"
|
714
|
+
false
|
715
|
+
end
|
716
|
+
end
|
717
|
+
end
|
718
|
+
|
719
|
+
##
|
720
|
+
# Finds a RDoc::NormalClass or RDoc::NormalModule for +raw_name+
|
721
|
+
|
722
|
+
def find_class(raw_name, name)
|
723
|
+
unless @classes[raw_name]
|
724
|
+
if raw_name =~ /^rb_m/
|
725
|
+
container = @top_level.add_module RDoc::NormalModule, name
|
726
|
+
else
|
727
|
+
container = @top_level.add_class RDoc::NormalClass, name
|
728
|
+
end
|
729
|
+
|
730
|
+
container.record_location @top_level
|
731
|
+
@classes[raw_name] = container
|
732
|
+
end
|
733
|
+
@classes[raw_name]
|
734
|
+
end
|
735
|
+
|
736
|
+
##
|
737
|
+
# Look for class or module documentation above Init_+class_name+(void),
|
738
|
+
# in a Document-class +class_name+ (or module) comment or above an
|
739
|
+
# rb_define_class (or module). If a comment is supplied above a matching
|
740
|
+
# Init_ and a rb_define_class the Init_ comment is used.
|
741
|
+
#
|
742
|
+
# /*
|
743
|
+
# * This is a comment for Foo
|
744
|
+
# */
|
745
|
+
# Init_Foo(void) {
|
746
|
+
# VALUE cFoo = rb_define_class("Foo", rb_cObject);
|
747
|
+
# }
|
748
|
+
#
|
749
|
+
# /*
|
750
|
+
# * Document-class: Foo
|
751
|
+
# * This is a comment for Foo
|
752
|
+
# */
|
753
|
+
# Init_foo(void) {
|
754
|
+
# VALUE cFoo = rb_define_class("Foo", rb_cObject);
|
755
|
+
# }
|
756
|
+
#
|
757
|
+
# /*
|
758
|
+
# * This is a comment for Foo
|
759
|
+
# */
|
760
|
+
# VALUE cFoo = rb_define_class("Foo", rb_cObject);
|
761
|
+
|
762
|
+
def find_class_comment class_name, class_mod
|
763
|
+
comment = nil
|
764
|
+
|
765
|
+
if @content =~ %r%
|
766
|
+
((?>/\*.*?\*/\s+))
|
767
|
+
(static\s+)?
|
768
|
+
void\s+
|
769
|
+
Init_#{class_name}\s*(?:_\(\s*)?\(\s*(?:void\s*)?\)%xmi then
|
770
|
+
comment = $1.sub(%r%Document-(?:class|module):\s+#{class_name}%, '')
|
771
|
+
elsif @content =~ %r%Document-(?:class|module):\s+#{class_name}\s*?
|
772
|
+
(?:<\s+[:,\w]+)?\n((?>.*?\*/))%xm then
|
773
|
+
comment = "/*\n#{$1}"
|
774
|
+
elsif @content =~ %r%((?>/\*.*?\*/\s+))
|
775
|
+
([\w\.\s]+\s* = \s+)?rb_define_(class|module)[\t (]*?"(#{class_name})"%xm then
|
776
|
+
comment = $1
|
777
|
+
elsif @content =~ %r%((?>/\*.*?\*/\s+))
|
778
|
+
([\w\. \t]+ = \s+)?rb_define_(class|module)_under[\t\w, (]*?"(#{class_name.split('::').last})"%xm then
|
779
|
+
comment = $1
|
780
|
+
else
|
781
|
+
comment = ''
|
782
|
+
end
|
783
|
+
|
784
|
+
comment = RDoc::Comment.new comment, @top_level
|
785
|
+
comment.normalize
|
786
|
+
|
787
|
+
look_for_directives_in class_mod, comment
|
788
|
+
|
789
|
+
class_mod.add_comment comment, @top_level
|
790
|
+
end
|
791
|
+
|
792
|
+
##
|
793
|
+
# Generate a const table
|
794
|
+
|
795
|
+
def gen_const_table file_content
|
796
|
+
table = {}
|
797
|
+
@content.scan(%r{
|
798
|
+
((?>^\s*/\*.*?\*/\s+))
|
799
|
+
rb_define_(\w+)\((?:\s*(?:\w+),)?\s*
|
800
|
+
"(\w+)"\s*,
|
801
|
+
.*?\)\s*;
|
802
|
+
| Document-(?:const|global|variable):\s
|
803
|
+
((?:\w+::)*\w+)
|
804
|
+
\s*?\n((?>.*?\*/))
|
805
|
+
}mxi) do
|
806
|
+
case
|
807
|
+
when $1 then table[[$2, $3]] = $1
|
808
|
+
when $4 then table[$4] = "/*\n" + $5
|
809
|
+
end
|
810
|
+
end
|
811
|
+
table
|
812
|
+
end
|
813
|
+
|
814
|
+
##
|
815
|
+
# Finds a comment matching +type+ and +const_name+ either above the
|
816
|
+
# comment or in the matching Document- section.
|
817
|
+
|
818
|
+
def find_const_comment(type, const_name, class_name = nil)
|
819
|
+
@const_table ||= {}
|
820
|
+
@const_table[@content] ||= gen_const_table @content
|
821
|
+
table = @const_table[@content]
|
822
|
+
|
823
|
+
comment =
|
824
|
+
table[[type, const_name]] ||
|
825
|
+
(class_name && table[class_name + "::" + const_name]) ||
|
826
|
+
table[const_name] ||
|
827
|
+
''
|
828
|
+
|
829
|
+
RDoc::Comment.new comment, @top_level
|
830
|
+
end
|
831
|
+
|
832
|
+
##
|
833
|
+
# Handles modifiers in +comment+ and updates +meth_obj+ as appropriate.
|
834
|
+
|
835
|
+
def find_modifiers comment, meth_obj
|
836
|
+
comment.normalize
|
837
|
+
comment.extract_call_seq meth_obj
|
838
|
+
|
839
|
+
look_for_directives_in meth_obj, comment
|
840
|
+
end
|
841
|
+
|
842
|
+
##
|
843
|
+
# Finds a <tt>Document-method</tt> override for +meth_obj+ on +class_name+
|
844
|
+
|
845
|
+
def find_override_comment class_name, meth_obj
|
846
|
+
name = Regexp.escape meth_obj.name
|
847
|
+
prefix = Regexp.escape meth_obj.name_prefix
|
848
|
+
|
849
|
+
comment = if @content =~ %r%Document-method:
|
850
|
+
\s+#{class_name}#{prefix}#{name}
|
851
|
+
\s*?\n((?>.*?\*/))%xm then
|
852
|
+
"/*#{$1}"
|
853
|
+
elsif @content =~ %r%Document-method:
|
854
|
+
\s#{name}\s*?\n((?>.*?\*/))%xm then
|
855
|
+
"/*#{$1}"
|
856
|
+
end
|
857
|
+
|
858
|
+
return unless comment
|
859
|
+
|
860
|
+
RDoc::Comment.new comment, @top_level
|
861
|
+
end
|
862
|
+
|
863
|
+
##
|
864
|
+
# Creates a new RDoc::Attr +attr_name+ on class +var_name+ that is either
|
865
|
+
# +read+, +write+ or both
|
866
|
+
|
867
|
+
def handle_attr(var_name, attr_name, read, write)
|
868
|
+
rw = ''
|
869
|
+
rw += 'R' if '1' == read
|
870
|
+
rw += 'W' if '1' == write
|
871
|
+
|
872
|
+
class_name = @known_classes[var_name]
|
873
|
+
|
874
|
+
return unless class_name
|
875
|
+
|
876
|
+
class_obj = find_class var_name, class_name
|
877
|
+
|
878
|
+
return unless class_obj
|
879
|
+
|
880
|
+
comment = find_attr_comment var_name, attr_name
|
881
|
+
comment.normalize
|
882
|
+
|
883
|
+
name = attr_name.gsub(/rb_intern(?:_const)?\("([^"]+)"\)/, '\1')
|
884
|
+
|
885
|
+
attr = RDoc::Attr.new '', name, rw, comment
|
886
|
+
|
887
|
+
attr.record_location @top_level
|
888
|
+
class_obj.add_attribute attr
|
889
|
+
@stats.add_attribute attr
|
890
|
+
end
|
891
|
+
|
892
|
+
##
|
893
|
+
# Creates a new RDoc::NormalClass or RDoc::NormalModule based on +type+
|
894
|
+
# named +class_name+ in +parent+ which was assigned to the C +var_name+.
|
895
|
+
|
896
|
+
def handle_class_module(var_name, type, class_name, parent, in_module)
|
897
|
+
parent_name = @known_classes[parent] || parent
|
898
|
+
|
899
|
+
if in_module then
|
900
|
+
enclosure = @classes[in_module] || @store.find_c_enclosure(in_module)
|
901
|
+
|
902
|
+
if enclosure.nil? and enclosure = @known_classes[in_module] then
|
903
|
+
enc_type = /^rb_m/ =~ in_module ? :module : :class
|
904
|
+
handle_class_module in_module, enc_type, enclosure, nil, nil
|
905
|
+
enclosure = @classes[in_module]
|
906
|
+
end
|
907
|
+
|
908
|
+
unless enclosure then
|
909
|
+
@enclosure_dependencies[in_module] << var_name
|
910
|
+
@missing_dependencies[var_name] =
|
911
|
+
[var_name, type, class_name, parent, in_module]
|
912
|
+
|
913
|
+
return
|
914
|
+
end
|
915
|
+
else
|
916
|
+
enclosure = @top_level
|
917
|
+
end
|
918
|
+
|
919
|
+
if type == :class then
|
920
|
+
full_name = if RDoc::ClassModule === enclosure then
|
921
|
+
enclosure.full_name + "::#{class_name}"
|
922
|
+
else
|
923
|
+
class_name
|
924
|
+
end
|
925
|
+
|
926
|
+
if @content =~ %r%Document-class:\s+#{full_name}\s*<\s+([:,\w]+)% then
|
927
|
+
parent_name = $1
|
928
|
+
end
|
929
|
+
|
930
|
+
cm = enclosure.add_class RDoc::NormalClass, class_name, parent_name
|
931
|
+
else
|
932
|
+
cm = enclosure.add_module RDoc::NormalModule, class_name
|
933
|
+
end
|
934
|
+
|
935
|
+
cm.record_location enclosure.top_level
|
936
|
+
|
937
|
+
find_class_comment cm.full_name, cm
|
938
|
+
|
939
|
+
case cm
|
940
|
+
when RDoc::NormalClass
|
941
|
+
@stats.add_class cm
|
942
|
+
when RDoc::NormalModule
|
943
|
+
@stats.add_module cm
|
944
|
+
end
|
945
|
+
|
946
|
+
@classes[var_name] = cm
|
947
|
+
@known_classes[var_name] = cm.full_name
|
948
|
+
@store.add_c_enclosure var_name, cm
|
949
|
+
end
|
950
|
+
|
951
|
+
##
|
952
|
+
# Adds constants. By providing some_value: at the start of the comment you
|
953
|
+
# can override the C value of the comment to give a friendly definition.
|
954
|
+
#
|
955
|
+
# /* 300: The perfect score in bowling */
|
956
|
+
# rb_define_const(cFoo, "PERFECT", INT2FIX(300);
|
957
|
+
#
|
958
|
+
# Will override <tt>INT2FIX(300)</tt> with the value +300+ in the output
|
959
|
+
# RDoc. Values may include quotes and escaped colons (\:).
|
960
|
+
|
961
|
+
def handle_constants(type, var_name, const_name, definition)
|
962
|
+
class_name = @known_classes[var_name]
|
963
|
+
|
964
|
+
return unless class_name
|
965
|
+
|
966
|
+
class_obj = find_class var_name, class_name
|
967
|
+
|
968
|
+
unless class_obj then
|
969
|
+
@options.warn 'Enclosing class or module %p is not known' % [const_name]
|
970
|
+
return
|
971
|
+
end
|
972
|
+
|
973
|
+
comment = find_const_comment type, const_name, class_name
|
974
|
+
comment.normalize
|
975
|
+
|
976
|
+
# In the case of rb_define_const, the definition and comment are in
|
977
|
+
# "/* definition: comment */" form. The literal ':' and '\' characters
|
978
|
+
# can be escaped with a backslash.
|
979
|
+
if type.downcase == 'const' then
|
980
|
+
no_match, new_definition, new_comment = comment.text.split(/(\A.*):/)
|
981
|
+
|
982
|
+
if no_match and no_match.empty? then
|
983
|
+
if new_definition.empty? then # Default to literal C definition
|
984
|
+
new_definition = definition
|
985
|
+
else
|
986
|
+
new_definition = new_definition.gsub("\:", ":")
|
987
|
+
new_definition = new_definition.gsub("\\", '\\')
|
988
|
+
end
|
989
|
+
|
990
|
+
new_definition.sub!(/\A(\s+)/, '')
|
991
|
+
|
992
|
+
new_comment = "#{$1}#{new_comment.lstrip}"
|
993
|
+
|
994
|
+
new_comment = RDoc::Comment.new new_comment, @top_level
|
995
|
+
|
996
|
+
con = RDoc::Constant.new const_name, new_definition, new_comment
|
997
|
+
else
|
998
|
+
con = RDoc::Constant.new const_name, definition, comment
|
999
|
+
end
|
1000
|
+
else
|
1001
|
+
con = RDoc::Constant.new const_name, definition, comment
|
1002
|
+
end
|
1003
|
+
|
1004
|
+
con.record_location @top_level
|
1005
|
+
@stats.add_constant con
|
1006
|
+
class_obj.add_constant con
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
##
|
1010
|
+
# Removes #ifdefs that would otherwise confuse us
|
1011
|
+
|
1012
|
+
def handle_ifdefs_in(body)
|
1013
|
+
body.gsub(/^#ifdef HAVE_PROTOTYPES.*?#else.*?\n(.*?)#endif.*?\n/m, '\1')
|
1014
|
+
end
|
1015
|
+
|
1016
|
+
##
|
1017
|
+
# Adds an RDoc::AnyMethod +meth_name+ defined on a class or module assigned
|
1018
|
+
# to +var_name+. +type+ is the type of method definition function used.
|
1019
|
+
# +singleton_method+ and +module_function+ create a singleton method.
|
1020
|
+
|
1021
|
+
def handle_method(type, var_name, meth_name, function, param_count,
|
1022
|
+
source_file = nil)
|
1023
|
+
class_name = @known_classes[var_name]
|
1024
|
+
singleton = @singleton_classes.key? var_name
|
1025
|
+
|
1026
|
+
@methods[var_name][function] << meth_name
|
1027
|
+
|
1028
|
+
return unless class_name
|
1029
|
+
|
1030
|
+
class_obj = find_class var_name, class_name
|
1031
|
+
|
1032
|
+
if class_obj then
|
1033
|
+
if meth_name == 'initialize' then
|
1034
|
+
meth_name = 'new'
|
1035
|
+
singleton = true
|
1036
|
+
type = 'method' # force public
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
meth_obj = RDoc::AnyMethod.new '', meth_name
|
1040
|
+
meth_obj.c_function = function
|
1041
|
+
meth_obj.singleton =
|
1042
|
+
singleton || %w[singleton_method module_function].include?(type)
|
1043
|
+
|
1044
|
+
p_count = Integer(param_count) rescue -1
|
1045
|
+
|
1046
|
+
if source_file then
|
1047
|
+
file_name = File.join @file_dir, source_file
|
1048
|
+
|
1049
|
+
if File.exist? file_name then
|
1050
|
+
file_content = File.read file_name
|
1051
|
+
else
|
1052
|
+
@options.warn "unknown source #{source_file} for #{meth_name} in #{@file_name}"
|
1053
|
+
end
|
1054
|
+
else
|
1055
|
+
file_content = @content
|
1056
|
+
end
|
1057
|
+
|
1058
|
+
body = find_body class_name, function, meth_obj, file_content
|
1059
|
+
|
1060
|
+
if body and meth_obj.document_self then
|
1061
|
+
meth_obj.params = if p_count < -1 then # -2 is Array
|
1062
|
+
'(*args)'
|
1063
|
+
elsif p_count == -1 then # argc, argv
|
1064
|
+
rb_scan_args body
|
1065
|
+
else
|
1066
|
+
"(#{(1..p_count).map { |i| "p#{i}" }.join ', '})"
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
|
1070
|
+
meth_obj.record_location @top_level
|
1071
|
+
class_obj.add_method meth_obj
|
1072
|
+
@stats.add_method meth_obj
|
1073
|
+
meth_obj.visibility = :private if 'private_method' == type
|
1074
|
+
end
|
1075
|
+
end
|
1076
|
+
end
|
1077
|
+
|
1078
|
+
##
|
1079
|
+
# Registers a singleton class +sclass_var+ as a singleton of +class_var+
|
1080
|
+
|
1081
|
+
def handle_singleton sclass_var, class_var
|
1082
|
+
class_name = @known_classes[class_var]
|
1083
|
+
|
1084
|
+
@known_classes[sclass_var] = class_name
|
1085
|
+
@singleton_classes[sclass_var] = class_name
|
1086
|
+
end
|
1087
|
+
|
1088
|
+
##
|
1089
|
+
# Normalizes tabs in +body+
|
1090
|
+
|
1091
|
+
def handle_tab_width(body)
|
1092
|
+
if /\t/ =~ body
|
1093
|
+
tab_width = @options.tab_width
|
1094
|
+
body.split(/\n/).map do |line|
|
1095
|
+
1 while line.gsub!(/\t+/) do
|
1096
|
+
' ' * (tab_width * $&.length - $`.length % tab_width)
|
1097
|
+
end && $~
|
1098
|
+
line
|
1099
|
+
end.join "\n"
|
1100
|
+
else
|
1101
|
+
body
|
1102
|
+
end
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
##
|
1106
|
+
# Loads the variable map with the given +name+ from the RDoc::Store, if
|
1107
|
+
# present.
|
1108
|
+
|
1109
|
+
def load_variable_map map_name
|
1110
|
+
return {} unless files = @store.cache[map_name]
|
1111
|
+
return {} unless name_map = files[@file_name]
|
1112
|
+
|
1113
|
+
class_map = {}
|
1114
|
+
|
1115
|
+
name_map.each do |variable, name|
|
1116
|
+
next unless mod = @store.find_class_or_module(name)
|
1117
|
+
|
1118
|
+
class_map[variable] = if map_name == :c_class_variables then
|
1119
|
+
mod
|
1120
|
+
else
|
1121
|
+
name
|
1122
|
+
end
|
1123
|
+
@known_classes[variable] = name
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
class_map
|
1127
|
+
end
|
1128
|
+
|
1129
|
+
##
|
1130
|
+
# Look for directives in a normal comment block:
|
1131
|
+
#
|
1132
|
+
# /*
|
1133
|
+
# * :title: My Awesome Project
|
1134
|
+
# */
|
1135
|
+
#
|
1136
|
+
# This method modifies the +comment+
|
1137
|
+
|
1138
|
+
def look_for_directives_in context, comment
|
1139
|
+
@preprocess.handle comment, context do |directive, param|
|
1140
|
+
case directive
|
1141
|
+
when 'main' then
|
1142
|
+
@options.main_page = param
|
1143
|
+
''
|
1144
|
+
when 'title' then
|
1145
|
+
@options.default_title = param if @options.respond_to? :default_title=
|
1146
|
+
''
|
1147
|
+
end
|
1148
|
+
end
|
1149
|
+
|
1150
|
+
comment
|
1151
|
+
end
|
1152
|
+
|
1153
|
+
##
|
1154
|
+
# Extracts parameters from the +method_body+ and returns a method
|
1155
|
+
# parameter string. Follows 1.9.3dev's scan-arg-spec, see README.EXT
|
1156
|
+
|
1157
|
+
def rb_scan_args method_body
|
1158
|
+
method_body =~ /rb_scan_args\((.*?)\)/m
|
1159
|
+
return '(*args)' unless $1
|
1160
|
+
|
1161
|
+
$1.split(/,/)[2] =~ /"(.*?)"/ # format argument
|
1162
|
+
format = $1.split(//)
|
1163
|
+
|
1164
|
+
lead = opt = trail = 0
|
1165
|
+
|
1166
|
+
if format.first =~ /\d/ then
|
1167
|
+
lead = $&.to_i
|
1168
|
+
format.shift
|
1169
|
+
if format.first =~ /\d/ then
|
1170
|
+
opt = $&.to_i
|
1171
|
+
format.shift
|
1172
|
+
if format.first =~ /\d/ then
|
1173
|
+
trail = $&.to_i
|
1174
|
+
format.shift
|
1175
|
+
block_arg = true
|
1176
|
+
end
|
1177
|
+
end
|
1178
|
+
end
|
1179
|
+
|
1180
|
+
if format.first == '*' and not block_arg then
|
1181
|
+
var = true
|
1182
|
+
format.shift
|
1183
|
+
if format.first =~ /\d/ then
|
1184
|
+
trail = $&.to_i
|
1185
|
+
format.shift
|
1186
|
+
end
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
if format.first == ':' then
|
1190
|
+
hash = true
|
1191
|
+
format.shift
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
if format.first == '&' then
|
1195
|
+
block = true
|
1196
|
+
format.shift
|
1197
|
+
end
|
1198
|
+
|
1199
|
+
# if the format string is not empty there's a bug in the C code, ignore it
|
1200
|
+
|
1201
|
+
args = []
|
1202
|
+
position = 1
|
1203
|
+
|
1204
|
+
(1...(position + lead)).each do |index|
|
1205
|
+
args << "p#{index}"
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
position += lead
|
1209
|
+
|
1210
|
+
(position...(position + opt)).each do |index|
|
1211
|
+
args << "p#{index} = v#{index}"
|
1212
|
+
end
|
1213
|
+
|
1214
|
+
position += opt
|
1215
|
+
|
1216
|
+
if var then
|
1217
|
+
args << '*args'
|
1218
|
+
position += 1
|
1219
|
+
end
|
1220
|
+
|
1221
|
+
(position...(position + trail)).each do |index|
|
1222
|
+
args << "p#{index}"
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
position += trail
|
1226
|
+
|
1227
|
+
if hash then
|
1228
|
+
args << "p#{position} = {}"
|
1229
|
+
end
|
1230
|
+
|
1231
|
+
args << '&block' if block
|
1232
|
+
|
1233
|
+
"(#{args.join ', '})"
|
1234
|
+
end
|
1235
|
+
|
1236
|
+
##
|
1237
|
+
# Removes lines that are commented out that might otherwise get picked up
|
1238
|
+
# when scanning for classes and methods
|
1239
|
+
|
1240
|
+
def remove_commented_out_lines
|
1241
|
+
@content = @content.gsub(%r%//.*rb_define_%, '//')
|
1242
|
+
end
|
1243
|
+
|
1244
|
+
##
|
1245
|
+
# Extracts the classes, modules, methods, attributes, constants and aliases
|
1246
|
+
# from a C file and returns an RDoc::TopLevel for this file
|
1247
|
+
|
1248
|
+
def scan
|
1249
|
+
remove_commented_out_lines
|
1250
|
+
|
1251
|
+
do_modules
|
1252
|
+
do_classes
|
1253
|
+
do_missing
|
1254
|
+
|
1255
|
+
do_constants
|
1256
|
+
do_methods
|
1257
|
+
do_includes
|
1258
|
+
do_aliases
|
1259
|
+
do_attrs
|
1260
|
+
|
1261
|
+
deduplicate_call_seq
|
1262
|
+
|
1263
|
+
@store.add_c_variables self
|
1264
|
+
|
1265
|
+
@top_level
|
1266
|
+
end
|
1267
|
+
|
1268
|
+
end
|
1269
|
+
|