mumukit-content-type 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mumukit/content_type/version.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/bin/htmldiff +29 -0
- data/vendor/bundle/ruby/2.7.0/bin/ldiff +29 -0
- data/vendor/bundle/ruby/2.7.0/bin/nokogiri +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/racc +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/rake +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/redcarpet +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/rougify +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/rspec +27 -0
- data/vendor/bundle/ruby/2.7.0/cache/activesupport-6.0.6.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/concurrent-ruby-1.2.2.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/crass-1.0.6.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/diff-lcs-1.5.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/i18n-0.9.5.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/minitest-5.18.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/mumuki-emojis-1.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/mumukit-core-1.19.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/nokogiri-1.14.2-x86_64-linux.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/racc-1.6.2.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rack-3.0.7.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rake-12.3.3.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/redcarpet-3.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rouge-3.30.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rspec-3.12.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rspec-core-3.12.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rspec-expectations-3.12.2.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rspec-mocks-3.12.5.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rspec-support-3.12.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/sanitize-6.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/thread_safe-0.3.6.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/tzinfo-1.2.11.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/zeitwerk-2.6.7.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/racc-1.6.2/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/racc-1.6.2/gem_make.out +17 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/racc-1.6.2/mkmf.log +57 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/racc-1.6.2/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/redcarpet-3.6.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/redcarpet-3.6.0/gem_make.out +38 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/redcarpet-3.6.0/redcarpet.so +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/CHANGELOG.md +782 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/README.rdoc +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/actionable_error.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/all.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/array_inquirer.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/backtrace_cleaner.rb +131 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/benchmarkable.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/builder.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/cache/file_store.rb +196 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/cache/mem_cache_store.rb +203 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/cache/memory_store.rb +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/cache/null_store.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/cache/redis_cache_store.rb +493 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/cache/strategy/local_cache.rb +194 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/cache/strategy/local_cache_middleware.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/cache.rb +831 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/callbacks.rb +853 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/concern.rb +171 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/concurrency/share_lock.rb +226 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/configurable.rb +146 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/array/access.rb +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/array/conversions.rb +213 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/array/extract.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/array/extract_options.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/array/grouping.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/array/inquiry.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/array/prepend_and_append.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/array/wrap.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/array.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/benchmark.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/big_decimal/conversions.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/big_decimal.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/class/attribute.rb +141 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/class/attribute_accessors.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/class/subclasses.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/class.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/date/acts_like.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/date/blank.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/date/calculations.rb +146 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/date/conversions.rb +96 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/date/zones.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/date.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/date_and_time/calculations.rb +351 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/date_and_time/compatibility.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/date_and_time/zones.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/date_time/acts_like.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/date_time/blank.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/date_time/calculations.rb +211 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/date_time/compatibility.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/date_time/conversions.rb +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/date_time.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/digest/uuid.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/digest.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/enumerable.rb +188 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/file/atomic.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/file.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/hash/compact.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/hash/conversions.rb +263 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/hash/deep_merge.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/hash/deep_transform_values.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/hash/except.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/hash/keys.rb +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/hash/reverse_merge.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/hash/slice.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/hash/transform_values.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/hash.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/integer/inflections.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/integer/multiple.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/integer/time.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/integer.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/kernel/concern.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/kernel/reporting.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/kernel/singleton_class.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/kernel.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/load_error.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/marshal.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/module/aliasing.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/module/anonymous.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/module/attr_internal.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/module/attribute_accessors.rb +212 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +144 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/module/concerning.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/module/delegation.rb +320 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/module/deprecation.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/module/introspection.rb +87 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/module/reachable.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/module/redefine_method.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/module/remove_method.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/module.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/name_error.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/numeric/bytes.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/numeric/conversions.rb +136 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/numeric/inquiry.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/numeric/time.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/numeric.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/object/acts_like.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/object/blank.rb +155 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/object/conversions.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/object/deep_dup.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/object/duplicable.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/object/inclusion.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/object/instance_variables.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/object/json.rb +228 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/object/to_param.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/object/to_query.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/object/try.rb +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/object/with_options.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/object.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/range/compare_range.rb +76 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/range/conversions.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/range/each.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/range/include_range.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/range/include_time_with_zone.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/range/overlaps.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/range.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/regexp.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/securerandom.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/string/access.rb +114 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/string/behavior.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/string/conversions.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/string/exclude.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/string/filters.rb +145 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/string/indent.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/string/inflections.rb +259 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/string/inquiry.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/string/multibyte.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/string/output_safety.rb +344 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/string/starts_ends_with.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/string/strip.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/string/zones.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/string.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/time/acts_like.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/time/calculations.rb +346 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/time/compatibility.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/time/conversions.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/time/zones.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/time.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/uri.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/current_attributes.rb +203 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/dependencies/autoload.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/dependencies/interlock.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/dependencies/zeitwerk_integration.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/dependencies.rb +809 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/deprecation/behaviors.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/deprecation/constant_accessor.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/deprecation/instance_delegator.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/deprecation/method_wrappers.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/deprecation/proxy_wrappers.rb +177 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/deprecation/reporting.rb +114 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/deprecation.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/descendants_tracker.rb +108 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/digest.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/duration/iso8601_parser.rb +123 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/duration/iso8601_serializer.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/duration.rb +435 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/encrypted_configuration.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/encrypted_file.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/evented_file_update_checker.rb +234 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/execution_wrapper.rb +132 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/executor.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/file_update_checker.rb +162 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/gem_version.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/gzip.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/hash_with_indifferent_access.rb +399 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/i18n.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/i18n_railtie.rb +130 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/inflections.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/inflector/inflections.rb +256 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/inflector/methods.rb +397 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/inflector/transliterate.rb +147 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/inflector.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/json/decoding.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/json/encoding.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/json.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/key_generator.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/lazy_load_hooks.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/locale/en.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/locale/en.yml +135 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/log_subscriber/test_helper.rb +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/log_subscriber.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/logger.rb +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/logger_silence.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/logger_thread_safe_level.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/message_encryptor.rb +227 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/message_verifier.rb +205 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/messages/metadata.rb +80 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/messages/rotation_configuration.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/messages/rotator.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/multibyte/chars.rb +215 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/multibyte/unicode.rb +156 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/multibyte.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/notifications/fanout.rb +244 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/notifications/instrumenter.rb +164 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/notifications.rb +253 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/number_helper/number_converter.rb +183 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/number_helper/number_to_currency_converter.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/number_helper/number_to_delimited_converter.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/number_helper/number_to_human_converter.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/number_helper/number_to_human_size_converter.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/number_helper/number_to_percentage_converter.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/number_helper/number_to_phone_converter.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/number_helper/number_to_rounded_converter.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/number_helper/rounding_helper.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/number_helper.rb +382 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/option_merger.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/ordered_hash.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/ordered_options.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/parameter_filter.rb +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/per_thread_registry.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/proxy_object.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/rails.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/railtie.rb +80 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/reloader.rb +130 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/rescuable.rb +174 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/security_utils.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/string_inquirer.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/subscriber.rb +169 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/tagged_logging.rb +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/test_case.rb +163 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/testing/assertions.rb +228 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/testing/autorun.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/testing/constant_lookup.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/testing/declarative.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/testing/deprecation.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/testing/file_fixtures.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/testing/isolation.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/testing/method_call_assertions.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/testing/parallelization.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/testing/setup_and_teardown.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/testing/stream.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/testing/tagged_logging.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/testing/time_helpers.rb +198 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/time.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/time_with_zone.rb +561 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/values/time_zone.rb +570 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/version.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/xml_mini/jdom.rb +182 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/xml_mini/libxml.rb +80 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/xml_mini/libxmlsax.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/xml_mini/nokogiri.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/xml_mini/nokogirisax.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/xml_mini/rexml.rb +130 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/xml_mini.rb +201 -0
- data/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support.rb +96 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/CHANGELOG.md +561 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/Gemfile +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/README.md +405 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/Rakefile +319 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/ConcurrentRubyService.java +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/AtomicReferenceLibrary.java +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/JRubyMapBackendLibrary.java +248 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicBooleanLibrary.java +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java +189 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/SynchronizationLibrary.java +292 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/agent.rb +588 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/array.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/async.rb +449 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atom.rb +222 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb +127 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb +144 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb +167 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb +135 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/event.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/java_count_down_latch.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/locals.rb +189 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/lock_local_var.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb +131 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb +255 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb +379 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/semaphore.rb +163 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic_reference/atomic_direct_update.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomics.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb +160 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb +148 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/map/truffleruby_map_backend.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb +160 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/deprecation.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/logging.rb +116 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/obligation.rb +220 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/observable.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concurrent_ruby.jar +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/configuration.rb +105 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/constants.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/dataflow.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/delay.rb +199 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/errors.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/exchanger.rb +353 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb +131 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/executor_service.rb +185 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb +220 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/java_executor_service.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/java_single_thread_executor.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb +140 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb +366 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/timer_set.rb +172 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executors.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/future.rb +141 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/hash.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/immutable_struct.rb +101 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/ivar.rb +208 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/map.rb +350 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/maybe.rb +229 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/mutable_struct.rb +239 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/mvar.rb +242 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/options.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/promise.rb +580 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/promises.rb +2168 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/re_include.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/scheduled_task.rb +331 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/set.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/settable_struct.rb +139 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb +171 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/condition.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/full_memory_barrier.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/jruby_lockable_object.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/lock.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/lockable_object.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/object.rb +151 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/safe_initialization.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/volatile.rb +101 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util/cheap_lockable.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/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.2.2/lib/concurrent-ruby/concurrent/thread_safe/util/striped64.rb +246 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/timer_task.rb +311 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/tuple.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/tvar.rb +222 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/engine.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/monotonic_time.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb +77 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/native_integer.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/processor_counter.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent-ruby.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/crass-1.0.6/Gemfile +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/crass-1.0.6/HISTORY.md +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/crass-1.0.6/LICENSE +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/crass-1.0.6/README.md +192 -0
- data/vendor/bundle/ruby/2.7.0/gems/crass-1.0.6/Rakefile +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/crass-1.0.6/crass.gemspec +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/crass-1.0.6/lib/crass/parser.rb +648 -0
- data/vendor/bundle/ruby/2.7.0/gems/crass-1.0.6/lib/crass/scanner.rb +125 -0
- data/vendor/bundle/ruby/2.7.0/gems/crass-1.0.6/lib/crass/token-scanner.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/crass-1.0.6/lib/crass/tokenizer.rb +708 -0
- data/vendor/bundle/ruby/2.7.0/gems/crass-1.0.6/lib/crass/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/crass-1.0.6/lib/crass.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/Code-of-Conduct.md +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/Contributing.md +119 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/History.md +400 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/License.md +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/Manifest.txt +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/README.rdoc +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/Rakefile +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/bin/htmldiff +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/bin/ldiff +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/callbacks.rb +325 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/change.rb +174 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/htmldiff.rb +150 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/hunk.rb +358 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/internals.rb +308 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/ldiff.rb +171 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs.rb +739 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/change_spec.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/diff_spec.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/aX +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/bXaX +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-c +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-e +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-f +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-u +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-c +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-e +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-f +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-u +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2 +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-c +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-d +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-e +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-f +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-u +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/new-chef +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/new-chef2 +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/old-chef +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/old-chef2 +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/hunk_spec.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/issues_spec.rb +154 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/ldiff_spec.rb +87 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/patch_spec.rb +416 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/spec_helper.rb +374 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/traverse_sequences_spec.rb +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/README.md +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-3.2.x +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-4.0.x +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-4.1.x +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-4.2.x +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-5.0.x +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-5.1.x +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-master +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/backend/base.rb +255 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/backend/cache.rb +114 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/backend/cascade.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/backend/chain.rb +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/backend/fallbacks.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/backend/flatten.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/backend/gettext.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/backend/interpolation_compiler.rb +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/backend/key_value.rb +177 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/backend/memoize.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/backend/metadata.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/backend/pluralization.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/backend/simple.rb +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/backend/transliterator.rb +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/backend.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/config.rb +147 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/core_ext/hash.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/core_ext/kernel/suppress_warnings.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/core_ext/string/interpolate.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/exceptions.rb +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/gettext/helpers.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/gettext.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/interpolate/ruby.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/locale/fallbacks.rb +96 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/locale/tag/parents.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/locale/tag.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/locale.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/middleware.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/tests/basics.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/tests/defaults.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/tests/interpolation.rb +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/tests/link.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/tests/localization/date.rb +95 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/tests/localization/date_time.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/tests/localization/procs.rb +116 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/tests/localization/time.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/tests/localization.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/tests/lookup.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/tests/procs.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/tests.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/lib/i18n.rb +356 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/api/all_features_test.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/api/cascade_test.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/api/chain_test.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/api/fallbacks_test.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/api/key_value_test.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/api/memoize_test.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/api/override_test.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/api/pluralization_test.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/api/simple_test.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/backend/cache_test.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/backend/cascade_test.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/backend/chain_test.rb +122 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/backend/exceptions_test.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/backend/fallbacks_test.rb +219 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/backend/interpolation_compiler_test.rb +118 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/backend/key_value_test.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/backend/memoize_test.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/backend/metadata_test.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/backend/pluralization_test.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/backend/simple_test.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/backend/transliterator_test.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/core_ext/hash_test.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/gettext/api_test.rb +214 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/gettext/backend_test.rb +92 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/i18n/exceptions_test.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/i18n/gettext_plural_keys_test.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/i18n/interpolate_test.rb +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/i18n/load_path_test.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/i18n/middleware_test.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/i18n_test.rb +462 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/locale/fallbacks_test.rb +133 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/locale/tag/rfc4646_test.rb +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/locale/tag/simple_test.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/run_all.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/test_data/locales/de.po +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/test_data/locales/en.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/test_data/locales/en.yml +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/test_data/locales/invalid/empty.yml +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/test_data/locales/invalid/syntax.yml +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/test_data/locales/plurals.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/i18n-0.9.5/test/test_helper.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/History.rdoc +1504 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/Manifest.txt +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/README.rdoc +831 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/Rakefile +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/design_rationale.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/lib/hoe/minitest.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/lib/minitest/assertions.rb +858 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/lib/minitest/autorun.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/lib/minitest/benchmark.rb +455 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/lib/minitest/expectations.rb +321 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/lib/minitest/hell.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/lib/minitest/mock.rb +327 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/lib/minitest/parallel.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/lib/minitest/spec.rb +349 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/lib/minitest/test.rb +256 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/lib/minitest/test_task.rb +305 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/lib/minitest/unit.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/lib/minitest.rb +1078 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/test/minitest/metametameta.rb +136 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/test/minitest/test_minitest_assertions.rb +1701 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/test/minitest/test_minitest_mock.rb +1146 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/test/minitest/test_minitest_reporter.rb +312 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/test/minitest/test_minitest_spec.rb +1146 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/test/minitest/test_minitest_test.rb +1272 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.18.0/test/minitest/test_minitest_test_task.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumuki-emojis-1.3.0/README.md +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumuki-emojis-1.3.0/Rakefile +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumuki-emojis-1.3.0/app/assets/javascripts/mumuki-emojis.js +679 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumuki-emojis-1.3.0/app/assets/json/mumuki-emojis-shortnames.json +68738 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumuki-emojis-1.3.0/app/assets/stylesheets/mumuki-emojis.css +5437 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumuki-emojis-1.3.0/lib/mumuki/emojis/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumuki-emojis-1.3.0/lib/mumuki/emojis.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/bin/console +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/bin/setup +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/activemodel.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/array.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/class.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/configurable.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/file.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/hash.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/i18n.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/json.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/likeability.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/modulability.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/module.rb +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/nil.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/object.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/regexp.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/request.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/rspec.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/status.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/string.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/variability.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core/yaml.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/mumukit-core-1.19.1/lib/mumukit/core.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/Gemfile +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/LICENSE-DEPENDENCIES.md +2224 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/LICENSE.md +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/README.md +287 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/bin/nokogiri +131 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/dependencies.yml +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/depend +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/extconf.rb +1084 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/gumbo.c +594 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/html4_document.c +166 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/html4_element_description.c +294 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/html4_entity_lookup.c +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/html4_sax_parser_context.c +114 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/html4_sax_push_parser.c +95 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libexslt/exslt.h +108 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libexslt/exsltconfig.h +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libexslt/exsltexports.h +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +306 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/HTMLtree.h +147 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/SAX.h +204 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/SAX2.h +172 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/c14n.h +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/catalog.h +182 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/chvalid.h +230 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/debugXML.h +217 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/dict.h +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/encoding.h +232 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/entities.h +153 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/globals.h +499 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/hash.h +236 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/list.h +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/nanoftp.h +186 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/nanohttp.h +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/parser.h +1244 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/parserInternals.h +656 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/pattern.h +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/relaxng.h +218 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/schemasInternals.h +958 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/schematron.h +142 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/threads.h +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/tree.h +1312 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/uri.h +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/valid.h +463 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xinclude.h +129 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xlink.h +189 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlIO.h +368 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +146 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlerror.h +947 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlexports.h +77 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +226 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlmodule.h +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlreader.h +428 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlregexp.h +222 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlsave.h +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +246 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h +152 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlstring.h +140 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +202 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlversion.h +503 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +488 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xpath.h +575 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xpathInternals.h +632 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xpointer.h +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/attributes.h +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/documents.h +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/extensions.h +262 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/extra.h +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/functions.h +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/imports.h +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/keys.h +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/namespaces.h +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/numbersInternals.h +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/pattern.h +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/preproc.h +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/security.h +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/templates.h +77 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/transform.h +207 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/variables.h +118 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/xslt.h +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/xsltInternals.h +1982 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/xsltconfig.h +179 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/xsltexports.h +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/xsltlocale.h +76 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/include/libxslt/xsltutils.h +310 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/libxml2_backwards_compat.c +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/nokogiri.c +265 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/nokogiri.h +235 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/test_global_handlers.c +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_attr.c +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_attribute_decl.c +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_cdata.c +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_comment.c +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_document.c +689 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_document_fragment.c +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_dtd.c +208 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_element_content.c +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_element_decl.c +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_encoding_handler.c +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_entity_decl.c +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_entity_reference.c +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_namespace.c +186 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_node.c +2425 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_node_set.c +496 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_processing_instruction.c +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_reader.c +794 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_relax_ng.c +183 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_sax_parser.c +316 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_sax_parser_context.c +283 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_sax_push_parser.c +166 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_schema.c +282 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_syntax_error.c +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_text.c +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xml_xpath_context.c +413 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/ext/nokogiri/xslt_stylesheet.c +363 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/gumbo-parser/CHANGES.md +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/gumbo-parser/Makefile +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/gumbo-parser/THANKS +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/2.7/nokogiri.so +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/3.0/nokogiri.so +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/3.1/nokogiri.so +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/3.2/nokogiri.so +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/class_resolver.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/css/node.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/css/parser.rb +770 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/css/parser.y +277 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/css/parser_extras.rb +96 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/css/syntax_error.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/css/tokenizer.rb +155 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/css/tokenizer.rex +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/css/xpath_visitor.rb +359 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/css.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/decorators/slop.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/encoding_handler.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/extension.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/gumbo.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/html.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/html4/builder.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/html4/document.rb +214 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/html4/document_fragment.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/html4/element_description.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/html4/element_description_defaults.rb +572 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/html4/encoding_reader.rb +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/html4/entity_lookup.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/html4/sax/parser.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/html4/sax/parser_context.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/html4/sax/push_parser.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/html4.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/html5/document.rb +168 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/html5/document_fragment.rb +90 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/html5/node.rb +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/html5.rb +389 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/jruby/dependencies.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/jruby/nokogiri_jars.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/syntax_error.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/version/constant.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/version/info.rb +223 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/version.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/attr.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/attribute_decl.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/builder.rb +487 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/cdata.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/character_data.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/document.rb +471 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/document_fragment.rb +205 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/dtd.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/element_content.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/element_decl.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/entity_decl.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/entity_reference.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/namespace.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/node/save_options.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/node.rb +1563 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/node_set.rb +447 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/notation.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/parse_options.rb +213 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/pp/character_data.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/pp/node.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/pp.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/processing_instruction.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/reader.rb +105 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/relax_ng.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/sax/document.rb +167 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/sax/parser.rb +125 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/sax/parser_context.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/sax/push_parser.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/sax.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/schema.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/searchable.rb +270 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/syntax_error.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/text.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/xpath/syntax_error.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/xpath.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml/xpath_context.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xml.rb +76 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xslt/stylesheet.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri/xslt.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/nokogiri.rb +120 -0
- data/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.14.2-x86_64-linux/lib/xsd/xmlparser/nokogiri.rb +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/COPYING +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/ChangeLog +846 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/README.ja.rdoc +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/README.rdoc +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/TODO +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/bin/racc +320 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/doc/en/NEWS.en.rdoc +282 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/doc/en/grammar.en.rdoc +226 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/doc/en/grammar2.en.rdoc +219 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/doc/ja/NEWS.ja.rdoc +307 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/doc/ja/command.ja.html +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/doc/ja/debug.ja.rdoc +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/doc/ja/grammar.ja.rdoc +348 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/doc/ja/index.ja.html +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/doc/ja/parser.ja.rdoc +125 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/doc/ja/usage.ja.html +414 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/ext/racc/MANIFEST +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/ext/racc/cparse/Makefile +267 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/ext/racc/cparse/cparse.c +861 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/ext/racc/cparse/cparse.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/ext/racc/cparse/cparse.so +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/ext/racc/cparse/extconf.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/lib/racc/compat.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/lib/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/lib/racc/debugflags.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/lib/racc/exception.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/lib/racc/grammar.rb +1118 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/lib/racc/grammarfileparser.rb +561 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/lib/racc/info.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/lib/racc/iset.rb +92 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/lib/racc/logfilegenerator.rb +212 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/lib/racc/parser-text.rb +637 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/lib/racc/parser.rb +632 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/lib/racc/parserfilegenerator.rb +468 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/lib/racc/sourcetext.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/lib/racc/state.rb +972 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/lib/racc/statetransitiontable.rb +311 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/lib/racc/static.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.6.2/lib/racc.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/CHANGELOG.md +860 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/CONTRIBUTING.md +142 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/README.md +309 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/SPEC.rdoc +340 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/auth/abstract/handler.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/auth/abstract/request.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/auth/basic.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/auth/digest/md5.rb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/auth/digest/nonce.rb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/auth/digest/params.rb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/auth/digest/request.rb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/auth/digest.rb +256 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/body_proxy.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/builder.rb +277 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/cascade.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/chunked.rb +120 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/common_logger.rb +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/conditional_get.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/config.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/constants.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/content_length.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/content_type.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/deflater.rb +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/directory.rb +205 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/etag.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/events.rb +157 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/file.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/files.rb +216 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/head.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/headers.rb +154 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/lint.rb +907 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/lock.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/logger.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/media_type.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/method_override.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/mime.rb +693 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/mock.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/mock_request.rb +166 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/mock_response.rb +126 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/multipart/generator.rb +99 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/multipart/parser.rb +434 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/multipart/uploaded_file.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/multipart.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/null_logger.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/query_parser.rb +253 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/recursive.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/reloader.rb +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/request.rb +777 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/response.rb +393 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/rewindable_input.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/runtime.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/sendfile.rb +167 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/show_exceptions.rb +403 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/show_status.rb +123 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/static.rb +187 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/tempfile_reaper.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/urlmap.rb +99 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/utils.rb +654 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack/version.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-3.0.7/lib/rack.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/CONTRIBUTING.rdoc +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/Gemfile +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/History.rdoc +2344 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/README.rdoc +156 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/Rakefile +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/azure-pipelines.yml +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/bin/bundle +105 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/bin/console +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/bin/rake +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/bin/rdoc +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/bin/rubocop +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/bin/setup +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/exe/rake +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/application.rb +824 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_utils.rb +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_utils_ext.rb +145 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/packagetask.rb +207 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task.rb +413 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_manager.rb +324 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/testtask.rb +224 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-12.3.3/rake.gemspec +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/CHANGELOG.md +479 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/CONTRIBUTING.md +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/COPYING +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/Gemfile +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/README.markdown +405 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/Rakefile +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/bin/redcarpet +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/Makefile +267 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/autolink.c +308 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/autolink.h +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/autolink.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/buffer.c +203 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/buffer.h +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/buffer.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/extconf.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/houdini.h +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/houdini_href_e.c +124 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/houdini_href_e.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/houdini_html_e.c +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/houdini_html_e.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/html.c +869 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/html.h +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/html.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/html_block_names.txt +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/html_blocks.h +222 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/html_smartypants.c +472 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/html_smartypants.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/markdown.c +2946 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/markdown.h +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/markdown.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/rc_markdown.c +184 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/rc_markdown.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/rc_render.c +587 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/rc_render.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/redcarpet.h +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/redcarpet.so +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/stack.c +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/stack.h +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/ext/redcarpet/stack.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/lib/redcarpet/cli.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/lib/redcarpet/compat.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/lib/redcarpet/render_man.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/lib/redcarpet/render_strip.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/lib/redcarpet.rb +92 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/lib/redcarpet.so +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/redcarpet-3.6.0/redcarpet.gemspec +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/Gemfile +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/LICENSE +186 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/bin/rougify +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/cli.rb +531 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/abap +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/actionscript +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/ada +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/apache +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/apex +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/apiblueprint +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/applescript +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/armasm +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/augeas +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/awk +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/batchfile +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/bbcbasic +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/bibtex +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/biml +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/bpf +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/brainfuck +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/brightscript +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/bsl +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/c +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/ceylon +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/cfscript +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/clean +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/clojure +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/cmake +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/cmhg +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/coffeescript +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/common_lisp +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/conf +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/console +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/coq +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/cpp +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/crystal +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/csharp +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/css +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/csvs +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/cuda +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/cypher +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/cython +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/d +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/dafny +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/dart +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/datastudio +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/diff +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/digdag +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/docker +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/dot +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/ecl +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/eex +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/eiffel +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/elixir +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/elm +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/email +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/epp +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/erb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/erlang +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/escape +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/factor +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/fluent +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/fortran +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/freefem +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/fsharp +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/gdscript +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/ghc-cmm +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/ghc-core +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/gherkin +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/glsl +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/go +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/gradle +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/graphql +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/groovy +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/hack +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/haml +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/handlebars +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/haskell +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/haxe +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/hcl +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/hlsl +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/hocon +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/hql +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/html +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/http +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/hylang +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/idlang +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/idris +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/igorpro +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/ini +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/io +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/irb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/irb_output +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/isabelle +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/isbl +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/j +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/janet +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/java +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/javascript +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/jinja +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/jsl +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/json +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/json-doc +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/jsonnet +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/jsp +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/jsx +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/julia +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/kotlin +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/lasso +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/lean +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/liquid +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/literate_coffeescript +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/literate_haskell +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/livescript +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/llvm +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/lua +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/lustre +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/lutin +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/m68k +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/magik +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/make +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/markdown +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/mason +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/mathematica +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/matlab +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/meson +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/minizinc +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/moonscript +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/mosel +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/msgtrans +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/mxml +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/nasm +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/nesasm +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/nginx +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/nial +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/nim +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/nix +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/objective_c +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/objective_cpp +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/ocaml +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/ocl +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/openedge +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/opentype_feature_file +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/pascal +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/perl +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/php +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/plaintext +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/plist +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/plsql +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/pony +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/postscript +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/powershell +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/praat +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/prolog +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/prometheus +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/properties +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/protobuf +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/puppet +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/python +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/q +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/qml +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/r +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/racket +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/reasonml +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/rego +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/rescript +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/robot_framework +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/ruby +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/rust +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/sas +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/sass +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/scala +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/scheme +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/scss +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/sed +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/shell +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/sieve +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/slice +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/slim +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/smalltalk +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/smarty +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/sml +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/solidity +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/sparql +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/sqf +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/sql +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/ssh +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/stan +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/stata +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/supercollider +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/swift +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/systemd +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/syzlang +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/syzprog +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/tap +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/tcl +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/terraform +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/tex +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/toml +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/tsx +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/ttcn3 +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/tulip +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/turtle +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/twig +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/typescript +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/vala +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/vb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/vcl +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/velocity +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/verilog +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/vhdl +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/viml +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/vue +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/wollok +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/xml +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/xojo +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/xpath +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/xquery +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/yaml +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/yang +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/zig +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/formatter.rb +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/formatters/html.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/formatters/html_inline.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/formatters/html_legacy.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/formatters/html_line_highlighter.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/formatters/html_line_table.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/formatters/html_linewise.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/formatters/html_pygments.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/formatters/html_table.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/formatters/null.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/formatters/terminal256.rb +198 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/formatters/terminal_truecolor.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/formatters/tex.rb +92 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/guesser.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/guessers/disambiguation.rb +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/guessers/filename.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/guessers/glob_mapping.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/guessers/mimetype.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/guessers/modeline.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/guessers/source.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/guessers/util.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexer.rb +535 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/abap.rb +240 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/actionscript.rb +196 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/ada.rb +162 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/apache/keywords.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/apache.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/apex.rb +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/apiblueprint.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/apple_script.rb +370 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/armasm.rb +145 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/augeas.rb +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/awk.rb +162 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/batchfile.rb +165 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/bbcbasic.rb +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/bibtex.rb +115 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/biml.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/bpf.rb +118 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/brainfuck.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/brightscript.rb +147 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/bsl.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/c.rb +200 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/ceylon.rb +96 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/cfscript.rb +154 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/clean.rb +156 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/clojure.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/cmake.rb +218 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/cmhg.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/coffeescript.rb +215 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/common_lisp.rb +346 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/conf.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/console.rb +190 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/coq.rb +191 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/cpp.rb +99 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/crystal.rb +435 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/csharp.rb +114 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/css.rb +276 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/csvs.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/cuda.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/cypher.rb +116 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/cython.rb +151 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/d.rb +177 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/dafny.rb +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/dart.rb +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/datastudio.rb +138 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/diff.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/digdag.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/docker.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/dot.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/ecl.rb +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/eex.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/eiffel.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/elixir.rb +149 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/elm.rb +90 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/email.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/epp.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/erb.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/erlang.rb +115 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/escape.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/factor.rb +303 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/fluent.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/fortran.rb +178 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/freefem.rb +240 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/fsharp.rb +120 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/gdscript.rb +171 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/ghc_cmm.rb +340 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/ghc_core.rb +152 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/gherkin/keywords.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/gherkin.rb +140 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/glsl.rb +132 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/go.rb +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/gradle.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/graphql.rb +261 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/groovy.rb +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/hack.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/haml.rb +226 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/handlebars.rb +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/haskell.rb +207 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/haxe.rb +246 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/hcl.rb +164 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/hlsl.rb +166 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/hocon.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/hql.rb +139 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/html.rb +141 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/http.rb +87 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/hylang.rb +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/idlang.rb +312 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/idris.rb +210 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/igorpro.rb +664 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/ini.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/io.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/irb.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/isabelle.rb +251 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/isbl/builtins.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/isbl.rb +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/j.rb +244 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/janet.rb +218 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/java.rb +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/javascript.rb +285 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/jinja.rb +169 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/jsl.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/json.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/json_doc.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/jsonnet.rb +153 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/jsp.rb +119 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/jsx.rb +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/julia.rb +292 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/kotlin.rb +145 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/lasso/keywords.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/lasso.rb +214 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/lean.rb +164 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/liquid.rb +285 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/literate_coffeescript.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/literate_haskell.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/livescript.rb +310 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/llvm/keywords.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/llvm.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/lua/keywords.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/lua.rb +164 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/lustre.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/lutin.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/m68k.rb +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/magik.rb +127 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/make.rb +135 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/markdown.rb +182 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/mason.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/mathematica/keywords.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/mathematica.rb +96 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/matlab/builtins.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/matlab/keywords.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/matlab.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/meson.rb +159 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/minizinc.rb +87 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/moonscript.rb +115 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/mosel.rb +232 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/msgtrans.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/mxml.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/nasm.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/nesasm.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/nginx.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/nial.rb +166 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/nim.rb +154 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/nix.rb +211 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/objective_c/common.rb +184 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/objective_c.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/objective_cpp.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/ocaml/common.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/ocaml.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/ocl.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/openedge.rb +429 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/opentype_feature_file.rb +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/pascal.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/perl.rb +251 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/php/keywords.rb +202 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/php.rb +379 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/plain_text.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/plist.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/plsql.rb +578 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/pony.rb +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/postscript.rb +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/powershell.rb +242 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/praat.rb +351 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/prolog.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/prometheus.rb +122 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/properties.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/protobuf.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/puppet.rb +129 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/python.rb +251 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/q.rb +125 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/qml.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/r.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/racket.rb +568 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/reasonml.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/rego.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/rescript.rb +119 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/robot_framework.rb +249 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/ruby.rb +454 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/rust.rb +259 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/sas.rb +563 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/sass/common.rb +182 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/sass.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/scala.rb +169 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/scheme.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/scss.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/sed.rb +173 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/shell.rb +201 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/sieve.rb +97 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/slice.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/slim.rb +229 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/smalltalk.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/smarty.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/sml.rb +345 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/solidity.rb +185 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/sparql.rb +131 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/sqf/keywords.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/sqf.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/sql.rb +161 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/ssh.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/stan.rb +451 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/stata.rb +165 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/supercollider.rb +115 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/swift.rb +186 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/systemd.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/syzlang.rb +317 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/syzprog.rb +122 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/tap.rb +88 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/tcl.rb +193 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/terraform.rb +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/tex.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/toml.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/tsx.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/ttcn3.rb +119 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/tulip.rb +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/turtle.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/twig.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/typescript/common.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/typescript.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/vala.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/varnish.rb +168 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/vb.rb +165 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/velocity.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/verilog.rb +163 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/vhdl.rb +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/viml/keywords.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/viml.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/vue.rb +127 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/wollok.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/xml.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/xojo.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/xpath.rb +332 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/xquery.rb +145 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/yaml.rb +378 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/yang.rb +147 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/lexers/zig.rb +139 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/plugins/redcarpet.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/regex_lexer.rb +498 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/template_lexer.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/tex_theme_renderer.rb +132 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/text_analyzer.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/theme.rb +218 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/themes/base16.rb +132 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/themes/bw.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/themes/colorful.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/themes/github.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/themes/gruvbox.rb +170 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/themes/igor_pro.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/themes/magritte.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/themes/molokai.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/themes/monokai.rb +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/themes/monokai_sublime.rb +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/themes/pastie.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/themes/thankful_eyes.rb +76 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/themes/tulip.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/token.rb +191 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/util.rb +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/version.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge.rb +108 -0
- data/vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/rouge.gemspec +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-3.12.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-3.12.0/README.md +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-3.12.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-3.12.0/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/Changelog.md +2368 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/LICENSE.md +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/README.md +384 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/exe/rspec +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/bisect/fork_runner.rb +138 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/bisect/server.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/bisect/utilities.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/configuration.rb +2385 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/configuration_options.rb +233 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/did_you_mean.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/drb.rb +120 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/example.rb +666 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/example_group.rb +905 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/console_codes.rb +76 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/exception_presenter.rb +525 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/helpers.rb +118 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/html_printer.rb +412 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/json_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/formatters.rb +279 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/hooks.rb +646 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/invocations.rb +87 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/memoized_helpers.rb +580 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/metadata.rb +498 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/notifications.rb +521 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/option_parser.rb +323 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/ordering.rb +169 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/pending.rb +157 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/profiler.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/project_initializer/spec/spec_helper.rb +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/rake_task.rb +188 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/reporter.rb +265 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/runner.rb +212 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/shared_example_group.rb +271 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core/world.rb +287 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.1/lib/rspec/core.rb +212 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/Changelog.md +1302 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/README.md +320 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/expectations/configuration.rb +230 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/expectations/expectation_target.rb +163 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/expectations/failure_aggregator.rb +229 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/expectations/handler.rb +182 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/all.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/base_matcher.rb +198 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/be.rb +191 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/change.rb +450 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/compound.rb +290 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/contain_exactly.rb +310 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/count_expectation.rb +169 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/has.rb +167 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/include.rb +206 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/output.rb +207 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/raise_error.rb +271 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/respond_to.rb +200 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/throw_symbol.rb +138 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in/yield.rb +375 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/built_in.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/composable.rb +171 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/dsl.rb +545 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers/matcher_protocol.rb +105 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/matchers.rb +1044 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/Changelog.md +1262 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/README.md +463 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/chain.rb +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/proxy.rb +125 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/recorder.rb +295 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/argument_list_matcher.rb +117 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/argument_matchers.rb +322 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/error_generator.rb +390 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/matchers/receive.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/message_expectation.rb +820 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/method_double.rb +309 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/method_reference.rb +214 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/proxy.rb +520 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/test_double.rb +171 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/verifying_double.rb +123 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/verifying_message_expectation.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/verifying_proxy.rb +221 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks.rb +133 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/Changelog.md +364 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/README.md +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/encoded_string.rb +161 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/method_signature_verifier.rb +438 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/object_formatter.rb +275 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/reentrant_mutex.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/ruby_features.rb +198 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/source/location.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/source/node.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/source/token.rb +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/source.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/deprecation_helpers.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/diff_helpers.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/in_sub_process.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/shell_out.rb +105 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/stderr_splitter.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/string_matcher.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/with_keywords_when_needed.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support.rb +154 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/HISTORY.md +759 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/LICENSE +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/README.md +675 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/lib/sanitize/config/basic.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/lib/sanitize/config/default.rb +123 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/lib/sanitize/config/relaxed.rb +724 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/lib/sanitize/config/restricted.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/lib/sanitize/config.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/lib/sanitize/css.rb +348 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/lib/sanitize/transformers/clean_cdata.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/lib/sanitize/transformers/clean_comment.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/lib/sanitize/transformers/clean_css.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/lib/sanitize/transformers/clean_doctype.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/lib/sanitize/transformers/clean_element.rb +268 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/lib/sanitize/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/lib/sanitize.rb +244 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/test/common.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/test/test_clean_comment.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/test/test_clean_css.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/test/test_clean_doctype.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/test/test_clean_element.rb +552 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/test/test_config.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/test/test_malicious_css.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/test/test_malicious_html.rb +339 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/test/test_parser.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/test/test_sanitize.rb +197 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/test/test_sanitize_css.rb +424 -0
- data/vendor/bundle/ruby/2.7.0/gems/sanitize-6.0.1/test/test_transformers.rb +230 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/Gemfile +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/LICENSE +144 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/README.md +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/Rakefile +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/examples/bench_cache.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/ext/thread_safe/JrubyCacheBackendService.java +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/atomic_reference_cache_backend.rb +908 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/cache.rb +161 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/mri_cache_backend.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/non_concurrent_cache_backend.rb +135 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_cache_backend.rb +77 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_delegator.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/util/adder.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/util/atomic_reference.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/util/cheap_lockable.rb +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/util/striped64.rb +222 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile_tuple.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/util/xor_shift_random.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/version.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/spec/spec_helper.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/spec/src/thread_safe/SecurityManager.java +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/spec/support/threads.rb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/spec/support/threadsafe_test.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/spec/thread_safe/array_spec.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_loops_spec.rb +507 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_spec.rb +943 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/spec/thread_safe/hash_spec.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/spec/thread_safe/no_unsafe_spec.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/spec/thread_safe/synchronized_delegator_spec.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/tasks/update_doc.rake +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/thread_safe.gemspec +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/yard-template/default/fulldoc/html/css/common.css +125 -0
- data/vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/yard-template/default/layout/html/footer.erb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/CHANGES.md +840 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/LICENSE +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/README.md +152 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/Rakefile +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/annual_rules.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/country.rb +196 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/country_index_definition.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/country_info.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/country_timezone.rb +135 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/data_source.rb +190 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/data_timezone.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/data_timezone_info.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/info_timezone.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/linked_timezone.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/linked_timezone_info.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/offset_rationals.rb +77 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/posix_time_zone_parser.rb +136 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/ruby_core_support.rb +176 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/ruby_country_info.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/ruby_data_source.rb +136 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/time_or_datetime.rb +351 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/timezone.rb +673 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/timezone_definition.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/timezone_index_definition.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/timezone_info.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/timezone_offset.rb +101 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/timezone_period.rb +245 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/timezone_proxy.rb +105 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/timezone_transition.rb +130 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/timezone_transition_definition.rb +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/transition_data_timezone_info.rb +274 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/transition_rule.rb +325 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/zoneinfo_country_info.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/zoneinfo_data_source.rb +504 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo/zoneinfo_timezone_info.rb +516 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/lib/tzinfo.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/assets/payload.rb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_annual_rules.rb +95 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_country.rb +240 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_country_index_definition.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_country_info.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_country_timezone.rb +173 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_data_source.rb +218 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_data_timezone.rb +99 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_data_timezone_info.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_info_timezone.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_linked_timezone.rb +155 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_linked_timezone_info.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_offset_rationals.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_posix_time_zone_parser.rb +261 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_ruby_core_support.rb +168 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_ruby_country_info.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_ruby_data_source.rb +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_time_or_datetime.rb +674 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_timezone.rb +1361 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_timezone_definition.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_timezone_index_definition.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_timezone_info.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_timezone_london.rb +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_timezone_melbourne.rb +142 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_timezone_new_york.rb +142 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_timezone_offset.rb +126 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_timezone_period.rb +555 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_timezone_proxy.rb +136 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_timezone_transition.rb +366 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_timezone_transition_definition.rb +295 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_timezone_utc.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_transition_data_timezone_info.rb +433 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_transition_rule.rb +663 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_zoneinfo_country_info.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_zoneinfo_data_source.rb +1226 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tc_zoneinfo_timezone_info.rb +2149 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/test_utils.rb +214 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/ts_all.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/ts_all_ruby.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/ts_all_zoneinfo.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +327 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +230 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tzinfo-data/tzinfo/data/definitions/EST.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +273 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +198 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +333 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +277 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +235 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tzinfo-data/tzinfo/data/indexes/countries.rb +940 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +609 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tzinfo-data/tzinfo/data/version.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/tzinfo-data/tzinfo/data.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/America/New_York +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/Australia/Melbourne +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/EST +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/Etc/UTC +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/Europe/Amsterdam +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/Europe/Andorra +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/Europe/London +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/Europe/Paris +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/Europe/Prague +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/Factory +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/iso3166.tab +274 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/leapseconds +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/posix/Europe/London +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/posixrules +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/right/Europe/London +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/zone.tab +452 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/test/zoneinfo/zone1970.tab +384 -0
- data/vendor/bundle/ruby/2.7.0/gems/tzinfo-1.2.11/tzinfo.gemspec +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/README.md +1288 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/error.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/explicit_namespace.rb +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/gem_inflector.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/gem_loader.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/inflector.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/internal.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/kernel.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/loader/callbacks.rb +92 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/loader/config.rb +365 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/loader/eager_load.rb +228 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/loader/helpers.rb +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/loader.rb +514 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/real_mod_name.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/registry.rb +138 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.6.7/lib/zeitwerk.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/specifications/activesupport-6.0.6.1.gemspec +41 -0
- data/vendor/bundle/ruby/2.7.0/specifications/concurrent-ruby-1.2.2.gemspec +24 -0
- data/vendor/bundle/ruby/2.7.0/specifications/crass-1.0.6.gemspec +34 -0
- data/vendor/bundle/ruby/2.7.0/specifications/diff-lcs-1.5.0.gemspec +50 -0
- data/vendor/bundle/ruby/2.7.0/specifications/i18n-0.9.5.gemspec +31 -0
- data/vendor/bundle/ruby/2.7.0/specifications/minitest-5.18.0.gemspec +38 -0
- data/vendor/bundle/ruby/2.7.0/specifications/mumuki-emojis-1.3.0.gemspec +34 -0
- data/vendor/bundle/ruby/2.7.0/specifications/mumukit-core-1.19.1.gemspec +0 -0
- data/vendor/bundle/ruby/2.7.0/specifications/nokogiri-1.14.2-x86_64-linux.gemspec +37 -0
- data/vendor/bundle/ruby/2.7.0/specifications/racc-1.6.2.gemspec +27 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rack-3.0.7.gemspec +40 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rake-12.3.3.gemspec +43 -0
- data/vendor/bundle/ruby/2.7.0/specifications/redcarpet-3.6.0.gemspec +40 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rouge-3.30.0.gemspec +24 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rspec-3.12.0.gemspec +39 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rspec-core-3.12.1.gemspec +53 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rspec-expectations-3.12.2.gemspec +44 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rspec-mocks-3.12.5.gemspec +44 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rspec-support-3.12.0.gemspec +36 -0
- data/vendor/bundle/ruby/2.7.0/specifications/sanitize-6.0.1.gemspec +37 -0
- data/vendor/bundle/ruby/2.7.0/specifications/thread_safe-0.3.6.gemspec +34 -0
- data/vendor/bundle/ruby/2.7.0/specifications/tzinfo-1.2.11.gemspec +35 -0
- data/vendor/bundle/ruby/2.7.0/specifications/zeitwerk-2.6.7.gemspec +22 -0
- metadata +2011 -7
@@ -0,0 +1,2425 @@
|
|
1
|
+
#include <nokogiri.h>
|
2
|
+
|
3
|
+
#include <stdbool.h>
|
4
|
+
|
5
|
+
// :stopdoc:
|
6
|
+
|
7
|
+
VALUE cNokogiriXmlNode ;
|
8
|
+
static ID id_decorate, id_decorate_bang;
|
9
|
+
|
10
|
+
typedef xmlNodePtr(*pivot_reparentee_func)(xmlNodePtr, xmlNodePtr);
|
11
|
+
|
12
|
+
static void
|
13
|
+
_xml_node_mark(void *ptr)
|
14
|
+
{
|
15
|
+
xmlNodePtr node = ptr;
|
16
|
+
|
17
|
+
if (!DOC_RUBY_OBJECT_TEST(node->doc)) {
|
18
|
+
return;
|
19
|
+
}
|
20
|
+
|
21
|
+
xmlDocPtr doc = node->doc;
|
22
|
+
if (doc->type == XML_DOCUMENT_NODE || doc->type == XML_HTML_DOCUMENT_NODE) {
|
23
|
+
if (DOC_RUBY_OBJECT_TEST(doc)) {
|
24
|
+
rb_gc_mark(DOC_RUBY_OBJECT(doc));
|
25
|
+
}
|
26
|
+
} else if (node->doc->_private) {
|
27
|
+
rb_gc_mark((VALUE)doc->_private);
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
#ifdef HAVE_RB_GC_LOCATION
|
32
|
+
static void
|
33
|
+
_xml_node_update_references(void *ptr)
|
34
|
+
{
|
35
|
+
xmlNodePtr node = ptr;
|
36
|
+
|
37
|
+
if (node->_private) {
|
38
|
+
node->_private = (void *)rb_gc_location((VALUE)node->_private);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
#else
|
42
|
+
# define _xml_node_update_references 0
|
43
|
+
#endif
|
44
|
+
|
45
|
+
static const rb_data_type_t nokogiri_node_type = {
|
46
|
+
"Nokogiri/XMLNode",
|
47
|
+
{_xml_node_mark, 0, 0, _xml_node_update_references},
|
48
|
+
0, 0,
|
49
|
+
#ifdef RUBY_TYPED_FREE_IMMEDIATELY
|
50
|
+
RUBY_TYPED_FREE_IMMEDIATELY,
|
51
|
+
#endif
|
52
|
+
};
|
53
|
+
|
54
|
+
static void
|
55
|
+
relink_namespace(xmlNodePtr reparented)
|
56
|
+
{
|
57
|
+
xmlNodePtr child;
|
58
|
+
xmlAttrPtr attr;
|
59
|
+
|
60
|
+
if (reparented->type != XML_ATTRIBUTE_NODE &&
|
61
|
+
reparented->type != XML_ELEMENT_NODE) { return; }
|
62
|
+
|
63
|
+
if (reparented->ns == NULL || reparented->ns->prefix == NULL) {
|
64
|
+
xmlNsPtr ns = NULL;
|
65
|
+
xmlChar *name = NULL, *prefix = NULL;
|
66
|
+
|
67
|
+
name = xmlSplitQName2(reparented->name, &prefix);
|
68
|
+
|
69
|
+
if (reparented->type == XML_ATTRIBUTE_NODE) {
|
70
|
+
if (prefix == NULL || strcmp((char *)prefix, XMLNS_PREFIX) == 0) {
|
71
|
+
xmlFree(name);
|
72
|
+
xmlFree(prefix);
|
73
|
+
return;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
ns = xmlSearchNs(reparented->doc, reparented, prefix);
|
78
|
+
|
79
|
+
if (ns != NULL) {
|
80
|
+
xmlNodeSetName(reparented, name);
|
81
|
+
xmlSetNs(reparented, ns);
|
82
|
+
}
|
83
|
+
|
84
|
+
xmlFree(name);
|
85
|
+
xmlFree(prefix);
|
86
|
+
}
|
87
|
+
|
88
|
+
/* Avoid segv when relinking against unlinked nodes. */
|
89
|
+
if (reparented->type != XML_ELEMENT_NODE || !reparented->parent) { return; }
|
90
|
+
|
91
|
+
/* Make sure that our reparented node has the correct namespaces */
|
92
|
+
if (!reparented->ns &&
|
93
|
+
(reparented->doc != (xmlDocPtr)reparented->parent) &&
|
94
|
+
(rb_iv_get(DOC_RUBY_OBJECT(reparented->doc), "@namespace_inheritance") == Qtrue)) {
|
95
|
+
xmlSetNs(reparented, reparented->parent->ns);
|
96
|
+
}
|
97
|
+
|
98
|
+
/* Search our parents for an existing definition */
|
99
|
+
if (reparented->nsDef) {
|
100
|
+
xmlNsPtr curr = reparented->nsDef;
|
101
|
+
xmlNsPtr prev = NULL;
|
102
|
+
|
103
|
+
while (curr) {
|
104
|
+
xmlNsPtr ns = xmlSearchNsByHref(
|
105
|
+
reparented->doc,
|
106
|
+
reparented->parent,
|
107
|
+
curr->href
|
108
|
+
);
|
109
|
+
/* If we find the namespace is already declared, remove it from this
|
110
|
+
* definition list. */
|
111
|
+
if (ns && ns != curr && xmlStrEqual(ns->prefix, curr->prefix)) {
|
112
|
+
if (prev) {
|
113
|
+
prev->next = curr->next;
|
114
|
+
} else {
|
115
|
+
reparented->nsDef = curr->next;
|
116
|
+
}
|
117
|
+
noko_xml_document_pin_namespace(curr, reparented->doc);
|
118
|
+
} else {
|
119
|
+
prev = curr;
|
120
|
+
}
|
121
|
+
curr = curr->next;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
|
125
|
+
/*
|
126
|
+
* Search our parents for an existing definition of current namespace,
|
127
|
+
* because the definition it's pointing to may have just been removed nsDef.
|
128
|
+
*
|
129
|
+
* And although that would technically probably be OK, I'd feel better if we
|
130
|
+
* referred to a namespace that's still present in a node's nsDef somewhere
|
131
|
+
* in the doc.
|
132
|
+
*/
|
133
|
+
if (reparented->ns) {
|
134
|
+
xmlNsPtr ns = xmlSearchNs(reparented->doc, reparented, reparented->ns->prefix);
|
135
|
+
if (ns
|
136
|
+
&& ns != reparented->ns
|
137
|
+
&& xmlStrEqual(ns->prefix, reparented->ns->prefix)
|
138
|
+
&& xmlStrEqual(ns->href, reparented->ns->href)
|
139
|
+
) {
|
140
|
+
xmlSetNs(reparented, ns);
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
/* Only walk all children if there actually is a namespace we need to */
|
145
|
+
/* reparent. */
|
146
|
+
if (NULL == reparented->ns) { return; }
|
147
|
+
|
148
|
+
/* When a node gets reparented, walk it's children to make sure that */
|
149
|
+
/* their namespaces are reparented as well. */
|
150
|
+
child = reparented->children;
|
151
|
+
while (NULL != child) {
|
152
|
+
relink_namespace(child);
|
153
|
+
child = child->next;
|
154
|
+
}
|
155
|
+
|
156
|
+
if (reparented->type == XML_ELEMENT_NODE) {
|
157
|
+
attr = reparented->properties;
|
158
|
+
while (NULL != attr) {
|
159
|
+
relink_namespace((xmlNodePtr)attr);
|
160
|
+
attr = attr->next;
|
161
|
+
}
|
162
|
+
}
|
163
|
+
}
|
164
|
+
|
165
|
+
|
166
|
+
/* internal function meant to wrap xmlReplaceNode
|
167
|
+
and fix some issues we have with libxml2 merging nodes */
|
168
|
+
static xmlNodePtr
|
169
|
+
xmlReplaceNodeWrapper(xmlNodePtr pivot, xmlNodePtr new_node)
|
170
|
+
{
|
171
|
+
xmlNodePtr retval ;
|
172
|
+
|
173
|
+
retval = xmlReplaceNode(pivot, new_node) ;
|
174
|
+
|
175
|
+
if (retval == pivot) {
|
176
|
+
retval = new_node ; /* return semantics for reparent_node_with */
|
177
|
+
}
|
178
|
+
|
179
|
+
/* work around libxml2 issue: https://bugzilla.gnome.org/show_bug.cgi?id=615612 */
|
180
|
+
if (retval && retval->type == XML_TEXT_NODE) {
|
181
|
+
if (retval->prev && retval->prev->type == XML_TEXT_NODE) {
|
182
|
+
retval = xmlTextMerge(retval->prev, retval);
|
183
|
+
}
|
184
|
+
if (retval->next && retval->next->type == XML_TEXT_NODE) {
|
185
|
+
retval = xmlTextMerge(retval, retval->next);
|
186
|
+
}
|
187
|
+
}
|
188
|
+
|
189
|
+
return retval ;
|
190
|
+
}
|
191
|
+
|
192
|
+
|
193
|
+
static void
|
194
|
+
raise_if_ancestor_of_self(xmlNodePtr self)
|
195
|
+
{
|
196
|
+
for (xmlNodePtr ancestor = self->parent ; ancestor ; ancestor = ancestor->parent) {
|
197
|
+
if (self == ancestor) {
|
198
|
+
rb_raise(rb_eRuntimeError, "cycle detected: node '%s' is an ancestor of itself", self->name);
|
199
|
+
}
|
200
|
+
}
|
201
|
+
}
|
202
|
+
|
203
|
+
|
204
|
+
static VALUE
|
205
|
+
reparent_node_with(VALUE pivot_obj, VALUE reparentee_obj, pivot_reparentee_func prf)
|
206
|
+
{
|
207
|
+
VALUE reparented_obj ;
|
208
|
+
xmlNodePtr reparentee, original_reparentee, pivot, reparented, next_text, new_next_text, parent ;
|
209
|
+
int original_ns_prefix_is_default = 0 ;
|
210
|
+
|
211
|
+
if (!rb_obj_is_kind_of(reparentee_obj, cNokogiriXmlNode)) {
|
212
|
+
rb_raise(rb_eArgError, "node must be a Nokogiri::XML::Node");
|
213
|
+
}
|
214
|
+
if (rb_obj_is_kind_of(reparentee_obj, cNokogiriXmlDocument)) {
|
215
|
+
rb_raise(rb_eArgError, "node must be a Nokogiri::XML::Node");
|
216
|
+
}
|
217
|
+
|
218
|
+
Noko_Node_Get_Struct(reparentee_obj, xmlNode, reparentee);
|
219
|
+
Noko_Node_Get_Struct(pivot_obj, xmlNode, pivot);
|
220
|
+
|
221
|
+
/*
|
222
|
+
* Check if nodes given are appropriate to have a parent-child
|
223
|
+
* relationship, based on the DOM specification.
|
224
|
+
*
|
225
|
+
* cf. http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-1590626202
|
226
|
+
*/
|
227
|
+
if (prf == xmlAddChild) {
|
228
|
+
parent = pivot;
|
229
|
+
} else {
|
230
|
+
parent = pivot->parent;
|
231
|
+
}
|
232
|
+
|
233
|
+
if (parent) {
|
234
|
+
switch (parent->type) {
|
235
|
+
case XML_DOCUMENT_NODE:
|
236
|
+
case XML_HTML_DOCUMENT_NODE:
|
237
|
+
switch (reparentee->type) {
|
238
|
+
case XML_ELEMENT_NODE:
|
239
|
+
case XML_PI_NODE:
|
240
|
+
case XML_COMMENT_NODE:
|
241
|
+
case XML_DOCUMENT_TYPE_NODE:
|
242
|
+
/*
|
243
|
+
* The DOM specification says no to adding text-like nodes
|
244
|
+
* directly to a document, but we allow it for compatibility.
|
245
|
+
*/
|
246
|
+
case XML_TEXT_NODE:
|
247
|
+
case XML_CDATA_SECTION_NODE:
|
248
|
+
case XML_ENTITY_REF_NODE:
|
249
|
+
goto ok;
|
250
|
+
default:
|
251
|
+
break;
|
252
|
+
}
|
253
|
+
break;
|
254
|
+
case XML_DOCUMENT_FRAG_NODE:
|
255
|
+
case XML_ENTITY_REF_NODE:
|
256
|
+
case XML_ELEMENT_NODE:
|
257
|
+
switch (reparentee->type) {
|
258
|
+
case XML_ELEMENT_NODE:
|
259
|
+
case XML_PI_NODE:
|
260
|
+
case XML_COMMENT_NODE:
|
261
|
+
case XML_TEXT_NODE:
|
262
|
+
case XML_CDATA_SECTION_NODE:
|
263
|
+
case XML_ENTITY_REF_NODE:
|
264
|
+
goto ok;
|
265
|
+
default:
|
266
|
+
break;
|
267
|
+
}
|
268
|
+
break;
|
269
|
+
case XML_ATTRIBUTE_NODE:
|
270
|
+
switch (reparentee->type) {
|
271
|
+
case XML_TEXT_NODE:
|
272
|
+
case XML_ENTITY_REF_NODE:
|
273
|
+
goto ok;
|
274
|
+
default:
|
275
|
+
break;
|
276
|
+
}
|
277
|
+
break;
|
278
|
+
case XML_TEXT_NODE:
|
279
|
+
/*
|
280
|
+
* xmlAddChild() breaks the DOM specification in that it allows
|
281
|
+
* adding a text node to another, in which case text nodes are
|
282
|
+
* coalesced, but since our JRuby version does not support such
|
283
|
+
* operation, we should inhibit it.
|
284
|
+
*/
|
285
|
+
break;
|
286
|
+
default:
|
287
|
+
break;
|
288
|
+
}
|
289
|
+
|
290
|
+
rb_raise(rb_eArgError, "cannot reparent %s there", rb_obj_classname(reparentee_obj));
|
291
|
+
}
|
292
|
+
|
293
|
+
ok:
|
294
|
+
original_reparentee = reparentee;
|
295
|
+
|
296
|
+
if (reparentee->doc != pivot->doc || reparentee->type == XML_TEXT_NODE) {
|
297
|
+
/*
|
298
|
+
* if the reparentee is a text node, there's a very good chance it will be
|
299
|
+
* merged with an adjacent text node after being reparented, and in that case
|
300
|
+
* libxml will free the underlying C struct.
|
301
|
+
*
|
302
|
+
* since we clearly have a ruby object which references the underlying
|
303
|
+
* memory, we can't let the C struct get freed. let's pickle the original
|
304
|
+
* reparentee by rooting it; and then we'll reparent a duplicate of the
|
305
|
+
* node that we don't care about preserving.
|
306
|
+
*
|
307
|
+
* alternatively, if the reparentee is from a different document than the
|
308
|
+
* pivot node, libxml2 is going to get confused about which document's
|
309
|
+
* "dictionary" the node's strings belong to (this is an otherwise
|
310
|
+
* uninteresting libxml2 implementation detail). as a result, we cannot
|
311
|
+
* reparent the actual reparentee, so we reparent a duplicate.
|
312
|
+
*/
|
313
|
+
if (reparentee->type == XML_TEXT_NODE && reparentee->_private) {
|
314
|
+
/*
|
315
|
+
* additionally, since we know this C struct isn't going to be related to
|
316
|
+
* a Ruby object anymore, let's break the relationship on this end as
|
317
|
+
* well.
|
318
|
+
*
|
319
|
+
* this is not absolutely necessary unless libxml-ruby is also in effect,
|
320
|
+
* in which case its global callback `rxml_node_deregisterNode` will try
|
321
|
+
* to do things to our data.
|
322
|
+
*
|
323
|
+
* for more details on this particular (and particularly nasty) edge
|
324
|
+
* case, see:
|
325
|
+
*
|
326
|
+
* https://github.com/sparklemotion/nokogiri/issues/1426
|
327
|
+
*/
|
328
|
+
reparentee->_private = NULL ;
|
329
|
+
}
|
330
|
+
|
331
|
+
if (reparentee->ns != NULL && reparentee->ns->prefix == NULL) {
|
332
|
+
original_ns_prefix_is_default = 1;
|
333
|
+
}
|
334
|
+
|
335
|
+
noko_xml_document_pin_node(reparentee);
|
336
|
+
|
337
|
+
if (!(reparentee = xmlDocCopyNode(reparentee, pivot->doc, 1))) {
|
338
|
+
rb_raise(rb_eRuntimeError, "Could not reparent node (xmlDocCopyNode)");
|
339
|
+
}
|
340
|
+
|
341
|
+
if (original_ns_prefix_is_default && reparentee->ns != NULL && reparentee->ns->prefix != NULL) {
|
342
|
+
/*
|
343
|
+
* issue #391, where new node's prefix may become the string "default"
|
344
|
+
* see libxml2 tree.c xmlNewReconciliedNs which implements this behavior.
|
345
|
+
*/
|
346
|
+
xmlFree(DISCARD_CONST_QUAL_XMLCHAR(reparentee->ns->prefix));
|
347
|
+
reparentee->ns->prefix = NULL;
|
348
|
+
}
|
349
|
+
}
|
350
|
+
|
351
|
+
xmlUnlinkNode(original_reparentee);
|
352
|
+
|
353
|
+
if (prf != xmlAddPrevSibling && prf != xmlAddNextSibling
|
354
|
+
&& reparentee->type == XML_TEXT_NODE && pivot->next && pivot->next->type == XML_TEXT_NODE) {
|
355
|
+
/*
|
356
|
+
* libxml merges text nodes in a right-to-left fashion, meaning that if
|
357
|
+
* there are two text nodes who would be adjacent, the right (or following,
|
358
|
+
* or next) node will be merged into the left (or preceding, or previous)
|
359
|
+
* node.
|
360
|
+
*
|
361
|
+
* and by "merged" I mean the string contents will be concatenated onto the
|
362
|
+
* left node's contents, and then the node will be freed.
|
363
|
+
*
|
364
|
+
* which means that if we have a ruby object wrapped around the right node,
|
365
|
+
* its memory would be freed out from under it.
|
366
|
+
*
|
367
|
+
* so, we detect this edge case and unlink-and-root the text node before it gets
|
368
|
+
* merged. then we dup the node and insert that duplicate back into the
|
369
|
+
* document where the real node was.
|
370
|
+
*
|
371
|
+
* yes, this is totally lame.
|
372
|
+
*/
|
373
|
+
next_text = pivot->next ;
|
374
|
+
new_next_text = xmlDocCopyNode(next_text, pivot->doc, 1) ;
|
375
|
+
|
376
|
+
xmlUnlinkNode(next_text);
|
377
|
+
noko_xml_document_pin_node(next_text);
|
378
|
+
|
379
|
+
xmlAddNextSibling(pivot, new_next_text);
|
380
|
+
}
|
381
|
+
|
382
|
+
if (!(reparented = (*prf)(pivot, reparentee))) {
|
383
|
+
rb_raise(rb_eRuntimeError, "Could not reparent node");
|
384
|
+
}
|
385
|
+
|
386
|
+
/*
|
387
|
+
* make sure the ruby object is pointed at the just-reparented node, which
|
388
|
+
* might be a duplicate (see above) or might be the result of merging
|
389
|
+
* adjacent text nodes.
|
390
|
+
*/
|
391
|
+
DATA_PTR(reparentee_obj) = reparented ;
|
392
|
+
reparented_obj = noko_xml_node_wrap(Qnil, reparented);
|
393
|
+
|
394
|
+
rb_funcall(reparented_obj, id_decorate_bang, 0);
|
395
|
+
|
396
|
+
/* if we've created a cycle, raise an exception */
|
397
|
+
raise_if_ancestor_of_self(reparented);
|
398
|
+
|
399
|
+
relink_namespace(reparented);
|
400
|
+
|
401
|
+
return reparented_obj ;
|
402
|
+
}
|
403
|
+
|
404
|
+
// :startdoc:
|
405
|
+
|
406
|
+
/*
|
407
|
+
* :call-seq:
|
408
|
+
* add_namespace_definition(prefix, href) → Nokogiri::XML::Namespace
|
409
|
+
* add_namespace(prefix, href) → Nokogiri::XML::Namespace
|
410
|
+
*
|
411
|
+
* :category: Manipulating Document Structure
|
412
|
+
*
|
413
|
+
* Adds a namespace definition to this node with +prefix+ using +href+ value, as if this node had
|
414
|
+
* included an attribute "xmlns:prefix=href".
|
415
|
+
*
|
416
|
+
* A default namespace definition for this node can be added by passing +nil+ for +prefix+.
|
417
|
+
*
|
418
|
+
* [Parameters]
|
419
|
+
* - +prefix+ (String, +nil+) An {XML Name}[https://www.w3.org/TR/xml-names/#ns-decl]
|
420
|
+
* - +href+ (String) The {URI reference}[https://www.w3.org/TR/xml-names/#sec-namespaces]
|
421
|
+
*
|
422
|
+
* [Returns] The new Nokogiri::XML::Namespace
|
423
|
+
*
|
424
|
+
* *Example:* adding a non-default namespace definition
|
425
|
+
*
|
426
|
+
* doc = Nokogiri::XML("<store><inventory></inventory></store>")
|
427
|
+
* inventory = doc.at_css("inventory")
|
428
|
+
* inventory.add_namespace_definition("automobile", "http://alices-autos.com/")
|
429
|
+
* inventory.add_namespace_definition("bicycle", "http://bobs-bikes.com/")
|
430
|
+
* inventory.add_child("<automobile:tire>Michelin model XGV, size 75R</automobile:tire>")
|
431
|
+
* doc.to_xml
|
432
|
+
* # => "<?xml version=\"1.0\"?>\n" +
|
433
|
+
* # "<store>\n" +
|
434
|
+
* # " <inventory xmlns:automobile=\"http://alices-autos.com/\" xmlns:bicycle=\"http://bobs-bikes.com/\">\n" +
|
435
|
+
* # " <automobile:tire>Michelin model XGV, size 75R</automobile:tire>\n" +
|
436
|
+
* # " </inventory>\n" +
|
437
|
+
* # "</store>\n"
|
438
|
+
*
|
439
|
+
* *Example:* adding a default namespace definition
|
440
|
+
*
|
441
|
+
* doc = Nokogiri::XML("<store><inventory><tire>Michelin model XGV, size 75R</tire></inventory></store>")
|
442
|
+
* doc.at_css("tire").add_namespace_definition(nil, "http://bobs-bikes.com/")
|
443
|
+
* doc.to_xml
|
444
|
+
* # => "<?xml version=\"1.0\"?>\n" +
|
445
|
+
* # "<store>\n" +
|
446
|
+
* # " <inventory>\n" +
|
447
|
+
* # " <tire xmlns=\"http://bobs-bikes.com/\">Michelin model XGV, size 75R</tire>\n" +
|
448
|
+
* # " </inventory>\n" +
|
449
|
+
* # "</store>\n"
|
450
|
+
*
|
451
|
+
*/
|
452
|
+
static VALUE
|
453
|
+
rb_xml_node_add_namespace_definition(VALUE rb_node, VALUE rb_prefix, VALUE rb_href)
|
454
|
+
{
|
455
|
+
xmlNodePtr c_node, element;
|
456
|
+
xmlNsPtr c_namespace;
|
457
|
+
const xmlChar *c_prefix = (const xmlChar *)(NIL_P(rb_prefix) ? NULL : StringValueCStr(rb_prefix));
|
458
|
+
|
459
|
+
Noko_Node_Get_Struct(rb_node, xmlNode, c_node);
|
460
|
+
element = c_node ;
|
461
|
+
|
462
|
+
c_namespace = xmlSearchNs(c_node->doc, c_node, c_prefix);
|
463
|
+
|
464
|
+
if (!c_namespace) {
|
465
|
+
if (c_node->type != XML_ELEMENT_NODE) {
|
466
|
+
element = c_node->parent;
|
467
|
+
}
|
468
|
+
c_namespace = xmlNewNs(element, (const xmlChar *)StringValueCStr(rb_href), c_prefix);
|
469
|
+
}
|
470
|
+
|
471
|
+
if (!c_namespace) {
|
472
|
+
return Qnil ;
|
473
|
+
}
|
474
|
+
|
475
|
+
if (NIL_P(rb_prefix) || c_node != element) {
|
476
|
+
xmlSetNs(c_node, c_namespace);
|
477
|
+
}
|
478
|
+
|
479
|
+
return noko_xml_namespace_wrap(c_namespace, c_node->doc);
|
480
|
+
}
|
481
|
+
|
482
|
+
|
483
|
+
/*
|
484
|
+
* :call-seq: attribute(name) → Nokogiri::XML::Attr
|
485
|
+
*
|
486
|
+
* :category: Working With Node Attributes
|
487
|
+
*
|
488
|
+
* [Returns] Attribute (Nokogiri::XML::Attr) belonging to this node with name +name+.
|
489
|
+
*
|
490
|
+
* ⚠ Note that attribute namespaces are ignored and only the simple (non-namespace-prefixed) name is
|
491
|
+
* used to find a matching attribute. In case of a simple name collision, only one of the matching
|
492
|
+
* attributes will be returned. In this case, you will need to use #attribute_with_ns.
|
493
|
+
*
|
494
|
+
* *Example:*
|
495
|
+
*
|
496
|
+
* doc = Nokogiri::XML("<root><child size='large' class='big wide tall'/></root>")
|
497
|
+
* child = doc.at_css("child")
|
498
|
+
* child.attribute("size") # => #<Nokogiri::XML::Attr:0x550 name="size" value="large">
|
499
|
+
* child.attribute("class") # => #<Nokogiri::XML::Attr:0x564 name="class" value="big wide tall">
|
500
|
+
*
|
501
|
+
* *Example* showing that namespaced attributes will not be returned:
|
502
|
+
*
|
503
|
+
* ⚠ Note that only one of the two matching attributes is returned.
|
504
|
+
*
|
505
|
+
* doc = Nokogiri::XML(<<~EOF)
|
506
|
+
* <root xmlns:width='http://example.com/widths'
|
507
|
+
* xmlns:height='http://example.com/heights'>
|
508
|
+
* <child width:size='broad' height:size='tall'/>
|
509
|
+
* </root>
|
510
|
+
* EOF
|
511
|
+
* doc.at_css("child").attribute("size")
|
512
|
+
* # => #(Attr:0x550 {
|
513
|
+
* # name = "size",
|
514
|
+
* # namespace = #(Namespace:0x564 {
|
515
|
+
* # prefix = "width",
|
516
|
+
* # href = "http://example.com/widths"
|
517
|
+
* # }),
|
518
|
+
* # value = "broad"
|
519
|
+
* # })
|
520
|
+
*/
|
521
|
+
static VALUE
|
522
|
+
rb_xml_node_attribute(VALUE self, VALUE name)
|
523
|
+
{
|
524
|
+
xmlNodePtr node;
|
525
|
+
xmlAttrPtr prop;
|
526
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
527
|
+
prop = xmlHasProp(node, (xmlChar *)StringValueCStr(name));
|
528
|
+
|
529
|
+
if (! prop) { return Qnil; }
|
530
|
+
return noko_xml_node_wrap(Qnil, (xmlNodePtr)prop);
|
531
|
+
}
|
532
|
+
|
533
|
+
|
534
|
+
/*
|
535
|
+
* :call-seq: attribute_nodes() → Array<Nokogiri::XML::Attr>
|
536
|
+
*
|
537
|
+
* :category: Working With Node Attributes
|
538
|
+
*
|
539
|
+
* [Returns] Attributes (an Array of Nokogiri::XML::Attr) belonging to this node.
|
540
|
+
*
|
541
|
+
* Note that this is the preferred alternative to #attributes when the simple
|
542
|
+
* (non-namespace-prefixed) attribute names may collide.
|
543
|
+
*
|
544
|
+
* *Example:*
|
545
|
+
*
|
546
|
+
* Contrast this with the colliding-name example from #attributes.
|
547
|
+
*
|
548
|
+
* doc = Nokogiri::XML(<<~EOF)
|
549
|
+
* <root xmlns:width='http://example.com/widths'
|
550
|
+
* xmlns:height='http://example.com/heights'>
|
551
|
+
* <child width:size='broad' height:size='tall'/>
|
552
|
+
* </root>
|
553
|
+
* EOF
|
554
|
+
* doc.at_css("child").attribute_nodes
|
555
|
+
* # => [#(Attr:0x550 {
|
556
|
+
* # name = "size",
|
557
|
+
* # namespace = #(Namespace:0x564 {
|
558
|
+
* # prefix = "width",
|
559
|
+
* # href = "http://example.com/widths"
|
560
|
+
* # }),
|
561
|
+
* # value = "broad"
|
562
|
+
* # }),
|
563
|
+
* # #(Attr:0x578 {
|
564
|
+
* # name = "size",
|
565
|
+
* # namespace = #(Namespace:0x58c {
|
566
|
+
* # prefix = "height",
|
567
|
+
* # href = "http://example.com/heights"
|
568
|
+
* # }),
|
569
|
+
* # value = "tall"
|
570
|
+
* # })]
|
571
|
+
*/
|
572
|
+
static VALUE
|
573
|
+
rb_xml_node_attribute_nodes(VALUE rb_node)
|
574
|
+
{
|
575
|
+
xmlNodePtr c_node;
|
576
|
+
|
577
|
+
Noko_Node_Get_Struct(rb_node, xmlNode, c_node);
|
578
|
+
|
579
|
+
return noko_xml_node_attrs(c_node);
|
580
|
+
}
|
581
|
+
|
582
|
+
|
583
|
+
/*
|
584
|
+
* :call-seq: attribute_with_ns(name, namespace) → Nokogiri::XML::Attr
|
585
|
+
*
|
586
|
+
* :category: Working With Node Attributes
|
587
|
+
*
|
588
|
+
* [Returns]
|
589
|
+
* Attribute (Nokogiri::XML::Attr) belonging to this node with matching +name+ and +namespace+.
|
590
|
+
*
|
591
|
+
* [Parameters]
|
592
|
+
* - +name+ (String): the simple (non-namespace-prefixed) name of the attribute
|
593
|
+
* - +namespace+ (String): the URI of the attribute's namespace
|
594
|
+
*
|
595
|
+
* See related: #attribute
|
596
|
+
*
|
597
|
+
* *Example:*
|
598
|
+
*
|
599
|
+
* doc = Nokogiri::XML(<<~EOF)
|
600
|
+
* <root xmlns:width='http://example.com/widths'
|
601
|
+
* xmlns:height='http://example.com/heights'>
|
602
|
+
* <child width:size='broad' height:size='tall'/>
|
603
|
+
* </root>
|
604
|
+
* EOF
|
605
|
+
* doc.at_css("child").attribute_with_ns("size", "http://example.com/widths")
|
606
|
+
* # => #(Attr:0x550 {
|
607
|
+
* # name = "size",
|
608
|
+
* # namespace = #(Namespace:0x564 {
|
609
|
+
* # prefix = "width",
|
610
|
+
* # href = "http://example.com/widths"
|
611
|
+
* # }),
|
612
|
+
* # value = "broad"
|
613
|
+
* # })
|
614
|
+
* doc.at_css("child").attribute_with_ns("size", "http://example.com/heights")
|
615
|
+
* # => #(Attr:0x578 {
|
616
|
+
* # name = "size",
|
617
|
+
* # namespace = #(Namespace:0x58c {
|
618
|
+
* # prefix = "height",
|
619
|
+
* # href = "http://example.com/heights"
|
620
|
+
* # }),
|
621
|
+
* # value = "tall"
|
622
|
+
* # })
|
623
|
+
*/
|
624
|
+
static VALUE
|
625
|
+
rb_xml_node_attribute_with_ns(VALUE self, VALUE name, VALUE namespace)
|
626
|
+
{
|
627
|
+
xmlNodePtr node;
|
628
|
+
xmlAttrPtr prop;
|
629
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
630
|
+
prop = xmlHasNsProp(node, (xmlChar *)StringValueCStr(name),
|
631
|
+
NIL_P(namespace) ? NULL : (xmlChar *)StringValueCStr(namespace));
|
632
|
+
|
633
|
+
if (! prop) { return Qnil; }
|
634
|
+
return noko_xml_node_wrap(Qnil, (xmlNodePtr)prop);
|
635
|
+
}
|
636
|
+
|
637
|
+
|
638
|
+
|
639
|
+
/*
|
640
|
+
* call-seq: blank? → Boolean
|
641
|
+
*
|
642
|
+
* [Returns] +true+ if the node is an empty or whitespace-only text or cdata node, else +false+.
|
643
|
+
*
|
644
|
+
* *Example:*
|
645
|
+
*
|
646
|
+
* Nokogiri("<root><child/></root>").root.child.blank? # => false
|
647
|
+
* Nokogiri("<root>\t \n</root>").root.child.blank? # => true
|
648
|
+
* Nokogiri("<root><![CDATA[\t \n]]></root>").root.child.blank? # => true
|
649
|
+
* Nokogiri("<root>not-blank</root>").root.child
|
650
|
+
* .tap { |n| n.content = "" }.blank # => true
|
651
|
+
*/
|
652
|
+
static VALUE
|
653
|
+
rb_xml_node_blank_eh(VALUE self)
|
654
|
+
{
|
655
|
+
xmlNodePtr node;
|
656
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
657
|
+
return (1 == xmlIsBlankNode(node)) ? Qtrue : Qfalse ;
|
658
|
+
}
|
659
|
+
|
660
|
+
|
661
|
+
/*
|
662
|
+
* :call-seq: child() → Nokogiri::XML::Node
|
663
|
+
*
|
664
|
+
* :category: Traversing Document Structure
|
665
|
+
*
|
666
|
+
* [Returns] First of this node's children, or +nil+ if there are no children
|
667
|
+
*
|
668
|
+
* This is a convenience method and is equivalent to:
|
669
|
+
*
|
670
|
+
* node.children.first
|
671
|
+
*
|
672
|
+
* See related: #children
|
673
|
+
*/
|
674
|
+
static VALUE
|
675
|
+
rb_xml_node_child(VALUE self)
|
676
|
+
{
|
677
|
+
xmlNodePtr node, child;
|
678
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
679
|
+
|
680
|
+
child = node->children;
|
681
|
+
if (!child) { return Qnil; }
|
682
|
+
|
683
|
+
return noko_xml_node_wrap(Qnil, child);
|
684
|
+
}
|
685
|
+
|
686
|
+
|
687
|
+
/*
|
688
|
+
* :call-seq: children() → Nokogiri::XML::NodeSet
|
689
|
+
*
|
690
|
+
* :category: Traversing Document Structure
|
691
|
+
*
|
692
|
+
* [Returns] Nokogiri::XML::NodeSet containing this node's children.
|
693
|
+
*/
|
694
|
+
static VALUE
|
695
|
+
rb_xml_node_children(VALUE self)
|
696
|
+
{
|
697
|
+
xmlNodePtr node;
|
698
|
+
xmlNodePtr child;
|
699
|
+
xmlNodeSetPtr set;
|
700
|
+
VALUE document;
|
701
|
+
VALUE node_set;
|
702
|
+
|
703
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
704
|
+
|
705
|
+
child = node->children;
|
706
|
+
set = xmlXPathNodeSetCreate(child);
|
707
|
+
|
708
|
+
document = DOC_RUBY_OBJECT(node->doc);
|
709
|
+
|
710
|
+
if (!child) { return noko_xml_node_set_wrap(set, document); }
|
711
|
+
|
712
|
+
child = child->next;
|
713
|
+
while (NULL != child) {
|
714
|
+
xmlXPathNodeSetAddUnique(set, child);
|
715
|
+
child = child->next;
|
716
|
+
}
|
717
|
+
|
718
|
+
node_set = noko_xml_node_set_wrap(set, document);
|
719
|
+
|
720
|
+
return node_set;
|
721
|
+
}
|
722
|
+
|
723
|
+
|
724
|
+
/*
|
725
|
+
* :call-seq:
|
726
|
+
* content() → String
|
727
|
+
* inner_text() → String
|
728
|
+
* text() → String
|
729
|
+
* to_str() → String
|
730
|
+
*
|
731
|
+
* [Returns]
|
732
|
+
* Contents of all the text nodes in this node's subtree, concatenated together into a single
|
733
|
+
* String.
|
734
|
+
*
|
735
|
+
* ⚠ Note that entities will _always_ be expanded in the returned String.
|
736
|
+
*
|
737
|
+
* See related: #inner_html
|
738
|
+
*
|
739
|
+
* *Example* of how entities are handled:
|
740
|
+
*
|
741
|
+
* Note that <tt><</tt> becomes <tt><</tt> in the returned String.
|
742
|
+
*
|
743
|
+
* doc = Nokogiri::XML.fragment("<child>a < b</child>")
|
744
|
+
* doc.at_css("child").content
|
745
|
+
* # => "a < b"
|
746
|
+
*
|
747
|
+
* *Example* of how a subtree is handled:
|
748
|
+
*
|
749
|
+
* Note that the <tt><span></tt> tags are omitted and only the text node contents are returned,
|
750
|
+
* concatenated into a single string.
|
751
|
+
*
|
752
|
+
* doc = Nokogiri::XML.fragment("<child><span>first</span> <span>second</span></child>")
|
753
|
+
* doc.at_css("child").content
|
754
|
+
* # => "first second"
|
755
|
+
*/
|
756
|
+
static VALUE
|
757
|
+
rb_xml_node_content(VALUE self)
|
758
|
+
{
|
759
|
+
xmlNodePtr node;
|
760
|
+
xmlChar *content;
|
761
|
+
|
762
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
763
|
+
|
764
|
+
content = xmlNodeGetContent(node);
|
765
|
+
if (content) {
|
766
|
+
VALUE rval = NOKOGIRI_STR_NEW2(content);
|
767
|
+
xmlFree(content);
|
768
|
+
return rval;
|
769
|
+
}
|
770
|
+
return Qnil;
|
771
|
+
}
|
772
|
+
|
773
|
+
|
774
|
+
/*
|
775
|
+
* :call-seq: document() → Nokogiri::XML::Document
|
776
|
+
*
|
777
|
+
* :category: Traversing Document Structure
|
778
|
+
*
|
779
|
+
* [Returns] Parent Nokogiri::XML::Document for this node
|
780
|
+
*/
|
781
|
+
static VALUE
|
782
|
+
rb_xml_node_document(VALUE self)
|
783
|
+
{
|
784
|
+
xmlNodePtr node;
|
785
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
786
|
+
return DOC_RUBY_OBJECT(node->doc);
|
787
|
+
}
|
788
|
+
|
789
|
+
/*
|
790
|
+
* :call-seq: pointer_id() → Integer
|
791
|
+
*
|
792
|
+
* [Returns]
|
793
|
+
* A unique id for this node based on the internal memory structures. This method is used by #==
|
794
|
+
* to determine node identity.
|
795
|
+
*/
|
796
|
+
static VALUE
|
797
|
+
rb_xml_node_pointer_id(VALUE self)
|
798
|
+
{
|
799
|
+
xmlNodePtr node;
|
800
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
801
|
+
|
802
|
+
return rb_uint2inum((uintptr_t)(node));
|
803
|
+
}
|
804
|
+
|
805
|
+
/*
|
806
|
+
* :call-seq: encode_special_chars(string) → String
|
807
|
+
*
|
808
|
+
* Encode any special characters in +string+
|
809
|
+
*/
|
810
|
+
static VALUE
|
811
|
+
encode_special_chars(VALUE self, VALUE string)
|
812
|
+
{
|
813
|
+
xmlNodePtr node;
|
814
|
+
xmlChar *encoded;
|
815
|
+
VALUE encoded_str;
|
816
|
+
|
817
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
818
|
+
encoded = xmlEncodeSpecialChars(
|
819
|
+
node->doc,
|
820
|
+
(const xmlChar *)StringValueCStr(string)
|
821
|
+
);
|
822
|
+
|
823
|
+
encoded_str = NOKOGIRI_STR_NEW2(encoded);
|
824
|
+
xmlFree(encoded);
|
825
|
+
|
826
|
+
return encoded_str;
|
827
|
+
}
|
828
|
+
|
829
|
+
/*
|
830
|
+
* :call-seq:
|
831
|
+
* create_internal_subset(name, external_id, system_id)
|
832
|
+
*
|
833
|
+
* Create the internal subset of a document.
|
834
|
+
*
|
835
|
+
* doc.create_internal_subset("chapter", "-//OASIS//DTD DocBook XML//EN", "chapter.dtd")
|
836
|
+
* # => <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML//EN" "chapter.dtd">
|
837
|
+
*
|
838
|
+
* doc.create_internal_subset("chapter", nil, "chapter.dtd")
|
839
|
+
* # => <!DOCTYPE chapter SYSTEM "chapter.dtd">
|
840
|
+
*/
|
841
|
+
static VALUE
|
842
|
+
create_internal_subset(VALUE self, VALUE name, VALUE external_id, VALUE system_id)
|
843
|
+
{
|
844
|
+
xmlNodePtr node;
|
845
|
+
xmlDocPtr doc;
|
846
|
+
xmlDtdPtr dtd;
|
847
|
+
|
848
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
849
|
+
|
850
|
+
doc = node->doc;
|
851
|
+
|
852
|
+
if (xmlGetIntSubset(doc)) {
|
853
|
+
rb_raise(rb_eRuntimeError, "Document already has an internal subset");
|
854
|
+
}
|
855
|
+
|
856
|
+
dtd = xmlCreateIntSubset(
|
857
|
+
doc,
|
858
|
+
NIL_P(name) ? NULL : (const xmlChar *)StringValueCStr(name),
|
859
|
+
NIL_P(external_id) ? NULL : (const xmlChar *)StringValueCStr(external_id),
|
860
|
+
NIL_P(system_id) ? NULL : (const xmlChar *)StringValueCStr(system_id)
|
861
|
+
);
|
862
|
+
|
863
|
+
if (!dtd) { return Qnil; }
|
864
|
+
|
865
|
+
return noko_xml_node_wrap(Qnil, (xmlNodePtr)dtd);
|
866
|
+
}
|
867
|
+
|
868
|
+
/*
|
869
|
+
* :call-seq:
|
870
|
+
* create_external_subset(name, external_id, system_id)
|
871
|
+
*
|
872
|
+
* Create an external subset
|
873
|
+
*/
|
874
|
+
static VALUE
|
875
|
+
create_external_subset(VALUE self, VALUE name, VALUE external_id, VALUE system_id)
|
876
|
+
{
|
877
|
+
xmlNodePtr node;
|
878
|
+
xmlDocPtr doc;
|
879
|
+
xmlDtdPtr dtd;
|
880
|
+
|
881
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
882
|
+
|
883
|
+
doc = node->doc;
|
884
|
+
|
885
|
+
if (doc->extSubset) {
|
886
|
+
rb_raise(rb_eRuntimeError, "Document already has an external subset");
|
887
|
+
}
|
888
|
+
|
889
|
+
dtd = xmlNewDtd(
|
890
|
+
doc,
|
891
|
+
NIL_P(name) ? NULL : (const xmlChar *)StringValueCStr(name),
|
892
|
+
NIL_P(external_id) ? NULL : (const xmlChar *)StringValueCStr(external_id),
|
893
|
+
NIL_P(system_id) ? NULL : (const xmlChar *)StringValueCStr(system_id)
|
894
|
+
);
|
895
|
+
|
896
|
+
if (!dtd) { return Qnil; }
|
897
|
+
|
898
|
+
return noko_xml_node_wrap(Qnil, (xmlNodePtr)dtd);
|
899
|
+
}
|
900
|
+
|
901
|
+
/*
|
902
|
+
* :call-seq:
|
903
|
+
* external_subset()
|
904
|
+
*
|
905
|
+
* Get the external subset
|
906
|
+
*/
|
907
|
+
static VALUE
|
908
|
+
external_subset(VALUE self)
|
909
|
+
{
|
910
|
+
xmlNodePtr node;
|
911
|
+
xmlDocPtr doc;
|
912
|
+
xmlDtdPtr dtd;
|
913
|
+
|
914
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
915
|
+
|
916
|
+
if (!node->doc) { return Qnil; }
|
917
|
+
|
918
|
+
doc = node->doc;
|
919
|
+
dtd = doc->extSubset;
|
920
|
+
|
921
|
+
if (!dtd) { return Qnil; }
|
922
|
+
|
923
|
+
return noko_xml_node_wrap(Qnil, (xmlNodePtr)dtd);
|
924
|
+
}
|
925
|
+
|
926
|
+
/*
|
927
|
+
* :call-seq:
|
928
|
+
* internal_subset()
|
929
|
+
*
|
930
|
+
* Get the internal subset
|
931
|
+
*/
|
932
|
+
static VALUE
|
933
|
+
internal_subset(VALUE self)
|
934
|
+
{
|
935
|
+
xmlNodePtr node;
|
936
|
+
xmlDocPtr doc;
|
937
|
+
xmlDtdPtr dtd;
|
938
|
+
|
939
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
940
|
+
|
941
|
+
if (!node->doc) { return Qnil; }
|
942
|
+
|
943
|
+
doc = node->doc;
|
944
|
+
dtd = xmlGetIntSubset(doc);
|
945
|
+
|
946
|
+
if (!dtd) { return Qnil; }
|
947
|
+
|
948
|
+
return noko_xml_node_wrap(Qnil, (xmlNodePtr)dtd);
|
949
|
+
}
|
950
|
+
|
951
|
+
/*
|
952
|
+
* :call-seq:
|
953
|
+
* dup → Nokogiri::XML::Node
|
954
|
+
* dup(depth) → Nokogiri::XML::Node
|
955
|
+
* dup(depth, new_parent_doc) → Nokogiri::XML::Node
|
956
|
+
*
|
957
|
+
* Copy this node.
|
958
|
+
*
|
959
|
+
* [Parameters]
|
960
|
+
* - +depth+ 0 is a shallow copy, 1 (the default) is a deep copy.
|
961
|
+
* - +new_parent_doc+
|
962
|
+
* The new node's parent Document. Defaults to the this node's document.
|
963
|
+
*
|
964
|
+
* [Returns] The new Nokgiri::XML::Node
|
965
|
+
*/
|
966
|
+
static VALUE
|
967
|
+
duplicate_node(int argc, VALUE *argv, VALUE self)
|
968
|
+
{
|
969
|
+
VALUE r_level, r_new_parent_doc;
|
970
|
+
int level;
|
971
|
+
int n_args;
|
972
|
+
xmlDocPtr new_parent_doc;
|
973
|
+
xmlNodePtr node, dup;
|
974
|
+
|
975
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
976
|
+
|
977
|
+
n_args = rb_scan_args(argc, argv, "02", &r_level, &r_new_parent_doc);
|
978
|
+
|
979
|
+
if (n_args < 1) {
|
980
|
+
r_level = INT2NUM((long)1);
|
981
|
+
}
|
982
|
+
level = (int)NUM2INT(r_level);
|
983
|
+
|
984
|
+
if (n_args < 2) {
|
985
|
+
new_parent_doc = node->doc;
|
986
|
+
} else {
|
987
|
+
Data_Get_Struct(r_new_parent_doc, xmlDoc, new_parent_doc);
|
988
|
+
}
|
989
|
+
|
990
|
+
dup = xmlDocCopyNode(node, new_parent_doc, level);
|
991
|
+
if (dup == NULL) { return Qnil; }
|
992
|
+
|
993
|
+
noko_xml_document_pin_node(dup);
|
994
|
+
|
995
|
+
return noko_xml_node_wrap(rb_obj_class(self), dup);
|
996
|
+
}
|
997
|
+
|
998
|
+
/*
|
999
|
+
* :call-seq:
|
1000
|
+
* unlink() → self
|
1001
|
+
*
|
1002
|
+
* Unlink this node from its current context.
|
1003
|
+
*/
|
1004
|
+
static VALUE
|
1005
|
+
unlink_node(VALUE self)
|
1006
|
+
{
|
1007
|
+
xmlNodePtr node;
|
1008
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1009
|
+
xmlUnlinkNode(node);
|
1010
|
+
noko_xml_document_pin_node(node);
|
1011
|
+
return self;
|
1012
|
+
}
|
1013
|
+
|
1014
|
+
|
1015
|
+
/*
|
1016
|
+
* call-seq:
|
1017
|
+
* next_sibling
|
1018
|
+
*
|
1019
|
+
* Returns the next sibling node
|
1020
|
+
*/
|
1021
|
+
static VALUE
|
1022
|
+
next_sibling(VALUE self)
|
1023
|
+
{
|
1024
|
+
xmlNodePtr node, sibling;
|
1025
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1026
|
+
|
1027
|
+
sibling = node->next;
|
1028
|
+
if (!sibling) { return Qnil; }
|
1029
|
+
|
1030
|
+
return noko_xml_node_wrap(Qnil, sibling) ;
|
1031
|
+
}
|
1032
|
+
|
1033
|
+
/*
|
1034
|
+
* call-seq:
|
1035
|
+
* previous_sibling
|
1036
|
+
*
|
1037
|
+
* Returns the previous sibling node
|
1038
|
+
*/
|
1039
|
+
static VALUE
|
1040
|
+
previous_sibling(VALUE self)
|
1041
|
+
{
|
1042
|
+
xmlNodePtr node, sibling;
|
1043
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1044
|
+
|
1045
|
+
sibling = node->prev;
|
1046
|
+
if (!sibling) { return Qnil; }
|
1047
|
+
|
1048
|
+
return noko_xml_node_wrap(Qnil, sibling);
|
1049
|
+
}
|
1050
|
+
|
1051
|
+
/*
|
1052
|
+
* call-seq:
|
1053
|
+
* next_element
|
1054
|
+
*
|
1055
|
+
* Returns the next Nokogiri::XML::Element type sibling node.
|
1056
|
+
*/
|
1057
|
+
static VALUE
|
1058
|
+
next_element(VALUE self)
|
1059
|
+
{
|
1060
|
+
xmlNodePtr node, sibling;
|
1061
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1062
|
+
|
1063
|
+
sibling = xmlNextElementSibling(node);
|
1064
|
+
if (!sibling) { return Qnil; }
|
1065
|
+
|
1066
|
+
return noko_xml_node_wrap(Qnil, sibling);
|
1067
|
+
}
|
1068
|
+
|
1069
|
+
/*
|
1070
|
+
* call-seq:
|
1071
|
+
* previous_element
|
1072
|
+
*
|
1073
|
+
* Returns the previous Nokogiri::XML::Element type sibling node.
|
1074
|
+
*/
|
1075
|
+
static VALUE
|
1076
|
+
previous_element(VALUE self)
|
1077
|
+
{
|
1078
|
+
xmlNodePtr node, sibling;
|
1079
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1080
|
+
|
1081
|
+
/*
|
1082
|
+
* note that we don't use xmlPreviousElementSibling here because it's buggy pre-2.7.7.
|
1083
|
+
*/
|
1084
|
+
sibling = node->prev;
|
1085
|
+
if (!sibling) { return Qnil; }
|
1086
|
+
|
1087
|
+
while (sibling && sibling->type != XML_ELEMENT_NODE) {
|
1088
|
+
sibling = sibling->prev;
|
1089
|
+
}
|
1090
|
+
|
1091
|
+
return sibling ? noko_xml_node_wrap(Qnil, sibling) : Qnil ;
|
1092
|
+
}
|
1093
|
+
|
1094
|
+
/* :nodoc: */
|
1095
|
+
static VALUE
|
1096
|
+
replace(VALUE self, VALUE new_node)
|
1097
|
+
{
|
1098
|
+
VALUE reparent = reparent_node_with(self, new_node, xmlReplaceNodeWrapper);
|
1099
|
+
|
1100
|
+
xmlNodePtr pivot;
|
1101
|
+
Noko_Node_Get_Struct(self, xmlNode, pivot);
|
1102
|
+
noko_xml_document_pin_node(pivot);
|
1103
|
+
|
1104
|
+
return reparent;
|
1105
|
+
}
|
1106
|
+
|
1107
|
+
/*
|
1108
|
+
* :call-seq:
|
1109
|
+
* element_children() → NodeSet
|
1110
|
+
* elements() → NodeSet
|
1111
|
+
*
|
1112
|
+
* [Returns]
|
1113
|
+
* The node's child elements as a NodeSet. Only children that are elements will be returned, which
|
1114
|
+
* notably excludes Text nodes.
|
1115
|
+
*
|
1116
|
+
* *Example:*
|
1117
|
+
*
|
1118
|
+
* Note that #children returns the Text node "hello" while #element_children does not.
|
1119
|
+
*
|
1120
|
+
* div = Nokogiri::HTML5("<div>hello<span>world</span>").at_css("div")
|
1121
|
+
* div.element_children
|
1122
|
+
* # => [#<Nokogiri::XML::Element:0x50 name="span" children=[#<Nokogiri::XML::Text:0x3c "world">]>]
|
1123
|
+
* div.children
|
1124
|
+
* # => [#<Nokogiri::XML::Text:0x64 "hello">,
|
1125
|
+
* # #<Nokogiri::XML::Element:0x50 name="span" children=[#<Nokogiri::XML::Text:0x3c "world">]>]
|
1126
|
+
*/
|
1127
|
+
static VALUE
|
1128
|
+
rb_xml_node_element_children(VALUE self)
|
1129
|
+
{
|
1130
|
+
xmlNodePtr node;
|
1131
|
+
xmlNodePtr child;
|
1132
|
+
xmlNodeSetPtr set;
|
1133
|
+
VALUE document;
|
1134
|
+
VALUE node_set;
|
1135
|
+
|
1136
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1137
|
+
|
1138
|
+
child = xmlFirstElementChild(node);
|
1139
|
+
set = xmlXPathNodeSetCreate(child);
|
1140
|
+
|
1141
|
+
document = DOC_RUBY_OBJECT(node->doc);
|
1142
|
+
|
1143
|
+
if (!child) { return noko_xml_node_set_wrap(set, document); }
|
1144
|
+
|
1145
|
+
child = xmlNextElementSibling(child);
|
1146
|
+
while (NULL != child) {
|
1147
|
+
xmlXPathNodeSetAddUnique(set, child);
|
1148
|
+
child = xmlNextElementSibling(child);
|
1149
|
+
}
|
1150
|
+
|
1151
|
+
node_set = noko_xml_node_set_wrap(set, document);
|
1152
|
+
|
1153
|
+
return node_set;
|
1154
|
+
}
|
1155
|
+
|
1156
|
+
/*
|
1157
|
+
* :call-seq:
|
1158
|
+
* first_element_child() → Node
|
1159
|
+
*
|
1160
|
+
* [Returns] The first child Node that is an element.
|
1161
|
+
*
|
1162
|
+
* *Example:*
|
1163
|
+
*
|
1164
|
+
* Note that the "hello" child, which is a Text node, is skipped and the <tt><span></tt> element is
|
1165
|
+
* returned.
|
1166
|
+
*
|
1167
|
+
* div = Nokogiri::HTML5("<div>hello<span>world</span>").at_css("div")
|
1168
|
+
* div.first_element_child
|
1169
|
+
* # => #(Element:0x3c { name = "span", children = [ #(Text "world")] })
|
1170
|
+
*/
|
1171
|
+
static VALUE
|
1172
|
+
rb_xml_node_first_element_child(VALUE self)
|
1173
|
+
{
|
1174
|
+
xmlNodePtr node, child;
|
1175
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1176
|
+
|
1177
|
+
child = xmlFirstElementChild(node);
|
1178
|
+
if (!child) { return Qnil; }
|
1179
|
+
|
1180
|
+
return noko_xml_node_wrap(Qnil, child);
|
1181
|
+
}
|
1182
|
+
|
1183
|
+
/*
|
1184
|
+
* :call-seq:
|
1185
|
+
* last_element_child() → Node
|
1186
|
+
*
|
1187
|
+
* [Returns] The last child Node that is an element.
|
1188
|
+
*
|
1189
|
+
* *Example:*
|
1190
|
+
*
|
1191
|
+
* Note that the "hello" child, which is a Text node, is skipped and the <tt><span>yes</span></tt>
|
1192
|
+
* element is returned.
|
1193
|
+
*
|
1194
|
+
* div = Nokogiri::HTML5("<div><span>no</span><span>yes</span>skip</div>").at_css("div")
|
1195
|
+
* div.last_element_child
|
1196
|
+
* # => #(Element:0x3c { name = "span", children = [ #(Text "yes")] })
|
1197
|
+
*/
|
1198
|
+
static VALUE
|
1199
|
+
rb_xml_node_last_element_child(VALUE self)
|
1200
|
+
{
|
1201
|
+
xmlNodePtr node, child;
|
1202
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1203
|
+
|
1204
|
+
child = xmlLastElementChild(node);
|
1205
|
+
if (!child) { return Qnil; }
|
1206
|
+
|
1207
|
+
return noko_xml_node_wrap(Qnil, child);
|
1208
|
+
}
|
1209
|
+
|
1210
|
+
/*
|
1211
|
+
* call-seq:
|
1212
|
+
* key?(attribute)
|
1213
|
+
*
|
1214
|
+
* Returns true if +attribute+ is set
|
1215
|
+
*/
|
1216
|
+
static VALUE
|
1217
|
+
key_eh(VALUE self, VALUE attribute)
|
1218
|
+
{
|
1219
|
+
xmlNodePtr node;
|
1220
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1221
|
+
if (xmlHasProp(node, (xmlChar *)StringValueCStr(attribute))) {
|
1222
|
+
return Qtrue;
|
1223
|
+
}
|
1224
|
+
return Qfalse;
|
1225
|
+
}
|
1226
|
+
|
1227
|
+
/*
|
1228
|
+
* call-seq:
|
1229
|
+
* namespaced_key?(attribute, namespace)
|
1230
|
+
*
|
1231
|
+
* Returns true if +attribute+ is set with +namespace+
|
1232
|
+
*/
|
1233
|
+
static VALUE
|
1234
|
+
namespaced_key_eh(VALUE self, VALUE attribute, VALUE namespace)
|
1235
|
+
{
|
1236
|
+
xmlNodePtr node;
|
1237
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1238
|
+
if (xmlHasNsProp(node, (xmlChar *)StringValueCStr(attribute),
|
1239
|
+
NIL_P(namespace) ? NULL : (xmlChar *)StringValueCStr(namespace))) {
|
1240
|
+
return Qtrue;
|
1241
|
+
}
|
1242
|
+
return Qfalse;
|
1243
|
+
}
|
1244
|
+
|
1245
|
+
/*
|
1246
|
+
* call-seq:
|
1247
|
+
* []=(property, value)
|
1248
|
+
*
|
1249
|
+
* Set the +property+ to +value+
|
1250
|
+
*/
|
1251
|
+
static VALUE
|
1252
|
+
set(VALUE self, VALUE property, VALUE value)
|
1253
|
+
{
|
1254
|
+
xmlNodePtr node, cur;
|
1255
|
+
xmlAttrPtr prop;
|
1256
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1257
|
+
|
1258
|
+
/* If a matching attribute node already exists, then xmlSetProp will destroy
|
1259
|
+
* the existing node's children. However, if Nokogiri has a node object
|
1260
|
+
* pointing to one of those children, we are left with a broken reference.
|
1261
|
+
*
|
1262
|
+
* We can avoid this by unlinking these nodes first.
|
1263
|
+
*/
|
1264
|
+
if (node->type != XML_ELEMENT_NODE) {
|
1265
|
+
return (Qnil);
|
1266
|
+
}
|
1267
|
+
prop = xmlHasProp(node, (xmlChar *)StringValueCStr(property));
|
1268
|
+
if (prop && prop->children) {
|
1269
|
+
for (cur = prop->children; cur; cur = cur->next) {
|
1270
|
+
if (cur->_private) {
|
1271
|
+
noko_xml_document_pin_node(cur);
|
1272
|
+
xmlUnlinkNode(cur);
|
1273
|
+
}
|
1274
|
+
}
|
1275
|
+
}
|
1276
|
+
|
1277
|
+
xmlSetProp(node, (xmlChar *)StringValueCStr(property),
|
1278
|
+
(xmlChar *)StringValueCStr(value));
|
1279
|
+
|
1280
|
+
return value;
|
1281
|
+
}
|
1282
|
+
|
1283
|
+
/*
|
1284
|
+
* call-seq:
|
1285
|
+
* get(attribute)
|
1286
|
+
*
|
1287
|
+
* Get the value for +attribute+
|
1288
|
+
*/
|
1289
|
+
static VALUE
|
1290
|
+
get(VALUE self, VALUE rattribute)
|
1291
|
+
{
|
1292
|
+
xmlNodePtr node;
|
1293
|
+
xmlChar *value = 0;
|
1294
|
+
VALUE rvalue;
|
1295
|
+
xmlChar *colon;
|
1296
|
+
xmlChar *attribute, *attr_name, *prefix;
|
1297
|
+
xmlNsPtr ns;
|
1298
|
+
|
1299
|
+
if (NIL_P(rattribute)) { return Qnil; }
|
1300
|
+
|
1301
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1302
|
+
attribute = xmlCharStrdup(StringValueCStr(rattribute));
|
1303
|
+
|
1304
|
+
colon = DISCARD_CONST_QUAL_XMLCHAR(xmlStrchr(attribute, (const xmlChar)':'));
|
1305
|
+
if (colon) {
|
1306
|
+
/* split the attribute string into separate prefix and name by
|
1307
|
+
* null-terminating the prefix at the colon */
|
1308
|
+
prefix = attribute;
|
1309
|
+
attr_name = colon + 1;
|
1310
|
+
(*colon) = 0;
|
1311
|
+
|
1312
|
+
ns = xmlSearchNs(node->doc, node, prefix);
|
1313
|
+
if (ns) {
|
1314
|
+
value = xmlGetNsProp(node, attr_name, ns->href);
|
1315
|
+
} else {
|
1316
|
+
value = xmlGetProp(node, (xmlChar *)StringValueCStr(rattribute));
|
1317
|
+
}
|
1318
|
+
} else {
|
1319
|
+
value = xmlGetNoNsProp(node, attribute);
|
1320
|
+
}
|
1321
|
+
|
1322
|
+
xmlFree((void *)attribute);
|
1323
|
+
if (!value) { return Qnil; }
|
1324
|
+
|
1325
|
+
rvalue = NOKOGIRI_STR_NEW2(value);
|
1326
|
+
xmlFree((void *)value);
|
1327
|
+
|
1328
|
+
return rvalue ;
|
1329
|
+
}
|
1330
|
+
|
1331
|
+
/*
|
1332
|
+
* call-seq:
|
1333
|
+
* set_namespace(namespace)
|
1334
|
+
*
|
1335
|
+
* Set the namespace to +namespace+
|
1336
|
+
*/
|
1337
|
+
static VALUE
|
1338
|
+
set_namespace(VALUE self, VALUE namespace)
|
1339
|
+
{
|
1340
|
+
xmlNodePtr node;
|
1341
|
+
xmlNsPtr ns = NULL;
|
1342
|
+
|
1343
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1344
|
+
|
1345
|
+
if (!NIL_P(namespace)) {
|
1346
|
+
Noko_Namespace_Get_Struct(namespace, xmlNs, ns);
|
1347
|
+
}
|
1348
|
+
|
1349
|
+
xmlSetNs(node, ns);
|
1350
|
+
|
1351
|
+
return self;
|
1352
|
+
}
|
1353
|
+
|
1354
|
+
/*
|
1355
|
+
* :call-seq:
|
1356
|
+
* namespace() → Namespace
|
1357
|
+
*
|
1358
|
+
* [Returns] The Namespace of the element or attribute node, or +nil+ if there is no namespace.
|
1359
|
+
*
|
1360
|
+
* *Example:*
|
1361
|
+
*
|
1362
|
+
* doc = Nokogiri::XML(<<~EOF)
|
1363
|
+
* <root>
|
1364
|
+
* <first/>
|
1365
|
+
* <second xmlns="http://example.com/child"/>
|
1366
|
+
* <foo:third xmlns:foo="http://example.com/foo"/>
|
1367
|
+
* </root>
|
1368
|
+
* EOF
|
1369
|
+
* doc.at_xpath("//first").namespace
|
1370
|
+
* # => nil
|
1371
|
+
* doc.at_xpath("//xmlns:second", "xmlns" => "http://example.com/child").namespace
|
1372
|
+
* # => #(Namespace:0x3c { href = "http://example.com/child" })
|
1373
|
+
* doc.at_xpath("//foo:third", "foo" => "http://example.com/foo").namespace
|
1374
|
+
* # => #(Namespace:0x50 { prefix = "foo", href = "http://example.com/foo" })
|
1375
|
+
*/
|
1376
|
+
static VALUE
|
1377
|
+
rb_xml_node_namespace(VALUE rb_node)
|
1378
|
+
{
|
1379
|
+
xmlNodePtr c_node ;
|
1380
|
+
Noko_Node_Get_Struct(rb_node, xmlNode, c_node);
|
1381
|
+
|
1382
|
+
if (c_node->ns) {
|
1383
|
+
return noko_xml_namespace_wrap(c_node->ns, c_node->doc);
|
1384
|
+
}
|
1385
|
+
|
1386
|
+
return Qnil ;
|
1387
|
+
}
|
1388
|
+
|
1389
|
+
/*
|
1390
|
+
* :call-seq:
|
1391
|
+
* namespace_definitions() → Array<Nokogiri::XML::Namespace>
|
1392
|
+
*
|
1393
|
+
* [Returns]
|
1394
|
+
* Namespaces that are defined directly on this node, as an Array of Namespace objects. The array
|
1395
|
+
* will be empty if no namespaces are defined on this node.
|
1396
|
+
*
|
1397
|
+
* *Example:*
|
1398
|
+
*
|
1399
|
+
* doc = Nokogiri::XML(<<~EOF)
|
1400
|
+
* <root xmlns="http://example.com/root">
|
1401
|
+
* <first/>
|
1402
|
+
* <second xmlns="http://example.com/child" xmlns:unused="http://example.com/unused"/>
|
1403
|
+
* <foo:third xmlns:foo="http://example.com/foo"/>
|
1404
|
+
* </root>
|
1405
|
+
* EOF
|
1406
|
+
* doc.at_xpath("//root:first", "root" => "http://example.com/root").namespace_definitions
|
1407
|
+
* # => []
|
1408
|
+
* doc.at_xpath("//xmlns:second", "xmlns" => "http://example.com/child").namespace_definitions
|
1409
|
+
* # => [#(Namespace:0x3c { href = "http://example.com/child" }),
|
1410
|
+
* # #(Namespace:0x50 {
|
1411
|
+
* # prefix = "unused",
|
1412
|
+
* # href = "http://example.com/unused"
|
1413
|
+
* # })]
|
1414
|
+
* doc.at_xpath("//foo:third", "foo" => "http://example.com/foo").namespace_definitions
|
1415
|
+
* # => [#(Namespace:0x64 { prefix = "foo", href = "http://example.com/foo" })]
|
1416
|
+
*/
|
1417
|
+
static VALUE
|
1418
|
+
namespace_definitions(VALUE rb_node)
|
1419
|
+
{
|
1420
|
+
/* this code in the mode of xmlHasProp() */
|
1421
|
+
xmlNodePtr c_node ;
|
1422
|
+
xmlNsPtr c_namespace;
|
1423
|
+
VALUE definitions = rb_ary_new();
|
1424
|
+
|
1425
|
+
Noko_Node_Get_Struct(rb_node, xmlNode, c_node);
|
1426
|
+
|
1427
|
+
c_namespace = c_node->nsDef;
|
1428
|
+
if (!c_namespace) {
|
1429
|
+
return definitions;
|
1430
|
+
}
|
1431
|
+
|
1432
|
+
while (c_namespace != NULL) {
|
1433
|
+
rb_ary_push(definitions, noko_xml_namespace_wrap(c_namespace, c_node->doc));
|
1434
|
+
c_namespace = c_namespace->next;
|
1435
|
+
}
|
1436
|
+
|
1437
|
+
return definitions;
|
1438
|
+
}
|
1439
|
+
|
1440
|
+
/*
|
1441
|
+
* :call-seq:
|
1442
|
+
* namespace_scopes() → Array<Nokogiri::XML::Namespace>
|
1443
|
+
*
|
1444
|
+
* [Returns] Array of all the Namespaces on this node and its ancestors.
|
1445
|
+
*
|
1446
|
+
* See also #namespaces
|
1447
|
+
*
|
1448
|
+
* *Example:*
|
1449
|
+
*
|
1450
|
+
* doc = Nokogiri::XML(<<~EOF)
|
1451
|
+
* <root xmlns="http://example.com/root" xmlns:bar="http://example.com/bar">
|
1452
|
+
* <first/>
|
1453
|
+
* <second xmlns="http://example.com/child"/>
|
1454
|
+
* <third xmlns:foo="http://example.com/foo"/>
|
1455
|
+
* </root>
|
1456
|
+
* EOF
|
1457
|
+
* doc.at_xpath("//root:first", "root" => "http://example.com/root").namespace_scopes
|
1458
|
+
* # => [#(Namespace:0x3c { href = "http://example.com/root" }),
|
1459
|
+
* # #(Namespace:0x50 { prefix = "bar", href = "http://example.com/bar" })]
|
1460
|
+
* doc.at_xpath("//child:second", "child" => "http://example.com/child").namespace_scopes
|
1461
|
+
* # => [#(Namespace:0x64 { href = "http://example.com/child" }),
|
1462
|
+
* # #(Namespace:0x50 { prefix = "bar", href = "http://example.com/bar" })]
|
1463
|
+
* doc.at_xpath("//root:third", "root" => "http://example.com/root").namespace_scopes
|
1464
|
+
* # => [#(Namespace:0x78 { prefix = "foo", href = "http://example.com/foo" }),
|
1465
|
+
* # #(Namespace:0x3c { href = "http://example.com/root" }),
|
1466
|
+
* # #(Namespace:0x50 { prefix = "bar", href = "http://example.com/bar" })]
|
1467
|
+
*/
|
1468
|
+
static VALUE
|
1469
|
+
rb_xml_node_namespace_scopes(VALUE rb_node)
|
1470
|
+
{
|
1471
|
+
xmlNodePtr c_node ;
|
1472
|
+
xmlNsPtr *namespaces;
|
1473
|
+
VALUE scopes = rb_ary_new();
|
1474
|
+
int j;
|
1475
|
+
|
1476
|
+
Noko_Node_Get_Struct(rb_node, xmlNode, c_node);
|
1477
|
+
|
1478
|
+
namespaces = xmlGetNsList(c_node->doc, c_node);
|
1479
|
+
if (!namespaces) {
|
1480
|
+
return scopes;
|
1481
|
+
}
|
1482
|
+
|
1483
|
+
for (j = 0 ; namespaces[j] != NULL ; ++j) {
|
1484
|
+
rb_ary_push(scopes, noko_xml_namespace_wrap(namespaces[j], c_node->doc));
|
1485
|
+
}
|
1486
|
+
|
1487
|
+
xmlFree(namespaces);
|
1488
|
+
return scopes;
|
1489
|
+
}
|
1490
|
+
|
1491
|
+
/*
|
1492
|
+
* call-seq:
|
1493
|
+
* node_type
|
1494
|
+
*
|
1495
|
+
* Get the type for this Node
|
1496
|
+
*/
|
1497
|
+
static VALUE
|
1498
|
+
node_type(VALUE self)
|
1499
|
+
{
|
1500
|
+
xmlNodePtr node;
|
1501
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1502
|
+
return INT2NUM(node->type);
|
1503
|
+
}
|
1504
|
+
|
1505
|
+
/*
|
1506
|
+
* call-seq:
|
1507
|
+
* content=
|
1508
|
+
*
|
1509
|
+
* Set the content for this Node
|
1510
|
+
*/
|
1511
|
+
static VALUE
|
1512
|
+
set_native_content(VALUE self, VALUE content)
|
1513
|
+
{
|
1514
|
+
xmlNodePtr node, child, next ;
|
1515
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1516
|
+
|
1517
|
+
child = node->children;
|
1518
|
+
while (NULL != child) {
|
1519
|
+
next = child->next ;
|
1520
|
+
xmlUnlinkNode(child) ;
|
1521
|
+
noko_xml_document_pin_node(child);
|
1522
|
+
child = next ;
|
1523
|
+
}
|
1524
|
+
|
1525
|
+
xmlNodeSetContent(node, (xmlChar *)StringValueCStr(content));
|
1526
|
+
return content;
|
1527
|
+
}
|
1528
|
+
|
1529
|
+
/*
|
1530
|
+
* call-seq:
|
1531
|
+
* lang=
|
1532
|
+
*
|
1533
|
+
* Set the language of a node, i.e. the values of the xml:lang attribute.
|
1534
|
+
*/
|
1535
|
+
static VALUE
|
1536
|
+
set_lang(VALUE self_rb, VALUE lang_rb)
|
1537
|
+
{
|
1538
|
+
xmlNodePtr self ;
|
1539
|
+
xmlChar *lang ;
|
1540
|
+
|
1541
|
+
Noko_Node_Get_Struct(self_rb, xmlNode, self);
|
1542
|
+
lang = (xmlChar *)StringValueCStr(lang_rb);
|
1543
|
+
|
1544
|
+
xmlNodeSetLang(self, lang);
|
1545
|
+
|
1546
|
+
return Qnil ;
|
1547
|
+
}
|
1548
|
+
|
1549
|
+
/*
|
1550
|
+
* call-seq:
|
1551
|
+
* lang
|
1552
|
+
*
|
1553
|
+
* Searches the language of a node, i.e. the values of the xml:lang attribute or
|
1554
|
+
* the one carried by the nearest ancestor.
|
1555
|
+
*/
|
1556
|
+
static VALUE
|
1557
|
+
get_lang(VALUE self_rb)
|
1558
|
+
{
|
1559
|
+
xmlNodePtr self ;
|
1560
|
+
xmlChar *lang ;
|
1561
|
+
VALUE lang_rb ;
|
1562
|
+
|
1563
|
+
Noko_Node_Get_Struct(self_rb, xmlNode, self);
|
1564
|
+
|
1565
|
+
lang = xmlNodeGetLang(self);
|
1566
|
+
if (lang) {
|
1567
|
+
lang_rb = NOKOGIRI_STR_NEW2(lang);
|
1568
|
+
xmlFree(lang);
|
1569
|
+
return lang_rb ;
|
1570
|
+
}
|
1571
|
+
|
1572
|
+
return Qnil ;
|
1573
|
+
}
|
1574
|
+
|
1575
|
+
/* :nodoc: */
|
1576
|
+
static VALUE
|
1577
|
+
add_child(VALUE self, VALUE new_child)
|
1578
|
+
{
|
1579
|
+
return reparent_node_with(self, new_child, xmlAddChild);
|
1580
|
+
}
|
1581
|
+
|
1582
|
+
/*
|
1583
|
+
* call-seq:
|
1584
|
+
* parent
|
1585
|
+
*
|
1586
|
+
* Get the parent Node for this Node
|
1587
|
+
*/
|
1588
|
+
static VALUE
|
1589
|
+
get_parent(VALUE self)
|
1590
|
+
{
|
1591
|
+
xmlNodePtr node, parent;
|
1592
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1593
|
+
|
1594
|
+
parent = node->parent;
|
1595
|
+
if (!parent) { return Qnil; }
|
1596
|
+
|
1597
|
+
return noko_xml_node_wrap(Qnil, parent) ;
|
1598
|
+
}
|
1599
|
+
|
1600
|
+
/*
|
1601
|
+
* call-seq:
|
1602
|
+
* name=(new_name)
|
1603
|
+
*
|
1604
|
+
* Set the name for this Node
|
1605
|
+
*/
|
1606
|
+
static VALUE
|
1607
|
+
set_name(VALUE self, VALUE new_name)
|
1608
|
+
{
|
1609
|
+
xmlNodePtr node;
|
1610
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1611
|
+
xmlNodeSetName(node, (xmlChar *)StringValueCStr(new_name));
|
1612
|
+
return new_name;
|
1613
|
+
}
|
1614
|
+
|
1615
|
+
/*
|
1616
|
+
* call-seq:
|
1617
|
+
* name
|
1618
|
+
*
|
1619
|
+
* Returns the name for this Node
|
1620
|
+
*/
|
1621
|
+
static VALUE
|
1622
|
+
get_name(VALUE self)
|
1623
|
+
{
|
1624
|
+
xmlNodePtr node;
|
1625
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1626
|
+
if (node->name) {
|
1627
|
+
return NOKOGIRI_STR_NEW2(node->name);
|
1628
|
+
}
|
1629
|
+
return Qnil;
|
1630
|
+
}
|
1631
|
+
|
1632
|
+
/*
|
1633
|
+
* call-seq:
|
1634
|
+
* path
|
1635
|
+
*
|
1636
|
+
* Returns the path associated with this Node
|
1637
|
+
*/
|
1638
|
+
static VALUE
|
1639
|
+
rb_xml_node_path(VALUE rb_node)
|
1640
|
+
{
|
1641
|
+
xmlNodePtr c_node;
|
1642
|
+
xmlChar *c_path ;
|
1643
|
+
VALUE rval;
|
1644
|
+
|
1645
|
+
Noko_Node_Get_Struct(rb_node, xmlNode, c_node);
|
1646
|
+
|
1647
|
+
c_path = xmlGetNodePath(c_node);
|
1648
|
+
if (c_path == NULL) {
|
1649
|
+
// see https://github.com/sparklemotion/nokogiri/issues/2250
|
1650
|
+
// this behavior is clearly undesirable, but is what libxml <= 2.9.10 returned, and so we
|
1651
|
+
// do this for now to preserve the behavior across libxml2 versions.
|
1652
|
+
rval = NOKOGIRI_STR_NEW2("?");
|
1653
|
+
} else {
|
1654
|
+
rval = NOKOGIRI_STR_NEW2(c_path);
|
1655
|
+
xmlFree(c_path);
|
1656
|
+
}
|
1657
|
+
|
1658
|
+
return rval ;
|
1659
|
+
}
|
1660
|
+
|
1661
|
+
/* :nodoc: */
|
1662
|
+
static VALUE
|
1663
|
+
add_next_sibling(VALUE self, VALUE new_sibling)
|
1664
|
+
{
|
1665
|
+
return reparent_node_with(self, new_sibling, xmlAddNextSibling) ;
|
1666
|
+
}
|
1667
|
+
|
1668
|
+
/* :nodoc: */
|
1669
|
+
static VALUE
|
1670
|
+
add_previous_sibling(VALUE self, VALUE new_sibling)
|
1671
|
+
{
|
1672
|
+
return reparent_node_with(self, new_sibling, xmlAddPrevSibling) ;
|
1673
|
+
}
|
1674
|
+
|
1675
|
+
/*
|
1676
|
+
* call-seq:
|
1677
|
+
* native_write_to(io, encoding, options)
|
1678
|
+
*
|
1679
|
+
* Write this Node to +io+ with +encoding+ and +options+
|
1680
|
+
*/
|
1681
|
+
static VALUE
|
1682
|
+
native_write_to(
|
1683
|
+
VALUE self,
|
1684
|
+
VALUE io,
|
1685
|
+
VALUE encoding,
|
1686
|
+
VALUE indent_string,
|
1687
|
+
VALUE options
|
1688
|
+
)
|
1689
|
+
{
|
1690
|
+
xmlNodePtr node;
|
1691
|
+
const char *before_indent;
|
1692
|
+
xmlSaveCtxtPtr savectx;
|
1693
|
+
|
1694
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1695
|
+
|
1696
|
+
xmlIndentTreeOutput = 1;
|
1697
|
+
|
1698
|
+
before_indent = xmlTreeIndentString;
|
1699
|
+
|
1700
|
+
xmlTreeIndentString = StringValueCStr(indent_string);
|
1701
|
+
|
1702
|
+
savectx = xmlSaveToIO(
|
1703
|
+
(xmlOutputWriteCallback)noko_io_write,
|
1704
|
+
(xmlOutputCloseCallback)noko_io_close,
|
1705
|
+
(void *)io,
|
1706
|
+
RTEST(encoding) ? StringValueCStr(encoding) : NULL,
|
1707
|
+
(int)NUM2INT(options)
|
1708
|
+
);
|
1709
|
+
|
1710
|
+
xmlSaveTree(savectx, node);
|
1711
|
+
xmlSaveClose(savectx);
|
1712
|
+
|
1713
|
+
xmlTreeIndentString = before_indent;
|
1714
|
+
return io;
|
1715
|
+
}
|
1716
|
+
|
1717
|
+
|
1718
|
+
static inline void
|
1719
|
+
output_partial_string(VALUE out, char const *str, size_t length)
|
1720
|
+
{
|
1721
|
+
if (length) {
|
1722
|
+
rb_enc_str_buf_cat(out, str, (long)length, rb_utf8_encoding());
|
1723
|
+
}
|
1724
|
+
}
|
1725
|
+
|
1726
|
+
static inline void
|
1727
|
+
output_char(VALUE out, char ch)
|
1728
|
+
{
|
1729
|
+
output_partial_string(out, &ch, 1);
|
1730
|
+
}
|
1731
|
+
|
1732
|
+
static inline void
|
1733
|
+
output_string(VALUE out, char const *str)
|
1734
|
+
{
|
1735
|
+
output_partial_string(out, str, strlen(str));
|
1736
|
+
}
|
1737
|
+
|
1738
|
+
static inline void
|
1739
|
+
output_tagname(VALUE out, xmlNodePtr elem)
|
1740
|
+
{
|
1741
|
+
// Elements in the HTML, MathML, and SVG namespaces do not use a namespace
|
1742
|
+
// prefix in the HTML syntax.
|
1743
|
+
char const *name = (char const *)elem->name;
|
1744
|
+
xmlNsPtr ns = elem->ns;
|
1745
|
+
if (ns && ns->href && ns->prefix
|
1746
|
+
&& strcmp((char const *)ns->href, "http://www.w3.org/1999/xhtml")
|
1747
|
+
&& strcmp((char const *)ns->href, "http://www.w3.org/1998/Math/MathML")
|
1748
|
+
&& strcmp((char const *)ns->href, "http://www.w3.org/2000/svg")) {
|
1749
|
+
output_string(out, (char const *)elem->ns->prefix);
|
1750
|
+
output_char(out, ':');
|
1751
|
+
char const *colon = strchr(name, ':');
|
1752
|
+
if (colon) {
|
1753
|
+
name = colon + 1;
|
1754
|
+
}
|
1755
|
+
}
|
1756
|
+
output_string(out, name);
|
1757
|
+
}
|
1758
|
+
|
1759
|
+
static inline void
|
1760
|
+
output_attr_name(VALUE out, xmlAttrPtr attr)
|
1761
|
+
{
|
1762
|
+
xmlNsPtr ns = attr->ns;
|
1763
|
+
char const *name = (char const *)attr->name;
|
1764
|
+
if (ns && ns->href) {
|
1765
|
+
char const *uri = (char const *)ns->href;
|
1766
|
+
char const *localname = strchr(name, ':');
|
1767
|
+
if (localname) {
|
1768
|
+
++localname;
|
1769
|
+
} else {
|
1770
|
+
localname = name;
|
1771
|
+
}
|
1772
|
+
|
1773
|
+
if (!strcmp(uri, "http://www.w3.org/XML/1998/namespace")) {
|
1774
|
+
output_string(out, "xml:");
|
1775
|
+
name = localname;
|
1776
|
+
} else if (!strcmp(uri, "http://www.w3.org/2000/xmlns/")) {
|
1777
|
+
// xmlns:xmlns -> xmlns
|
1778
|
+
// xmlns:foo -> xmlns:foo
|
1779
|
+
if (strcmp(localname, "xmlns")) {
|
1780
|
+
output_string(out, "xmlns:");
|
1781
|
+
}
|
1782
|
+
name = localname;
|
1783
|
+
} else if (!strcmp(uri, "http://www.w3.org/1999/xlink")) {
|
1784
|
+
output_string(out, "xlink:");
|
1785
|
+
name = localname;
|
1786
|
+
} else if (ns->prefix) {
|
1787
|
+
output_string(out, (char const *)ns->prefix);
|
1788
|
+
output_char(out, ':');
|
1789
|
+
name = localname;
|
1790
|
+
}
|
1791
|
+
}
|
1792
|
+
output_string(out, name);
|
1793
|
+
}
|
1794
|
+
|
1795
|
+
static void
|
1796
|
+
output_escaped_string(VALUE out, xmlChar const *start, bool attr)
|
1797
|
+
{
|
1798
|
+
xmlChar const *next = start;
|
1799
|
+
int ch;
|
1800
|
+
|
1801
|
+
while ((ch = *next) != 0) {
|
1802
|
+
char const *replacement = NULL;
|
1803
|
+
size_t replaced_bytes = 1;
|
1804
|
+
if (ch == '&') {
|
1805
|
+
replacement = "&";
|
1806
|
+
} else if (ch == 0xC2 && next[1] == 0xA0) {
|
1807
|
+
// U+00A0 NO-BREAK SPACE has the UTF-8 encoding C2 A0.
|
1808
|
+
replacement = " ";
|
1809
|
+
replaced_bytes = 2;
|
1810
|
+
} else if (attr && ch == '"') {
|
1811
|
+
replacement = """;
|
1812
|
+
} else if (!attr && ch == '<') {
|
1813
|
+
replacement = "<";
|
1814
|
+
} else if (!attr && ch == '>') {
|
1815
|
+
replacement = ">";
|
1816
|
+
} else {
|
1817
|
+
++next;
|
1818
|
+
continue;
|
1819
|
+
}
|
1820
|
+
output_partial_string(out, (char const *)start, next - start);
|
1821
|
+
output_string(out, replacement);
|
1822
|
+
next += replaced_bytes;
|
1823
|
+
start = next;
|
1824
|
+
}
|
1825
|
+
output_partial_string(out, (char const *)start, next - start);
|
1826
|
+
}
|
1827
|
+
|
1828
|
+
static bool
|
1829
|
+
should_prepend_newline(xmlNodePtr node)
|
1830
|
+
{
|
1831
|
+
char const *name = (char const *)node->name;
|
1832
|
+
xmlNodePtr child = node->children;
|
1833
|
+
|
1834
|
+
if (!name || !child || (strcmp(name, "pre") && strcmp(name, "textarea") && strcmp(name, "listing"))) {
|
1835
|
+
return false;
|
1836
|
+
}
|
1837
|
+
|
1838
|
+
return child->type == XML_TEXT_NODE && child->content && child->content[0] == '\n';
|
1839
|
+
}
|
1840
|
+
|
1841
|
+
static VALUE
|
1842
|
+
rb_prepend_newline(VALUE self)
|
1843
|
+
{
|
1844
|
+
xmlNodePtr node;
|
1845
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1846
|
+
return should_prepend_newline(node) ? Qtrue : Qfalse;
|
1847
|
+
}
|
1848
|
+
|
1849
|
+
static bool
|
1850
|
+
is_one_of(xmlNodePtr node, char const *const *tagnames, size_t num_tagnames)
|
1851
|
+
{
|
1852
|
+
char const *name = (char const *)node->name;
|
1853
|
+
if (name == NULL) { // fragments don't have a name
|
1854
|
+
return false;
|
1855
|
+
}
|
1856
|
+
for (size_t idx = 0; idx < num_tagnames; ++idx) {
|
1857
|
+
if (!strcmp(name, tagnames[idx])) {
|
1858
|
+
return true;
|
1859
|
+
}
|
1860
|
+
}
|
1861
|
+
return false;
|
1862
|
+
|
1863
|
+
}
|
1864
|
+
|
1865
|
+
static void
|
1866
|
+
output_node(
|
1867
|
+
VALUE out,
|
1868
|
+
xmlNodePtr node,
|
1869
|
+
bool preserve_newline
|
1870
|
+
)
|
1871
|
+
{
|
1872
|
+
static char const *const VOID_ELEMENTS[] = {
|
1873
|
+
"area", "base", "basefont", "bgsound", "br", "col", "embed", "frame", "hr",
|
1874
|
+
"img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr",
|
1875
|
+
};
|
1876
|
+
|
1877
|
+
static char const *const UNESCAPED_TEXT_ELEMENTS[] = {
|
1878
|
+
"style", "script", "xmp", "iframe", "noembed", "noframes", "plaintext", "noscript",
|
1879
|
+
};
|
1880
|
+
|
1881
|
+
switch (node->type) {
|
1882
|
+
case XML_ELEMENT_NODE:
|
1883
|
+
// Serialize the start tag.
|
1884
|
+
output_char(out, '<');
|
1885
|
+
output_tagname(out, node);
|
1886
|
+
|
1887
|
+
// Add attributes.
|
1888
|
+
for (xmlAttrPtr attr = node->properties; attr; attr = attr->next) {
|
1889
|
+
output_char(out, ' ');
|
1890
|
+
output_attr_name(out, attr);
|
1891
|
+
if (attr->children) {
|
1892
|
+
output_string(out, "=\"");
|
1893
|
+
xmlChar *value = xmlNodeListGetString(attr->doc, attr->children, 1);
|
1894
|
+
output_escaped_string(out, value, true);
|
1895
|
+
xmlFree(value);
|
1896
|
+
output_char(out, '"');
|
1897
|
+
} else {
|
1898
|
+
// Output name=""
|
1899
|
+
output_string(out, "=\"\"");
|
1900
|
+
}
|
1901
|
+
}
|
1902
|
+
output_char(out, '>');
|
1903
|
+
|
1904
|
+
// Add children and end tag if element is not void.
|
1905
|
+
if (!is_one_of(node, VOID_ELEMENTS, sizeof VOID_ELEMENTS / sizeof VOID_ELEMENTS[0])) {
|
1906
|
+
if (preserve_newline && should_prepend_newline(node)) {
|
1907
|
+
output_char(out, '\n');
|
1908
|
+
}
|
1909
|
+
for (xmlNodePtr child = node->children; child; child = child->next) {
|
1910
|
+
output_node(out, child, preserve_newline);
|
1911
|
+
}
|
1912
|
+
output_string(out, "</");
|
1913
|
+
output_tagname(out, node);
|
1914
|
+
output_char(out, '>');
|
1915
|
+
}
|
1916
|
+
break;
|
1917
|
+
|
1918
|
+
case XML_TEXT_NODE:
|
1919
|
+
if (node->parent
|
1920
|
+
&& is_one_of(node->parent, UNESCAPED_TEXT_ELEMENTS,
|
1921
|
+
sizeof UNESCAPED_TEXT_ELEMENTS / sizeof UNESCAPED_TEXT_ELEMENTS[0])) {
|
1922
|
+
output_string(out, (char const *)node->content);
|
1923
|
+
} else {
|
1924
|
+
output_escaped_string(out, node->content, false);
|
1925
|
+
}
|
1926
|
+
break;
|
1927
|
+
|
1928
|
+
case XML_CDATA_SECTION_NODE:
|
1929
|
+
output_string(out, "<![CDATA[");
|
1930
|
+
output_string(out, (char const *)node->content);
|
1931
|
+
output_string(out, "]]>");
|
1932
|
+
break;
|
1933
|
+
|
1934
|
+
case XML_COMMENT_NODE:
|
1935
|
+
output_string(out, "<!--");
|
1936
|
+
output_string(out, (char const *)node->content);
|
1937
|
+
output_string(out, "-->");
|
1938
|
+
break;
|
1939
|
+
|
1940
|
+
case XML_PI_NODE:
|
1941
|
+
output_string(out, "<?");
|
1942
|
+
output_string(out, (char const *)node->content);
|
1943
|
+
output_char(out, '>');
|
1944
|
+
break;
|
1945
|
+
|
1946
|
+
case XML_DOCUMENT_TYPE_NODE:
|
1947
|
+
case XML_DTD_NODE:
|
1948
|
+
output_string(out, "<!DOCTYPE ");
|
1949
|
+
output_string(out, (char const *)node->name);
|
1950
|
+
output_string(out, ">");
|
1951
|
+
break;
|
1952
|
+
|
1953
|
+
case XML_DOCUMENT_NODE:
|
1954
|
+
case XML_DOCUMENT_FRAG_NODE:
|
1955
|
+
case XML_HTML_DOCUMENT_NODE:
|
1956
|
+
for (xmlNodePtr child = node->children; child; child = child->next) {
|
1957
|
+
output_node(out, child, preserve_newline);
|
1958
|
+
}
|
1959
|
+
break;
|
1960
|
+
|
1961
|
+
default:
|
1962
|
+
rb_raise(rb_eRuntimeError, "Unsupported document node (%d); this is a bug in Nokogiri", node->type);
|
1963
|
+
break;
|
1964
|
+
}
|
1965
|
+
}
|
1966
|
+
|
1967
|
+
static VALUE
|
1968
|
+
html_standard_serialize(
|
1969
|
+
VALUE self,
|
1970
|
+
VALUE preserve_newline
|
1971
|
+
)
|
1972
|
+
{
|
1973
|
+
xmlNodePtr node;
|
1974
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
1975
|
+
VALUE output = rb_str_buf_new(4096);
|
1976
|
+
output_node(output, node, RTEST(preserve_newline));
|
1977
|
+
return output;
|
1978
|
+
}
|
1979
|
+
|
1980
|
+
/*
|
1981
|
+
* :call-seq:
|
1982
|
+
* line() → Integer
|
1983
|
+
*
|
1984
|
+
* [Returns] The line number of this Node.
|
1985
|
+
*
|
1986
|
+
* ---
|
1987
|
+
*
|
1988
|
+
* <b> ⚠ The CRuby and JRuby implementations differ in important ways! </b>
|
1989
|
+
*
|
1990
|
+
* Semantic differences:
|
1991
|
+
* - The CRuby method reflects the node's line number <i>in the parsed string</i>
|
1992
|
+
* - The JRuby method reflects the node's line number <i>in the final DOM structure</i> after
|
1993
|
+
* corrections have been applied
|
1994
|
+
*
|
1995
|
+
* Performance differences:
|
1996
|
+
* - The CRuby method is {O(1)}[https://en.wikipedia.org/wiki/Time_complexity#Constant_time]
|
1997
|
+
* (constant time)
|
1998
|
+
* - The JRuby method is {O(n)}[https://en.wikipedia.org/wiki/Time_complexity#Linear_time] (linear
|
1999
|
+
* time, where n is the number of nodes before/above the element in the DOM)
|
2000
|
+
*
|
2001
|
+
* If you'd like to help improve the JRuby implementation, please review these issues and reach out
|
2002
|
+
* to the maintainers:
|
2003
|
+
* - https://github.com/sparklemotion/nokogiri/issues/1223
|
2004
|
+
* - https://github.com/sparklemotion/nokogiri/pull/2177
|
2005
|
+
* - https://github.com/sparklemotion/nokogiri/issues/2380
|
2006
|
+
*/
|
2007
|
+
static VALUE
|
2008
|
+
rb_xml_node_line(VALUE rb_node)
|
2009
|
+
{
|
2010
|
+
xmlNodePtr c_node;
|
2011
|
+
Noko_Node_Get_Struct(rb_node, xmlNode, c_node);
|
2012
|
+
|
2013
|
+
return LONG2NUM(xmlGetLineNo(c_node));
|
2014
|
+
}
|
2015
|
+
|
2016
|
+
/*
|
2017
|
+
* call-seq:
|
2018
|
+
* line=(num)
|
2019
|
+
*
|
2020
|
+
* Sets the line for this Node. num must be less than 65535.
|
2021
|
+
*/
|
2022
|
+
static VALUE
|
2023
|
+
rb_xml_node_line_set(VALUE rb_node, VALUE rb_line_number)
|
2024
|
+
{
|
2025
|
+
xmlNodePtr c_node;
|
2026
|
+
int line_number = NUM2INT(rb_line_number);
|
2027
|
+
|
2028
|
+
Noko_Node_Get_Struct(rb_node, xmlNode, c_node);
|
2029
|
+
|
2030
|
+
// libxml2 optionally uses xmlNode.psvi to store longer line numbers, but only for text nodes.
|
2031
|
+
// search for "psvi" in SAX2.c and tree.c to learn more.
|
2032
|
+
if (line_number < 65535) {
|
2033
|
+
c_node->line = (short) line_number;
|
2034
|
+
} else {
|
2035
|
+
c_node->line = 65535;
|
2036
|
+
if (c_node->type == XML_TEXT_NODE) {
|
2037
|
+
c_node->psvi = (void *)(ptrdiff_t) line_number;
|
2038
|
+
}
|
2039
|
+
}
|
2040
|
+
|
2041
|
+
return rb_line_number;
|
2042
|
+
}
|
2043
|
+
|
2044
|
+
/* :nodoc: documented in lib/nokogiri/xml/node.rb */
|
2045
|
+
static VALUE
|
2046
|
+
rb_xml_node_new(int argc, VALUE *argv, VALUE klass)
|
2047
|
+
{
|
2048
|
+
xmlNodePtr c_document_node;
|
2049
|
+
xmlNodePtr c_node;
|
2050
|
+
VALUE rb_name;
|
2051
|
+
VALUE rb_document_node;
|
2052
|
+
VALUE rest;
|
2053
|
+
VALUE rb_node;
|
2054
|
+
|
2055
|
+
rb_scan_args(argc, argv, "2*", &rb_name, &rb_document_node, &rest);
|
2056
|
+
|
2057
|
+
if (!rb_obj_is_kind_of(rb_document_node, cNokogiriXmlNode)) {
|
2058
|
+
rb_raise(rb_eArgError, "document must be a Nokogiri::XML::Node");
|
2059
|
+
}
|
2060
|
+
if (!rb_obj_is_kind_of(rb_document_node, cNokogiriXmlDocument)) {
|
2061
|
+
// TODO: deprecate allowing Node
|
2062
|
+
NOKO_WARN_DEPRECATION("Passing a Node as the second parameter to Node.new is deprecated. Please pass a Document instead, or prefer an alternative constructor like Node#add_child. This will become an error in a future release of Nokogiri.");
|
2063
|
+
}
|
2064
|
+
Noko_Node_Get_Struct(rb_document_node, xmlNode, c_document_node);
|
2065
|
+
|
2066
|
+
c_node = xmlNewNode(NULL, (xmlChar *)StringValueCStr(rb_name));
|
2067
|
+
c_node->doc = c_document_node->doc;
|
2068
|
+
noko_xml_document_pin_node(c_node);
|
2069
|
+
|
2070
|
+
rb_node = noko_xml_node_wrap(
|
2071
|
+
klass == cNokogiriXmlNode ? (VALUE)NULL : klass,
|
2072
|
+
c_node
|
2073
|
+
);
|
2074
|
+
rb_obj_call_init(rb_node, argc, argv);
|
2075
|
+
|
2076
|
+
if (rb_block_given_p()) { rb_yield(rb_node); }
|
2077
|
+
|
2078
|
+
return rb_node;
|
2079
|
+
}
|
2080
|
+
|
2081
|
+
/*
|
2082
|
+
* call-seq:
|
2083
|
+
* dump_html
|
2084
|
+
*
|
2085
|
+
* Returns the Node as html.
|
2086
|
+
*/
|
2087
|
+
static VALUE
|
2088
|
+
dump_html(VALUE self)
|
2089
|
+
{
|
2090
|
+
xmlBufferPtr buf ;
|
2091
|
+
xmlNodePtr node ;
|
2092
|
+
VALUE html;
|
2093
|
+
|
2094
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
2095
|
+
|
2096
|
+
buf = xmlBufferCreate() ;
|
2097
|
+
htmlNodeDump(buf, node->doc, node);
|
2098
|
+
html = NOKOGIRI_STR_NEW2(buf->content);
|
2099
|
+
xmlBufferFree(buf);
|
2100
|
+
return html ;
|
2101
|
+
}
|
2102
|
+
|
2103
|
+
/*
|
2104
|
+
* call-seq:
|
2105
|
+
* compare(other)
|
2106
|
+
*
|
2107
|
+
* Compare this Node to +other+ with respect to their Document
|
2108
|
+
*/
|
2109
|
+
static VALUE
|
2110
|
+
compare(VALUE self, VALUE _other)
|
2111
|
+
{
|
2112
|
+
xmlNodePtr node, other;
|
2113
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
2114
|
+
Noko_Node_Get_Struct(_other, xmlNode, other);
|
2115
|
+
|
2116
|
+
return INT2NUM(xmlXPathCmpNodes(other, node));
|
2117
|
+
}
|
2118
|
+
|
2119
|
+
|
2120
|
+
/*
|
2121
|
+
* call-seq:
|
2122
|
+
* process_xincludes(options)
|
2123
|
+
*
|
2124
|
+
* Loads and substitutes all xinclude elements below the node. The
|
2125
|
+
* parser context will be initialized with +options+.
|
2126
|
+
*/
|
2127
|
+
static VALUE
|
2128
|
+
process_xincludes(VALUE self, VALUE options)
|
2129
|
+
{
|
2130
|
+
int rcode ;
|
2131
|
+
xmlNodePtr node;
|
2132
|
+
VALUE error_list = rb_ary_new();
|
2133
|
+
|
2134
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
2135
|
+
|
2136
|
+
xmlSetStructuredErrorFunc((void *)error_list, Nokogiri_error_array_pusher);
|
2137
|
+
rcode = xmlXIncludeProcessTreeFlags(node, (int)NUM2INT(options));
|
2138
|
+
xmlSetStructuredErrorFunc(NULL, NULL);
|
2139
|
+
|
2140
|
+
if (rcode < 0) {
|
2141
|
+
xmlErrorPtr error;
|
2142
|
+
|
2143
|
+
error = xmlGetLastError();
|
2144
|
+
if (error) {
|
2145
|
+
rb_exc_raise(Nokogiri_wrap_xml_syntax_error(error));
|
2146
|
+
} else {
|
2147
|
+
rb_raise(rb_eRuntimeError, "Could not perform xinclude substitution");
|
2148
|
+
}
|
2149
|
+
}
|
2150
|
+
|
2151
|
+
return self;
|
2152
|
+
}
|
2153
|
+
|
2154
|
+
|
2155
|
+
/* TODO: DOCUMENT ME */
|
2156
|
+
static VALUE
|
2157
|
+
in_context(VALUE self, VALUE _str, VALUE _options)
|
2158
|
+
{
|
2159
|
+
xmlNodePtr node, list = 0, tmp, child_iter, node_children, doc_children;
|
2160
|
+
xmlNodeSetPtr set;
|
2161
|
+
xmlParserErrors error;
|
2162
|
+
VALUE doc, err;
|
2163
|
+
int doc_is_empty;
|
2164
|
+
|
2165
|
+
Noko_Node_Get_Struct(self, xmlNode, node);
|
2166
|
+
|
2167
|
+
doc = DOC_RUBY_OBJECT(node->doc);
|
2168
|
+
err = rb_iv_get(doc, "@errors");
|
2169
|
+
doc_is_empty = (node->doc->children == NULL) ? 1 : 0;
|
2170
|
+
node_children = node->children;
|
2171
|
+
doc_children = node->doc->children;
|
2172
|
+
|
2173
|
+
xmlSetStructuredErrorFunc((void *)err, Nokogiri_error_array_pusher);
|
2174
|
+
|
2175
|
+
/* Twiddle global variable because of a bug in libxml2.
|
2176
|
+
* http://git.gnome.org/browse/libxml2/commit/?id=e20fb5a72c83cbfc8e4a8aa3943c6be8febadab7
|
2177
|
+
*/
|
2178
|
+
#ifndef HTML_PARSE_NOIMPLIED
|
2179
|
+
htmlHandleOmittedElem(0);
|
2180
|
+
#endif
|
2181
|
+
|
2182
|
+
/* This function adds a fake node to the child of +node+. If the parser
|
2183
|
+
* does not exit cleanly with XML_ERR_OK, the list is freed. This can
|
2184
|
+
* leave the child pointers in a bad state if they were originally empty.
|
2185
|
+
*
|
2186
|
+
* http://git.gnome.org/browse/libxml2/tree/parser.c#n13177
|
2187
|
+
* */
|
2188
|
+
error = xmlParseInNodeContext(node, StringValuePtr(_str),
|
2189
|
+
(int)RSTRING_LEN(_str),
|
2190
|
+
(int)NUM2INT(_options), &list);
|
2191
|
+
|
2192
|
+
/* xmlParseInNodeContext should not mutate the original document or node,
|
2193
|
+
* so reassigning these pointers should be OK. The reason we're reassigning
|
2194
|
+
* is because if there were errors, it's possible for the child pointers
|
2195
|
+
* to be manipulated. */
|
2196
|
+
if (error != XML_ERR_OK) {
|
2197
|
+
node->doc->children = doc_children;
|
2198
|
+
node->children = node_children;
|
2199
|
+
}
|
2200
|
+
|
2201
|
+
/* make sure parent/child pointers are coherent so an unlink will work
|
2202
|
+
* properly (#331)
|
2203
|
+
*/
|
2204
|
+
child_iter = node->doc->children ;
|
2205
|
+
while (child_iter) {
|
2206
|
+
child_iter->parent = (xmlNodePtr)node->doc;
|
2207
|
+
child_iter = child_iter->next;
|
2208
|
+
}
|
2209
|
+
|
2210
|
+
#ifndef HTML_PARSE_NOIMPLIED
|
2211
|
+
htmlHandleOmittedElem(1);
|
2212
|
+
#endif
|
2213
|
+
|
2214
|
+
xmlSetStructuredErrorFunc(NULL, NULL);
|
2215
|
+
|
2216
|
+
/*
|
2217
|
+
* Workaround for a libxml2 bug where a parsing error may leave a broken
|
2218
|
+
* node reference in node->doc->children.
|
2219
|
+
*
|
2220
|
+
* https://bugzilla.gnome.org/show_bug.cgi?id=668155
|
2221
|
+
*
|
2222
|
+
* This workaround is limited to when a parse error occurs, the document
|
2223
|
+
* went from having no children to having children, and the context node is
|
2224
|
+
* part of a document fragment.
|
2225
|
+
*
|
2226
|
+
* TODO: This was fixed in libxml 2.8.0 by 71a243d
|
2227
|
+
*/
|
2228
|
+
if (error != XML_ERR_OK && doc_is_empty && node->doc->children != NULL) {
|
2229
|
+
child_iter = node;
|
2230
|
+
while (child_iter->parent) {
|
2231
|
+
child_iter = child_iter->parent;
|
2232
|
+
}
|
2233
|
+
|
2234
|
+
if (child_iter->type == XML_DOCUMENT_FRAG_NODE) {
|
2235
|
+
node->doc->children = NULL;
|
2236
|
+
}
|
2237
|
+
}
|
2238
|
+
|
2239
|
+
/* FIXME: This probably needs to handle more constants... */
|
2240
|
+
switch (error) {
|
2241
|
+
case XML_ERR_INTERNAL_ERROR:
|
2242
|
+
case XML_ERR_NO_MEMORY:
|
2243
|
+
rb_raise(rb_eRuntimeError, "error parsing fragment (%d)", error);
|
2244
|
+
break;
|
2245
|
+
default:
|
2246
|
+
break;
|
2247
|
+
}
|
2248
|
+
|
2249
|
+
set = xmlXPathNodeSetCreate(NULL);
|
2250
|
+
|
2251
|
+
while (list) {
|
2252
|
+
tmp = list->next;
|
2253
|
+
list->next = NULL;
|
2254
|
+
xmlXPathNodeSetAddUnique(set, list);
|
2255
|
+
noko_xml_document_pin_node(list);
|
2256
|
+
list = tmp;
|
2257
|
+
}
|
2258
|
+
|
2259
|
+
return noko_xml_node_set_wrap(set, doc);
|
2260
|
+
}
|
2261
|
+
|
2262
|
+
VALUE
|
2263
|
+
noko_xml_node_wrap(VALUE rb_class, xmlNodePtr c_node)
|
2264
|
+
{
|
2265
|
+
VALUE rb_document, rb_node_cache, rb_node;
|
2266
|
+
nokogiriTuplePtr node_has_a_document;
|
2267
|
+
xmlDocPtr c_doc;
|
2268
|
+
|
2269
|
+
assert(c_node);
|
2270
|
+
|
2271
|
+
if (c_node->type == XML_DOCUMENT_NODE || c_node->type == XML_HTML_DOCUMENT_NODE) {
|
2272
|
+
return DOC_RUBY_OBJECT(c_node->doc);
|
2273
|
+
}
|
2274
|
+
|
2275
|
+
c_doc = c_node->doc;
|
2276
|
+
|
2277
|
+
// Nodes yielded from XML::Reader don't have a fully-realized Document
|
2278
|
+
node_has_a_document = DOC_RUBY_OBJECT_TEST(c_doc);
|
2279
|
+
|
2280
|
+
if (c_node->_private && node_has_a_document) {
|
2281
|
+
return (VALUE)c_node->_private;
|
2282
|
+
}
|
2283
|
+
|
2284
|
+
if (!RTEST(rb_class)) {
|
2285
|
+
switch (c_node->type) {
|
2286
|
+
case XML_ELEMENT_NODE:
|
2287
|
+
rb_class = cNokogiriXmlElement;
|
2288
|
+
break;
|
2289
|
+
case XML_TEXT_NODE:
|
2290
|
+
rb_class = cNokogiriXmlText;
|
2291
|
+
break;
|
2292
|
+
case XML_ATTRIBUTE_NODE:
|
2293
|
+
rb_class = cNokogiriXmlAttr;
|
2294
|
+
break;
|
2295
|
+
case XML_ENTITY_REF_NODE:
|
2296
|
+
rb_class = cNokogiriXmlEntityReference;
|
2297
|
+
break;
|
2298
|
+
case XML_COMMENT_NODE:
|
2299
|
+
rb_class = cNokogiriXmlComment;
|
2300
|
+
break;
|
2301
|
+
case XML_DOCUMENT_FRAG_NODE:
|
2302
|
+
rb_class = cNokogiriXmlDocumentFragment;
|
2303
|
+
break;
|
2304
|
+
case XML_PI_NODE:
|
2305
|
+
rb_class = cNokogiriXmlProcessingInstruction;
|
2306
|
+
break;
|
2307
|
+
case XML_ENTITY_DECL:
|
2308
|
+
rb_class = cNokogiriXmlEntityDecl;
|
2309
|
+
break;
|
2310
|
+
case XML_CDATA_SECTION_NODE:
|
2311
|
+
rb_class = cNokogiriXmlCData;
|
2312
|
+
break;
|
2313
|
+
case XML_DTD_NODE:
|
2314
|
+
rb_class = cNokogiriXmlDtd;
|
2315
|
+
break;
|
2316
|
+
case XML_ATTRIBUTE_DECL:
|
2317
|
+
rb_class = cNokogiriXmlAttributeDecl;
|
2318
|
+
break;
|
2319
|
+
case XML_ELEMENT_DECL:
|
2320
|
+
rb_class = cNokogiriXmlElementDecl;
|
2321
|
+
break;
|
2322
|
+
default:
|
2323
|
+
rb_class = cNokogiriXmlNode;
|
2324
|
+
}
|
2325
|
+
}
|
2326
|
+
|
2327
|
+
rb_node = TypedData_Wrap_Struct(rb_class, &nokogiri_node_type, c_node) ;
|
2328
|
+
c_node->_private = (void *)rb_node;
|
2329
|
+
|
2330
|
+
if (node_has_a_document) {
|
2331
|
+
rb_document = DOC_RUBY_OBJECT(c_doc);
|
2332
|
+
rb_node_cache = DOC_NODE_CACHE(c_doc);
|
2333
|
+
rb_ary_push(rb_node_cache, rb_node);
|
2334
|
+
rb_funcall(rb_document, id_decorate, 1, rb_node);
|
2335
|
+
}
|
2336
|
+
|
2337
|
+
return rb_node ;
|
2338
|
+
}
|
2339
|
+
|
2340
|
+
|
2341
|
+
/*
|
2342
|
+
* return Array<Nokogiri::XML::Attr> containing the node's attributes
|
2343
|
+
*/
|
2344
|
+
VALUE
|
2345
|
+
noko_xml_node_attrs(xmlNodePtr c_node)
|
2346
|
+
{
|
2347
|
+
VALUE rb_properties = rb_ary_new();
|
2348
|
+
xmlAttrPtr c_property;
|
2349
|
+
|
2350
|
+
c_property = c_node->properties ;
|
2351
|
+
while (c_property != NULL) {
|
2352
|
+
rb_ary_push(rb_properties, noko_xml_node_wrap(Qnil, (xmlNodePtr)c_property));
|
2353
|
+
c_property = c_property->next ;
|
2354
|
+
}
|
2355
|
+
|
2356
|
+
return rb_properties;
|
2357
|
+
}
|
2358
|
+
|
2359
|
+
void
|
2360
|
+
noko_init_xml_node(void)
|
2361
|
+
{
|
2362
|
+
cNokogiriXmlNode = rb_define_class_under(mNokogiriXml, "Node", rb_cObject);
|
2363
|
+
|
2364
|
+
rb_undef_alloc_func(cNokogiriXmlNode);
|
2365
|
+
|
2366
|
+
rb_define_singleton_method(cNokogiriXmlNode, "new", rb_xml_node_new, -1);
|
2367
|
+
|
2368
|
+
rb_define_method(cNokogiriXmlNode, "add_namespace_definition", rb_xml_node_add_namespace_definition, 2);
|
2369
|
+
rb_define_method(cNokogiriXmlNode, "attribute", rb_xml_node_attribute, 1);
|
2370
|
+
rb_define_method(cNokogiriXmlNode, "attribute_nodes", rb_xml_node_attribute_nodes, 0);
|
2371
|
+
rb_define_method(cNokogiriXmlNode, "attribute_with_ns", rb_xml_node_attribute_with_ns, 2);
|
2372
|
+
rb_define_method(cNokogiriXmlNode, "blank?", rb_xml_node_blank_eh, 0);
|
2373
|
+
rb_define_method(cNokogiriXmlNode, "child", rb_xml_node_child, 0);
|
2374
|
+
rb_define_method(cNokogiriXmlNode, "children", rb_xml_node_children, 0);
|
2375
|
+
rb_define_method(cNokogiriXmlNode, "content", rb_xml_node_content, 0);
|
2376
|
+
rb_define_method(cNokogiriXmlNode, "create_external_subset", create_external_subset, 3);
|
2377
|
+
rb_define_method(cNokogiriXmlNode, "create_internal_subset", create_internal_subset, 3);
|
2378
|
+
rb_define_method(cNokogiriXmlNode, "document", rb_xml_node_document, 0);
|
2379
|
+
rb_define_method(cNokogiriXmlNode, "dup", duplicate_node, -1);
|
2380
|
+
rb_define_method(cNokogiriXmlNode, "element_children", rb_xml_node_element_children, 0);
|
2381
|
+
rb_define_method(cNokogiriXmlNode, "encode_special_chars", encode_special_chars, 1);
|
2382
|
+
rb_define_method(cNokogiriXmlNode, "external_subset", external_subset, 0);
|
2383
|
+
rb_define_method(cNokogiriXmlNode, "first_element_child", rb_xml_node_first_element_child, 0);
|
2384
|
+
rb_define_method(cNokogiriXmlNode, "internal_subset", internal_subset, 0);
|
2385
|
+
rb_define_method(cNokogiriXmlNode, "key?", key_eh, 1);
|
2386
|
+
rb_define_method(cNokogiriXmlNode, "lang", get_lang, 0);
|
2387
|
+
rb_define_method(cNokogiriXmlNode, "lang=", set_lang, 1);
|
2388
|
+
rb_define_method(cNokogiriXmlNode, "last_element_child", rb_xml_node_last_element_child, 0);
|
2389
|
+
rb_define_method(cNokogiriXmlNode, "line", rb_xml_node_line, 0);
|
2390
|
+
rb_define_method(cNokogiriXmlNode, "line=", rb_xml_node_line_set, 1);
|
2391
|
+
rb_define_method(cNokogiriXmlNode, "namespace", rb_xml_node_namespace, 0);
|
2392
|
+
rb_define_method(cNokogiriXmlNode, "namespace_definitions", namespace_definitions, 0);
|
2393
|
+
rb_define_method(cNokogiriXmlNode, "namespace_scopes", rb_xml_node_namespace_scopes, 0);
|
2394
|
+
rb_define_method(cNokogiriXmlNode, "namespaced_key?", namespaced_key_eh, 2);
|
2395
|
+
rb_define_method(cNokogiriXmlNode, "native_content=", set_native_content, 1);
|
2396
|
+
rb_define_method(cNokogiriXmlNode, "next_element", next_element, 0);
|
2397
|
+
rb_define_method(cNokogiriXmlNode, "next_sibling", next_sibling, 0);
|
2398
|
+
rb_define_method(cNokogiriXmlNode, "node_name", get_name, 0);
|
2399
|
+
rb_define_method(cNokogiriXmlNode, "node_name=", set_name, 1);
|
2400
|
+
rb_define_method(cNokogiriXmlNode, "node_type", node_type, 0);
|
2401
|
+
rb_define_method(cNokogiriXmlNode, "parent", get_parent, 0);
|
2402
|
+
rb_define_method(cNokogiriXmlNode, "path", rb_xml_node_path, 0);
|
2403
|
+
rb_define_method(cNokogiriXmlNode, "pointer_id", rb_xml_node_pointer_id, 0);
|
2404
|
+
rb_define_method(cNokogiriXmlNode, "previous_element", previous_element, 0);
|
2405
|
+
rb_define_method(cNokogiriXmlNode, "previous_sibling", previous_sibling, 0);
|
2406
|
+
rb_define_method(cNokogiriXmlNode, "unlink", unlink_node, 0);
|
2407
|
+
|
2408
|
+
rb_define_private_method(cNokogiriXmlNode, "add_child_node", add_child, 1);
|
2409
|
+
rb_define_private_method(cNokogiriXmlNode, "add_next_sibling_node", add_next_sibling, 1);
|
2410
|
+
rb_define_private_method(cNokogiriXmlNode, "add_previous_sibling_node", add_previous_sibling, 1);
|
2411
|
+
rb_define_private_method(cNokogiriXmlNode, "compare", compare, 1);
|
2412
|
+
rb_define_private_method(cNokogiriXmlNode, "dump_html", dump_html, 0);
|
2413
|
+
rb_define_private_method(cNokogiriXmlNode, "get", get, 1);
|
2414
|
+
rb_define_private_method(cNokogiriXmlNode, "in_context", in_context, 2);
|
2415
|
+
rb_define_private_method(cNokogiriXmlNode, "native_write_to", native_write_to, 4);
|
2416
|
+
rb_define_private_method(cNokogiriXmlNode, "prepend_newline?", rb_prepend_newline, 0);
|
2417
|
+
rb_define_private_method(cNokogiriXmlNode, "html_standard_serialize", html_standard_serialize, 1);
|
2418
|
+
rb_define_private_method(cNokogiriXmlNode, "process_xincludes", process_xincludes, 1);
|
2419
|
+
rb_define_private_method(cNokogiriXmlNode, "replace_node", replace, 1);
|
2420
|
+
rb_define_private_method(cNokogiriXmlNode, "set", set, 2);
|
2421
|
+
rb_define_private_method(cNokogiriXmlNode, "set_namespace", set_namespace, 1);
|
2422
|
+
|
2423
|
+
id_decorate = rb_intern("decorate");
|
2424
|
+
id_decorate_bang = rb_intern("decorate!");
|
2425
|
+
}
|