ric 0.12.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +2 -0
- data/Gemfile +7 -1
- data/HISTORY.yml +20 -0
- data/Manifest +1360 -8
- data/README.md +1 -1
- data/Rakefile +70 -41
- data/VERSION +1 -1
- data/bin/{xcopy → ric-xcopy} +3 -13
- data/bin/septober +47 -27
- data/lib/ruby_classes/strings.rb +5 -0
- data/ric.gemspec +30 -30
- data/vendor/bundle/ruby/2.7.0/bin/allison +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/lolcat +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/rake +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/rdoc +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/ri +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/rubyforge +27 -0
- data/vendor/bundle/ruby/2.7.0/cache/activemodel-6.1.4.4.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/activemodel-serializers-xml-1.0.2.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/activeresource-5.1.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/activesupport-6.1.4.4.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/allison-2.0.3.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/builder-3.2.4.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/concurrent-ruby-1.1.9.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/echoe-4.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/echoe-4.6.3.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/echoe-4.6.5.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/echoe-4.6.6.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/gemcutter-0.7.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/i18n-1.8.11.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/json_pure-2.6.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/lolcat-100.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/manpages-0.6.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/minitest-5.15.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/optimist-3.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/paint-2.2.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/power_assert-2.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/psych-4.0.3.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rake-13.0.6.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rdoc-6.4.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rubyforge-2.0.4.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/stringio-3.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/test-unit-3.5.3.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/tzinfo-2.0.4.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/zeitwerk-2.5.3.gem +0 -0
- data/{TODO-rake-deploy.touch → vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-20/2.7.0/psych-4.0.3/gem.build_complete} +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-20/2.7.0/psych-4.0.3/gem_make.out +41 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-20/2.7.0/psych-4.0.3/psych.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-20/2.7.0/stringio-3.0.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-20/2.7.0/stringio-3.0.0/gem_make.out +137 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-20/2.7.0/stringio-3.0.0/stringio.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/CHANGELOG.md +132 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/README.rdoc +266 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attribute/user_provided_default.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attribute.rb +248 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attribute_assignment.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attribute_methods.rb +555 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attribute_mutation_tracker.rb +181 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attribute_set/builder.rb +191 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attribute_set/yaml_encoder.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attribute_set.rb +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/attributes.rb +132 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/callbacks.rb +155 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/conversion.rb +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/dirty.rb +293 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/error.rb +207 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/errors.rb +709 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/forbidden_attributes_protection.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/gem_version.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/lint.rb +118 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/locale/en.yml +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/model.rb +99 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/naming.rb +333 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/nested_error.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/railtie.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/secure_password.rb +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/serialization.rb +194 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/serializers/json.rb +154 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/translation.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/big_integer.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/binary.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/boolean.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/date.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/date_time.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/decimal.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/float.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/helpers/accepts_multiparameter_time.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/helpers/mutable.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/helpers/numeric.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/helpers/time_value.rb +90 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/helpers/timezone.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/helpers.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/immutable_string.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/integer.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/registry.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/string.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/time.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type/value.rb +133 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/type.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/absence.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/acceptance.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/callbacks.rb +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/clusivity.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/confirmation.rb +80 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/exclusion.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/format.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/helper_methods.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/inclusion.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/length.rb +129 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/numericality.rb +203 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/presence.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/validates.rb +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations/with.rb +147 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validations.rb +436 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/validator.rb +188 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/version.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/CONTRIBUTING.md +99 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/Gemfile +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/README.md +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/Rakefile +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/activemodel-serializers-xml.gemspec +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/lib/active_model/serializers/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/lib/active_model/serializers/xml.rb +238 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/lib/active_model/serializers.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/lib/active_record/serializers/xml_serializer.rb +194 -0
- data/vendor/bundle/ruby/2.7.0/gems/activemodel-serializers-xml-1.0.2/lib/activemodel-serializers-xml.rb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/README.rdoc +285 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/active_job_serializer.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/associations/builder/association.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/associations/builder/belongs_to.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/associations/builder/has_many.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/associations/builder/has_one.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/associations.rb +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/base.rb +1695 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/callbacks.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/collection.rb +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/connection.rb +294 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/custom_methods.rb +129 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/exceptions.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/formats/json_format.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/formats/xml_format.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/formats.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/http_mock.rb +373 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/log_subscriber.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/observing.rb +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/railtie.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/reflection.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/schema.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/singleton.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/threadsafe_attributes.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/validations.rb +176 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource/version.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/active_resource.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/activeresource-5.1.1/lib/activeresource.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/CHANGELOG.md +665 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/README.rdoc +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/actionable_error.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/all.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/array_inquirer.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/backtrace_cleaner.rb +131 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/benchmarkable.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/builder.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/cache/file_store.rb +196 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/cache/mem_cache_store.rb +213 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/cache/memory_store.rb +195 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/cache/null_store.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/cache/redis_cache_store.rb +493 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/cache/strategy/local_cache.rb +209 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/cache/strategy/local_cache_middleware.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/cache.rb +878 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/callbacks.rb +862 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/concern.rb +215 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/concurrency/load_interlock_aware_monitor.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/concurrency/share_lock.rb +226 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/configurable.rb +146 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/configuration_file.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/array/access.rb +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/array/conversions.rb +213 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/array/extract.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/array/extract_options.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/array/grouping.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/array/inquiry.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/array/wrap.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/array.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/benchmark.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/big_decimal/conversions.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/big_decimal.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/class/attribute.rb +131 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/class/attribute_accessors.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/class/subclasses.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/class.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date/acts_like.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date/blank.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date/calculations.rb +146 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date/conversions.rb +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date/zones.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_and_time/calculations.rb +364 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_and_time/compatibility.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_and_time/zones.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_time/acts_like.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_time/blank.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_time/calculations.rb +211 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_time/compatibility.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_time/conversions.rb +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/date_time.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/digest/uuid.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/digest.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/enumerable.rb +260 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/file/atomic.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/file.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash/conversions.rb +263 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash/deep_merge.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash/deep_transform_values.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash/except.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash/keys.rb +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash/reverse_merge.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash/slice.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/hash.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/integer/inflections.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/integer/multiple.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/integer/time.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/integer.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/kernel/concern.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/kernel/reporting.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/kernel/singleton_class.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/kernel.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/load_error.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/marshal.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/aliasing.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/anonymous.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/attr_internal.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/attribute_accessors.rb +206 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +148 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/concerning.rb +140 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/delegation.rb +330 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/deprecation.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/introspection.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/redefine_method.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module/remove_method.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/module.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/name_error.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/numeric/bytes.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/numeric/conversions.rb +140 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/numeric/time.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/numeric.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/acts_like.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/blank.rb +155 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/conversions.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/deep_dup.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/duplicable.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/inclusion.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/instance_variables.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/json.rb +239 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/to_param.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/to_query.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/try.rb +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object/with_options.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/object.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/range/compare_range.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/range/conversions.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/range/each.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/range/include_time_with_zone.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/range/overlaps.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/range.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/regexp.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/securerandom.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/access.rb +95 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/behavior.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/conversions.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/exclude.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/filters.rb +145 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/indent.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/inflections.rb +293 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/inquiry.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/multibyte.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/output_safety.rb +315 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/starts_ends_with.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/strip.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string/zones.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/string.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/symbol/starts_ends_with.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/symbol.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/time/acts_like.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/time/calculations.rb +363 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/time/compatibility.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/time/conversions.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/time/zones.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/time.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext/uri.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/core_ext.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/current_attributes/test_helper.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/current_attributes.rb +209 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/dependencies/autoload.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/dependencies/interlock.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/dependencies/zeitwerk_integration.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/dependencies.rb +828 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/deprecation/behaviors.rb +122 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/deprecation/constant_accessor.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/deprecation/disallowed.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/deprecation/instance_delegator.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/deprecation/method_wrappers.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/deprecation/proxy_wrappers.rb +177 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/deprecation/reporting.rb +157 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/deprecation.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/descendants_tracker.rb +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/digest.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/duration/iso8601_parser.rb +123 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/duration/iso8601_serializer.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/duration.rb +484 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/encrypted_configuration.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/encrypted_file.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/environment_inquirer.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/evented_file_update_checker.rb +170 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/execution_wrapper.rb +129 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/executor.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/file_update_checker.rb +162 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/fork_tracker.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/gem_version.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/gzip.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/hash_with_indifferent_access.rb +423 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/i18n.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/i18n_railtie.rb +125 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/inflections.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/inflector/inflections.rb +255 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/inflector/methods.rb +401 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/inflector/transliterate.rb +147 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/inflector.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/json/decoding.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/json/encoding.rb +138 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/json.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/key_generator.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/lazy_load_hooks.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/locale/en.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/locale/en.yml +139 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/log_subscriber/test_helper.rb +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/log_subscriber.rb +142 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/logger.rb +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/logger_silence.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/logger_thread_safe_level.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/message_encryptor.rb +224 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/message_verifier.rb +205 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/messages/metadata.rb +80 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/messages/rotation_configuration.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/messages/rotator.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/multibyte/chars.rb +177 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/multibyte/unicode.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/multibyte.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/notifications/fanout.rb +259 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/notifications/instrumenter.rb +155 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/notifications.rb +280 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/number_converter.rb +183 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/number_to_currency_converter.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/number_to_delimited_converter.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/number_to_human_converter.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/number_to_human_size_converter.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/number_to_percentage_converter.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/number_to_phone_converter.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/number_to_rounded_converter.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper/rounding_helper.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/number_helper.rb +397 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/option_merger.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/ordered_hash.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/ordered_options.rb +95 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/parameter_filter.rb +133 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/per_thread_registry.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/proxy_object.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/rails.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/railtie.rb +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/reloader.rb +130 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/rescuable.rb +174 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/secure_compare_rotator.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/security_utils.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/string_inquirer.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/subscriber.rb +174 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/tagged_logging.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/test_case.rb +163 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/assertions.rb +235 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/autorun.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/constant_lookup.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/declarative.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/deprecation.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/file_fixtures.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/isolation.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/method_call_assertions.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/parallelization/server.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/parallelization/worker.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/parallelization.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/setup_and_teardown.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/stream.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/tagged_logging.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/testing/time_helpers.rb +235 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/time.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/time_with_zone.rb +585 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/values/time_zone.rb +580 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/version.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/xml_mini/jdom.rb +182 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/xml_mini/libxml.rb +80 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/xml_mini/libxmlsax.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/xml_mini/nokogiri.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/xml_mini/nokogirisax.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/xml_mini/rexml.rb +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support/xml_mini.rb +201 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.4/lib/active_support.rb +108 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/CHANGELOG +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/LICENSE +184 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/Manifest +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/README +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/allison.gemspec +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/bin/allison +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/BODY +570 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/CLASS_INDEX +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/CLASS_PAGE +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/FILE_INDEX +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/FILE_PAGE +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/FONTS +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/FR_INDEX_BODY +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/INDEX +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/JAVASCRIPT +316 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/METHOD_INDEX +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/METHOD_LIST +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/SRC_PAGE +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/cache/STYLE +320 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/contrib/Rakefile +147 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/contrib/rdoc_patch.rb +252 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/contrib/rdoc_patch_test.rb +95 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/lib/allison.css +314 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/lib/allison.js +316 -0
- data/vendor/bundle/ruby/2.7.0/gems/allison-2.0.3/lib/allison.rb +276 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/CHANGES +119 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/README.md +258 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/Rakefile +194 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/builder.blurb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/builder.gemspec +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/doc/releases/builder-1.2.4.rdoc +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/doc/releases/builder-2.0.0.rdoc +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/lib/blankslate.rb +138 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/lib/builder/blankslate.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/lib/builder/version.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/lib/builder/xchar.rb +198 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/lib/builder/xmlbase.rb +200 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/lib/builder/xmlevents.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/lib/builder/xmlmarkup.rb +345 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/lib/builder.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/rakelib/publish.rake +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/rakelib/tags.rake +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/rakelib/testing.rake +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/helper.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/performance.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/preload.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/test_blankslate.rb +208 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/test_eventbuilder.rb +151 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/test_markupbuilder.rb +617 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/test_method_caching.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/test_namecollision.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/test/test_xchar.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/CHANGELOG.md +528 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/Gemfile +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/README.md +408 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/Rakefile +339 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/ConcurrentRubyService.java +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/AtomicReferenceLibrary.java +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JRubyMapBackendLibrary.java +248 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicBooleanLibrary.java +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java +159 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/SynchronizationLibrary.java +307 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/agent.rb +587 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/array.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/async.rb +448 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atom.rb +222 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/abstract_thread_local_var.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb +126 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb +164 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb +204 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/event.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/java_count_down_latch.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/java_thread_local_var.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb +115 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb +254 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb +379 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/ruby_thread_local_var.rb +181 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/semaphore.rb +145 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomics.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb +140 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/truffleruby_map_backend.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb +160 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/deprecation.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/logging.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/obligation.rb +220 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/observable.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concurrent_ruby.jar +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/configuration.rb +188 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/constants.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/dataflow.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/delay.rb +199 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/errors.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/exchanger.rb +352 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/executor_service.rb +185 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb +210 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_executor_service.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_single_thread_executor.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb +136 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb +76 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb +377 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/timer_set.rb +172 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executors.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/future.rb +141 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/hash.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/immutable_struct.rb +101 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/ivar.rb +207 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/map.rb +347 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/maybe.rb +229 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/mutable_struct.rb +239 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/mvar.rb +242 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/options.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promise.rb +580 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promises.rb +2167 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/re_include.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/scheduled_task.rb +318 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/set.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/settable_struct.rb +139 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb +171 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/condition.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/jruby_lockable_object.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/jruby_object.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/lock.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/lockable_object.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mri_object.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/object.rb +183 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/rbx_lockable_object.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/rbx_object.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/truffleruby_object.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/volatile.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/striped64.rb +246 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/timer_task.rb +333 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/tuple.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/tvar.rb +261 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/engine.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/monotonic_time.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/native_integer.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/processor_counter.rb +163 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent-ruby.rb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/CHANGELOG +101 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/LICENSE +184 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/Manifest +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/README +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/Rakefile +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/echoe.gemspec +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/lib/echoe/extensions.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/lib/echoe/platform.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/lib/echoe/rubygems.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/lib/echoe.rb +796 -0
- data/{LICENSE → vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/vendor/rake/MIT-LICENSE} +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/vendor/rake/lib/rake/contrib/compositepublisher.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/vendor/rake/lib/rake/contrib/ftptools.rb +153 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/vendor/rake/lib/rake/contrib/publisher.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/vendor/rake/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/vendor/rake/lib/rake/contrib/sshpublisher.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/vendor/rake/lib/rake/contrib/sys.rb +209 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/CHANGELOG +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/LICENSE +184 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/Manifest +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/README +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/Rakefile +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/echoe.gemspec +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/lib/echoe/extensions.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/lib/echoe/platform.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/lib/echoe/rubygems.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/lib/echoe.rb +795 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/vendor/rake/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/vendor/rake/lib/rake/contrib/compositepublisher.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/vendor/rake/lib/rake/contrib/ftptools.rb +153 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/vendor/rake/lib/rake/contrib/publisher.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/vendor/rake/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/vendor/rake/lib/rake/contrib/sshpublisher.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/vendor/rake/lib/rake/contrib/sys.rb +209 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/CHANGELOG +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/LICENSE +184 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/Manifest +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/README.rdoc +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/Rakefile +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/echoe.gemspec +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/echoe.pem +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/lib/echoe/extensions.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/lib/echoe/platform.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/lib/echoe/rubygems.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/lib/echoe.rb +793 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/vendor/rake/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/vendor/rake/lib/rake/contrib/compositepublisher.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/vendor/rake/lib/rake/contrib/ftptools.rb +153 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/vendor/rake/lib/rake/contrib/publisher.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/vendor/rake/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/vendor/rake/lib/rake/contrib/sshpublisher.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/vendor/rake/lib/rake/contrib/sys.rb +209 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/CHANGELOG +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/LICENSE +184 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/Manifest +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/README.rdoc +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/Rakefile +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/echoe.gemspec +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/echoe.pem +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/lib/echoe/extensions.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/lib/echoe/platform.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/lib/echoe/rubygems.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/lib/echoe.rb +793 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/vendor/rake/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/compositepublisher.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/ftptools.rb +153 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/publisher.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/sshpublisher.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/sys.rb +209 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/Gemfile +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/MIT-LICENSE +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/README.md +99 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/Rakefile +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/lib/gemcutter/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/lib/rubygems/commands/migrate_command.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/lib/rubygems/commands/tumble_command.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/lib/rubygems/commands/webhook_command.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/lib/rubygems/commands/yank_command.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/lib/rubygems_plugin.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/test/helper.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/test/webhook_command_test.rb +240 -0
- data/vendor/bundle/ruby/2.7.0/gems/gemcutter-0.7.1/test/yank_command_test.rb +157 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/README.md +122 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/base.rb +289 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/cache.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/cache_file.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/cascade.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/chain.rb +130 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/fallbacks.rb +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/flatten.rb +118 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/gettext.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/interpolation_compiler.rb +123 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/key_value.rb +206 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/memoize.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/metadata.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/pluralization.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/simple.rb +108 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend/transliterator.rb +108 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/backend.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/config.rb +165 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/core_ext/hash.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/exceptions.rb +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/gettext/helpers.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/gettext.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/interpolate/ruby.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/locale/fallbacks.rb +99 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/locale/tag/parents.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/locale/tag.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/locale.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/middleware.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/basics.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/defaults.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/interpolation.rb +163 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/link.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/localization/date.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/localization/date_time.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/localization/procs.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/localization/time.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/localization.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/lookup.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests/procs.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/tests.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.11/lib/i18n.rb +415 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/CHANGES.md +457 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/LICENSE +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/README.md +425 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/VERSION +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/json_pure.gemspec +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/bigdecimal.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/complex.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/core.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/date.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/date_time.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/exception.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/ostruct.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/range.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/rational.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/regexp.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/set.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/struct.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/symbol.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/add/time.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/common.rb +703 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/ext.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/generic_object.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/pure/generator.rb +479 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/pure/parser.rb +337 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/pure.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json/version.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/json_pure-2.6.1/lib/json.rb +583 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/Gemfile +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/LICENSE +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/README.md +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/Rakefile +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/ass/nom.jpg +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/ass/screenshot.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/bin/lolcat +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/lib/lolcat/cat.rb +135 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/lib/lolcat/lol.rb +122 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/lib/lolcat/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/lib/lolcat.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/lolcat.gemspec +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/lolcat-100.0.1/man/lolcat.6 +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/CHANGELOG.md +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/CODE_OF_CONDUCT.md +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/Gemfile +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/Gemfile.lock +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/README.md +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/Rakefile +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/lib/manpages/gem_version.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/lib/manpages/install.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/lib/manpages/man_files.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/lib/manpages/uninstall.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/lib/manpages/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/lib/manpages.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/lib/rubygems/commands/manpages_command.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/lib/rubygems_plugin.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/manpages.gemspec +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/rbenv/hooks/install-man.bash +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/rbenv/hooks/version-name-change-man.bash +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/rbenv/rbenv_hook_install.sh +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/rbenv/remove_hook_folders.sh +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/manpages-0.6.1/rbenv/vars.sh +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/History.rdoc +1430 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/Manifest.txt +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/README.rdoc +803 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/Rakefile +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/design_rationale.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/hoe/minitest.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/assertions.rb +806 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/autorun.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/benchmark.rb +455 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/expectations.rb +303 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/hell.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/mock.rb +244 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/parallel.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/spec.rb +343 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/test.rb +230 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest/unit.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/lib/minitest.rb +1069 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/test/minitest/metametameta.rb +136 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/test/minitest/test_minitest_assertions.rb +1588 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/test/minitest/test_minitest_mock.rb +885 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/test/minitest/test_minitest_reporter.rb +311 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/test/minitest/test_minitest_spec.rb +1062 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.15.0/test/minitest/test_minitest_test.rb +1109 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/FAQ.txt +92 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/Gemfile +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/History.txt +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/LICENSE.txt +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/README.md +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/Rakefile +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/lib/optimist.rb +1014 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/optimist.gemspec +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist/command_line_error_test.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist/help_needed_test.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist/parser_educate_test.rb +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist/parser_opt_test.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist/parser_parse_test.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist/parser_test.rb +1220 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist/version_needed_test.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist_test.rb +190 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/support/assert_helpers.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/test_helper.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/CHANGELOG.md +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/README.md +194 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/Rakefile +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/data/rgb_colors.marshal.gz +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/lib/paint/constants.rb +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/lib/paint/pa.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/lib/paint/rgb_colors.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/lib/paint/util.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/lib/paint/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/lib/paint.rb +257 -0
- data/vendor/bundle/ruby/2.7.0/gems/paint-2.2.1/paint.gemspec +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/BSDL +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/COPYING +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/Gemfile +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/LEGAL +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/README.md +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/Rakefile +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/lib/power_assert/colorize.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/lib/power_assert/configuration.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/lib/power_assert/context.rb +233 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/lib/power_assert/enable_tracepoint_events.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/lib/power_assert/inspector.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/lib/power_assert/parser.rb +251 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/lib/power_assert/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/lib/power_assert.rb +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/power_assert-2.0.1/power_assert.gemspec +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/Gemfile +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/Mavenfile +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/README.md +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/Rakefile +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/bin/console +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/bin/setup +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/Makefile +274 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/depend +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/extconf.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych.c +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych.h +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych_emitter.c +555 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych_emitter.h +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych_parser.c +579 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych_parser.h +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych_to_ruby.c +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych_to_ruby.h +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych_yaml_tree.c +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/psych_yaml_tree.h +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/LICENSE +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/api.c +1393 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/config.h +80 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/dumper.c +394 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/emitter.c +2358 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/loader.c +544 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/parser.c +1375 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/reader.c +469 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/scanner.c +3598 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/writer.c +141 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/yaml.h +1985 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/ext/psych/yaml/yaml_private.h +688 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/class_loader.rb +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/coder.rb +95 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/core_ext.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/exception.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/handler.rb +255 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/handlers/document_stream.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/handlers/recorder.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/json/ruby_events.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/json/stream.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/json/tree_builder.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/json/yaml_events.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/nodes/alias.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/nodes/document.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/nodes/mapping.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/nodes/node.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/nodes/scalar.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/nodes/sequence.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/nodes/stream.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/nodes.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/omap.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/parser.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/scalar_scanner.rb +135 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/set.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/stream.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/streaming.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/syntax_error.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/tree_builder.rb +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/versions.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/visitors/depth_first.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/visitors/emitter.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/visitors/json_tree.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/visitors/to_ruby.rb +434 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/visitors/visitor.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/visitors/yaml_tree.rb +587 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/visitors.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/y.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych.rb +741 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/psych.gemspec +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/History.rdoc +2403 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/README.rdoc +155 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/exe/rake +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb +831 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/file_utils.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/file_utils_ext.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/packagetask.rb +222 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb +434 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task_manager.rb +331 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/testtask.rb +189 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/rake.gemspec +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/CONTRIBUTING.rdoc +220 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/CVE-2013-0256.rdoc +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/ExampleMarkdown.md +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/ExampleRDoc.rdoc +208 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/Gemfile +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/History.rdoc +1666 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/LEGAL.rdoc +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/LICENSE.rdoc +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/README.rdoc +129 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/RI.rdoc +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/Rakefile +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/TODO.rdoc +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/bin/console +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/bin/setup +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/exe/rdoc +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/exe/ri +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/alias.rb +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/anon_class.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/any_method.rb +364 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/attr.rb +176 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/class_module.rb +802 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/code_object.rb +421 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/code_objects.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/comment.rb +250 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/constant.rb +187 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/context/section.rb +232 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/context.rb +1266 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/cross_reference.rb +210 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/encoding.rb +136 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/erb_partial.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/erbio.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/extend.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/darkfish.rb +790 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/json_index.rb +300 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/markup.rb +160 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/pot/message_extractor.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/pot/po.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/pot/po_entry.rb +141 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/pot.rb +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/ri.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_footer.rhtml +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_head.rhtml +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/class.rhtml +172 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/css/fonts.css +167 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/css/rdoc.css +639 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/add.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/arrow_up.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/brick.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/bug.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/date.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/delete.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/find.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/package.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/page_green.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/plugin.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/ruby.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/transparent.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/wrench.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/images/zoom.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/index.rhtml +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/js/darkfish.js +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/js/search.js +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/page.rhtml +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/servlet_not_found.rhtml +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/servlet_root.rhtml +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/json_index/js/navigation.js +105 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator/template/json_index/js/searcher.js +229 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/generator.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/ghost_method.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/i18n/locale.rb +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/i18n/text.rb +126 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/i18n.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/include.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/known_classes.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markdown/entities.rb +2132 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markdown/literals.kpeg +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markdown/literals.rb +416 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markdown.kpeg +1237 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markdown.rb +16684 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/attr_changer.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/attr_span.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/attribute_manager.rb +409 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/attributes.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/blank_line.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/block_quote.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/document.rb +165 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/formatter.rb +266 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/hard_break.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/heading.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/include.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/indented_paragraph.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/list.rb +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/list_item.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/paragraph.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/parser.rb +575 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/pre_process.rb +298 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/raw.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/regexp_handling.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/rule.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/table.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_ansi.rb +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_bs.rb +77 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_html.rb +444 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_html_crossref.rb +176 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_html_snippet.rb +285 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_joined_paragraph.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_label.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_markdown.rb +192 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_rdoc.rb +362 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_table_of_contents.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_test.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/to_tt_only.rb +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup/verbatim.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/markup.rb +867 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/meta_method.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/method_attr.rb +419 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/mixin.rb +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/normal_class.rb +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/normal_module.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/options.rb +1314 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/c.rb +1237 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/changelog.rb +335 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/markdown.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/rd.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/ripper_state_lex.rb +590 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/ruby.rb +2345 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/ruby_tools.rb +167 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/simple.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser/text.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/parser.rb +277 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/rd/block_parser.rb +1056 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/rd/block_parser.ry +639 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/rd/inline.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/rd/inline_parser.rb +1208 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/rd/inline_parser.ry +593 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/rd.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/rdoc.rb +551 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/require.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/ri/driver.rb +1579 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/ri/formatter.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/ri/paths.rb +171 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/ri/store.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/ri/task.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/ri.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/rubygems_hook.rb +248 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/servlet.rb +451 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/single_class.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/stats/normal.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/stats/quiet.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/stats/verbose.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/stats.rb +462 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/store.rb +979 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/task.rb +329 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/text.rb +312 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/token_stream.rb +119 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/tom_doc.rb +263 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/top_level.rb +289 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc/version.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/lib/rdoc.rb +201 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/man/ri.1 +247 -0
- data/vendor/bundle/ruby/2.7.0/gems/rdoc-6.4.0/rdoc.gemspec +249 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/History.txt +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/Manifest.txt +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/README.txt +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/Rakefile +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/bin/rubyforge +222 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/lib/rubyforge/client.rb +124 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/lib/rubyforge.rb +389 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/test/test_rubyforge.rb +329 -0
- data/vendor/bundle/ruby/2.7.0/gems/rubyforge-2.0.4/test/test_rubyforge_client.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/stringio-3.0.0/README.md +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/stringio-3.0.0/ext/stringio/Makefile +267 -0
- data/vendor/bundle/ruby/2.7.0/gems/stringio-3.0.0/ext/stringio/extconf.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/stringio-3.0.0/ext/stringio/stringio.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/stringio-3.0.0/ext/stringio/stringio.c +1862 -0
- data/vendor/bundle/ruby/2.7.0/gems/stringio-3.0.0/lib/stringio.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/BSDL +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/COPYING +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/PSFL +271 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/README.md +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/Rakefile +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/doc/text/getting-started.md +246 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/doc/text/how-to.md +90 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/doc/text/news.md +1675 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/assertion-failed-error.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/assertions.rb +2449 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/attribute-matcher.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/attribute.rb +227 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/auto-runner-loader.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/autorunner.rb +581 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/code-snippet-fetcher.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/collector/descendant.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/collector/dir.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/collector/load.rb +199 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/collector/objectspace.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/collector/xml.rb +249 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/collector.rb +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/color-scheme.rb +216 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/color.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/data-sets.rb +127 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/data.rb +371 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/diff.rb +745 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/error.rb +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/exception-handler.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/failure.rb +169 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/fault-location-detector.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/fixture.rb +304 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/notification.rb +138 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/omission.rb +198 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/pending.rb +155 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/priority.rb +194 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/runner/console.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/runner/emacs.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/runner/xml.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/test-suite-creator.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/testcase.rb +938 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/testresult.rb +132 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/testsuite.rb +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/ui/console/outputlevel.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/ui/console/testrunner.rb +759 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/ui/emacs/testrunner.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/ui/testrunner.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/ui/testrunnermediator.rb +114 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/ui/testrunnerutilities.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/ui/xml/testrunner.rb +224 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/util/backtracefilter.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/util/memory-usage.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/util/method-owner-finder.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/util/observable.rb +90 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/util/output.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/util/procwrapper.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit/warning.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test/unit.rb +521 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test-unit.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/sample/adder.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/sample/subtracter.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/sample/test_adder.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/sample/test_subtracter.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/sample/test_user.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/CHANGES.md +973 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/LICENSE +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/README.md +406 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/annual_rules.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/country.rb +208 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/country_timezone.rb +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb +435 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/country_info.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/data_timezone_info.rb +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/linked_timezone_info.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/posix_time_zone_parser.rb +181 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/ruby_data_source.rb +145 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/timezone_info.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/transitions_data_timezone_info.rb +214 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/zoneinfo_data_source.rb +580 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/zoneinfo_reader.rb +486 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/data_timezone.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/datetime_with_offset.rb +153 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format1/country_definer.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format1/country_index_definition.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format1/timezone_definer.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format1/timezone_definition.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format1/timezone_index_definition.rb +77 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format1.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format2/country_definer.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format2/country_index_definer.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format2/country_index_definition.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format2/timezone_definer.rb +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format2/timezone_definition.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format2/timezone_index_definer.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format2/timezone_index_definition.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/format2.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/info_timezone.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/linked_timezone.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/offset_timezone_period.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/string_deduper.rb +118 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/time_with_offset.rb +154 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/timestamp.rb +548 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/timestamp_with_offset.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/timezone.rb +1160 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/timezone_offset.rb +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/timezone_period.rb +179 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/timezone_proxy.rb +96 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/timezone_transition.rb +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/transition_rule.rb +455 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/transitions_timezone_period.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/untaint_ext.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/version.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo/with_offset.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-2.0.4/lib/tzinfo.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/README.md +1071 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/error.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/explicit_namespace.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/gem_inflector.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/inflector.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/kernel.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/loader/callbacks.rb +92 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/loader/config.rb +321 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/loader/helpers.rb +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/loader.rb +510 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/real_mod_name.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/registry.rb +145 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.5.3/lib/zeitwerk.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/specifications/activemodel-6.1.4.4.gemspec +32 -0
- data/vendor/bundle/ruby/2.7.0/specifications/activemodel-serializers-xml-1.0.2.gemspec +39 -0
- data/vendor/bundle/ruby/2.7.0/specifications/activeresource-5.1.1.gemspec +42 -0
- data/vendor/bundle/ruby/2.7.0/specifications/activesupport-6.1.4.4.gemspec +41 -0
- data/vendor/bundle/ruby/2.7.0/specifications/allison-2.0.3.gemspec +22 -0
- data/vendor/bundle/ruby/2.7.0/specifications/builder-3.2.4.gemspec +23 -0
- data/vendor/bundle/ruby/2.7.0/specifications/concurrent-ruby-1.1.9.gemspec +24 -0
- data/vendor/bundle/ruby/2.7.0/specifications/echoe-4.6.0.gemspec +41 -0
- data/vendor/bundle/ruby/2.7.0/specifications/echoe-4.6.3.gemspec +41 -0
- data/vendor/bundle/ruby/2.7.0/specifications/echoe-4.6.5.gemspec +40 -0
- data/vendor/bundle/ruby/2.7.0/specifications/echoe-4.6.6.gemspec +40 -0
- data/vendor/bundle/ruby/2.7.0/specifications/gemcutter-0.7.1.gemspec +40 -0
- data/vendor/bundle/ruby/2.7.0/specifications/i18n-1.8.11.gemspec +32 -0
- data/vendor/bundle/ruby/2.7.0/specifications/json_pure-2.6.1.gemspec +25 -0
- data/vendor/bundle/ruby/2.7.0/specifications/lolcat-100.0.1.gemspec +37 -0
- data/vendor/bundle/ruby/2.7.0/specifications/manpages-0.6.1.gemspec +39 -0
- data/vendor/bundle/ruby/2.7.0/specifications/minitest-5.15.0.gemspec +38 -0
- data/vendor/bundle/ruby/2.7.0/specifications/optimist-3.0.1.gemspec +35 -0
- data/vendor/bundle/ruby/2.7.0/specifications/paint-2.2.1.gemspec +47 -0
- data/vendor/bundle/ruby/2.7.0/specifications/power_assert-2.0.1.gemspec +46 -0
- data/vendor/bundle/ruby/2.7.0/specifications/psych-4.0.3.gemspec +36 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rake-13.0.6.gemspec +26 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rdoc-6.4.0.gemspec +36 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rubyforge-2.0.4.gemspec +33 -0
- data/vendor/bundle/ruby/2.7.0/specifications/stringio-3.0.0.gemspec +36 -0
- data/vendor/bundle/ruby/2.7.0/specifications/test-unit-3.5.3.gemspec +41 -0
- data/vendor/bundle/ruby/2.7.0/specifications/tzinfo-2.0.4.gemspec +36 -0
- data/vendor/bundle/ruby/2.7.0/specifications/zeitwerk-2.5.3.gemspec +22 -0
- data.tar.gz.sig +0 -0
- metadata +1459 -105
- metadata.gz.sig +2 -0
- data/CHANGELOG +0 -7
- data/Makefile +0 -8
- data/sbin/rake-deploy1.sh +0 -9
- data/sbin/rake-deploy2.sh +0 -11
- data/sbin/reboot.rb +0 -3
- data/sbin/ric_reboot.rb +0 -3
@@ -0,0 +1,2358 @@
|
|
1
|
+
|
2
|
+
#include "yaml_private.h"
|
3
|
+
|
4
|
+
/*
|
5
|
+
* Flush the buffer if needed.
|
6
|
+
*/
|
7
|
+
|
8
|
+
#define FLUSH(emitter) \
|
9
|
+
((emitter->buffer.pointer+5 < emitter->buffer.end) \
|
10
|
+
|| yaml_emitter_flush(emitter))
|
11
|
+
|
12
|
+
/*
|
13
|
+
* Put a character to the output buffer.
|
14
|
+
*/
|
15
|
+
|
16
|
+
#define PUT(emitter,value) \
|
17
|
+
(FLUSH(emitter) \
|
18
|
+
&& (*(emitter->buffer.pointer++) = (yaml_char_t)(value), \
|
19
|
+
emitter->column++, \
|
20
|
+
1))
|
21
|
+
|
22
|
+
/*
|
23
|
+
* Put a line break to the output buffer.
|
24
|
+
*/
|
25
|
+
|
26
|
+
#define PUT_BREAK(emitter) \
|
27
|
+
(FLUSH(emitter) ? \
|
28
|
+
((emitter->line_break == YAML_CR_BREAK ? \
|
29
|
+
(*(emitter->buffer.pointer++) = (yaml_char_t) '\r') : \
|
30
|
+
emitter->line_break == YAML_LN_BREAK ? \
|
31
|
+
(*(emitter->buffer.pointer++) = (yaml_char_t) '\n') : \
|
32
|
+
emitter->line_break == YAML_CRLN_BREAK ? \
|
33
|
+
(*(emitter->buffer.pointer++) = (yaml_char_t) '\r', \
|
34
|
+
*(emitter->buffer.pointer++) = (yaml_char_t) '\n') : 0), \
|
35
|
+
emitter->column = 0, \
|
36
|
+
emitter->line ++, \
|
37
|
+
1) : 0)
|
38
|
+
|
39
|
+
/*
|
40
|
+
* Copy a character from a string into buffer.
|
41
|
+
*/
|
42
|
+
|
43
|
+
#define WRITE(emitter,string) \
|
44
|
+
(FLUSH(emitter) \
|
45
|
+
&& (COPY(emitter->buffer,string), \
|
46
|
+
emitter->column ++, \
|
47
|
+
1))
|
48
|
+
|
49
|
+
/*
|
50
|
+
* Copy a line break character from a string into buffer.
|
51
|
+
*/
|
52
|
+
|
53
|
+
#define WRITE_BREAK(emitter,string) \
|
54
|
+
(FLUSH(emitter) \
|
55
|
+
&& (CHECK(string,'\n') ? \
|
56
|
+
(PUT_BREAK(emitter), \
|
57
|
+
string.pointer ++, \
|
58
|
+
1) : \
|
59
|
+
(COPY(emitter->buffer,string), \
|
60
|
+
emitter->column = 0, \
|
61
|
+
emitter->line ++, \
|
62
|
+
1)))
|
63
|
+
|
64
|
+
/*
|
65
|
+
* API functions.
|
66
|
+
*/
|
67
|
+
|
68
|
+
YAML_DECLARE(int)
|
69
|
+
yaml_emitter_emit(yaml_emitter_t *emitter, yaml_event_t *event);
|
70
|
+
|
71
|
+
/*
|
72
|
+
* Utility functions.
|
73
|
+
*/
|
74
|
+
|
75
|
+
static int
|
76
|
+
yaml_emitter_set_emitter_error(yaml_emitter_t *emitter, const char *problem);
|
77
|
+
|
78
|
+
static int
|
79
|
+
yaml_emitter_need_more_events(yaml_emitter_t *emitter);
|
80
|
+
|
81
|
+
static int
|
82
|
+
yaml_emitter_append_tag_directive(yaml_emitter_t *emitter,
|
83
|
+
yaml_tag_directive_t value, int allow_duplicates);
|
84
|
+
|
85
|
+
static int
|
86
|
+
yaml_emitter_increase_indent(yaml_emitter_t *emitter,
|
87
|
+
int flow, int indentless);
|
88
|
+
|
89
|
+
/*
|
90
|
+
* State functions.
|
91
|
+
*/
|
92
|
+
|
93
|
+
static int
|
94
|
+
yaml_emitter_state_machine(yaml_emitter_t *emitter, yaml_event_t *event);
|
95
|
+
|
96
|
+
static int
|
97
|
+
yaml_emitter_emit_stream_start(yaml_emitter_t *emitter,
|
98
|
+
yaml_event_t *event);
|
99
|
+
|
100
|
+
static int
|
101
|
+
yaml_emitter_emit_document_start(yaml_emitter_t *emitter,
|
102
|
+
yaml_event_t *event, int first);
|
103
|
+
|
104
|
+
static int
|
105
|
+
yaml_emitter_emit_document_content(yaml_emitter_t *emitter,
|
106
|
+
yaml_event_t *event);
|
107
|
+
|
108
|
+
static int
|
109
|
+
yaml_emitter_emit_document_end(yaml_emitter_t *emitter,
|
110
|
+
yaml_event_t *event);
|
111
|
+
|
112
|
+
static int
|
113
|
+
yaml_emitter_emit_flow_sequence_item(yaml_emitter_t *emitter,
|
114
|
+
yaml_event_t *event, int first);
|
115
|
+
|
116
|
+
static int
|
117
|
+
yaml_emitter_emit_flow_mapping_key(yaml_emitter_t *emitter,
|
118
|
+
yaml_event_t *event, int first);
|
119
|
+
|
120
|
+
static int
|
121
|
+
yaml_emitter_emit_flow_mapping_value(yaml_emitter_t *emitter,
|
122
|
+
yaml_event_t *event, int simple);
|
123
|
+
|
124
|
+
static int
|
125
|
+
yaml_emitter_emit_block_sequence_item(yaml_emitter_t *emitter,
|
126
|
+
yaml_event_t *event, int first);
|
127
|
+
|
128
|
+
static int
|
129
|
+
yaml_emitter_emit_block_mapping_key(yaml_emitter_t *emitter,
|
130
|
+
yaml_event_t *event, int first);
|
131
|
+
|
132
|
+
static int
|
133
|
+
yaml_emitter_emit_block_mapping_value(yaml_emitter_t *emitter,
|
134
|
+
yaml_event_t *event, int simple);
|
135
|
+
|
136
|
+
static int
|
137
|
+
yaml_emitter_emit_node(yaml_emitter_t *emitter, yaml_event_t *event,
|
138
|
+
int root, int sequence, int mapping, int simple_key);
|
139
|
+
|
140
|
+
static int
|
141
|
+
yaml_emitter_emit_alias(yaml_emitter_t *emitter, yaml_event_t *event);
|
142
|
+
|
143
|
+
static int
|
144
|
+
yaml_emitter_emit_scalar(yaml_emitter_t *emitter, yaml_event_t *event);
|
145
|
+
|
146
|
+
static int
|
147
|
+
yaml_emitter_emit_sequence_start(yaml_emitter_t *emitter, yaml_event_t *event);
|
148
|
+
|
149
|
+
static int
|
150
|
+
yaml_emitter_emit_mapping_start(yaml_emitter_t *emitter, yaml_event_t *event);
|
151
|
+
|
152
|
+
/*
|
153
|
+
* Checkers.
|
154
|
+
*/
|
155
|
+
|
156
|
+
static int
|
157
|
+
yaml_emitter_check_empty_document(yaml_emitter_t *emitter);
|
158
|
+
|
159
|
+
static int
|
160
|
+
yaml_emitter_check_empty_sequence(yaml_emitter_t *emitter);
|
161
|
+
|
162
|
+
static int
|
163
|
+
yaml_emitter_check_empty_mapping(yaml_emitter_t *emitter);
|
164
|
+
|
165
|
+
static int
|
166
|
+
yaml_emitter_check_simple_key(yaml_emitter_t *emitter);
|
167
|
+
|
168
|
+
static int
|
169
|
+
yaml_emitter_select_scalar_style(yaml_emitter_t *emitter, yaml_event_t *event);
|
170
|
+
|
171
|
+
/*
|
172
|
+
* Processors.
|
173
|
+
*/
|
174
|
+
|
175
|
+
static int
|
176
|
+
yaml_emitter_process_anchor(yaml_emitter_t *emitter);
|
177
|
+
|
178
|
+
static int
|
179
|
+
yaml_emitter_process_tag(yaml_emitter_t *emitter);
|
180
|
+
|
181
|
+
static int
|
182
|
+
yaml_emitter_process_scalar(yaml_emitter_t *emitter);
|
183
|
+
|
184
|
+
/*
|
185
|
+
* Analyzers.
|
186
|
+
*/
|
187
|
+
|
188
|
+
static int
|
189
|
+
yaml_emitter_analyze_version_directive(yaml_emitter_t *emitter,
|
190
|
+
yaml_version_directive_t version_directive);
|
191
|
+
|
192
|
+
static int
|
193
|
+
yaml_emitter_analyze_tag_directive(yaml_emitter_t *emitter,
|
194
|
+
yaml_tag_directive_t tag_directive);
|
195
|
+
|
196
|
+
static int
|
197
|
+
yaml_emitter_analyze_anchor(yaml_emitter_t *emitter,
|
198
|
+
yaml_char_t *anchor, int alias);
|
199
|
+
|
200
|
+
static int
|
201
|
+
yaml_emitter_analyze_tag(yaml_emitter_t *emitter,
|
202
|
+
yaml_char_t *tag);
|
203
|
+
|
204
|
+
static int
|
205
|
+
yaml_emitter_analyze_scalar(yaml_emitter_t *emitter,
|
206
|
+
yaml_char_t *value, size_t length);
|
207
|
+
|
208
|
+
static int
|
209
|
+
yaml_emitter_analyze_event(yaml_emitter_t *emitter,
|
210
|
+
yaml_event_t *event);
|
211
|
+
|
212
|
+
/*
|
213
|
+
* Writers.
|
214
|
+
*/
|
215
|
+
|
216
|
+
static int
|
217
|
+
yaml_emitter_write_bom(yaml_emitter_t *emitter);
|
218
|
+
|
219
|
+
static int
|
220
|
+
yaml_emitter_write_indent(yaml_emitter_t *emitter);
|
221
|
+
|
222
|
+
static int
|
223
|
+
yaml_emitter_write_indicator(yaml_emitter_t *emitter,
|
224
|
+
const char *indicator, int need_whitespace,
|
225
|
+
int is_whitespace, int is_indention);
|
226
|
+
|
227
|
+
static int
|
228
|
+
yaml_emitter_write_anchor(yaml_emitter_t *emitter,
|
229
|
+
yaml_char_t *value, size_t length);
|
230
|
+
|
231
|
+
static int
|
232
|
+
yaml_emitter_write_tag_handle(yaml_emitter_t *emitter,
|
233
|
+
yaml_char_t *value, size_t length);
|
234
|
+
|
235
|
+
static int
|
236
|
+
yaml_emitter_write_tag_content(yaml_emitter_t *emitter,
|
237
|
+
yaml_char_t *value, size_t length, int need_whitespace);
|
238
|
+
|
239
|
+
static int
|
240
|
+
yaml_emitter_write_plain_scalar(yaml_emitter_t *emitter,
|
241
|
+
yaml_char_t *value, size_t length, int allow_breaks);
|
242
|
+
|
243
|
+
static int
|
244
|
+
yaml_emitter_write_single_quoted_scalar(yaml_emitter_t *emitter,
|
245
|
+
yaml_char_t *value, size_t length, int allow_breaks);
|
246
|
+
|
247
|
+
static int
|
248
|
+
yaml_emitter_write_double_quoted_scalar(yaml_emitter_t *emitter,
|
249
|
+
yaml_char_t *value, size_t length, int allow_breaks);
|
250
|
+
|
251
|
+
static int
|
252
|
+
yaml_emitter_write_block_scalar_hints(yaml_emitter_t *emitter,
|
253
|
+
yaml_string_t string);
|
254
|
+
|
255
|
+
static int
|
256
|
+
yaml_emitter_write_literal_scalar(yaml_emitter_t *emitter,
|
257
|
+
yaml_char_t *value, size_t length);
|
258
|
+
|
259
|
+
static int
|
260
|
+
yaml_emitter_write_folded_scalar(yaml_emitter_t *emitter,
|
261
|
+
yaml_char_t *value, size_t length);
|
262
|
+
|
263
|
+
/*
|
264
|
+
* Set an emitter error and return 0.
|
265
|
+
*/
|
266
|
+
|
267
|
+
static int
|
268
|
+
yaml_emitter_set_emitter_error(yaml_emitter_t *emitter, const char *problem)
|
269
|
+
{
|
270
|
+
emitter->error = YAML_EMITTER_ERROR;
|
271
|
+
emitter->problem = problem;
|
272
|
+
|
273
|
+
return 0;
|
274
|
+
}
|
275
|
+
|
276
|
+
/*
|
277
|
+
* Emit an event.
|
278
|
+
*/
|
279
|
+
|
280
|
+
YAML_DECLARE(int)
|
281
|
+
yaml_emitter_emit(yaml_emitter_t *emitter, yaml_event_t *event)
|
282
|
+
{
|
283
|
+
if (!ENQUEUE(emitter, emitter->events, *event)) {
|
284
|
+
yaml_event_delete(event);
|
285
|
+
return 0;
|
286
|
+
}
|
287
|
+
|
288
|
+
while (!yaml_emitter_need_more_events(emitter)) {
|
289
|
+
if (!yaml_emitter_analyze_event(emitter, emitter->events.head))
|
290
|
+
return 0;
|
291
|
+
if (!yaml_emitter_state_machine(emitter, emitter->events.head))
|
292
|
+
return 0;
|
293
|
+
yaml_event_delete(&DEQUEUE(emitter, emitter->events));
|
294
|
+
}
|
295
|
+
|
296
|
+
return 1;
|
297
|
+
}
|
298
|
+
|
299
|
+
/*
|
300
|
+
* Check if we need to accumulate more events before emitting.
|
301
|
+
*
|
302
|
+
* We accumulate extra
|
303
|
+
* - 1 event for DOCUMENT-START
|
304
|
+
* - 2 events for SEQUENCE-START
|
305
|
+
* - 3 events for MAPPING-START
|
306
|
+
*/
|
307
|
+
|
308
|
+
static int
|
309
|
+
yaml_emitter_need_more_events(yaml_emitter_t *emitter)
|
310
|
+
{
|
311
|
+
int level = 0;
|
312
|
+
int accumulate = 0;
|
313
|
+
yaml_event_t *event;
|
314
|
+
|
315
|
+
if (QUEUE_EMPTY(emitter, emitter->events))
|
316
|
+
return 1;
|
317
|
+
|
318
|
+
switch (emitter->events.head->type) {
|
319
|
+
case YAML_DOCUMENT_START_EVENT:
|
320
|
+
accumulate = 1;
|
321
|
+
break;
|
322
|
+
case YAML_SEQUENCE_START_EVENT:
|
323
|
+
accumulate = 2;
|
324
|
+
break;
|
325
|
+
case YAML_MAPPING_START_EVENT:
|
326
|
+
accumulate = 3;
|
327
|
+
break;
|
328
|
+
default:
|
329
|
+
return 0;
|
330
|
+
}
|
331
|
+
|
332
|
+
if (emitter->events.tail - emitter->events.head > accumulate)
|
333
|
+
return 0;
|
334
|
+
|
335
|
+
for (event = emitter->events.head; event != emitter->events.tail; event ++) {
|
336
|
+
switch (event->type) {
|
337
|
+
case YAML_STREAM_START_EVENT:
|
338
|
+
case YAML_DOCUMENT_START_EVENT:
|
339
|
+
case YAML_SEQUENCE_START_EVENT:
|
340
|
+
case YAML_MAPPING_START_EVENT:
|
341
|
+
level += 1;
|
342
|
+
break;
|
343
|
+
case YAML_STREAM_END_EVENT:
|
344
|
+
case YAML_DOCUMENT_END_EVENT:
|
345
|
+
case YAML_SEQUENCE_END_EVENT:
|
346
|
+
case YAML_MAPPING_END_EVENT:
|
347
|
+
level -= 1;
|
348
|
+
break;
|
349
|
+
default:
|
350
|
+
break;
|
351
|
+
}
|
352
|
+
if (!level)
|
353
|
+
return 0;
|
354
|
+
}
|
355
|
+
|
356
|
+
return 1;
|
357
|
+
}
|
358
|
+
|
359
|
+
/*
|
360
|
+
* Append a directive to the directives stack.
|
361
|
+
*/
|
362
|
+
|
363
|
+
static int
|
364
|
+
yaml_emitter_append_tag_directive(yaml_emitter_t *emitter,
|
365
|
+
yaml_tag_directive_t value, int allow_duplicates)
|
366
|
+
{
|
367
|
+
yaml_tag_directive_t *tag_directive;
|
368
|
+
yaml_tag_directive_t copy = { NULL, NULL };
|
369
|
+
|
370
|
+
for (tag_directive = emitter->tag_directives.start;
|
371
|
+
tag_directive != emitter->tag_directives.top; tag_directive ++) {
|
372
|
+
if (strcmp((char *)value.handle, (char *)tag_directive->handle) == 0) {
|
373
|
+
if (allow_duplicates)
|
374
|
+
return 1;
|
375
|
+
return yaml_emitter_set_emitter_error(emitter,
|
376
|
+
"duplicate %TAG directive");
|
377
|
+
}
|
378
|
+
}
|
379
|
+
|
380
|
+
copy.handle = yaml_strdup(value.handle);
|
381
|
+
copy.prefix = yaml_strdup(value.prefix);
|
382
|
+
if (!copy.handle || !copy.prefix) {
|
383
|
+
emitter->error = YAML_MEMORY_ERROR;
|
384
|
+
goto error;
|
385
|
+
}
|
386
|
+
|
387
|
+
if (!PUSH(emitter, emitter->tag_directives, copy))
|
388
|
+
goto error;
|
389
|
+
|
390
|
+
return 1;
|
391
|
+
|
392
|
+
error:
|
393
|
+
yaml_free(copy.handle);
|
394
|
+
yaml_free(copy.prefix);
|
395
|
+
return 0;
|
396
|
+
}
|
397
|
+
|
398
|
+
/*
|
399
|
+
* Increase the indentation level.
|
400
|
+
*/
|
401
|
+
|
402
|
+
static int
|
403
|
+
yaml_emitter_increase_indent(yaml_emitter_t *emitter,
|
404
|
+
int flow, int indentless)
|
405
|
+
{
|
406
|
+
if (!PUSH(emitter, emitter->indents, emitter->indent))
|
407
|
+
return 0;
|
408
|
+
|
409
|
+
if (emitter->indent < 0) {
|
410
|
+
emitter->indent = flow ? emitter->best_indent : 0;
|
411
|
+
}
|
412
|
+
else if (!indentless) {
|
413
|
+
emitter->indent += emitter->best_indent;
|
414
|
+
}
|
415
|
+
|
416
|
+
return 1;
|
417
|
+
}
|
418
|
+
|
419
|
+
/*
|
420
|
+
* State dispatcher.
|
421
|
+
*/
|
422
|
+
|
423
|
+
static int
|
424
|
+
yaml_emitter_state_machine(yaml_emitter_t *emitter, yaml_event_t *event)
|
425
|
+
{
|
426
|
+
switch (emitter->state)
|
427
|
+
{
|
428
|
+
case YAML_EMIT_STREAM_START_STATE:
|
429
|
+
return yaml_emitter_emit_stream_start(emitter, event);
|
430
|
+
|
431
|
+
case YAML_EMIT_FIRST_DOCUMENT_START_STATE:
|
432
|
+
return yaml_emitter_emit_document_start(emitter, event, 1);
|
433
|
+
|
434
|
+
case YAML_EMIT_DOCUMENT_START_STATE:
|
435
|
+
return yaml_emitter_emit_document_start(emitter, event, 0);
|
436
|
+
|
437
|
+
case YAML_EMIT_DOCUMENT_CONTENT_STATE:
|
438
|
+
return yaml_emitter_emit_document_content(emitter, event);
|
439
|
+
|
440
|
+
case YAML_EMIT_DOCUMENT_END_STATE:
|
441
|
+
return yaml_emitter_emit_document_end(emitter, event);
|
442
|
+
|
443
|
+
case YAML_EMIT_FLOW_SEQUENCE_FIRST_ITEM_STATE:
|
444
|
+
return yaml_emitter_emit_flow_sequence_item(emitter, event, 1);
|
445
|
+
|
446
|
+
case YAML_EMIT_FLOW_SEQUENCE_ITEM_STATE:
|
447
|
+
return yaml_emitter_emit_flow_sequence_item(emitter, event, 0);
|
448
|
+
|
449
|
+
case YAML_EMIT_FLOW_MAPPING_FIRST_KEY_STATE:
|
450
|
+
return yaml_emitter_emit_flow_mapping_key(emitter, event, 1);
|
451
|
+
|
452
|
+
case YAML_EMIT_FLOW_MAPPING_KEY_STATE:
|
453
|
+
return yaml_emitter_emit_flow_mapping_key(emitter, event, 0);
|
454
|
+
|
455
|
+
case YAML_EMIT_FLOW_MAPPING_SIMPLE_VALUE_STATE:
|
456
|
+
return yaml_emitter_emit_flow_mapping_value(emitter, event, 1);
|
457
|
+
|
458
|
+
case YAML_EMIT_FLOW_MAPPING_VALUE_STATE:
|
459
|
+
return yaml_emitter_emit_flow_mapping_value(emitter, event, 0);
|
460
|
+
|
461
|
+
case YAML_EMIT_BLOCK_SEQUENCE_FIRST_ITEM_STATE:
|
462
|
+
return yaml_emitter_emit_block_sequence_item(emitter, event, 1);
|
463
|
+
|
464
|
+
case YAML_EMIT_BLOCK_SEQUENCE_ITEM_STATE:
|
465
|
+
return yaml_emitter_emit_block_sequence_item(emitter, event, 0);
|
466
|
+
|
467
|
+
case YAML_EMIT_BLOCK_MAPPING_FIRST_KEY_STATE:
|
468
|
+
return yaml_emitter_emit_block_mapping_key(emitter, event, 1);
|
469
|
+
|
470
|
+
case YAML_EMIT_BLOCK_MAPPING_KEY_STATE:
|
471
|
+
return yaml_emitter_emit_block_mapping_key(emitter, event, 0);
|
472
|
+
|
473
|
+
case YAML_EMIT_BLOCK_MAPPING_SIMPLE_VALUE_STATE:
|
474
|
+
return yaml_emitter_emit_block_mapping_value(emitter, event, 1);
|
475
|
+
|
476
|
+
case YAML_EMIT_BLOCK_MAPPING_VALUE_STATE:
|
477
|
+
return yaml_emitter_emit_block_mapping_value(emitter, event, 0);
|
478
|
+
|
479
|
+
case YAML_EMIT_END_STATE:
|
480
|
+
return yaml_emitter_set_emitter_error(emitter,
|
481
|
+
"expected nothing after STREAM-END");
|
482
|
+
|
483
|
+
default:
|
484
|
+
assert(1); /* Invalid state. */
|
485
|
+
}
|
486
|
+
|
487
|
+
return 0;
|
488
|
+
}
|
489
|
+
|
490
|
+
/*
|
491
|
+
* Expect STREAM-START.
|
492
|
+
*/
|
493
|
+
|
494
|
+
static int
|
495
|
+
yaml_emitter_emit_stream_start(yaml_emitter_t *emitter,
|
496
|
+
yaml_event_t *event)
|
497
|
+
{
|
498
|
+
emitter->open_ended = 0;
|
499
|
+
if (event->type == YAML_STREAM_START_EVENT)
|
500
|
+
{
|
501
|
+
if (!emitter->encoding) {
|
502
|
+
emitter->encoding = event->data.stream_start.encoding;
|
503
|
+
}
|
504
|
+
|
505
|
+
if (!emitter->encoding) {
|
506
|
+
emitter->encoding = YAML_UTF8_ENCODING;
|
507
|
+
}
|
508
|
+
|
509
|
+
if (emitter->best_indent < 2 || emitter->best_indent > 9) {
|
510
|
+
emitter->best_indent = 2;
|
511
|
+
}
|
512
|
+
|
513
|
+
if (emitter->best_width >= 0
|
514
|
+
&& emitter->best_width <= emitter->best_indent*2) {
|
515
|
+
emitter->best_width = 80;
|
516
|
+
}
|
517
|
+
|
518
|
+
if (emitter->best_width < 0) {
|
519
|
+
emitter->best_width = INT_MAX;
|
520
|
+
}
|
521
|
+
|
522
|
+
if (!emitter->line_break) {
|
523
|
+
emitter->line_break = YAML_LN_BREAK;
|
524
|
+
}
|
525
|
+
|
526
|
+
emitter->indent = -1;
|
527
|
+
|
528
|
+
emitter->line = 0;
|
529
|
+
emitter->column = 0;
|
530
|
+
emitter->whitespace = 1;
|
531
|
+
emitter->indention = 1;
|
532
|
+
|
533
|
+
if (emitter->encoding != YAML_UTF8_ENCODING) {
|
534
|
+
if (!yaml_emitter_write_bom(emitter))
|
535
|
+
return 0;
|
536
|
+
}
|
537
|
+
|
538
|
+
emitter->state = YAML_EMIT_FIRST_DOCUMENT_START_STATE;
|
539
|
+
|
540
|
+
return 1;
|
541
|
+
}
|
542
|
+
|
543
|
+
return yaml_emitter_set_emitter_error(emitter,
|
544
|
+
"expected STREAM-START");
|
545
|
+
}
|
546
|
+
|
547
|
+
/*
|
548
|
+
* Expect DOCUMENT-START or STREAM-END.
|
549
|
+
*/
|
550
|
+
|
551
|
+
static int
|
552
|
+
yaml_emitter_emit_document_start(yaml_emitter_t *emitter,
|
553
|
+
yaml_event_t *event, int first)
|
554
|
+
{
|
555
|
+
if (event->type == YAML_DOCUMENT_START_EVENT)
|
556
|
+
{
|
557
|
+
yaml_tag_directive_t default_tag_directives[] = {
|
558
|
+
{(yaml_char_t *)"!", (yaml_char_t *)"!"},
|
559
|
+
{(yaml_char_t *)"!!", (yaml_char_t *)"tag:yaml.org,2002:"},
|
560
|
+
{NULL, NULL}
|
561
|
+
};
|
562
|
+
yaml_tag_directive_t *tag_directive;
|
563
|
+
int implicit;
|
564
|
+
|
565
|
+
if (event->data.document_start.version_directive) {
|
566
|
+
if (!yaml_emitter_analyze_version_directive(emitter,
|
567
|
+
*event->data.document_start.version_directive))
|
568
|
+
return 0;
|
569
|
+
}
|
570
|
+
|
571
|
+
for (tag_directive = event->data.document_start.tag_directives.start;
|
572
|
+
tag_directive != event->data.document_start.tag_directives.end;
|
573
|
+
tag_directive ++) {
|
574
|
+
if (!yaml_emitter_analyze_tag_directive(emitter, *tag_directive))
|
575
|
+
return 0;
|
576
|
+
if (!yaml_emitter_append_tag_directive(emitter, *tag_directive, 0))
|
577
|
+
return 0;
|
578
|
+
}
|
579
|
+
|
580
|
+
for (tag_directive = default_tag_directives;
|
581
|
+
tag_directive->handle; tag_directive ++) {
|
582
|
+
if (!yaml_emitter_append_tag_directive(emitter, *tag_directive, 1))
|
583
|
+
return 0;
|
584
|
+
}
|
585
|
+
|
586
|
+
implicit = event->data.document_start.implicit;
|
587
|
+
if (!first || emitter->canonical) {
|
588
|
+
implicit = 0;
|
589
|
+
}
|
590
|
+
|
591
|
+
if ((event->data.document_start.version_directive ||
|
592
|
+
(event->data.document_start.tag_directives.start
|
593
|
+
!= event->data.document_start.tag_directives.end)) &&
|
594
|
+
emitter->open_ended)
|
595
|
+
{
|
596
|
+
if (!yaml_emitter_write_indicator(emitter, "...", 1, 0, 0))
|
597
|
+
return 0;
|
598
|
+
if (!yaml_emitter_write_indent(emitter))
|
599
|
+
return 0;
|
600
|
+
}
|
601
|
+
emitter->open_ended = 0;
|
602
|
+
|
603
|
+
if (event->data.document_start.version_directive) {
|
604
|
+
implicit = 0;
|
605
|
+
if (!yaml_emitter_write_indicator(emitter, "%YAML", 1, 0, 0))
|
606
|
+
return 0;
|
607
|
+
if (event->data.document_start.version_directive->minor == 1) {
|
608
|
+
if (!yaml_emitter_write_indicator(emitter, "1.1", 1, 0, 0))
|
609
|
+
return 0;
|
610
|
+
}
|
611
|
+
else {
|
612
|
+
if (!yaml_emitter_write_indicator(emitter, "1.2", 1, 0, 0))
|
613
|
+
return 0;
|
614
|
+
}
|
615
|
+
if (!yaml_emitter_write_indent(emitter))
|
616
|
+
return 0;
|
617
|
+
}
|
618
|
+
|
619
|
+
if (event->data.document_start.tag_directives.start
|
620
|
+
!= event->data.document_start.tag_directives.end) {
|
621
|
+
implicit = 0;
|
622
|
+
for (tag_directive = event->data.document_start.tag_directives.start;
|
623
|
+
tag_directive != event->data.document_start.tag_directives.end;
|
624
|
+
tag_directive ++) {
|
625
|
+
if (!yaml_emitter_write_indicator(emitter, "%TAG", 1, 0, 0))
|
626
|
+
return 0;
|
627
|
+
if (!yaml_emitter_write_tag_handle(emitter, tag_directive->handle,
|
628
|
+
strlen((char *)tag_directive->handle)))
|
629
|
+
return 0;
|
630
|
+
if (!yaml_emitter_write_tag_content(emitter, tag_directive->prefix,
|
631
|
+
strlen((char *)tag_directive->prefix), 1))
|
632
|
+
return 0;
|
633
|
+
if (!yaml_emitter_write_indent(emitter))
|
634
|
+
return 0;
|
635
|
+
}
|
636
|
+
}
|
637
|
+
|
638
|
+
if (yaml_emitter_check_empty_document(emitter)) {
|
639
|
+
implicit = 0;
|
640
|
+
}
|
641
|
+
|
642
|
+
if (!implicit) {
|
643
|
+
if (!yaml_emitter_write_indent(emitter))
|
644
|
+
return 0;
|
645
|
+
if (!yaml_emitter_write_indicator(emitter, "---", 1, 0, 0))
|
646
|
+
return 0;
|
647
|
+
if (emitter->canonical) {
|
648
|
+
if (!yaml_emitter_write_indent(emitter))
|
649
|
+
return 0;
|
650
|
+
}
|
651
|
+
}
|
652
|
+
|
653
|
+
emitter->state = YAML_EMIT_DOCUMENT_CONTENT_STATE;
|
654
|
+
|
655
|
+
emitter->open_ended = 0;
|
656
|
+
return 1;
|
657
|
+
}
|
658
|
+
|
659
|
+
else if (event->type == YAML_STREAM_END_EVENT)
|
660
|
+
{
|
661
|
+
|
662
|
+
/**
|
663
|
+
* This can happen if a block scalar with trailing empty lines
|
664
|
+
* is at the end of the stream
|
665
|
+
*/
|
666
|
+
if (emitter->open_ended == 2)
|
667
|
+
{
|
668
|
+
if (!yaml_emitter_write_indicator(emitter, "...", 1, 0, 0))
|
669
|
+
return 0;
|
670
|
+
emitter->open_ended = 0;
|
671
|
+
if (!yaml_emitter_write_indent(emitter))
|
672
|
+
return 0;
|
673
|
+
}
|
674
|
+
if (!yaml_emitter_flush(emitter))
|
675
|
+
return 0;
|
676
|
+
|
677
|
+
emitter->state = YAML_EMIT_END_STATE;
|
678
|
+
|
679
|
+
return 1;
|
680
|
+
}
|
681
|
+
|
682
|
+
return yaml_emitter_set_emitter_error(emitter,
|
683
|
+
"expected DOCUMENT-START or STREAM-END");
|
684
|
+
}
|
685
|
+
|
686
|
+
/*
|
687
|
+
* Expect the root node.
|
688
|
+
*/
|
689
|
+
|
690
|
+
static int
|
691
|
+
yaml_emitter_emit_document_content(yaml_emitter_t *emitter,
|
692
|
+
yaml_event_t *event)
|
693
|
+
{
|
694
|
+
if (!PUSH(emitter, emitter->states, YAML_EMIT_DOCUMENT_END_STATE))
|
695
|
+
return 0;
|
696
|
+
|
697
|
+
return yaml_emitter_emit_node(emitter, event, 1, 0, 0, 0);
|
698
|
+
}
|
699
|
+
|
700
|
+
/*
|
701
|
+
* Expect DOCUMENT-END.
|
702
|
+
*/
|
703
|
+
|
704
|
+
static int
|
705
|
+
yaml_emitter_emit_document_end(yaml_emitter_t *emitter,
|
706
|
+
yaml_event_t *event)
|
707
|
+
{
|
708
|
+
if (event->type == YAML_DOCUMENT_END_EVENT)
|
709
|
+
{
|
710
|
+
if (!yaml_emitter_write_indent(emitter))
|
711
|
+
return 0;
|
712
|
+
if (!event->data.document_end.implicit) {
|
713
|
+
if (!yaml_emitter_write_indicator(emitter, "...", 1, 0, 0))
|
714
|
+
return 0;
|
715
|
+
emitter->open_ended = 0;
|
716
|
+
if (!yaml_emitter_write_indent(emitter))
|
717
|
+
return 0;
|
718
|
+
}
|
719
|
+
else if (!emitter->open_ended)
|
720
|
+
emitter->open_ended = 1;
|
721
|
+
if (!yaml_emitter_flush(emitter))
|
722
|
+
return 0;
|
723
|
+
|
724
|
+
emitter->state = YAML_EMIT_DOCUMENT_START_STATE;
|
725
|
+
|
726
|
+
while (!STACK_EMPTY(emitter, emitter->tag_directives)) {
|
727
|
+
yaml_tag_directive_t tag_directive = POP(emitter,
|
728
|
+
emitter->tag_directives);
|
729
|
+
yaml_free(tag_directive.handle);
|
730
|
+
yaml_free(tag_directive.prefix);
|
731
|
+
}
|
732
|
+
|
733
|
+
return 1;
|
734
|
+
}
|
735
|
+
|
736
|
+
return yaml_emitter_set_emitter_error(emitter,
|
737
|
+
"expected DOCUMENT-END");
|
738
|
+
}
|
739
|
+
|
740
|
+
/*
|
741
|
+
*
|
742
|
+
* Expect a flow item node.
|
743
|
+
*/
|
744
|
+
|
745
|
+
static int
|
746
|
+
yaml_emitter_emit_flow_sequence_item(yaml_emitter_t *emitter,
|
747
|
+
yaml_event_t *event, int first)
|
748
|
+
{
|
749
|
+
if (first)
|
750
|
+
{
|
751
|
+
if (!yaml_emitter_write_indicator(emitter, "[", 1, 1, 0))
|
752
|
+
return 0;
|
753
|
+
if (!yaml_emitter_increase_indent(emitter, 1, 0))
|
754
|
+
return 0;
|
755
|
+
emitter->flow_level ++;
|
756
|
+
}
|
757
|
+
|
758
|
+
if (event->type == YAML_SEQUENCE_END_EVENT)
|
759
|
+
{
|
760
|
+
emitter->flow_level --;
|
761
|
+
emitter->indent = POP(emitter, emitter->indents);
|
762
|
+
if (emitter->canonical && !first) {
|
763
|
+
if (!yaml_emitter_write_indicator(emitter, ",", 0, 0, 0))
|
764
|
+
return 0;
|
765
|
+
if (!yaml_emitter_write_indent(emitter))
|
766
|
+
return 0;
|
767
|
+
}
|
768
|
+
if (!yaml_emitter_write_indicator(emitter, "]", 0, 0, 0))
|
769
|
+
return 0;
|
770
|
+
emitter->state = POP(emitter, emitter->states);
|
771
|
+
|
772
|
+
return 1;
|
773
|
+
}
|
774
|
+
|
775
|
+
if (!first) {
|
776
|
+
if (!yaml_emitter_write_indicator(emitter, ",", 0, 0, 0))
|
777
|
+
return 0;
|
778
|
+
}
|
779
|
+
|
780
|
+
if (emitter->canonical || emitter->column > emitter->best_width) {
|
781
|
+
if (!yaml_emitter_write_indent(emitter))
|
782
|
+
return 0;
|
783
|
+
}
|
784
|
+
if (!PUSH(emitter, emitter->states, YAML_EMIT_FLOW_SEQUENCE_ITEM_STATE))
|
785
|
+
return 0;
|
786
|
+
|
787
|
+
return yaml_emitter_emit_node(emitter, event, 0, 1, 0, 0);
|
788
|
+
}
|
789
|
+
|
790
|
+
/*
|
791
|
+
* Expect a flow key node.
|
792
|
+
*/
|
793
|
+
|
794
|
+
static int
|
795
|
+
yaml_emitter_emit_flow_mapping_key(yaml_emitter_t *emitter,
|
796
|
+
yaml_event_t *event, int first)
|
797
|
+
{
|
798
|
+
if (first)
|
799
|
+
{
|
800
|
+
if (!yaml_emitter_write_indicator(emitter, "{", 1, 1, 0))
|
801
|
+
return 0;
|
802
|
+
if (!yaml_emitter_increase_indent(emitter, 1, 0))
|
803
|
+
return 0;
|
804
|
+
emitter->flow_level ++;
|
805
|
+
}
|
806
|
+
|
807
|
+
if (event->type == YAML_MAPPING_END_EVENT)
|
808
|
+
{
|
809
|
+
emitter->flow_level --;
|
810
|
+
emitter->indent = POP(emitter, emitter->indents);
|
811
|
+
if (emitter->canonical && !first) {
|
812
|
+
if (!yaml_emitter_write_indicator(emitter, ",", 0, 0, 0))
|
813
|
+
return 0;
|
814
|
+
if (!yaml_emitter_write_indent(emitter))
|
815
|
+
return 0;
|
816
|
+
}
|
817
|
+
if (!yaml_emitter_write_indicator(emitter, "}", 0, 0, 0))
|
818
|
+
return 0;
|
819
|
+
emitter->state = POP(emitter, emitter->states);
|
820
|
+
|
821
|
+
return 1;
|
822
|
+
}
|
823
|
+
|
824
|
+
if (!first) {
|
825
|
+
if (!yaml_emitter_write_indicator(emitter, ",", 0, 0, 0))
|
826
|
+
return 0;
|
827
|
+
}
|
828
|
+
if (emitter->canonical || emitter->column > emitter->best_width) {
|
829
|
+
if (!yaml_emitter_write_indent(emitter))
|
830
|
+
return 0;
|
831
|
+
}
|
832
|
+
|
833
|
+
if (!emitter->canonical && yaml_emitter_check_simple_key(emitter))
|
834
|
+
{
|
835
|
+
if (!PUSH(emitter, emitter->states,
|
836
|
+
YAML_EMIT_FLOW_MAPPING_SIMPLE_VALUE_STATE))
|
837
|
+
return 0;
|
838
|
+
|
839
|
+
return yaml_emitter_emit_node(emitter, event, 0, 0, 1, 1);
|
840
|
+
}
|
841
|
+
else
|
842
|
+
{
|
843
|
+
if (!yaml_emitter_write_indicator(emitter, "?", 1, 0, 0))
|
844
|
+
return 0;
|
845
|
+
if (!PUSH(emitter, emitter->states,
|
846
|
+
YAML_EMIT_FLOW_MAPPING_VALUE_STATE))
|
847
|
+
return 0;
|
848
|
+
|
849
|
+
return yaml_emitter_emit_node(emitter, event, 0, 0, 1, 0);
|
850
|
+
}
|
851
|
+
}
|
852
|
+
|
853
|
+
/*
|
854
|
+
* Expect a flow value node.
|
855
|
+
*/
|
856
|
+
|
857
|
+
static int
|
858
|
+
yaml_emitter_emit_flow_mapping_value(yaml_emitter_t *emitter,
|
859
|
+
yaml_event_t *event, int simple)
|
860
|
+
{
|
861
|
+
if (simple) {
|
862
|
+
if (!yaml_emitter_write_indicator(emitter, ":", 0, 0, 0))
|
863
|
+
return 0;
|
864
|
+
}
|
865
|
+
else {
|
866
|
+
if (emitter->canonical || emitter->column > emitter->best_width) {
|
867
|
+
if (!yaml_emitter_write_indent(emitter))
|
868
|
+
return 0;
|
869
|
+
}
|
870
|
+
if (!yaml_emitter_write_indicator(emitter, ":", 1, 0, 0))
|
871
|
+
return 0;
|
872
|
+
}
|
873
|
+
if (!PUSH(emitter, emitter->states, YAML_EMIT_FLOW_MAPPING_KEY_STATE))
|
874
|
+
return 0;
|
875
|
+
return yaml_emitter_emit_node(emitter, event, 0, 0, 1, 0);
|
876
|
+
}
|
877
|
+
|
878
|
+
/*
|
879
|
+
* Expect a block item node.
|
880
|
+
*/
|
881
|
+
|
882
|
+
static int
|
883
|
+
yaml_emitter_emit_block_sequence_item(yaml_emitter_t *emitter,
|
884
|
+
yaml_event_t *event, int first)
|
885
|
+
{
|
886
|
+
if (first)
|
887
|
+
{
|
888
|
+
if (!yaml_emitter_increase_indent(emitter, 0,
|
889
|
+
(emitter->mapping_context && !emitter->indention)))
|
890
|
+
return 0;
|
891
|
+
}
|
892
|
+
|
893
|
+
if (event->type == YAML_SEQUENCE_END_EVENT)
|
894
|
+
{
|
895
|
+
emitter->indent = POP(emitter, emitter->indents);
|
896
|
+
emitter->state = POP(emitter, emitter->states);
|
897
|
+
|
898
|
+
return 1;
|
899
|
+
}
|
900
|
+
|
901
|
+
if (!yaml_emitter_write_indent(emitter))
|
902
|
+
return 0;
|
903
|
+
if (!yaml_emitter_write_indicator(emitter, "-", 1, 0, 1))
|
904
|
+
return 0;
|
905
|
+
if (!PUSH(emitter, emitter->states,
|
906
|
+
YAML_EMIT_BLOCK_SEQUENCE_ITEM_STATE))
|
907
|
+
return 0;
|
908
|
+
|
909
|
+
return yaml_emitter_emit_node(emitter, event, 0, 1, 0, 0);
|
910
|
+
}
|
911
|
+
|
912
|
+
/*
|
913
|
+
* Expect a block key node.
|
914
|
+
*/
|
915
|
+
|
916
|
+
static int
|
917
|
+
yaml_emitter_emit_block_mapping_key(yaml_emitter_t *emitter,
|
918
|
+
yaml_event_t *event, int first)
|
919
|
+
{
|
920
|
+
if (first)
|
921
|
+
{
|
922
|
+
if (!yaml_emitter_increase_indent(emitter, 0, 0))
|
923
|
+
return 0;
|
924
|
+
}
|
925
|
+
|
926
|
+
if (event->type == YAML_MAPPING_END_EVENT)
|
927
|
+
{
|
928
|
+
emitter->indent = POP(emitter, emitter->indents);
|
929
|
+
emitter->state = POP(emitter, emitter->states);
|
930
|
+
|
931
|
+
return 1;
|
932
|
+
}
|
933
|
+
|
934
|
+
if (!yaml_emitter_write_indent(emitter))
|
935
|
+
return 0;
|
936
|
+
|
937
|
+
if (yaml_emitter_check_simple_key(emitter))
|
938
|
+
{
|
939
|
+
if (!PUSH(emitter, emitter->states,
|
940
|
+
YAML_EMIT_BLOCK_MAPPING_SIMPLE_VALUE_STATE))
|
941
|
+
return 0;
|
942
|
+
|
943
|
+
return yaml_emitter_emit_node(emitter, event, 0, 0, 1, 1);
|
944
|
+
}
|
945
|
+
else
|
946
|
+
{
|
947
|
+
if (!yaml_emitter_write_indicator(emitter, "?", 1, 0, 1))
|
948
|
+
return 0;
|
949
|
+
if (!PUSH(emitter, emitter->states,
|
950
|
+
YAML_EMIT_BLOCK_MAPPING_VALUE_STATE))
|
951
|
+
return 0;
|
952
|
+
|
953
|
+
return yaml_emitter_emit_node(emitter, event, 0, 0, 1, 0);
|
954
|
+
}
|
955
|
+
}
|
956
|
+
|
957
|
+
/*
|
958
|
+
* Expect a block value node.
|
959
|
+
*/
|
960
|
+
|
961
|
+
static int
|
962
|
+
yaml_emitter_emit_block_mapping_value(yaml_emitter_t *emitter,
|
963
|
+
yaml_event_t *event, int simple)
|
964
|
+
{
|
965
|
+
if (simple) {
|
966
|
+
if (!yaml_emitter_write_indicator(emitter, ":", 0, 0, 0))
|
967
|
+
return 0;
|
968
|
+
}
|
969
|
+
else {
|
970
|
+
if (!yaml_emitter_write_indent(emitter))
|
971
|
+
return 0;
|
972
|
+
if (!yaml_emitter_write_indicator(emitter, ":", 1, 0, 1))
|
973
|
+
return 0;
|
974
|
+
}
|
975
|
+
if (!PUSH(emitter, emitter->states,
|
976
|
+
YAML_EMIT_BLOCK_MAPPING_KEY_STATE))
|
977
|
+
return 0;
|
978
|
+
|
979
|
+
return yaml_emitter_emit_node(emitter, event, 0, 0, 1, 0);
|
980
|
+
}
|
981
|
+
|
982
|
+
/*
|
983
|
+
* Expect a node.
|
984
|
+
*/
|
985
|
+
|
986
|
+
static int
|
987
|
+
yaml_emitter_emit_node(yaml_emitter_t *emitter, yaml_event_t *event,
|
988
|
+
int root, int sequence, int mapping, int simple_key)
|
989
|
+
{
|
990
|
+
emitter->root_context = root;
|
991
|
+
emitter->sequence_context = sequence;
|
992
|
+
emitter->mapping_context = mapping;
|
993
|
+
emitter->simple_key_context = simple_key;
|
994
|
+
|
995
|
+
switch (event->type)
|
996
|
+
{
|
997
|
+
case YAML_ALIAS_EVENT:
|
998
|
+
return yaml_emitter_emit_alias(emitter, event);
|
999
|
+
|
1000
|
+
case YAML_SCALAR_EVENT:
|
1001
|
+
return yaml_emitter_emit_scalar(emitter, event);
|
1002
|
+
|
1003
|
+
case YAML_SEQUENCE_START_EVENT:
|
1004
|
+
return yaml_emitter_emit_sequence_start(emitter, event);
|
1005
|
+
|
1006
|
+
case YAML_MAPPING_START_EVENT:
|
1007
|
+
return yaml_emitter_emit_mapping_start(emitter, event);
|
1008
|
+
|
1009
|
+
default:
|
1010
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1011
|
+
"expected SCALAR, SEQUENCE-START, MAPPING-START, or ALIAS");
|
1012
|
+
}
|
1013
|
+
|
1014
|
+
return 0;
|
1015
|
+
}
|
1016
|
+
|
1017
|
+
/*
|
1018
|
+
* Expect ALIAS.
|
1019
|
+
*/
|
1020
|
+
|
1021
|
+
static int
|
1022
|
+
yaml_emitter_emit_alias(yaml_emitter_t *emitter, SHIM(yaml_event_t *event))
|
1023
|
+
{
|
1024
|
+
if (!yaml_emitter_process_anchor(emitter))
|
1025
|
+
return 0;
|
1026
|
+
if (emitter->simple_key_context)
|
1027
|
+
if (!PUT(emitter, ' ')) return 0;
|
1028
|
+
emitter->state = POP(emitter, emitter->states);
|
1029
|
+
|
1030
|
+
return 1;
|
1031
|
+
}
|
1032
|
+
|
1033
|
+
/*
|
1034
|
+
* Expect SCALAR.
|
1035
|
+
*/
|
1036
|
+
|
1037
|
+
static int
|
1038
|
+
yaml_emitter_emit_scalar(yaml_emitter_t *emitter, yaml_event_t *event)
|
1039
|
+
{
|
1040
|
+
if (!yaml_emitter_select_scalar_style(emitter, event))
|
1041
|
+
return 0;
|
1042
|
+
if (!yaml_emitter_process_anchor(emitter))
|
1043
|
+
return 0;
|
1044
|
+
if (!yaml_emitter_process_tag(emitter))
|
1045
|
+
return 0;
|
1046
|
+
if (!yaml_emitter_increase_indent(emitter, 1, 0))
|
1047
|
+
return 0;
|
1048
|
+
if (!yaml_emitter_process_scalar(emitter))
|
1049
|
+
return 0;
|
1050
|
+
emitter->indent = POP(emitter, emitter->indents);
|
1051
|
+
emitter->state = POP(emitter, emitter->states);
|
1052
|
+
|
1053
|
+
return 1;
|
1054
|
+
}
|
1055
|
+
|
1056
|
+
/*
|
1057
|
+
* Expect SEQUENCE-START.
|
1058
|
+
*/
|
1059
|
+
|
1060
|
+
static int
|
1061
|
+
yaml_emitter_emit_sequence_start(yaml_emitter_t *emitter, yaml_event_t *event)
|
1062
|
+
{
|
1063
|
+
if (!yaml_emitter_process_anchor(emitter))
|
1064
|
+
return 0;
|
1065
|
+
if (!yaml_emitter_process_tag(emitter))
|
1066
|
+
return 0;
|
1067
|
+
|
1068
|
+
if (emitter->flow_level || emitter->canonical
|
1069
|
+
|| event->data.sequence_start.style == YAML_FLOW_SEQUENCE_STYLE
|
1070
|
+
|| yaml_emitter_check_empty_sequence(emitter)) {
|
1071
|
+
emitter->state = YAML_EMIT_FLOW_SEQUENCE_FIRST_ITEM_STATE;
|
1072
|
+
}
|
1073
|
+
else {
|
1074
|
+
emitter->state = YAML_EMIT_BLOCK_SEQUENCE_FIRST_ITEM_STATE;
|
1075
|
+
}
|
1076
|
+
|
1077
|
+
return 1;
|
1078
|
+
}
|
1079
|
+
|
1080
|
+
/*
|
1081
|
+
* Expect MAPPING-START.
|
1082
|
+
*/
|
1083
|
+
|
1084
|
+
static int
|
1085
|
+
yaml_emitter_emit_mapping_start(yaml_emitter_t *emitter, yaml_event_t *event)
|
1086
|
+
{
|
1087
|
+
if (!yaml_emitter_process_anchor(emitter))
|
1088
|
+
return 0;
|
1089
|
+
if (!yaml_emitter_process_tag(emitter))
|
1090
|
+
return 0;
|
1091
|
+
|
1092
|
+
if (emitter->flow_level || emitter->canonical
|
1093
|
+
|| event->data.mapping_start.style == YAML_FLOW_MAPPING_STYLE
|
1094
|
+
|| yaml_emitter_check_empty_mapping(emitter)) {
|
1095
|
+
emitter->state = YAML_EMIT_FLOW_MAPPING_FIRST_KEY_STATE;
|
1096
|
+
}
|
1097
|
+
else {
|
1098
|
+
emitter->state = YAML_EMIT_BLOCK_MAPPING_FIRST_KEY_STATE;
|
1099
|
+
}
|
1100
|
+
|
1101
|
+
return 1;
|
1102
|
+
}
|
1103
|
+
|
1104
|
+
/*
|
1105
|
+
* Check if the document content is an empty scalar.
|
1106
|
+
*/
|
1107
|
+
|
1108
|
+
static int
|
1109
|
+
yaml_emitter_check_empty_document(SHIM(yaml_emitter_t *emitter))
|
1110
|
+
{
|
1111
|
+
return 0;
|
1112
|
+
}
|
1113
|
+
|
1114
|
+
/*
|
1115
|
+
* Check if the next events represent an empty sequence.
|
1116
|
+
*/
|
1117
|
+
|
1118
|
+
static int
|
1119
|
+
yaml_emitter_check_empty_sequence(yaml_emitter_t *emitter)
|
1120
|
+
{
|
1121
|
+
if (emitter->events.tail - emitter->events.head < 2)
|
1122
|
+
return 0;
|
1123
|
+
|
1124
|
+
return (emitter->events.head[0].type == YAML_SEQUENCE_START_EVENT
|
1125
|
+
&& emitter->events.head[1].type == YAML_SEQUENCE_END_EVENT);
|
1126
|
+
}
|
1127
|
+
|
1128
|
+
/*
|
1129
|
+
* Check if the next events represent an empty mapping.
|
1130
|
+
*/
|
1131
|
+
|
1132
|
+
static int
|
1133
|
+
yaml_emitter_check_empty_mapping(yaml_emitter_t *emitter)
|
1134
|
+
{
|
1135
|
+
if (emitter->events.tail - emitter->events.head < 2)
|
1136
|
+
return 0;
|
1137
|
+
|
1138
|
+
return (emitter->events.head[0].type == YAML_MAPPING_START_EVENT
|
1139
|
+
&& emitter->events.head[1].type == YAML_MAPPING_END_EVENT);
|
1140
|
+
}
|
1141
|
+
|
1142
|
+
/*
|
1143
|
+
* Check if the next node can be expressed as a simple key.
|
1144
|
+
*/
|
1145
|
+
|
1146
|
+
static int
|
1147
|
+
yaml_emitter_check_simple_key(yaml_emitter_t *emitter)
|
1148
|
+
{
|
1149
|
+
yaml_event_t *event = emitter->events.head;
|
1150
|
+
size_t length = 0;
|
1151
|
+
|
1152
|
+
switch (event->type)
|
1153
|
+
{
|
1154
|
+
case YAML_ALIAS_EVENT:
|
1155
|
+
length += emitter->anchor_data.anchor_length;
|
1156
|
+
break;
|
1157
|
+
|
1158
|
+
case YAML_SCALAR_EVENT:
|
1159
|
+
if (emitter->scalar_data.multiline)
|
1160
|
+
return 0;
|
1161
|
+
length += emitter->anchor_data.anchor_length
|
1162
|
+
+ emitter->tag_data.handle_length
|
1163
|
+
+ emitter->tag_data.suffix_length
|
1164
|
+
+ emitter->scalar_data.length;
|
1165
|
+
break;
|
1166
|
+
|
1167
|
+
case YAML_SEQUENCE_START_EVENT:
|
1168
|
+
if (!yaml_emitter_check_empty_sequence(emitter))
|
1169
|
+
return 0;
|
1170
|
+
length += emitter->anchor_data.anchor_length
|
1171
|
+
+ emitter->tag_data.handle_length
|
1172
|
+
+ emitter->tag_data.suffix_length;
|
1173
|
+
break;
|
1174
|
+
|
1175
|
+
case YAML_MAPPING_START_EVENT:
|
1176
|
+
if (!yaml_emitter_check_empty_mapping(emitter))
|
1177
|
+
return 0;
|
1178
|
+
length += emitter->anchor_data.anchor_length
|
1179
|
+
+ emitter->tag_data.handle_length
|
1180
|
+
+ emitter->tag_data.suffix_length;
|
1181
|
+
break;
|
1182
|
+
|
1183
|
+
default:
|
1184
|
+
return 0;
|
1185
|
+
}
|
1186
|
+
|
1187
|
+
if (length > 128)
|
1188
|
+
return 0;
|
1189
|
+
|
1190
|
+
return 1;
|
1191
|
+
}
|
1192
|
+
|
1193
|
+
/*
|
1194
|
+
* Determine an acceptable scalar style.
|
1195
|
+
*/
|
1196
|
+
|
1197
|
+
static int
|
1198
|
+
yaml_emitter_select_scalar_style(yaml_emitter_t *emitter, yaml_event_t *event)
|
1199
|
+
{
|
1200
|
+
yaml_scalar_style_t style = event->data.scalar.style;
|
1201
|
+
int no_tag = (!emitter->tag_data.handle && !emitter->tag_data.suffix);
|
1202
|
+
|
1203
|
+
if (no_tag && !event->data.scalar.plain_implicit
|
1204
|
+
&& !event->data.scalar.quoted_implicit) {
|
1205
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1206
|
+
"neither tag nor implicit flags are specified");
|
1207
|
+
}
|
1208
|
+
|
1209
|
+
if (style == YAML_ANY_SCALAR_STYLE)
|
1210
|
+
style = YAML_PLAIN_SCALAR_STYLE;
|
1211
|
+
|
1212
|
+
if (emitter->canonical)
|
1213
|
+
style = YAML_DOUBLE_QUOTED_SCALAR_STYLE;
|
1214
|
+
|
1215
|
+
if (emitter->simple_key_context && emitter->scalar_data.multiline)
|
1216
|
+
style = YAML_DOUBLE_QUOTED_SCALAR_STYLE;
|
1217
|
+
|
1218
|
+
if (style == YAML_PLAIN_SCALAR_STYLE)
|
1219
|
+
{
|
1220
|
+
if ((emitter->flow_level && !emitter->scalar_data.flow_plain_allowed)
|
1221
|
+
|| (!emitter->flow_level && !emitter->scalar_data.block_plain_allowed))
|
1222
|
+
style = YAML_SINGLE_QUOTED_SCALAR_STYLE;
|
1223
|
+
if (!emitter->scalar_data.length
|
1224
|
+
&& (emitter->flow_level || emitter->simple_key_context))
|
1225
|
+
style = YAML_SINGLE_QUOTED_SCALAR_STYLE;
|
1226
|
+
if (no_tag && !event->data.scalar.plain_implicit)
|
1227
|
+
style = YAML_SINGLE_QUOTED_SCALAR_STYLE;
|
1228
|
+
}
|
1229
|
+
|
1230
|
+
if (style == YAML_SINGLE_QUOTED_SCALAR_STYLE)
|
1231
|
+
{
|
1232
|
+
if (!emitter->scalar_data.single_quoted_allowed)
|
1233
|
+
style = YAML_DOUBLE_QUOTED_SCALAR_STYLE;
|
1234
|
+
}
|
1235
|
+
|
1236
|
+
if (style == YAML_LITERAL_SCALAR_STYLE || style == YAML_FOLDED_SCALAR_STYLE)
|
1237
|
+
{
|
1238
|
+
if (!emitter->scalar_data.block_allowed
|
1239
|
+
|| emitter->flow_level || emitter->simple_key_context)
|
1240
|
+
style = YAML_DOUBLE_QUOTED_SCALAR_STYLE;
|
1241
|
+
}
|
1242
|
+
|
1243
|
+
if (no_tag && !event->data.scalar.quoted_implicit
|
1244
|
+
&& style != YAML_PLAIN_SCALAR_STYLE)
|
1245
|
+
{
|
1246
|
+
emitter->tag_data.handle = (yaml_char_t *)"!";
|
1247
|
+
emitter->tag_data.handle_length = 1;
|
1248
|
+
}
|
1249
|
+
|
1250
|
+
emitter->scalar_data.style = style;
|
1251
|
+
|
1252
|
+
return 1;
|
1253
|
+
}
|
1254
|
+
|
1255
|
+
/*
|
1256
|
+
* Write an anchor.
|
1257
|
+
*/
|
1258
|
+
|
1259
|
+
static int
|
1260
|
+
yaml_emitter_process_anchor(yaml_emitter_t *emitter)
|
1261
|
+
{
|
1262
|
+
if (!emitter->anchor_data.anchor)
|
1263
|
+
return 1;
|
1264
|
+
|
1265
|
+
if (!yaml_emitter_write_indicator(emitter,
|
1266
|
+
(emitter->anchor_data.alias ? "*" : "&"), 1, 0, 0))
|
1267
|
+
return 0;
|
1268
|
+
|
1269
|
+
return yaml_emitter_write_anchor(emitter,
|
1270
|
+
emitter->anchor_data.anchor, emitter->anchor_data.anchor_length);
|
1271
|
+
}
|
1272
|
+
|
1273
|
+
/*
|
1274
|
+
* Write a tag.
|
1275
|
+
*/
|
1276
|
+
|
1277
|
+
static int
|
1278
|
+
yaml_emitter_process_tag(yaml_emitter_t *emitter)
|
1279
|
+
{
|
1280
|
+
if (!emitter->tag_data.handle && !emitter->tag_data.suffix)
|
1281
|
+
return 1;
|
1282
|
+
|
1283
|
+
if (emitter->tag_data.handle)
|
1284
|
+
{
|
1285
|
+
if (!yaml_emitter_write_tag_handle(emitter, emitter->tag_data.handle,
|
1286
|
+
emitter->tag_data.handle_length))
|
1287
|
+
return 0;
|
1288
|
+
if (emitter->tag_data.suffix) {
|
1289
|
+
if (!yaml_emitter_write_tag_content(emitter, emitter->tag_data.suffix,
|
1290
|
+
emitter->tag_data.suffix_length, 0))
|
1291
|
+
return 0;
|
1292
|
+
}
|
1293
|
+
}
|
1294
|
+
else
|
1295
|
+
{
|
1296
|
+
if (!yaml_emitter_write_indicator(emitter, "!<", 1, 0, 0))
|
1297
|
+
return 0;
|
1298
|
+
if (!yaml_emitter_write_tag_content(emitter, emitter->tag_data.suffix,
|
1299
|
+
emitter->tag_data.suffix_length, 0))
|
1300
|
+
return 0;
|
1301
|
+
if (!yaml_emitter_write_indicator(emitter, ">", 0, 0, 0))
|
1302
|
+
return 0;
|
1303
|
+
}
|
1304
|
+
|
1305
|
+
return 1;
|
1306
|
+
}
|
1307
|
+
|
1308
|
+
/*
|
1309
|
+
* Write a scalar.
|
1310
|
+
*/
|
1311
|
+
|
1312
|
+
static int
|
1313
|
+
yaml_emitter_process_scalar(yaml_emitter_t *emitter)
|
1314
|
+
{
|
1315
|
+
switch (emitter->scalar_data.style)
|
1316
|
+
{
|
1317
|
+
case YAML_PLAIN_SCALAR_STYLE:
|
1318
|
+
return yaml_emitter_write_plain_scalar(emitter,
|
1319
|
+
emitter->scalar_data.value, emitter->scalar_data.length,
|
1320
|
+
!emitter->simple_key_context);
|
1321
|
+
|
1322
|
+
case YAML_SINGLE_QUOTED_SCALAR_STYLE:
|
1323
|
+
return yaml_emitter_write_single_quoted_scalar(emitter,
|
1324
|
+
emitter->scalar_data.value, emitter->scalar_data.length,
|
1325
|
+
!emitter->simple_key_context);
|
1326
|
+
|
1327
|
+
case YAML_DOUBLE_QUOTED_SCALAR_STYLE:
|
1328
|
+
return yaml_emitter_write_double_quoted_scalar(emitter,
|
1329
|
+
emitter->scalar_data.value, emitter->scalar_data.length,
|
1330
|
+
!emitter->simple_key_context);
|
1331
|
+
|
1332
|
+
case YAML_LITERAL_SCALAR_STYLE:
|
1333
|
+
return yaml_emitter_write_literal_scalar(emitter,
|
1334
|
+
emitter->scalar_data.value, emitter->scalar_data.length);
|
1335
|
+
|
1336
|
+
case YAML_FOLDED_SCALAR_STYLE:
|
1337
|
+
return yaml_emitter_write_folded_scalar(emitter,
|
1338
|
+
emitter->scalar_data.value, emitter->scalar_data.length);
|
1339
|
+
|
1340
|
+
default:
|
1341
|
+
assert(1); /* Impossible. */
|
1342
|
+
}
|
1343
|
+
|
1344
|
+
return 0;
|
1345
|
+
}
|
1346
|
+
|
1347
|
+
/*
|
1348
|
+
* Check if a %YAML directive is valid.
|
1349
|
+
*/
|
1350
|
+
|
1351
|
+
static int
|
1352
|
+
yaml_emitter_analyze_version_directive(yaml_emitter_t *emitter,
|
1353
|
+
yaml_version_directive_t version_directive)
|
1354
|
+
{
|
1355
|
+
if (version_directive.major != 1 || (
|
1356
|
+
version_directive.minor != 1
|
1357
|
+
&& version_directive.minor != 2
|
1358
|
+
)) {
|
1359
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1360
|
+
"incompatible %YAML directive");
|
1361
|
+
}
|
1362
|
+
|
1363
|
+
return 1;
|
1364
|
+
}
|
1365
|
+
|
1366
|
+
/*
|
1367
|
+
* Check if a %TAG directive is valid.
|
1368
|
+
*/
|
1369
|
+
|
1370
|
+
static int
|
1371
|
+
yaml_emitter_analyze_tag_directive(yaml_emitter_t *emitter,
|
1372
|
+
yaml_tag_directive_t tag_directive)
|
1373
|
+
{
|
1374
|
+
yaml_string_t handle;
|
1375
|
+
yaml_string_t prefix;
|
1376
|
+
size_t handle_length;
|
1377
|
+
size_t prefix_length;
|
1378
|
+
|
1379
|
+
handle_length = strlen((char *)tag_directive.handle);
|
1380
|
+
prefix_length = strlen((char *)tag_directive.prefix);
|
1381
|
+
STRING_ASSIGN(handle, tag_directive.handle, handle_length);
|
1382
|
+
STRING_ASSIGN(prefix, tag_directive.prefix, prefix_length);
|
1383
|
+
|
1384
|
+
if (handle.start == handle.end) {
|
1385
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1386
|
+
"tag handle must not be empty");
|
1387
|
+
}
|
1388
|
+
|
1389
|
+
if (handle.start[0] != '!') {
|
1390
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1391
|
+
"tag handle must start with '!'");
|
1392
|
+
}
|
1393
|
+
|
1394
|
+
if (handle.end[-1] != '!') {
|
1395
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1396
|
+
"tag handle must end with '!'");
|
1397
|
+
}
|
1398
|
+
|
1399
|
+
handle.pointer ++;
|
1400
|
+
|
1401
|
+
while (handle.pointer < handle.end-1) {
|
1402
|
+
if (!IS_ALPHA(handle)) {
|
1403
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1404
|
+
"tag handle must contain alphanumerical characters only");
|
1405
|
+
}
|
1406
|
+
MOVE(handle);
|
1407
|
+
}
|
1408
|
+
|
1409
|
+
if (prefix.start == prefix.end) {
|
1410
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1411
|
+
"tag prefix must not be empty");
|
1412
|
+
}
|
1413
|
+
|
1414
|
+
return 1;
|
1415
|
+
}
|
1416
|
+
|
1417
|
+
/*
|
1418
|
+
* Check if an anchor is valid.
|
1419
|
+
*/
|
1420
|
+
|
1421
|
+
static int
|
1422
|
+
yaml_emitter_analyze_anchor(yaml_emitter_t *emitter,
|
1423
|
+
yaml_char_t *anchor, int alias)
|
1424
|
+
{
|
1425
|
+
size_t anchor_length;
|
1426
|
+
yaml_string_t string;
|
1427
|
+
|
1428
|
+
anchor_length = strlen((char *)anchor);
|
1429
|
+
STRING_ASSIGN(string, anchor, anchor_length);
|
1430
|
+
|
1431
|
+
if (string.start == string.end) {
|
1432
|
+
return yaml_emitter_set_emitter_error(emitter, alias ?
|
1433
|
+
"alias value must not be empty" :
|
1434
|
+
"anchor value must not be empty");
|
1435
|
+
}
|
1436
|
+
|
1437
|
+
while (string.pointer != string.end) {
|
1438
|
+
if (!IS_ALPHA(string)) {
|
1439
|
+
return yaml_emitter_set_emitter_error(emitter, alias ?
|
1440
|
+
"alias value must contain alphanumerical characters only" :
|
1441
|
+
"anchor value must contain alphanumerical characters only");
|
1442
|
+
}
|
1443
|
+
MOVE(string);
|
1444
|
+
}
|
1445
|
+
|
1446
|
+
emitter->anchor_data.anchor = string.start;
|
1447
|
+
emitter->anchor_data.anchor_length = string.end - string.start;
|
1448
|
+
emitter->anchor_data.alias = alias;
|
1449
|
+
|
1450
|
+
return 1;
|
1451
|
+
}
|
1452
|
+
|
1453
|
+
/*
|
1454
|
+
* Check if a tag is valid.
|
1455
|
+
*/
|
1456
|
+
|
1457
|
+
static int
|
1458
|
+
yaml_emitter_analyze_tag(yaml_emitter_t *emitter,
|
1459
|
+
yaml_char_t *tag)
|
1460
|
+
{
|
1461
|
+
size_t tag_length;
|
1462
|
+
yaml_string_t string;
|
1463
|
+
yaml_tag_directive_t *tag_directive;
|
1464
|
+
|
1465
|
+
tag_length = strlen((char *)tag);
|
1466
|
+
STRING_ASSIGN(string, tag, tag_length);
|
1467
|
+
|
1468
|
+
if (string.start == string.end) {
|
1469
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1470
|
+
"tag value must not be empty");
|
1471
|
+
}
|
1472
|
+
|
1473
|
+
for (tag_directive = emitter->tag_directives.start;
|
1474
|
+
tag_directive != emitter->tag_directives.top; tag_directive ++) {
|
1475
|
+
size_t prefix_length = strlen((char *)tag_directive->prefix);
|
1476
|
+
if (prefix_length < (size_t)(string.end - string.start)
|
1477
|
+
&& strncmp((char *)tag_directive->prefix, (char *)string.start,
|
1478
|
+
prefix_length) == 0)
|
1479
|
+
{
|
1480
|
+
emitter->tag_data.handle = tag_directive->handle;
|
1481
|
+
emitter->tag_data.handle_length =
|
1482
|
+
strlen((char *)tag_directive->handle);
|
1483
|
+
emitter->tag_data.suffix = string.start + prefix_length;
|
1484
|
+
emitter->tag_data.suffix_length =
|
1485
|
+
(string.end - string.start) - prefix_length;
|
1486
|
+
return 1;
|
1487
|
+
}
|
1488
|
+
}
|
1489
|
+
|
1490
|
+
emitter->tag_data.suffix = string.start;
|
1491
|
+
emitter->tag_data.suffix_length = string.end - string.start;
|
1492
|
+
|
1493
|
+
return 1;
|
1494
|
+
}
|
1495
|
+
|
1496
|
+
/*
|
1497
|
+
* Check if a scalar is valid.
|
1498
|
+
*/
|
1499
|
+
|
1500
|
+
static int
|
1501
|
+
yaml_emitter_analyze_scalar(yaml_emitter_t *emitter,
|
1502
|
+
yaml_char_t *value, size_t length)
|
1503
|
+
{
|
1504
|
+
yaml_string_t string;
|
1505
|
+
|
1506
|
+
int block_indicators = 0;
|
1507
|
+
int flow_indicators = 0;
|
1508
|
+
int line_breaks = 0;
|
1509
|
+
int special_characters = 0;
|
1510
|
+
|
1511
|
+
int leading_space = 0;
|
1512
|
+
int leading_break = 0;
|
1513
|
+
int trailing_space = 0;
|
1514
|
+
int trailing_break = 0;
|
1515
|
+
int break_space = 0;
|
1516
|
+
int space_break = 0;
|
1517
|
+
|
1518
|
+
int preceded_by_whitespace = 0;
|
1519
|
+
int followed_by_whitespace = 0;
|
1520
|
+
int previous_space = 0;
|
1521
|
+
int previous_break = 0;
|
1522
|
+
|
1523
|
+
STRING_ASSIGN(string, value, length);
|
1524
|
+
|
1525
|
+
emitter->scalar_data.value = value;
|
1526
|
+
emitter->scalar_data.length = length;
|
1527
|
+
|
1528
|
+
if (string.start == string.end)
|
1529
|
+
{
|
1530
|
+
emitter->scalar_data.multiline = 0;
|
1531
|
+
emitter->scalar_data.flow_plain_allowed = 0;
|
1532
|
+
emitter->scalar_data.block_plain_allowed = 1;
|
1533
|
+
emitter->scalar_data.single_quoted_allowed = 1;
|
1534
|
+
emitter->scalar_data.block_allowed = 0;
|
1535
|
+
|
1536
|
+
return 1;
|
1537
|
+
}
|
1538
|
+
|
1539
|
+
if ((CHECK_AT(string, '-', 0)
|
1540
|
+
&& CHECK_AT(string, '-', 1)
|
1541
|
+
&& CHECK_AT(string, '-', 2))
|
1542
|
+
|| (CHECK_AT(string, '.', 0)
|
1543
|
+
&& CHECK_AT(string, '.', 1)
|
1544
|
+
&& CHECK_AT(string, '.', 2))) {
|
1545
|
+
block_indicators = 1;
|
1546
|
+
flow_indicators = 1;
|
1547
|
+
}
|
1548
|
+
|
1549
|
+
preceded_by_whitespace = 1;
|
1550
|
+
followed_by_whitespace = IS_BLANKZ_AT(string, WIDTH(string));
|
1551
|
+
|
1552
|
+
while (string.pointer != string.end)
|
1553
|
+
{
|
1554
|
+
if (string.start == string.pointer)
|
1555
|
+
{
|
1556
|
+
if (CHECK(string, '#') || CHECK(string, ',')
|
1557
|
+
|| CHECK(string, '[') || CHECK(string, ']')
|
1558
|
+
|| CHECK(string, '{') || CHECK(string, '}')
|
1559
|
+
|| CHECK(string, '&') || CHECK(string, '*')
|
1560
|
+
|| CHECK(string, '!') || CHECK(string, '|')
|
1561
|
+
|| CHECK(string, '>') || CHECK(string, '\'')
|
1562
|
+
|| CHECK(string, '"') || CHECK(string, '%')
|
1563
|
+
|| CHECK(string, '@') || CHECK(string, '`')) {
|
1564
|
+
flow_indicators = 1;
|
1565
|
+
block_indicators = 1;
|
1566
|
+
}
|
1567
|
+
|
1568
|
+
if (CHECK(string, '?') || CHECK(string, ':')) {
|
1569
|
+
flow_indicators = 1;
|
1570
|
+
if (followed_by_whitespace) {
|
1571
|
+
block_indicators = 1;
|
1572
|
+
}
|
1573
|
+
}
|
1574
|
+
|
1575
|
+
if (CHECK(string, '-') && followed_by_whitespace) {
|
1576
|
+
flow_indicators = 1;
|
1577
|
+
block_indicators = 1;
|
1578
|
+
}
|
1579
|
+
}
|
1580
|
+
else
|
1581
|
+
{
|
1582
|
+
if (CHECK(string, ',') || CHECK(string, '?')
|
1583
|
+
|| CHECK(string, '[') || CHECK(string, ']')
|
1584
|
+
|| CHECK(string, '{') || CHECK(string, '}')) {
|
1585
|
+
flow_indicators = 1;
|
1586
|
+
}
|
1587
|
+
|
1588
|
+
if (CHECK(string, ':')) {
|
1589
|
+
flow_indicators = 1;
|
1590
|
+
if (followed_by_whitespace) {
|
1591
|
+
block_indicators = 1;
|
1592
|
+
}
|
1593
|
+
}
|
1594
|
+
|
1595
|
+
if (CHECK(string, '#') && preceded_by_whitespace) {
|
1596
|
+
flow_indicators = 1;
|
1597
|
+
block_indicators = 1;
|
1598
|
+
}
|
1599
|
+
}
|
1600
|
+
|
1601
|
+
if (!IS_PRINTABLE(string)
|
1602
|
+
|| (!IS_ASCII(string) && !emitter->unicode)) {
|
1603
|
+
special_characters = 1;
|
1604
|
+
}
|
1605
|
+
|
1606
|
+
if (IS_BREAK(string)) {
|
1607
|
+
line_breaks = 1;
|
1608
|
+
}
|
1609
|
+
|
1610
|
+
if (IS_SPACE(string))
|
1611
|
+
{
|
1612
|
+
if (string.start == string.pointer) {
|
1613
|
+
leading_space = 1;
|
1614
|
+
}
|
1615
|
+
if (string.pointer+WIDTH(string) == string.end) {
|
1616
|
+
trailing_space = 1;
|
1617
|
+
}
|
1618
|
+
if (previous_break) {
|
1619
|
+
break_space = 1;
|
1620
|
+
}
|
1621
|
+
previous_space = 1;
|
1622
|
+
previous_break = 0;
|
1623
|
+
}
|
1624
|
+
else if (IS_BREAK(string))
|
1625
|
+
{
|
1626
|
+
if (string.start == string.pointer) {
|
1627
|
+
leading_break = 1;
|
1628
|
+
}
|
1629
|
+
if (string.pointer+WIDTH(string) == string.end) {
|
1630
|
+
trailing_break = 1;
|
1631
|
+
}
|
1632
|
+
if (previous_space) {
|
1633
|
+
space_break = 1;
|
1634
|
+
}
|
1635
|
+
previous_space = 0;
|
1636
|
+
previous_break = 1;
|
1637
|
+
}
|
1638
|
+
else
|
1639
|
+
{
|
1640
|
+
previous_space = 0;
|
1641
|
+
previous_break = 0;
|
1642
|
+
}
|
1643
|
+
|
1644
|
+
preceded_by_whitespace = IS_BLANKZ(string);
|
1645
|
+
MOVE(string);
|
1646
|
+
if (string.pointer != string.end) {
|
1647
|
+
followed_by_whitespace = IS_BLANKZ_AT(string, WIDTH(string));
|
1648
|
+
}
|
1649
|
+
}
|
1650
|
+
|
1651
|
+
emitter->scalar_data.multiline = line_breaks;
|
1652
|
+
|
1653
|
+
emitter->scalar_data.flow_plain_allowed = 1;
|
1654
|
+
emitter->scalar_data.block_plain_allowed = 1;
|
1655
|
+
emitter->scalar_data.single_quoted_allowed = 1;
|
1656
|
+
emitter->scalar_data.block_allowed = 1;
|
1657
|
+
|
1658
|
+
if (leading_space || leading_break || trailing_space || trailing_break) {
|
1659
|
+
emitter->scalar_data.flow_plain_allowed = 0;
|
1660
|
+
emitter->scalar_data.block_plain_allowed = 0;
|
1661
|
+
}
|
1662
|
+
|
1663
|
+
if (trailing_space) {
|
1664
|
+
emitter->scalar_data.block_allowed = 0;
|
1665
|
+
}
|
1666
|
+
|
1667
|
+
if (break_space) {
|
1668
|
+
emitter->scalar_data.flow_plain_allowed = 0;
|
1669
|
+
emitter->scalar_data.block_plain_allowed = 0;
|
1670
|
+
emitter->scalar_data.single_quoted_allowed = 0;
|
1671
|
+
}
|
1672
|
+
|
1673
|
+
if (space_break || special_characters) {
|
1674
|
+
emitter->scalar_data.flow_plain_allowed = 0;
|
1675
|
+
emitter->scalar_data.block_plain_allowed = 0;
|
1676
|
+
emitter->scalar_data.single_quoted_allowed = 0;
|
1677
|
+
emitter->scalar_data.block_allowed = 0;
|
1678
|
+
}
|
1679
|
+
|
1680
|
+
if (line_breaks) {
|
1681
|
+
emitter->scalar_data.flow_plain_allowed = 0;
|
1682
|
+
emitter->scalar_data.block_plain_allowed = 0;
|
1683
|
+
}
|
1684
|
+
|
1685
|
+
if (flow_indicators) {
|
1686
|
+
emitter->scalar_data.flow_plain_allowed = 0;
|
1687
|
+
}
|
1688
|
+
|
1689
|
+
if (block_indicators) {
|
1690
|
+
emitter->scalar_data.block_plain_allowed = 0;
|
1691
|
+
}
|
1692
|
+
|
1693
|
+
return 1;
|
1694
|
+
}
|
1695
|
+
|
1696
|
+
/*
|
1697
|
+
* Check if the event data is valid.
|
1698
|
+
*/
|
1699
|
+
|
1700
|
+
static int
|
1701
|
+
yaml_emitter_analyze_event(yaml_emitter_t *emitter,
|
1702
|
+
yaml_event_t *event)
|
1703
|
+
{
|
1704
|
+
emitter->anchor_data.anchor = NULL;
|
1705
|
+
emitter->anchor_data.anchor_length = 0;
|
1706
|
+
emitter->tag_data.handle = NULL;
|
1707
|
+
emitter->tag_data.handle_length = 0;
|
1708
|
+
emitter->tag_data.suffix = NULL;
|
1709
|
+
emitter->tag_data.suffix_length = 0;
|
1710
|
+
emitter->scalar_data.value = NULL;
|
1711
|
+
emitter->scalar_data.length = 0;
|
1712
|
+
|
1713
|
+
switch (event->type)
|
1714
|
+
{
|
1715
|
+
case YAML_ALIAS_EVENT:
|
1716
|
+
if (!yaml_emitter_analyze_anchor(emitter,
|
1717
|
+
event->data.alias.anchor, 1))
|
1718
|
+
return 0;
|
1719
|
+
return 1;
|
1720
|
+
|
1721
|
+
case YAML_SCALAR_EVENT:
|
1722
|
+
if (event->data.scalar.anchor) {
|
1723
|
+
if (!yaml_emitter_analyze_anchor(emitter,
|
1724
|
+
event->data.scalar.anchor, 0))
|
1725
|
+
return 0;
|
1726
|
+
}
|
1727
|
+
if (event->data.scalar.tag && (emitter->canonical ||
|
1728
|
+
(!event->data.scalar.plain_implicit
|
1729
|
+
&& !event->data.scalar.quoted_implicit))) {
|
1730
|
+
if (!yaml_emitter_analyze_tag(emitter, event->data.scalar.tag))
|
1731
|
+
return 0;
|
1732
|
+
}
|
1733
|
+
if (!yaml_emitter_analyze_scalar(emitter,
|
1734
|
+
event->data.scalar.value, event->data.scalar.length))
|
1735
|
+
return 0;
|
1736
|
+
return 1;
|
1737
|
+
|
1738
|
+
case YAML_SEQUENCE_START_EVENT:
|
1739
|
+
if (event->data.sequence_start.anchor) {
|
1740
|
+
if (!yaml_emitter_analyze_anchor(emitter,
|
1741
|
+
event->data.sequence_start.anchor, 0))
|
1742
|
+
return 0;
|
1743
|
+
}
|
1744
|
+
if (event->data.sequence_start.tag && (emitter->canonical ||
|
1745
|
+
!event->data.sequence_start.implicit)) {
|
1746
|
+
if (!yaml_emitter_analyze_tag(emitter,
|
1747
|
+
event->data.sequence_start.tag))
|
1748
|
+
return 0;
|
1749
|
+
}
|
1750
|
+
return 1;
|
1751
|
+
|
1752
|
+
case YAML_MAPPING_START_EVENT:
|
1753
|
+
if (event->data.mapping_start.anchor) {
|
1754
|
+
if (!yaml_emitter_analyze_anchor(emitter,
|
1755
|
+
event->data.mapping_start.anchor, 0))
|
1756
|
+
return 0;
|
1757
|
+
}
|
1758
|
+
if (event->data.mapping_start.tag && (emitter->canonical ||
|
1759
|
+
!event->data.mapping_start.implicit)) {
|
1760
|
+
if (!yaml_emitter_analyze_tag(emitter,
|
1761
|
+
event->data.mapping_start.tag))
|
1762
|
+
return 0;
|
1763
|
+
}
|
1764
|
+
return 1;
|
1765
|
+
|
1766
|
+
default:
|
1767
|
+
return 1;
|
1768
|
+
}
|
1769
|
+
}
|
1770
|
+
|
1771
|
+
/*
|
1772
|
+
* Write the BOM character.
|
1773
|
+
*/
|
1774
|
+
|
1775
|
+
static int
|
1776
|
+
yaml_emitter_write_bom(yaml_emitter_t *emitter)
|
1777
|
+
{
|
1778
|
+
if (!FLUSH(emitter)) return 0;
|
1779
|
+
|
1780
|
+
*(emitter->buffer.pointer++) = (yaml_char_t) '\xEF';
|
1781
|
+
*(emitter->buffer.pointer++) = (yaml_char_t) '\xBB';
|
1782
|
+
*(emitter->buffer.pointer++) = (yaml_char_t) '\xBF';
|
1783
|
+
|
1784
|
+
return 1;
|
1785
|
+
}
|
1786
|
+
|
1787
|
+
static int
|
1788
|
+
yaml_emitter_write_indent(yaml_emitter_t *emitter)
|
1789
|
+
{
|
1790
|
+
int indent = (emitter->indent >= 0) ? emitter->indent : 0;
|
1791
|
+
|
1792
|
+
if (!emitter->indention || emitter->column > indent
|
1793
|
+
|| (emitter->column == indent && !emitter->whitespace)) {
|
1794
|
+
if (!PUT_BREAK(emitter)) return 0;
|
1795
|
+
}
|
1796
|
+
|
1797
|
+
while (emitter->column < indent) {
|
1798
|
+
if (!PUT(emitter, ' ')) return 0;
|
1799
|
+
}
|
1800
|
+
|
1801
|
+
emitter->whitespace = 1;
|
1802
|
+
emitter->indention = 1;
|
1803
|
+
|
1804
|
+
return 1;
|
1805
|
+
}
|
1806
|
+
|
1807
|
+
static int
|
1808
|
+
yaml_emitter_write_indicator(yaml_emitter_t *emitter,
|
1809
|
+
const char *indicator, int need_whitespace,
|
1810
|
+
int is_whitespace, int is_indention)
|
1811
|
+
{
|
1812
|
+
size_t indicator_length;
|
1813
|
+
yaml_string_t string;
|
1814
|
+
|
1815
|
+
indicator_length = strlen(indicator);
|
1816
|
+
STRING_ASSIGN(string, (yaml_char_t *)indicator, indicator_length);
|
1817
|
+
|
1818
|
+
if (need_whitespace && !emitter->whitespace) {
|
1819
|
+
if (!PUT(emitter, ' ')) return 0;
|
1820
|
+
}
|
1821
|
+
|
1822
|
+
while (string.pointer != string.end) {
|
1823
|
+
if (!WRITE(emitter, string)) return 0;
|
1824
|
+
}
|
1825
|
+
|
1826
|
+
emitter->whitespace = is_whitespace;
|
1827
|
+
emitter->indention = (emitter->indention && is_indention);
|
1828
|
+
|
1829
|
+
return 1;
|
1830
|
+
}
|
1831
|
+
|
1832
|
+
static int
|
1833
|
+
yaml_emitter_write_anchor(yaml_emitter_t *emitter,
|
1834
|
+
yaml_char_t *value, size_t length)
|
1835
|
+
{
|
1836
|
+
yaml_string_t string;
|
1837
|
+
STRING_ASSIGN(string, value, length);
|
1838
|
+
|
1839
|
+
while (string.pointer != string.end) {
|
1840
|
+
if (!WRITE(emitter, string)) return 0;
|
1841
|
+
}
|
1842
|
+
|
1843
|
+
emitter->whitespace = 0;
|
1844
|
+
emitter->indention = 0;
|
1845
|
+
|
1846
|
+
return 1;
|
1847
|
+
}
|
1848
|
+
|
1849
|
+
static int
|
1850
|
+
yaml_emitter_write_tag_handle(yaml_emitter_t *emitter,
|
1851
|
+
yaml_char_t *value, size_t length)
|
1852
|
+
{
|
1853
|
+
yaml_string_t string;
|
1854
|
+
STRING_ASSIGN(string, value, length);
|
1855
|
+
|
1856
|
+
if (!emitter->whitespace) {
|
1857
|
+
if (!PUT(emitter, ' ')) return 0;
|
1858
|
+
}
|
1859
|
+
|
1860
|
+
while (string.pointer != string.end) {
|
1861
|
+
if (!WRITE(emitter, string)) return 0;
|
1862
|
+
}
|
1863
|
+
|
1864
|
+
emitter->whitespace = 0;
|
1865
|
+
emitter->indention = 0;
|
1866
|
+
|
1867
|
+
return 1;
|
1868
|
+
}
|
1869
|
+
|
1870
|
+
static int
|
1871
|
+
yaml_emitter_write_tag_content(yaml_emitter_t *emitter,
|
1872
|
+
yaml_char_t *value, size_t length,
|
1873
|
+
int need_whitespace)
|
1874
|
+
{
|
1875
|
+
yaml_string_t string;
|
1876
|
+
STRING_ASSIGN(string, value, length);
|
1877
|
+
|
1878
|
+
if (need_whitespace && !emitter->whitespace) {
|
1879
|
+
if (!PUT(emitter, ' ')) return 0;
|
1880
|
+
}
|
1881
|
+
|
1882
|
+
while (string.pointer != string.end) {
|
1883
|
+
if (IS_ALPHA(string)
|
1884
|
+
|| CHECK(string, ';') || CHECK(string, '/')
|
1885
|
+
|| CHECK(string, '?') || CHECK(string, ':')
|
1886
|
+
|| CHECK(string, '@') || CHECK(string, '&')
|
1887
|
+
|| CHECK(string, '=') || CHECK(string, '+')
|
1888
|
+
|| CHECK(string, '$') || CHECK(string, ',')
|
1889
|
+
|| CHECK(string, '_') || CHECK(string, '.')
|
1890
|
+
|| CHECK(string, '~') || CHECK(string, '*')
|
1891
|
+
|| CHECK(string, '\'') || CHECK(string, '(')
|
1892
|
+
|| CHECK(string, ')') || CHECK(string, '[')
|
1893
|
+
|| CHECK(string, ']')) {
|
1894
|
+
if (!WRITE(emitter, string)) return 0;
|
1895
|
+
}
|
1896
|
+
else {
|
1897
|
+
int width = WIDTH(string);
|
1898
|
+
unsigned int value;
|
1899
|
+
while (width --) {
|
1900
|
+
value = *(string.pointer++);
|
1901
|
+
if (!PUT(emitter, '%')) return 0;
|
1902
|
+
if (!PUT(emitter, (value >> 4)
|
1903
|
+
+ ((value >> 4) < 10 ? '0' : 'A' - 10)))
|
1904
|
+
return 0;
|
1905
|
+
if (!PUT(emitter, (value & 0x0F)
|
1906
|
+
+ ((value & 0x0F) < 10 ? '0' : 'A' - 10)))
|
1907
|
+
return 0;
|
1908
|
+
}
|
1909
|
+
}
|
1910
|
+
}
|
1911
|
+
|
1912
|
+
emitter->whitespace = 0;
|
1913
|
+
emitter->indention = 0;
|
1914
|
+
|
1915
|
+
return 1;
|
1916
|
+
}
|
1917
|
+
|
1918
|
+
static int
|
1919
|
+
yaml_emitter_write_plain_scalar(yaml_emitter_t *emitter,
|
1920
|
+
yaml_char_t *value, size_t length, int allow_breaks)
|
1921
|
+
{
|
1922
|
+
yaml_string_t string;
|
1923
|
+
int spaces = 0;
|
1924
|
+
int breaks = 0;
|
1925
|
+
|
1926
|
+
STRING_ASSIGN(string, value, length);
|
1927
|
+
|
1928
|
+
/**
|
1929
|
+
* Avoid trailing spaces for empty values in block mode.
|
1930
|
+
* In flow mode, we still want the space to prevent ambiguous things
|
1931
|
+
* like {a:}.
|
1932
|
+
* Currently, the emitter forbids any plain empty scalar in flow mode
|
1933
|
+
* (e.g. it outputs {a: ''} instead), so emitter->flow_level will
|
1934
|
+
* never be true here.
|
1935
|
+
* But if the emitter is ever changed to allow emitting empty values,
|
1936
|
+
* the check for flow_level is already here.
|
1937
|
+
*/
|
1938
|
+
if (!emitter->whitespace && (length || emitter->flow_level)) {
|
1939
|
+
if (!PUT(emitter, ' ')) return 0;
|
1940
|
+
}
|
1941
|
+
|
1942
|
+
while (string.pointer != string.end)
|
1943
|
+
{
|
1944
|
+
if (IS_SPACE(string))
|
1945
|
+
{
|
1946
|
+
if (allow_breaks && !spaces
|
1947
|
+
&& emitter->column > emitter->best_width
|
1948
|
+
&& !IS_SPACE_AT(string, 1)) {
|
1949
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
1950
|
+
MOVE(string);
|
1951
|
+
}
|
1952
|
+
else {
|
1953
|
+
if (!WRITE(emitter, string)) return 0;
|
1954
|
+
}
|
1955
|
+
spaces = 1;
|
1956
|
+
}
|
1957
|
+
else if (IS_BREAK(string))
|
1958
|
+
{
|
1959
|
+
if (!breaks && CHECK(string, '\n')) {
|
1960
|
+
if (!PUT_BREAK(emitter)) return 0;
|
1961
|
+
}
|
1962
|
+
if (!WRITE_BREAK(emitter, string)) return 0;
|
1963
|
+
emitter->indention = 1;
|
1964
|
+
breaks = 1;
|
1965
|
+
}
|
1966
|
+
else
|
1967
|
+
{
|
1968
|
+
if (breaks) {
|
1969
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
1970
|
+
}
|
1971
|
+
if (!WRITE(emitter, string)) return 0;
|
1972
|
+
emitter->indention = 0;
|
1973
|
+
spaces = 0;
|
1974
|
+
breaks = 0;
|
1975
|
+
}
|
1976
|
+
}
|
1977
|
+
|
1978
|
+
emitter->whitespace = 0;
|
1979
|
+
emitter->indention = 0;
|
1980
|
+
|
1981
|
+
return 1;
|
1982
|
+
}
|
1983
|
+
|
1984
|
+
static int
|
1985
|
+
yaml_emitter_write_single_quoted_scalar(yaml_emitter_t *emitter,
|
1986
|
+
yaml_char_t *value, size_t length, int allow_breaks)
|
1987
|
+
{
|
1988
|
+
yaml_string_t string;
|
1989
|
+
int spaces = 0;
|
1990
|
+
int breaks = 0;
|
1991
|
+
|
1992
|
+
STRING_ASSIGN(string, value, length);
|
1993
|
+
|
1994
|
+
if (!yaml_emitter_write_indicator(emitter, "'", 1, 0, 0))
|
1995
|
+
return 0;
|
1996
|
+
|
1997
|
+
while (string.pointer != string.end)
|
1998
|
+
{
|
1999
|
+
if (IS_SPACE(string))
|
2000
|
+
{
|
2001
|
+
if (allow_breaks && !spaces
|
2002
|
+
&& emitter->column > emitter->best_width
|
2003
|
+
&& string.pointer != string.start
|
2004
|
+
&& string.pointer != string.end - 1
|
2005
|
+
&& !IS_SPACE_AT(string, 1)) {
|
2006
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
2007
|
+
MOVE(string);
|
2008
|
+
}
|
2009
|
+
else {
|
2010
|
+
if (!WRITE(emitter, string)) return 0;
|
2011
|
+
}
|
2012
|
+
spaces = 1;
|
2013
|
+
}
|
2014
|
+
else if (IS_BREAK(string))
|
2015
|
+
{
|
2016
|
+
if (!breaks && CHECK(string, '\n')) {
|
2017
|
+
if (!PUT_BREAK(emitter)) return 0;
|
2018
|
+
}
|
2019
|
+
if (!WRITE_BREAK(emitter, string)) return 0;
|
2020
|
+
emitter->indention = 1;
|
2021
|
+
breaks = 1;
|
2022
|
+
}
|
2023
|
+
else
|
2024
|
+
{
|
2025
|
+
if (breaks) {
|
2026
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
2027
|
+
}
|
2028
|
+
if (CHECK(string, '\'')) {
|
2029
|
+
if (!PUT(emitter, '\'')) return 0;
|
2030
|
+
}
|
2031
|
+
if (!WRITE(emitter, string)) return 0;
|
2032
|
+
emitter->indention = 0;
|
2033
|
+
spaces = 0;
|
2034
|
+
breaks = 0;
|
2035
|
+
}
|
2036
|
+
}
|
2037
|
+
|
2038
|
+
if (breaks)
|
2039
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
2040
|
+
|
2041
|
+
if (!yaml_emitter_write_indicator(emitter, "'", 0, 0, 0))
|
2042
|
+
return 0;
|
2043
|
+
|
2044
|
+
emitter->whitespace = 0;
|
2045
|
+
emitter->indention = 0;
|
2046
|
+
|
2047
|
+
return 1;
|
2048
|
+
}
|
2049
|
+
|
2050
|
+
static int
|
2051
|
+
yaml_emitter_write_double_quoted_scalar(yaml_emitter_t *emitter,
|
2052
|
+
yaml_char_t *value, size_t length, int allow_breaks)
|
2053
|
+
{
|
2054
|
+
yaml_string_t string;
|
2055
|
+
int spaces = 0;
|
2056
|
+
|
2057
|
+
STRING_ASSIGN(string, value, length);
|
2058
|
+
|
2059
|
+
if (!yaml_emitter_write_indicator(emitter, "\"", 1, 0, 0))
|
2060
|
+
return 0;
|
2061
|
+
|
2062
|
+
while (string.pointer != string.end)
|
2063
|
+
{
|
2064
|
+
if (!IS_PRINTABLE(string) || (!emitter->unicode && !IS_ASCII(string))
|
2065
|
+
|| IS_BOM(string) || IS_BREAK(string)
|
2066
|
+
|| CHECK(string, '"') || CHECK(string, '\\'))
|
2067
|
+
{
|
2068
|
+
unsigned char octet;
|
2069
|
+
unsigned int width;
|
2070
|
+
unsigned int value;
|
2071
|
+
int k;
|
2072
|
+
|
2073
|
+
octet = string.pointer[0];
|
2074
|
+
width = (octet & 0x80) == 0x00 ? 1 :
|
2075
|
+
(octet & 0xE0) == 0xC0 ? 2 :
|
2076
|
+
(octet & 0xF0) == 0xE0 ? 3 :
|
2077
|
+
(octet & 0xF8) == 0xF0 ? 4 : 0;
|
2078
|
+
value = (octet & 0x80) == 0x00 ? octet & 0x7F :
|
2079
|
+
(octet & 0xE0) == 0xC0 ? octet & 0x1F :
|
2080
|
+
(octet & 0xF0) == 0xE0 ? octet & 0x0F :
|
2081
|
+
(octet & 0xF8) == 0xF0 ? octet & 0x07 : 0;
|
2082
|
+
for (k = 1; k < (int)width; k ++) {
|
2083
|
+
octet = string.pointer[k];
|
2084
|
+
value = (value << 6) + (octet & 0x3F);
|
2085
|
+
}
|
2086
|
+
string.pointer += width;
|
2087
|
+
|
2088
|
+
if (!PUT(emitter, '\\')) return 0;
|
2089
|
+
|
2090
|
+
switch (value)
|
2091
|
+
{
|
2092
|
+
case 0x00:
|
2093
|
+
if (!PUT(emitter, '0')) return 0;
|
2094
|
+
break;
|
2095
|
+
|
2096
|
+
case 0x07:
|
2097
|
+
if (!PUT(emitter, 'a')) return 0;
|
2098
|
+
break;
|
2099
|
+
|
2100
|
+
case 0x08:
|
2101
|
+
if (!PUT(emitter, 'b')) return 0;
|
2102
|
+
break;
|
2103
|
+
|
2104
|
+
case 0x09:
|
2105
|
+
if (!PUT(emitter, 't')) return 0;
|
2106
|
+
break;
|
2107
|
+
|
2108
|
+
case 0x0A:
|
2109
|
+
if (!PUT(emitter, 'n')) return 0;
|
2110
|
+
break;
|
2111
|
+
|
2112
|
+
case 0x0B:
|
2113
|
+
if (!PUT(emitter, 'v')) return 0;
|
2114
|
+
break;
|
2115
|
+
|
2116
|
+
case 0x0C:
|
2117
|
+
if (!PUT(emitter, 'f')) return 0;
|
2118
|
+
break;
|
2119
|
+
|
2120
|
+
case 0x0D:
|
2121
|
+
if (!PUT(emitter, 'r')) return 0;
|
2122
|
+
break;
|
2123
|
+
|
2124
|
+
case 0x1B:
|
2125
|
+
if (!PUT(emitter, 'e')) return 0;
|
2126
|
+
break;
|
2127
|
+
|
2128
|
+
case 0x22:
|
2129
|
+
if (!PUT(emitter, '\"')) return 0;
|
2130
|
+
break;
|
2131
|
+
|
2132
|
+
case 0x5C:
|
2133
|
+
if (!PUT(emitter, '\\')) return 0;
|
2134
|
+
break;
|
2135
|
+
|
2136
|
+
case 0x85:
|
2137
|
+
if (!PUT(emitter, 'N')) return 0;
|
2138
|
+
break;
|
2139
|
+
|
2140
|
+
case 0xA0:
|
2141
|
+
if (!PUT(emitter, '_')) return 0;
|
2142
|
+
break;
|
2143
|
+
|
2144
|
+
case 0x2028:
|
2145
|
+
if (!PUT(emitter, 'L')) return 0;
|
2146
|
+
break;
|
2147
|
+
|
2148
|
+
case 0x2029:
|
2149
|
+
if (!PUT(emitter, 'P')) return 0;
|
2150
|
+
break;
|
2151
|
+
|
2152
|
+
default:
|
2153
|
+
if (value <= 0xFF) {
|
2154
|
+
if (!PUT(emitter, 'x')) return 0;
|
2155
|
+
width = 2;
|
2156
|
+
}
|
2157
|
+
else if (value <= 0xFFFF) {
|
2158
|
+
if (!PUT(emitter, 'u')) return 0;
|
2159
|
+
width = 4;
|
2160
|
+
}
|
2161
|
+
else {
|
2162
|
+
if (!PUT(emitter, 'U')) return 0;
|
2163
|
+
width = 8;
|
2164
|
+
}
|
2165
|
+
for (k = (width-1)*4; k >= 0; k -= 4) {
|
2166
|
+
int digit = (value >> k) & 0x0F;
|
2167
|
+
if (!PUT(emitter, digit + (digit < 10 ? '0' : 'A'-10)))
|
2168
|
+
return 0;
|
2169
|
+
}
|
2170
|
+
}
|
2171
|
+
spaces = 0;
|
2172
|
+
}
|
2173
|
+
else if (IS_SPACE(string))
|
2174
|
+
{
|
2175
|
+
if (allow_breaks && !spaces
|
2176
|
+
&& emitter->column > emitter->best_width
|
2177
|
+
&& string.pointer != string.start
|
2178
|
+
&& string.pointer != string.end - 1) {
|
2179
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
2180
|
+
if (IS_SPACE_AT(string, 1)) {
|
2181
|
+
if (!PUT(emitter, '\\')) return 0;
|
2182
|
+
}
|
2183
|
+
MOVE(string);
|
2184
|
+
}
|
2185
|
+
else {
|
2186
|
+
if (!WRITE(emitter, string)) return 0;
|
2187
|
+
}
|
2188
|
+
spaces = 1;
|
2189
|
+
}
|
2190
|
+
else
|
2191
|
+
{
|
2192
|
+
if (!WRITE(emitter, string)) return 0;
|
2193
|
+
spaces = 0;
|
2194
|
+
}
|
2195
|
+
}
|
2196
|
+
|
2197
|
+
if (!yaml_emitter_write_indicator(emitter, "\"", 0, 0, 0))
|
2198
|
+
return 0;
|
2199
|
+
|
2200
|
+
emitter->whitespace = 0;
|
2201
|
+
emitter->indention = 0;
|
2202
|
+
|
2203
|
+
return 1;
|
2204
|
+
}
|
2205
|
+
|
2206
|
+
static int
|
2207
|
+
yaml_emitter_write_block_scalar_hints(yaml_emitter_t *emitter,
|
2208
|
+
yaml_string_t string)
|
2209
|
+
{
|
2210
|
+
char indent_hint[2];
|
2211
|
+
const char *chomp_hint = NULL;
|
2212
|
+
|
2213
|
+
if (IS_SPACE(string) || IS_BREAK(string))
|
2214
|
+
{
|
2215
|
+
indent_hint[0] = '0' + (char)emitter->best_indent;
|
2216
|
+
indent_hint[1] = '\0';
|
2217
|
+
if (!yaml_emitter_write_indicator(emitter, indent_hint, 0, 0, 0))
|
2218
|
+
return 0;
|
2219
|
+
}
|
2220
|
+
|
2221
|
+
emitter->open_ended = 0;
|
2222
|
+
|
2223
|
+
string.pointer = string.end;
|
2224
|
+
if (string.start == string.pointer)
|
2225
|
+
{
|
2226
|
+
chomp_hint = "-";
|
2227
|
+
}
|
2228
|
+
else
|
2229
|
+
{
|
2230
|
+
do {
|
2231
|
+
string.pointer --;
|
2232
|
+
} while ((*string.pointer & 0xC0) == 0x80);
|
2233
|
+
if (!IS_BREAK(string))
|
2234
|
+
{
|
2235
|
+
chomp_hint = "-";
|
2236
|
+
}
|
2237
|
+
else if (string.start == string.pointer)
|
2238
|
+
{
|
2239
|
+
chomp_hint = "+";
|
2240
|
+
emitter->open_ended = 2;
|
2241
|
+
}
|
2242
|
+
else
|
2243
|
+
{
|
2244
|
+
do {
|
2245
|
+
string.pointer --;
|
2246
|
+
} while ((*string.pointer & 0xC0) == 0x80);
|
2247
|
+
if (IS_BREAK(string))
|
2248
|
+
{
|
2249
|
+
chomp_hint = "+";
|
2250
|
+
emitter->open_ended = 2;
|
2251
|
+
}
|
2252
|
+
}
|
2253
|
+
}
|
2254
|
+
|
2255
|
+
if (chomp_hint)
|
2256
|
+
{
|
2257
|
+
if (!yaml_emitter_write_indicator(emitter, chomp_hint, 0, 0, 0))
|
2258
|
+
return 0;
|
2259
|
+
}
|
2260
|
+
|
2261
|
+
return 1;
|
2262
|
+
}
|
2263
|
+
|
2264
|
+
static int
|
2265
|
+
yaml_emitter_write_literal_scalar(yaml_emitter_t *emitter,
|
2266
|
+
yaml_char_t *value, size_t length)
|
2267
|
+
{
|
2268
|
+
yaml_string_t string;
|
2269
|
+
int breaks = 1;
|
2270
|
+
|
2271
|
+
STRING_ASSIGN(string, value, length);
|
2272
|
+
|
2273
|
+
if (!yaml_emitter_write_indicator(emitter, "|", 1, 0, 0))
|
2274
|
+
return 0;
|
2275
|
+
if (!yaml_emitter_write_block_scalar_hints(emitter, string))
|
2276
|
+
return 0;
|
2277
|
+
if (!PUT_BREAK(emitter)) return 0;
|
2278
|
+
emitter->indention = 1;
|
2279
|
+
emitter->whitespace = 1;
|
2280
|
+
|
2281
|
+
while (string.pointer != string.end)
|
2282
|
+
{
|
2283
|
+
if (IS_BREAK(string))
|
2284
|
+
{
|
2285
|
+
if (!WRITE_BREAK(emitter, string)) return 0;
|
2286
|
+
emitter->indention = 1;
|
2287
|
+
breaks = 1;
|
2288
|
+
}
|
2289
|
+
else
|
2290
|
+
{
|
2291
|
+
if (breaks) {
|
2292
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
2293
|
+
}
|
2294
|
+
if (!WRITE(emitter, string)) return 0;
|
2295
|
+
emitter->indention = 0;
|
2296
|
+
breaks = 0;
|
2297
|
+
}
|
2298
|
+
}
|
2299
|
+
|
2300
|
+
return 1;
|
2301
|
+
}
|
2302
|
+
|
2303
|
+
static int
|
2304
|
+
yaml_emitter_write_folded_scalar(yaml_emitter_t *emitter,
|
2305
|
+
yaml_char_t *value, size_t length)
|
2306
|
+
{
|
2307
|
+
yaml_string_t string;
|
2308
|
+
int breaks = 1;
|
2309
|
+
int leading_spaces = 1;
|
2310
|
+
|
2311
|
+
STRING_ASSIGN(string, value, length);
|
2312
|
+
|
2313
|
+
if (!yaml_emitter_write_indicator(emitter, ">", 1, 0, 0))
|
2314
|
+
return 0;
|
2315
|
+
if (!yaml_emitter_write_block_scalar_hints(emitter, string))
|
2316
|
+
return 0;
|
2317
|
+
if (!PUT_BREAK(emitter)) return 0;
|
2318
|
+
emitter->indention = 1;
|
2319
|
+
emitter->whitespace = 1;
|
2320
|
+
|
2321
|
+
while (string.pointer != string.end)
|
2322
|
+
{
|
2323
|
+
if (IS_BREAK(string))
|
2324
|
+
{
|
2325
|
+
if (!breaks && !leading_spaces && CHECK(string, '\n')) {
|
2326
|
+
int k = 0;
|
2327
|
+
while (IS_BREAK_AT(string, k)) {
|
2328
|
+
k += WIDTH_AT(string, k);
|
2329
|
+
}
|
2330
|
+
if (!IS_BLANKZ_AT(string, k)) {
|
2331
|
+
if (!PUT_BREAK(emitter)) return 0;
|
2332
|
+
}
|
2333
|
+
}
|
2334
|
+
if (!WRITE_BREAK(emitter, string)) return 0;
|
2335
|
+
emitter->indention = 1;
|
2336
|
+
breaks = 1;
|
2337
|
+
}
|
2338
|
+
else
|
2339
|
+
{
|
2340
|
+
if (breaks) {
|
2341
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
2342
|
+
leading_spaces = IS_BLANK(string);
|
2343
|
+
}
|
2344
|
+
if (!breaks && IS_SPACE(string) && !IS_SPACE_AT(string, 1)
|
2345
|
+
&& emitter->column > emitter->best_width) {
|
2346
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
2347
|
+
MOVE(string);
|
2348
|
+
}
|
2349
|
+
else {
|
2350
|
+
if (!WRITE(emitter, string)) return 0;
|
2351
|
+
}
|
2352
|
+
emitter->indention = 0;
|
2353
|
+
breaks = 0;
|
2354
|
+
}
|
2355
|
+
}
|
2356
|
+
|
2357
|
+
return 1;
|
2358
|
+
}
|