mumukit-content-type 1.8.1 → 1.11.1
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.rb +2 -1
- data/lib/mumukit/content_type/html.rb +15 -2
- data/lib/mumukit/content_type/markdown.rb +24 -5
- data/lib/mumukit/content_type/plain.rb +5 -1
- data/lib/mumukit/content_type/python3.rb +10 -0
- data/lib/mumukit/content_type/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/bin/htmldiff +29 -0
- data/vendor/bundle/ruby/2.6.0/bin/ldiff +29 -0
- data/vendor/bundle/ruby/2.6.0/bin/nokogiri +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/racc +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/rackup +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/rake +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/redcarpet +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/rougify +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/rspec +27 -0
- data/vendor/bundle/ruby/2.6.0/cache/activesupport-6.0.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/concurrent-ruby-1.1.9.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/crass-1.0.6.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.4.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/i18n-0.9.5.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/mini_portile2-2.6.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/minitest-5.14.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/mumuki-emojis-1.1.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/mumukit-core-1.18.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/nokogiri-1.12.3-x86_64-linux.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/racc-1.5.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rack-2.2.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rake-12.3.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/redcarpet-3.3.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rouge-3.26.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-3.10.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.10.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.10.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.10.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.10.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/sanitize-6.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/thread_safe-0.3.6.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/tzinfo-1.2.9.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/zeitwerk-2.4.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/racc-1.5.2/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/racc-1.5.2/gem_make.out +16 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/racc-1.5.2/mkmf.log +34 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/racc-1.5.2/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/redcarpet-3.3.4/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/redcarpet-3.3.4/gem_make.out +109 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/redcarpet-3.3.4/redcarpet.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/CHANGELOG.md +717 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/README.rdoc +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/actionable_error.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/all.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/array_inquirer.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/backtrace_cleaner.rb +131 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/benchmarkable.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/builder.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/cache.rb +831 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/cache/file_store.rb +196 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/cache/mem_cache_store.rb +203 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/cache/memory_store.rb +175 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/cache/null_store.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/cache/redis_cache_store.rb +493 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/cache/strategy/local_cache.rb +194 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/cache/strategy/local_cache_middleware.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/callbacks.rb +853 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/concern.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/concurrency/load_interlock_aware_monitor.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/concurrency/share_lock.rb +226 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/configurable.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/array.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/array/access.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/array/conversions.rb +213 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/array/extract.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/array/extract_options.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/array/grouping.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/array/inquiry.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/array/prepend_and_append.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/array/wrap.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/benchmark.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/big_decimal.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/big_decimal/conversions.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/class.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/class/attribute.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/class/attribute_accessors.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/class/subclasses.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/date.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/date/acts_like.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/date/blank.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/date/calculations.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/date/conversions.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/date/zones.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/date_and_time/calculations.rb +351 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/date_and_time/compatibility.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/date_and_time/zones.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/date_time.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/date_time/acts_like.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/date_time/blank.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/date_time/calculations.rb +211 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/date_time/compatibility.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/date_time/conversions.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/digest.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/digest/uuid.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/enumerable.rb +188 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/file.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/file/atomic.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/hash.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/hash/compact.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/hash/conversions.rb +263 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/hash/deep_merge.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/hash/deep_transform_values.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/hash/except.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/hash/keys.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/hash/reverse_merge.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/hash/slice.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/hash/transform_values.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/integer.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/integer/inflections.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/integer/multiple.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/integer/time.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/kernel.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/kernel/concern.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/kernel/reporting.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/kernel/singleton_class.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/load_error.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/marshal.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/module.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/module/aliasing.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/module/anonymous.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/module/attr_internal.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/module/attribute_accessors.rb +212 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/module/concerning.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/module/delegation.rb +320 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/module/deprecation.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/module/introspection.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/module/reachable.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/module/redefine_method.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/module/remove_method.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/name_error.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/numeric.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/numeric/bytes.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/numeric/conversions.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/numeric/inquiry.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/numeric/time.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/object.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/object/acts_like.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/object/blank.rb +155 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/object/conversions.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/object/deep_dup.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/object/duplicable.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/object/inclusion.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/object/instance_variables.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/object/json.rb +228 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/object/to_param.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/object/to_query.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/object/try.rb +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/object/with_options.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/range.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/range/compare_range.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/range/conversions.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/range/each.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/range/include_range.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/range/include_time_with_zone.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/range/overlaps.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/regexp.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/securerandom.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/string.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/string/access.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/string/behavior.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/string/conversions.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/string/exclude.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/string/filters.rb +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/string/indent.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/string/inflections.rb +259 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/string/inquiry.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/string/multibyte.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/string/output_safety.rb +316 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/string/starts_ends_with.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/string/strip.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/string/zones.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/time.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/time/acts_like.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/time/calculations.rb +346 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/time/compatibility.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/time/conversions.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/time/zones.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/core_ext/uri.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/current_attributes.rb +203 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/dependencies.rb +809 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/dependencies/autoload.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/dependencies/interlock.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/dependencies/zeitwerk_integration.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/deprecation.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/deprecation/behaviors.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/deprecation/constant_accessor.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/deprecation/instance_delegator.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/deprecation/method_wrappers.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/deprecation/proxy_wrappers.rb +177 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/deprecation/reporting.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/descendants_tracker.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/digest.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/duration.rb +435 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/duration/iso8601_parser.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/duration/iso8601_serializer.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/encrypted_configuration.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/encrypted_file.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/evented_file_update_checker.rb +234 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/execution_wrapper.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/executor.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/file_update_checker.rb +162 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/gem_version.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/gzip.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/hash_with_indifferent_access.rb +399 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/i18n.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/i18n_railtie.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/inflections.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/inflector.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/inflector/inflections.rb +256 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/inflector/methods.rb +397 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/inflector/transliterate.rb +147 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/json.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/json/decoding.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/json/encoding.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/key_generator.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/lazy_load_hooks.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/locale/en.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/locale/en.yml +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/log_subscriber.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/log_subscriber/test_helper.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/logger.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/logger_silence.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/logger_thread_safe_level.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/message_encryptor.rb +227 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/message_verifier.rb +205 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/messages/metadata.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/messages/rotation_configuration.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/messages/rotator.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/multibyte.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/multibyte/chars.rb +215 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/multibyte/unicode.rb +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/notifications.rb +253 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/notifications/fanout.rb +244 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/notifications/instrumenter.rb +164 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/number_helper.rb +382 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/number_helper/number_converter.rb +183 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/number_helper/number_to_currency_converter.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/number_helper/number_to_delimited_converter.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/number_helper/number_to_human_converter.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/number_helper/number_to_human_size_converter.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/number_helper/number_to_percentage_converter.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/number_helper/number_to_phone_converter.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/number_helper/number_to_rounded_converter.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/number_helper/rounding_helper.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/option_merger.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/ordered_hash.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/ordered_options.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/parameter_filter.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/per_thread_registry.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/proxy_object.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/rails.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/railtie.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/reloader.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/rescuable.rb +174 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/security_utils.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/string_inquirer.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/subscriber.rb +169 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/tagged_logging.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/test_case.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/testing/assertions.rb +228 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/testing/autorun.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/testing/constant_lookup.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/testing/declarative.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/testing/deprecation.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/testing/file_fixtures.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/testing/isolation.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/testing/method_call_assertions.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/testing/parallelization.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/testing/setup_and_teardown.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/testing/stream.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/testing/tagged_logging.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/testing/time_helpers.rb +198 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/time.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/time_with_zone.rb +561 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/values/time_zone.rb +570 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/version.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/xml_mini.rb +201 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/xml_mini/jdom.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/xml_mini/libxml.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/xml_mini/libxmlsax.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/xml_mini/nokogiri.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/xml_mini/nokogirisax.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/xml_mini/rexml.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/CHANGELOG.md +528 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/Gemfile +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/README.md +408 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/Rakefile +339 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/ConcurrentRubyService.java +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/AtomicReferenceLibrary.java +175 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JRubyMapBackendLibrary.java +248 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicBooleanLibrary.java +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java +159 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/SynchronizationLibrary.java +307 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent-ruby.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/agent.rb +587 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/array.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/async.rb +448 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atom.rb +222 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/abstract_thread_local_var.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb +164 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb +204 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/event.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/java_count_down_latch.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/java_thread_local_var.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb +254 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb +379 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/ruby_thread_local_var.rb +181 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/semaphore.rb +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomics.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb +140 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/truffleruby_map_backend.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb +160 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/deprecation.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/logging.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/obligation.rb +220 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/observable.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concurrent_ruby.jar +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/configuration.rb +188 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/constants.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/dataflow.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/delay.rb +199 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/errors.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/exchanger.rb +352 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/executor_service.rb +185 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb +210 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_executor_service.rb +103 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_single_thread_executor.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb +377 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/timer_set.rb +172 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executors.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/future.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/hash.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/immutable_struct.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/ivar.rb +207 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/map.rb +347 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/maybe.rb +229 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/mutable_struct.rb +239 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/mvar.rb +242 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/options.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promise.rb +580 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promises.rb +2167 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/re_include.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/scheduled_task.rb +318 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/set.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/settable_struct.rb +139 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/condition.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/jruby_lockable_object.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/jruby_object.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/lock.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/lockable_object.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mri_object.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/object.rb +183 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/rbx_lockable_object.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/rbx_object.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/truffleruby_object.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/volatile.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/striped64.rb +246 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/timer_task.rb +333 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/tuple.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/tvar.rb +261 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/engine.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/monotonic_time.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/native_integer.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/processor_counter.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/crass-1.0.6/Gemfile +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/crass-1.0.6/HISTORY.md +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/crass-1.0.6/LICENSE +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/crass-1.0.6/README.md +192 -0
- data/vendor/bundle/ruby/2.6.0/gems/crass-1.0.6/Rakefile +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/crass-1.0.6/crass.gemspec +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/crass-1.0.6/lib/crass.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/crass-1.0.6/lib/crass/parser.rb +648 -0
- data/vendor/bundle/ruby/2.6.0/gems/crass-1.0.6/lib/crass/scanner.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/crass-1.0.6/lib/crass/token-scanner.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/crass-1.0.6/lib/crass/tokenizer.rb +708 -0
- data/vendor/bundle/ruby/2.6.0/gems/crass-1.0.6/lib/crass/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Code-of-Conduct.md +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Contributing.md +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/History.md +319 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/License.md +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Manifest.txt +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/README.rdoc +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Rakefile +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/autotest/discover.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/bin/htmldiff +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/bin/ldiff +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs.rb +739 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/callbacks.rb +325 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/change.rb +174 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/htmldiff.rb +150 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/hunk.rb +358 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/internals.rb +304 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/ldiff.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/change_spec.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/diff_spec.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/aX +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/bXaX +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-c +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-e +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-f +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-u +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/hunk_spec.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/issues_spec.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/ldiff_spec.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/patch_spec.rb +416 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/spec_helper.rb +375 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/README.md +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-3.2.x +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-4.0.x +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-4.1.x +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-4.2.x +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-5.0.x +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-5.1.x +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-master +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n.rb +356 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/backend.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/backend/base.rb +255 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/backend/cache.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/backend/cascade.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/backend/chain.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/backend/fallbacks.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/backend/flatten.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/backend/gettext.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/backend/interpolation_compiler.rb +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/backend/key_value.rb +177 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/backend/memoize.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/backend/metadata.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/backend/pluralization.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/backend/simple.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/backend/transliterator.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/config.rb +147 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/core_ext/hash.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/core_ext/kernel/suppress_warnings.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/core_ext/string/interpolate.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/exceptions.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/gettext.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/gettext/helpers.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/interpolate/ruby.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/locale.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/locale/fallbacks.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/locale/tag.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/locale/tag/parents.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/middleware.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/tests.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/tests/basics.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/tests/defaults.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/tests/interpolation.rb +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/tests/link.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/tests/localization.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/tests/localization/date.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/tests/localization/date_time.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/tests/localization/procs.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/tests/localization/time.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/tests/lookup.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/tests/procs.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/api/all_features_test.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/api/cascade_test.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/api/chain_test.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/api/fallbacks_test.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/api/key_value_test.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/api/memoize_test.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/api/override_test.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/api/pluralization_test.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/api/simple_test.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/backend/cache_test.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/backend/cascade_test.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/backend/chain_test.rb +122 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/backend/exceptions_test.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/backend/fallbacks_test.rb +219 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/backend/interpolation_compiler_test.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/backend/key_value_test.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/backend/memoize_test.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/backend/metadata_test.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/backend/pluralization_test.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/backend/simple_test.rb +103 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/backend/transliterator_test.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/core_ext/hash_test.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/gettext/api_test.rb +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/gettext/backend_test.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/i18n/exceptions_test.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/i18n/gettext_plural_keys_test.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/i18n/interpolate_test.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/i18n/load_path_test.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/i18n/middleware_test.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/i18n_test.rb +462 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/locale/fallbacks_test.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/locale/tag/rfc4646_test.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/locale/tag/simple_test.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/run_all.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/test_data/locales/de.po +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/test_data/locales/en.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/test_data/locales/en.yml +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/test_data/locales/invalid/empty.yml +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/test_data/locales/invalid/syntax.yml +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/test_data/locales/plurals.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/test_helper.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/CHANGELOG.md +260 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/Gemfile +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/README.md +273 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/Rakefile +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/SECURITY.md +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/lib/mini_portile2.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/lib/mini_portile2/mini_portile.rb +596 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/lib/mini_portile2/mini_portile_cmake.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/lib/mini_portile2/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/mini_portile2.gemspec +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/test/assets/git/config +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/test/assets/gpg-fixtures/data +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/test/assets/gpg-fixtures/data.asc +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/test/assets/gpg-fixtures/data.invalid.asc +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/test/assets/patch 1.diff +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/test/assets/test mini portile-1.0.0/configure +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/test/assets/test-cmake-1.0/CMakeLists.txt +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/test/assets/test-cmake-1.0/hello.c +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/test/assets/test-download-archive.tar.gz +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/test/helper.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/test/test_cmake.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/test/test_cook.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/test/test_digest.rb +215 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/test/test_download.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/test/test_execute.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/mini_portile2-2.6.1/test/test_proxy.rb +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/History.rdoc +1409 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/Manifest.txt +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/README.rdoc +800 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/Rakefile +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/design_rationale.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/hoe/minitest.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/minitest.rb +1056 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/minitest/assertions.rb +807 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/minitest/autorun.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/minitest/benchmark.rb +455 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/minitest/expectations.rb +303 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/minitest/hell.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/minitest/mock.rb +244 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/minitest/parallel.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/minitest/spec.rb +342 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/minitest/test.rb +220 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/minitest/unit.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/test/minitest/metametameta.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/test/minitest/test_minitest_assertions.rb +1575 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/test/minitest/test_minitest_mock.rb +884 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/test/minitest/test_minitest_reporter.rb +299 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/test/minitest/test_minitest_spec.rb +1061 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/test/minitest/test_minitest_test.rb +1084 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumuki-emojis-1.1.1/README.md +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumuki-emojis-1.1.1/Rakefile +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumuki-emojis-1.1.1/app/assets/javascripts/mumuki-emojis-availables.js +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumuki-emojis-1.1.1/app/assets/javascripts/mumuki-emojis-categories.js +137 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumuki-emojis-1.1.1/app/assets/javascripts/mumuki-emojis.js +509 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumuki-emojis-1.1.1/app/assets/json/mumuki-emojis-shortnames.json +68738 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumuki-emojis-1.1.1/app/assets/stylesheets/mumuki-emojis.css +5437 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumuki-emojis-1.1.1/lib/mumuki/emojis.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumuki-emojis-1.1.1/lib/mumuki/emojis/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/bin/console +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/bin/setup +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/activemodel.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/array.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/class.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/configurable.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/file.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/hash.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/i18n.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/json.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/likeability.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/modulability.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/module.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/nil.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/object.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/regexp.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/request.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/rspec.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/status.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/string.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/variability.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/mumukit-core-1.18.0/lib/mumukit/core/yaml.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/Gemfile +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/LICENSE-DEPENDENCIES.md +1903 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/LICENSE.md +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/README.md +278 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/bin/nokogiri +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/dependencies.yml +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/depend +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/extconf.rb +988 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/gumbo.c +584 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/html4_document.c +166 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/html4_element_description.c +294 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/html4_entity_lookup.c +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/html4_sax_parser_context.c +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/html4_sax_push_parser.c +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libexslt/exslt.h +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libexslt/exsltconfig.h +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libexslt/exsltexports.h +140 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/DOCBparser.h +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +306 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/HTMLtree.h +147 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/SAX.h +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/SAX2.h +178 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/c14n.h +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/catalog.h +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/chvalid.h +230 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/debugXML.h +217 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/dict.h +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/encoding.h +245 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/entities.h +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/globals.h +508 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/hash.h +236 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/list.h +137 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/nanoftp.h +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/nanohttp.h +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/parser.h +1243 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/parserInternals.h +644 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/pattern.h +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/relaxng.h +217 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/schemasInternals.h +958 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/schematron.h +142 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/threads.h +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/tree.h +1311 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/uri.h +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/valid.h +458 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xinclude.h +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xlink.h +189 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlIO.h +368 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlerror.h +945 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlexports.h +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +224 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlmodule.h +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlreader.h +428 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlregexp.h +222 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlsave.h +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +246 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlstring.h +140 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +202 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlversion.h +485 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +488 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xpath.h +564 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xpathInternals.h +632 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxml2/libxml/xpointer.h +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/attributes.h +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/documents.h +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/extensions.h +262 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/extra.h +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/functions.h +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/imports.h +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/keys.h +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/namespaces.h +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/numbersInternals.h +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/pattern.h +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/preproc.h +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/security.h +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/templates.h +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/transform.h +207 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/variables.h +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/xslt.h +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/xsltInternals.h +1978 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/xsltconfig.h +180 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/xsltexports.h +142 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/xsltlocale.h +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/include/libxslt/xsltutils.h +313 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/libxml2_backwards_compat.c +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/nokogiri.c +278 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/nokogiri.h +223 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/test_global_handlers.c +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_attr.c +103 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_attribute_decl.c +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_cdata.c +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_comment.c +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_document.c +680 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_document_fragment.c +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_dtd.c +208 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_element_content.c +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_element_decl.c +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_encoding_handler.c +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_entity_decl.c +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_entity_reference.c +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_namespace.c +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_node.c +1832 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_node_set.c +498 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_processing_instruction.c +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_reader.c +693 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_relax_ng.c +185 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_sax_parser.c +310 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_sax_parser_context.c +281 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_sax_push_parser.c +168 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_schema.c +284 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_syntax_error.c +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_text.c +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xml_xpath_context.c +383 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/ext/nokogiri/xslt_stylesheet.c +264 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/gumbo-parser/CHANGES.md +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/gumbo-parser/Makefile +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/gumbo-parser/THANKS +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/2.5/nokogiri.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/2.6/nokogiri.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/2.7/nokogiri.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/3.0/nokogiri.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/css.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/css/node.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/css/parser.rb +751 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/css/parser.y +272 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/css/parser_extras.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/css/syntax_error.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/css/tokenizer.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/css/tokenizer.rex +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/css/xpath_visitor.rb +260 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/decorators/slop.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/extension.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/gumbo.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/html.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/html4.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/html4/builder.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/html4/document.rb +322 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/html4/document_fragment.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/html4/element_description.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/html4/element_description_defaults.rb +672 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/html4/entity_lookup.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/html4/sax/parser.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/html4/sax/parser_context.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/html4/sax/push_parser.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/html5.rb +473 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/html5/document.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/html5/document_fragment.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/html5/node.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/jruby/dependencies.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/syntax_error.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/version/constant.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/version/info.rb +215 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/attr.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/attribute_decl.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/builder.rb +447 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/cdata.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/character_data.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/document.rb +336 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/document_fragment.rb +159 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/dtd.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/element_content.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/element_decl.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/entity_decl.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/entity_reference.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/namespace.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/node.rb +1238 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/node/save_options.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/node_set.rb +372 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/notation.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/parse_options.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/pp.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/pp/character_data.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/pp/node.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/processing_instruction.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/reader.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/relax_ng.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/sax.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/sax/document.rb +166 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/sax/parser.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/sax/parser_context.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/sax/push_parser.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/schema.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/searchable.rb +239 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/syntax_error.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/text.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/xpath.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/xpath/syntax_error.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xml/xpath_context.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xslt.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/xslt/stylesheet.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.12.3-x86_64-linux/lib/xsd/xmlparser/nokogiri.rb +103 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/COPYING +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/ChangeLog +846 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/README.ja.rdoc +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/README.rdoc +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/Rakefile +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/TODO +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/bin/racc +320 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/ext/racc/MANIFEST +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/ext/racc/com/headius/racc/Cparse.java +849 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/ext/racc/cparse/Makefile +265 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/ext/racc/cparse/cparse.c +863 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/ext/racc/cparse/cparse.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/ext/racc/cparse/cparse.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/ext/racc/cparse/extconf.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc/compat.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc/debugflags.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc/exception.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc/grammar.rb +1118 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc/grammarfileparser.rb +561 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc/info.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc/iset.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc/logfilegenerator.rb +212 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc/parser-text.rb +637 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc/parser.rb +632 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc/parserfilegenerator.rb +512 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc/pre-setup +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc/sourcetext.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc/state.rb +972 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc/statetransitiontable.rb +317 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/lib/racc/static.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/rdoc/en/NEWS.en.rdoc +282 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/rdoc/en/grammar.en.rdoc +230 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/rdoc/ja/NEWS.ja.rdoc +307 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/rdoc/ja/command.ja.html +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/rdoc/ja/debug.ja.rdoc +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/rdoc/ja/grammar.ja.rdoc +348 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/rdoc/ja/index.ja.html +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/rdoc/ja/parser.ja.rdoc +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/rdoc/ja/usage.ja.html +414 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/sample/array.y +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/sample/array2.y +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/sample/calc-ja.y +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/sample/calc.y +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/sample/conflict.y +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/sample/hash.y +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/sample/lalr.y +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/sample/lists.y +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/sample/syntax.y +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/sample/yyerr.y +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/cadenza.y +170 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/cast.y +926 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/chk.y +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/conf.y +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/csspool.y +729 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/digraph.y +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/echk.y +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/edtf.y +583 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/err.y +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/error_recovery.y +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/expect.y +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/firstline.y +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/huia.y +318 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/ichk.y +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/intp.y +546 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/journey.y +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/liquor.y +313 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/machete.y +423 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/macruby.y +2197 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/mailp.y +437 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/mediacloth.y +599 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/mof.y +649 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/namae.y +302 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/nasl.y +626 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/newsyn.y +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/noend.y +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/nokogiri-css.y +255 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/nonass.y +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/normal.y +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/norule.y +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/nullbug1.y +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/nullbug2.y +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/opal.y +1807 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/opt.y +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/percent.y +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/php_serialization.y +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/recv.y +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/riml.y +665 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/rrconf.y +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/ruby18.y +1943 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/ruby19.y +2174 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/ruby20.y +2350 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/ruby21.y +2359 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/ruby22.y +2381 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/scan.y +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/syntax.y +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/tp_plus.y +622 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/twowaysql.y +278 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/unterm.y +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/useless.y +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/assets/yyerr.y +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/bench.y +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/helper.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/infini.y +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/cadenza +796 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/cast +3428 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/csspool +2314 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/edtf +1794 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/huia +1392 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/journey +222 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/liquor +885 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/machete +833 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/mediacloth +1463 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/mof +1368 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/namae +634 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/nasl +2058 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/nokogiri-css +836 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/opal +6431 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/php_serialization +336 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/riml +3283 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/ruby18 +6344 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/ruby22 +7460 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/tp_plus +1933 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/regress/twowaysql +556 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/scandata/brace +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/scandata/gvar +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/scandata/normal +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/scandata/percent +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/scandata/slash +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/src.intp +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/start.y +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/test_chk_y.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/test_grammar_file_parser.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/test_racc_command.rb +339 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/test_scan_y.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/test/testscanner.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/web/racc.en.rhtml +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/web/racc.ja.rhtml +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/CHANGELOG.md +694 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/CONTRIBUTING.md +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/README.rdoc +306 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/Rakefile +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/SPEC.rdoc +292 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/bin/rackup +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/contrib/rack.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/contrib/rack.svg +150 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/contrib/rack_logo.svg +164 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/contrib/rdoc.css +412 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/example/lobster.ru +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/example/protectedlobster.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/example/protectedlobster.ru +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/auth/abstract/handler.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/auth/abstract/request.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/auth/basic.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/auth/digest/md5.rb +131 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/auth/digest/nonce.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/auth/digest/params.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/auth/digest/request.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/body_proxy.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/builder.rb +257 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/cascade.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/chunked.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/common_logger.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/conditional_get.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/config.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/content_length.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/content_type.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/core_ext/regexp.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/deflater.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/directory.rb +199 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/etag.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/events.rb +153 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/file.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/files.rb +218 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/handler.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/handler/cgi.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/handler/fastcgi.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/handler/lsws.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/handler/scgi.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/handler/thin.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/handler/webrick.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/head.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/lint.rb +806 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/lobster.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/lock.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/logger.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/media_type.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/method_override.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/mime.rb +685 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/mock.rb +273 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/multipart.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/multipart/generator.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/multipart/parser.rb +364 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/multipart/uploaded_file.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/null_logger.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/query_parser.rb +217 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/recursive.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/reloader.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/request.rb +659 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/response.rb +318 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/rewindable_input.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/runtime.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/sendfile.rb +162 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/server.rb +466 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb +523 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/session/cookie.rb +203 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/session/memcache.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/session/pool.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/show_exceptions.rb +390 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/show_status.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/static.rb +187 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/urlmap.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/utils.rb +613 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/version.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/rack.gemspec +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/CONTRIBUTING.rdoc +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/Gemfile +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/History.rdoc +2344 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/README.rdoc +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/Rakefile +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/azure-pipelines.yml +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/bundle +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/console +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/rake +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/rdoc +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/rubocop +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/setup +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/exe/rake +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb +824 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/file_utils.rb +137 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/file_utils_ext.rb +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/packagetask.rb +207 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/task.rb +413 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/task_manager.rb +324 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/testtask.rb +224 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/rake.gemspec +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/COPYING +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/Gemfile +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/README.markdown +394 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/Rakefile +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/bin/redcarpet +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/Makefile +265 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/autolink.c +302 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/autolink.h +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/autolink.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/buffer.c +203 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/buffer.h +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/buffer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/extconf.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/houdini.h +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/houdini_href_e.c +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/houdini_href_e.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/houdini_html_e.c +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/houdini_html_e.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/html.c +825 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/html.h +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/html.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/html_blocks.h +229 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/html_smartypants.c +457 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/html_smartypants.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/markdown.c +2917 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/markdown.h +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/markdown.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/rc_markdown.c +168 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/rc_markdown.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/rc_render.c +545 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/rc_render.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/redcarpet.h +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/redcarpet.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/stack.c +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/stack.h +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/ext/redcarpet/stack.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/lib/redcarpet.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/lib/redcarpet.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/lib/redcarpet/cli.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/lib/redcarpet/compat.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/lib/redcarpet/render_man.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/lib/redcarpet/render_strip.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/redcarpet.gemspec +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/test/benchmark.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/test/custom_render_test.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/test/fixtures/benchmark.md +232 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/test/html5_test.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/test/html_render_test.rb +248 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/test/html_toc_render_test.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/test/markdown_test.rb +371 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/test/pathological_inputs_test.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/test/redcarpet_bin_test.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/test/redcarpet_compat_test.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/test/safe_render_test.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/test/smarty_html_test.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/test/smarty_pants_test.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/test/stripdown_render_test.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/redcarpet-3.3.4/test/test_helper.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/Gemfile +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/LICENSE +186 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/bin/rougify +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/cli.rb +528 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/abap +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/actionscript +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/ada +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/apache +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/apex +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/apiblueprint +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/applescript +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/armasm +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/augeas +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/awk +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/batchfile +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/bbcbasic +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/bibtex +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/biml +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/bpf +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/brainfuck +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/brightscript +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/bsl +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/c +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/ceylon +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/cfscript +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/clean +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/clojure +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/cmake +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/cmhg +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/coffeescript +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/common_lisp +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/conf +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/console +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/coq +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/cpp +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/crystal +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/csharp +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/css +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/csvs +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/cuda +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/cypher +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/cython +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/d +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/dart +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/datastudio +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/diff +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/digdag +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/docker +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/dot +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/ecl +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/eex +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/eiffel +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/elixir +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/elm +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/email +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/epp +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/erb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/erlang +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/escape +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/factor +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/fortran +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/freefem +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/fsharp +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/gdscript +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/ghc-cmm +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/ghc-core +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/gherkin +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/glsl +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/go +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/gradle +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/graphql +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/groovy +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/hack +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/haml +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/handlebars +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/haskell +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/haxe +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/hcl +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/hlsl +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/hocon +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/hql +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/html +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/http +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/hylang +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/idlang +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/igorpro +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/ini +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/io +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/irb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/irb_output +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/isbl +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/j +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/janet +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/java +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/javascript +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/jinja +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/jsl +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/json +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/json-doc +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/jsonnet +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/jsp +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/jsx +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/julia +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/kotlin +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/lasso +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/liquid +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/literate_coffeescript +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/literate_haskell +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/livescript +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/llvm +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/lua +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/lustre +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/lutin +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/m68k +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/magik +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/make +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/markdown +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/mason +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/mathematica +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/matlab +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/minizinc +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/moonscript +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/mosel +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/msgtrans +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/mxml +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/nasm +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/nesasm +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/nginx +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/nim +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/nix +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/objective_c +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/objective_cpp +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/ocaml +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/ocl +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/openedge +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/opentype_feature_file +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/pascal +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/perl +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/php +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/plaintext +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/plist +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/pony +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/postscript +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/powershell +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/praat +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/prolog +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/prometheus +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/properties +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/protobuf +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/puppet +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/python +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/q +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/qml +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/r +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/racket +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/reasonml +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/rego +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/rescript +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/robot_framework +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/ruby +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/rust +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/sas +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/sass +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/scala +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/scheme +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/scss +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/sed +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/shell +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/sieve +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/slice +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/slim +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/smalltalk +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/smarty +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/sml +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/solidity +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/sparql +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/sqf +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/sql +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/ssh +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/supercollider +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/swift +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/systemd +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/tap +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/tcl +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/terraform +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/tex +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/toml +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/tsx +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/ttcn3 +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/tulip +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/turtle +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/twig +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/typescript +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/vala +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/vb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/vcl +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/velocity +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/verilog +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/vhdl +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/viml +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/vue +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/wollok +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/xml +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/xojo +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/xpath +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/xquery +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/yaml +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/yang +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/zig +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/formatter.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/formatters/html.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/formatters/html_inline.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/formatters/html_legacy.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/formatters/html_line_highlighter.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/formatters/html_line_table.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/formatters/html_linewise.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/formatters/html_pygments.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/formatters/html_table.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/formatters/null.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/formatters/terminal256.rb +198 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/formatters/terminal_truecolor.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/formatters/tex.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/guesser.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/guessers/disambiguation.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/guessers/filename.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/guessers/glob_mapping.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/guessers/mimetype.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/guessers/modeline.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/guessers/source.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/guessers/util.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexer.rb +535 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/abap.rb +240 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/actionscript.rb +196 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/ada.rb +162 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/apache.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/apache/keywords.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/apex.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/apiblueprint.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/apple_script.rb +370 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/armasm.rb +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/augeas.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/awk.rb +162 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/batchfile.rb +165 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/bbcbasic.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/bibtex.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/biml.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/bpf.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/brainfuck.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/brightscript.rb +147 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/bsl.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/c.rb +190 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/ceylon.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/cfscript.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/clean.rb +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/clojure.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/cmake.rb +218 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/cmhg.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/coffeescript.rb +215 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/common_lisp.rb +346 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/conf.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/console.rb +190 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/coq.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/cpp.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/crystal.rb +435 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/csharp.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/css.rb +276 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/csvs.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/cuda.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/cypher.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/cython.rb +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/d.rb +177 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/dart.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/datastudio.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/diff.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/digdag.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/docker.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/dot.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/ecl.rb +175 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/eex.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/eiffel.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/elixir.rb +149 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/elm.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/email.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/epp.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/erb.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/erlang.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/escape.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/factor.rb +303 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/fortran.rb +178 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/freefem.rb +240 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/fsharp.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/gdscript.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/ghc_cmm.rb +340 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/ghc_core.rb +152 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/gherkin.rb +140 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/gherkin/keywords.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/glsl.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/go.rb +175 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/gradle.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/graphql.rb +261 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/groovy.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/hack.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/haml.rb +226 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/handlebars.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/haskell.rb +207 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/haxe.rb +246 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/hcl.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/hlsl.rb +166 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/hocon.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/hql.rb +139 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/html.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/http.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/hylang.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/idlang.rb +312 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/igorpro.rb +664 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/ini.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/io.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/irb.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/isbl.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/isbl/builtins.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/j.rb +244 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/janet.rb +218 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/java.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/javascript.rb +285 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/jinja.rb +169 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/jsl.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/json.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/json_doc.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/jsonnet.rb +153 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/jsp.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/jsx.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/julia.rb +292 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/kotlin.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/lasso.rb +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/lasso/keywords.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/liquid.rb +285 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/literate_coffeescript.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/literate_haskell.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/livescript.rb +310 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/llvm.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/llvm/keywords.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/lua.rb +164 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/lua/keywords.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/lustre.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/lutin.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/m68k.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/magik.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/make.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/markdown.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/mason.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/mathematica.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/mathematica/keywords.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/matlab.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/matlab/builtins.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/matlab/keywords.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/minizinc.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/moonscript.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/mosel.rb +232 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/msgtrans.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/mxml.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/nasm.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/nesasm.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/nginx.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/nim.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/nix.rb +211 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/objective_c.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/objective_c/common.rb +184 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/objective_cpp.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/ocaml.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/ocaml/common.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/ocl.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/openedge.rb +429 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/opentype_feature_file.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/pascal.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/perl.rb +251 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/php.rb +377 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/php/keywords.rb +202 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/plain_text.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/plist.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/pony.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/postscript.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/powershell.rb +242 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/praat.rb +351 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/prolog.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/prometheus.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/properties.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/protobuf.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/puppet.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/python.rb +249 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/q.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/qml.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/r.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/racket.rb +568 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/reasonml.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/rego.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/rescript.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/robot_framework.rb +249 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/ruby.rb +454 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/rust.rb +196 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/sas.rb +563 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/sass.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/sass/common.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/scala.rb +169 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/scheme.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/scss.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/sed.rb +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/shell.rb +201 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/sieve.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/slice.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/slim.rb +229 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/smalltalk.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/smarty.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/sml.rb +345 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/solidity.rb +185 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/sparql.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/sqf.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/sqf/keywords.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/sql.rb +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/ssh.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/supercollider.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/swift.rb +186 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/systemd.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/tap.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/tcl.rb +193 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/terraform.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/tex.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/toml.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/tsx.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/ttcn3.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/tulip.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/turtle.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/twig.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/typescript.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/typescript/common.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/vala.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/varnish.rb +168 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/vb.rb +165 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/velocity.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/verilog.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/vhdl.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/viml.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/viml/keywords.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/vue.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/wollok.rb +103 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/xml.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/xojo.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/xpath.rb +332 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/xquery.rb +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/yaml.rb +378 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/yang.rb +147 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/lexers/zig.rb +139 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/plugins/redcarpet.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/regex_lexer.rb +498 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/template_lexer.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/tex_theme_renderer.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/text_analyzer.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/theme.rb +218 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/themes/base16.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/themes/bw.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/themes/colorful.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/themes/github.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/themes/gruvbox.rb +170 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/themes/igor_pro.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/themes/magritte.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/themes/molokai.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/themes/monokai.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/themes/monokai_sublime.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/themes/pastie.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/themes/thankful_eyes.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/themes/tulip.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/token.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/util.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/version.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/rouge.gemspec +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-3.10.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-3.10.0/README.md +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-3.10.0/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-3.10.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/Changelog.md +2327 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/LICENSE.md +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/README.md +384 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core.rb +186 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/fork_runner.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/server.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/utilities.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb +2372 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration_options.rb +233 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/did_you_mean.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/drb.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb +663 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb +901 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters.rb +273 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/console_codes.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/exception_presenter.rb +521 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/json_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb +646 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/invocations.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/memoized_helpers.rb +554 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/metadata.rb +498 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/notifications.rb +521 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/option_parser.rb +324 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/ordering.rb +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/profiler.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/rake_task.rb +188 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb +265 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb +212 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/shared_example_group.rb +271 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/world.rb +277 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/Changelog.md +1240 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/README.md +320 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/configuration.rb +230 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/expectation_target.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/failure_aggregator.rb +212 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/handler.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers.rb +1041 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/all.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/be.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/change.rb +428 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/compound.rb +276 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/contain_exactly.rb +302 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/count_expectation.rb +169 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/has.rb +167 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/include.rb +206 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/output.rb +200 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/raise_error.rb +259 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/respond_to.rb +200 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/yield.rb +355 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/composable.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/dsl.rb +540 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/Changelog.md +1167 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/README.md +463 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/chain.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/recorder.rb +295 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/argument_matchers.rb +322 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/message_expectation.rb +751 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/method_double.rb +288 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/proxy.rb +519 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/test_double.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/verifying_double.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/verifying_proxy.rb +220 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/Changelog.md +332 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/README.md +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/encoded_string.rb +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/method_signature_verifier.rb +438 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/object_formatter.rb +275 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/reentrant_mutex.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/ruby_features.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/source.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/source/location.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/source/node.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/source/token.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/deprecation_helpers.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/diff_helpers.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/in_sub_process.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/shell_out.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/stderr_splitter.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/string_matcher.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/with_keywords_when_needed.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/HISTORY.md +707 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/LICENSE +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/README.md +669 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/lib/sanitize.rb +244 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/lib/sanitize/config.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/lib/sanitize/config/basic.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/lib/sanitize/config/default.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/lib/sanitize/config/relaxed.rb +724 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/lib/sanitize/config/restricted.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/lib/sanitize/css.rb +348 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/lib/sanitize/transformers/clean_cdata.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/lib/sanitize/transformers/clean_comment.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/lib/sanitize/transformers/clean_css.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/lib/sanitize/transformers/clean_doctype.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/lib/sanitize/transformers/clean_element.rb +223 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/lib/sanitize/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/test/common.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/test/test_clean_comment.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/test/test_clean_css.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/test/test_clean_doctype.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/test/test_clean_element.rb +545 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/test/test_config.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/test/test_malicious_css.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/test/test_malicious_html.rb +235 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/test/test_parser.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/test/test_sanitize.rb +197 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/test/test_sanitize_css.rb +424 -0
- data/vendor/bundle/ruby/2.6.0/gems/sanitize-6.0.0/test/test_transformers.rb +230 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/Gemfile +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/LICENSE +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/README.md +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/Rakefile +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/examples/bench_cache.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/ext/thread_safe/JrubyCacheBackendService.java +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/atomic_reference_cache_backend.rb +908 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/cache.rb +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/mri_cache_backend.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/non_concurrent_cache_backend.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_cache_backend.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_delegator.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/util/adder.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/util/atomic_reference.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/util/cheap_lockable.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/util/striped64.rb +222 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile_tuple.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/util/xor_shift_random.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/version.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/spec_helper.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/src/thread_safe/SecurityManager.java +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/support/threads.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/support/threadsafe_test.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/thread_safe/array_spec.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_loops_spec.rb +507 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_spec.rb +943 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/thread_safe/hash_spec.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/thread_safe/no_unsafe_spec.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/thread_safe/synchronized_delegator_spec.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/tasks/update_doc.rake +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/thread_safe.gemspec +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/yard-template/default/fulldoc/html/css/common.css +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/yard-template/default/layout/html/footer.erb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/CHANGES.md +824 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/LICENSE +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/README.md +152 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/Rakefile +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/annual_rules.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/country.rb +196 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/country_index_definition.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/country_info.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/country_timezone.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/data_source.rb +190 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/data_timezone.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/data_timezone_info.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/info_timezone.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/linked_timezone.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/linked_timezone_info.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/offset_rationals.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/posix_time_zone_parser.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/ruby_core_support.rb +169 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/ruby_country_info.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/ruby_data_source.rb +140 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/time_or_datetime.rb +351 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/timezone.rb +673 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/timezone_definition.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/timezone_index_definition.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/timezone_info.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/timezone_offset.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/timezone_period.rb +245 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/timezone_proxy.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/timezone_transition.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/timezone_transition_definition.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/transition_data_timezone_info.rb +274 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/transition_rule.rb +325 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/zoneinfo_country_info.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/zoneinfo_data_source.rb +497 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/lib/tzinfo/zoneinfo_timezone_info.rb +520 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_annual_rules.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_country.rb +238 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_country_index_definition.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_country_info.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_country_timezone.rb +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_data_source.rb +218 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_data_timezone.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_data_timezone_info.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_info_timezone.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_linked_timezone.rb +155 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_linked_timezone_info.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_offset_rationals.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_posix_time_zone_parser.rb +261 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_ruby_core_support.rb +168 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_ruby_country_info.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_ruby_data_source.rb +167 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_time_or_datetime.rb +674 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_timezone.rb +1361 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_timezone_definition.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_timezone_index_definition.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_timezone_info.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_timezone_london.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_timezone_melbourne.rb +142 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_timezone_new_york.rb +142 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_timezone_offset.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_timezone_period.rb +555 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_timezone_proxy.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_timezone_transition.rb +366 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_timezone_transition_definition.rb +295 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_timezone_utc.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_transition_data_timezone_info.rb +433 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_transition_rule.rb +663 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_zoneinfo_country_info.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_zoneinfo_data_source.rb +1204 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tc_zoneinfo_timezone_info.rb +2153 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/test_utils.rb +192 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/ts_all.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/ts_all_ruby.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/ts_all_zoneinfo.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tzinfo-data/tzinfo/data.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +327 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +230 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tzinfo-data/tzinfo/data/definitions/EST.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +273 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +198 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +333 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +277 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +235 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tzinfo-data/tzinfo/data/indexes/countries.rb +940 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +609 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/tzinfo-data/tzinfo/data/version.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/America/New_York +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/Australia/Melbourne +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/EST +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/Etc/UTC +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/Europe/Amsterdam +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/Europe/Andorra +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/Europe/London +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/Europe/Paris +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/Europe/Prague +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/Factory +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/iso3166.tab +274 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/leapseconds +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/posix/Europe/London +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/posixrules +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/right/Europe/London +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/zone.tab +452 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/test/zoneinfo/zone1970.tab +384 -0
- data/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.9/tzinfo.gemspec +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.2/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.2/README.md +841 -0
- data/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.2/lib/zeitwerk.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.2/lib/zeitwerk/error.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.2/lib/zeitwerk/explicit_namespace.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.2/lib/zeitwerk/gem_inflector.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.2/lib/zeitwerk/inflector.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.2/lib/zeitwerk/loader.rb +812 -0
- data/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.2/lib/zeitwerk/loader/callbacks.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.2/lib/zeitwerk/real_mod_name.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.2/lib/zeitwerk/registry.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.2/lib/zeitwerk/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/specifications/activesupport-6.0.4.gemspec +47 -0
- data/vendor/bundle/ruby/2.6.0/specifications/concurrent-ruby-1.1.9.gemspec +24 -0
- data/vendor/bundle/ruby/2.6.0/specifications/crass-1.0.6.gemspec +37 -0
- data/vendor/bundle/ruby/2.6.0/specifications/diff-lcs-1.4.4.gemspec +59 -0
- data/vendor/bundle/ruby/2.6.0/specifications/i18n-0.9.5.gemspec +33 -0
- data/vendor/bundle/ruby/2.6.0/specifications/mini_portile2-2.6.1.gemspec +48 -0
- data/vendor/bundle/ruby/2.6.0/specifications/minitest-5.14.4.gemspec +41 -0
- data/vendor/bundle/ruby/2.6.0/specifications/mumuki-emojis-1.1.1.gemspec +38 -0
- data/vendor/bundle/ruby/2.6.0/specifications/mumukit-core-1.18.0.gemspec +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/nokogiri-1.12.3-x86_64-linux.gemspec +72 -0
- data/vendor/bundle/ruby/2.6.0/specifications/racc-1.5.2.gemspec +26 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rack-2.2.3.gemspec +46 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rake-12.3.3.gemspec +49 -0
- data/vendor/bundle/ruby/2.6.0/specifications/redcarpet-3.3.4.gemspec +41 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rouge-3.26.0.gemspec +24 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-3.10.0.gemspec +43 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-core-3.10.1.gemspec +63 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-expectations-3.10.1.gemspec +51 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-mocks-3.10.2.gemspec +51 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-support-3.10.2.gemspec +39 -0
- data/vendor/bundle/ruby/2.6.0/specifications/sanitize-6.0.0.gemspec +42 -0
- data/vendor/bundle/ruby/2.6.0/specifications/thread_safe-0.3.6.gemspec +38 -0
- data/vendor/bundle/ruby/2.6.0/specifications/tzinfo-1.2.9.gemspec +37 -0
- data/vendor/bundle/ruby/2.6.0/specifications/zeitwerk-2.4.2.gemspec +22 -0
- metadata +2132 -12
Binary file
|
@@ -0,0 +1,2917 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2009, Natacha Porté
|
3
|
+
* Copyright (c) 2015, Vicent Marti
|
4
|
+
*
|
5
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
* of this software and associated documentation files (the "Software"), to deal
|
7
|
+
* in the Software without restriction, including without limitation the rights
|
8
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
* copies of the Software, and to permit persons to whom the Software is
|
10
|
+
* furnished to do so, subject to the following conditions:
|
11
|
+
*
|
12
|
+
* The above copyright notice and this permission notice shall be included in
|
13
|
+
* all copies or substantial portions of the Software.
|
14
|
+
*
|
15
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
* THE SOFTWARE.
|
22
|
+
*/
|
23
|
+
|
24
|
+
#include "markdown.h"
|
25
|
+
#include "stack.h"
|
26
|
+
|
27
|
+
#include <assert.h>
|
28
|
+
#include <string.h>
|
29
|
+
#include <ctype.h>
|
30
|
+
#include <stdio.h>
|
31
|
+
|
32
|
+
#if defined(_WIN32)
|
33
|
+
#define strncasecmp _strnicmp
|
34
|
+
#endif
|
35
|
+
|
36
|
+
#define REF_TABLE_SIZE 8
|
37
|
+
|
38
|
+
#define BUFFER_BLOCK 0
|
39
|
+
#define BUFFER_SPAN 1
|
40
|
+
|
41
|
+
#define MKD_LI_END 8 /* internal list flag */
|
42
|
+
|
43
|
+
#define gperf_case_strncmp(s1, s2, n) strncasecmp(s1, s2, n)
|
44
|
+
#define GPERF_DOWNCASE 1
|
45
|
+
#define GPERF_CASE_STRNCMP 1
|
46
|
+
#include "html_blocks.h"
|
47
|
+
|
48
|
+
/***************
|
49
|
+
* LOCAL TYPES *
|
50
|
+
***************/
|
51
|
+
|
52
|
+
/* link_ref: reference to a link */
|
53
|
+
struct link_ref {
|
54
|
+
unsigned int id;
|
55
|
+
|
56
|
+
struct buf *link;
|
57
|
+
struct buf *title;
|
58
|
+
|
59
|
+
struct link_ref *next;
|
60
|
+
};
|
61
|
+
|
62
|
+
/* footnote_ref: reference to a footnote */
|
63
|
+
struct footnote_ref {
|
64
|
+
unsigned int id;
|
65
|
+
|
66
|
+
int is_used;
|
67
|
+
unsigned int num;
|
68
|
+
|
69
|
+
struct buf *contents;
|
70
|
+
};
|
71
|
+
|
72
|
+
/* footnote_item: an item in a footnote_list */
|
73
|
+
struct footnote_item {
|
74
|
+
struct footnote_ref *ref;
|
75
|
+
struct footnote_item *next;
|
76
|
+
};
|
77
|
+
|
78
|
+
/* footnote_list: linked list of footnote_item */
|
79
|
+
struct footnote_list {
|
80
|
+
unsigned int count;
|
81
|
+
struct footnote_item *head;
|
82
|
+
struct footnote_item *tail;
|
83
|
+
};
|
84
|
+
|
85
|
+
/* char_trigger: function pointer to render active chars */
|
86
|
+
/* returns the number of chars taken care of */
|
87
|
+
/* data is the pointer of the beginning of the span */
|
88
|
+
/* offset is the number of valid chars before data */
|
89
|
+
struct sd_markdown;
|
90
|
+
typedef size_t
|
91
|
+
(*char_trigger)(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
92
|
+
|
93
|
+
static size_t char_emphasis(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
94
|
+
static size_t char_underline(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
95
|
+
static size_t char_highlight(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
96
|
+
static size_t char_quote(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
97
|
+
static size_t char_linebreak(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
98
|
+
static size_t char_codespan(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
99
|
+
static size_t char_escape(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
100
|
+
static size_t char_entity(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
101
|
+
static size_t char_langle_tag(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
102
|
+
static size_t char_autolink_url(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
103
|
+
static size_t char_autolink_email(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
104
|
+
static size_t char_autolink_www(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
105
|
+
static size_t char_link(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
106
|
+
static size_t char_superscript(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
107
|
+
|
108
|
+
enum markdown_char_t {
|
109
|
+
MD_CHAR_NONE = 0,
|
110
|
+
MD_CHAR_EMPHASIS,
|
111
|
+
MD_CHAR_CODESPAN,
|
112
|
+
MD_CHAR_LINEBREAK,
|
113
|
+
MD_CHAR_LINK,
|
114
|
+
MD_CHAR_LANGLE,
|
115
|
+
MD_CHAR_ESCAPE,
|
116
|
+
MD_CHAR_ENTITITY,
|
117
|
+
MD_CHAR_AUTOLINK_URL,
|
118
|
+
MD_CHAR_AUTOLINK_EMAIL,
|
119
|
+
MD_CHAR_AUTOLINK_WWW,
|
120
|
+
MD_CHAR_SUPERSCRIPT,
|
121
|
+
MD_CHAR_QUOTE
|
122
|
+
};
|
123
|
+
|
124
|
+
static char_trigger markdown_char_ptrs[] = {
|
125
|
+
NULL,
|
126
|
+
&char_emphasis,
|
127
|
+
&char_codespan,
|
128
|
+
&char_linebreak,
|
129
|
+
&char_link,
|
130
|
+
&char_langle_tag,
|
131
|
+
&char_escape,
|
132
|
+
&char_entity,
|
133
|
+
&char_autolink_url,
|
134
|
+
&char_autolink_email,
|
135
|
+
&char_autolink_www,
|
136
|
+
&char_superscript,
|
137
|
+
&char_quote
|
138
|
+
};
|
139
|
+
|
140
|
+
/* render • structure containing one particular render */
|
141
|
+
struct sd_markdown {
|
142
|
+
struct sd_callbacks cb;
|
143
|
+
void *opaque;
|
144
|
+
|
145
|
+
struct link_ref *refs[REF_TABLE_SIZE];
|
146
|
+
struct footnote_list footnotes_found;
|
147
|
+
struct footnote_list footnotes_used;
|
148
|
+
uint8_t active_char[256];
|
149
|
+
struct stack work_bufs[2];
|
150
|
+
unsigned int ext_flags;
|
151
|
+
size_t max_nesting;
|
152
|
+
int in_link_body;
|
153
|
+
};
|
154
|
+
|
155
|
+
/***************************
|
156
|
+
* HELPER FUNCTIONS *
|
157
|
+
***************************/
|
158
|
+
|
159
|
+
static inline struct buf *
|
160
|
+
rndr_newbuf(struct sd_markdown *rndr, int type)
|
161
|
+
{
|
162
|
+
static const size_t buf_size[2] = {256, 64};
|
163
|
+
struct buf *work = NULL;
|
164
|
+
struct stack *pool = &rndr->work_bufs[type];
|
165
|
+
|
166
|
+
if (pool->size < pool->asize &&
|
167
|
+
pool->item[pool->size] != NULL) {
|
168
|
+
work = pool->item[pool->size++];
|
169
|
+
work->size = 0;
|
170
|
+
} else {
|
171
|
+
work = bufnew(buf_size[type]);
|
172
|
+
redcarpet_stack_push(pool, work);
|
173
|
+
}
|
174
|
+
|
175
|
+
return work;
|
176
|
+
}
|
177
|
+
|
178
|
+
static inline void
|
179
|
+
rndr_popbuf(struct sd_markdown *rndr, int type)
|
180
|
+
{
|
181
|
+
rndr->work_bufs[type].size--;
|
182
|
+
}
|
183
|
+
|
184
|
+
static void
|
185
|
+
unscape_text(struct buf *ob, struct buf *src)
|
186
|
+
{
|
187
|
+
size_t i = 0, org;
|
188
|
+
while (i < src->size) {
|
189
|
+
org = i;
|
190
|
+
while (i < src->size && src->data[i] != '\\')
|
191
|
+
i++;
|
192
|
+
|
193
|
+
if (i > org)
|
194
|
+
bufput(ob, src->data + org, i - org);
|
195
|
+
|
196
|
+
if (i + 1 >= src->size)
|
197
|
+
break;
|
198
|
+
|
199
|
+
bufputc(ob, src->data[i + 1]);
|
200
|
+
i += 2;
|
201
|
+
}
|
202
|
+
}
|
203
|
+
|
204
|
+
static unsigned int
|
205
|
+
hash_link_ref(const uint8_t *link_ref, size_t length)
|
206
|
+
{
|
207
|
+
size_t i;
|
208
|
+
unsigned int hash = 0;
|
209
|
+
|
210
|
+
for (i = 0; i < length; ++i)
|
211
|
+
hash = tolower(link_ref[i]) + (hash << 6) + (hash << 16) - hash;
|
212
|
+
|
213
|
+
return hash;
|
214
|
+
}
|
215
|
+
|
216
|
+
static struct link_ref *
|
217
|
+
add_link_ref(
|
218
|
+
struct link_ref **references,
|
219
|
+
const uint8_t *name, size_t name_size)
|
220
|
+
{
|
221
|
+
struct link_ref *ref = calloc(1, sizeof(struct link_ref));
|
222
|
+
|
223
|
+
if (!ref)
|
224
|
+
return NULL;
|
225
|
+
|
226
|
+
ref->id = hash_link_ref(name, name_size);
|
227
|
+
ref->next = references[ref->id % REF_TABLE_SIZE];
|
228
|
+
|
229
|
+
references[ref->id % REF_TABLE_SIZE] = ref;
|
230
|
+
return ref;
|
231
|
+
}
|
232
|
+
|
233
|
+
static struct link_ref *
|
234
|
+
find_link_ref(struct link_ref **references, uint8_t *name, size_t length)
|
235
|
+
{
|
236
|
+
unsigned int hash = hash_link_ref(name, length);
|
237
|
+
struct link_ref *ref = NULL;
|
238
|
+
|
239
|
+
ref = references[hash % REF_TABLE_SIZE];
|
240
|
+
|
241
|
+
while (ref != NULL) {
|
242
|
+
if (ref->id == hash)
|
243
|
+
return ref;
|
244
|
+
|
245
|
+
ref = ref->next;
|
246
|
+
}
|
247
|
+
|
248
|
+
return NULL;
|
249
|
+
}
|
250
|
+
|
251
|
+
static void
|
252
|
+
free_link_refs(struct link_ref **references)
|
253
|
+
{
|
254
|
+
size_t i;
|
255
|
+
|
256
|
+
for (i = 0; i < REF_TABLE_SIZE; ++i) {
|
257
|
+
struct link_ref *r = references[i];
|
258
|
+
struct link_ref *next;
|
259
|
+
|
260
|
+
while (r) {
|
261
|
+
next = r->next;
|
262
|
+
bufrelease(r->link);
|
263
|
+
bufrelease(r->title);
|
264
|
+
free(r);
|
265
|
+
r = next;
|
266
|
+
}
|
267
|
+
}
|
268
|
+
}
|
269
|
+
|
270
|
+
static struct footnote_ref *
|
271
|
+
create_footnote_ref(struct footnote_list *list, const uint8_t *name, size_t name_size)
|
272
|
+
{
|
273
|
+
struct footnote_ref *ref = calloc(1, sizeof(struct footnote_ref));
|
274
|
+
if (!ref)
|
275
|
+
return NULL;
|
276
|
+
|
277
|
+
ref->id = hash_link_ref(name, name_size);
|
278
|
+
|
279
|
+
return ref;
|
280
|
+
}
|
281
|
+
|
282
|
+
static int
|
283
|
+
add_footnote_ref(struct footnote_list *list, struct footnote_ref *ref)
|
284
|
+
{
|
285
|
+
struct footnote_item *item = calloc(1, sizeof(struct footnote_item));
|
286
|
+
if (!item)
|
287
|
+
return 0;
|
288
|
+
item->ref = ref;
|
289
|
+
|
290
|
+
if (list->head == NULL) {
|
291
|
+
list->head = list->tail = item;
|
292
|
+
} else {
|
293
|
+
list->tail->next = item;
|
294
|
+
list->tail = item;
|
295
|
+
}
|
296
|
+
list->count++;
|
297
|
+
|
298
|
+
return 1;
|
299
|
+
}
|
300
|
+
|
301
|
+
static struct footnote_ref *
|
302
|
+
find_footnote_ref(struct footnote_list *list, uint8_t *name, size_t length)
|
303
|
+
{
|
304
|
+
unsigned int hash = hash_link_ref(name, length);
|
305
|
+
struct footnote_item *item = NULL;
|
306
|
+
|
307
|
+
item = list->head;
|
308
|
+
|
309
|
+
while (item != NULL) {
|
310
|
+
if (item->ref->id == hash)
|
311
|
+
return item->ref;
|
312
|
+
item = item->next;
|
313
|
+
}
|
314
|
+
|
315
|
+
return NULL;
|
316
|
+
}
|
317
|
+
|
318
|
+
static void
|
319
|
+
free_footnote_ref(struct footnote_ref *ref)
|
320
|
+
{
|
321
|
+
bufrelease(ref->contents);
|
322
|
+
free(ref);
|
323
|
+
}
|
324
|
+
|
325
|
+
static void
|
326
|
+
free_footnote_list(struct footnote_list *list, int free_refs)
|
327
|
+
{
|
328
|
+
struct footnote_item *item = list->head;
|
329
|
+
struct footnote_item *next;
|
330
|
+
|
331
|
+
while (item) {
|
332
|
+
next = item->next;
|
333
|
+
if (free_refs)
|
334
|
+
free_footnote_ref(item->ref);
|
335
|
+
free(item);
|
336
|
+
item = next;
|
337
|
+
}
|
338
|
+
}
|
339
|
+
|
340
|
+
/*
|
341
|
+
Wrap isalnum so that characters outside of the ASCII range don't count.
|
342
|
+
*/
|
343
|
+
static inline int
|
344
|
+
_isalnum(int c)
|
345
|
+
{
|
346
|
+
return isalnum(c) && c < 0x7f;
|
347
|
+
}
|
348
|
+
|
349
|
+
/*
|
350
|
+
* Check whether a char is a Markdown space.
|
351
|
+
|
352
|
+
* Right now we only consider spaces the actual
|
353
|
+
* space and a newline: tabs and carriage returns
|
354
|
+
* are filtered out during the preprocessing phase.
|
355
|
+
*
|
356
|
+
* If we wanted to actually be UTF-8 compliant, we
|
357
|
+
* should instead extract an Unicode codepoint from
|
358
|
+
* this character and check for space properties.
|
359
|
+
*/
|
360
|
+
static inline int
|
361
|
+
_isspace(int c)
|
362
|
+
{
|
363
|
+
return c == ' ' || c == '\n';
|
364
|
+
}
|
365
|
+
|
366
|
+
/****************************
|
367
|
+
* INLINE PARSING FUNCTIONS *
|
368
|
+
****************************/
|
369
|
+
|
370
|
+
/* is_mail_autolink • looks for the address part of a mail autolink and '>' */
|
371
|
+
/* this is less strict than the original markdown e-mail address matching */
|
372
|
+
static size_t
|
373
|
+
is_mail_autolink(uint8_t *data, size_t size)
|
374
|
+
{
|
375
|
+
size_t i = 0, nb = 0;
|
376
|
+
|
377
|
+
/* address is assumed to be: [-@._a-zA-Z0-9]+ with exactly one '@' */
|
378
|
+
for (i = 0; i < size; ++i) {
|
379
|
+
if (_isalnum(data[i]))
|
380
|
+
continue;
|
381
|
+
|
382
|
+
switch (data[i]) {
|
383
|
+
case '@':
|
384
|
+
nb++;
|
385
|
+
|
386
|
+
case '-':
|
387
|
+
case '.':
|
388
|
+
case '_':
|
389
|
+
break;
|
390
|
+
|
391
|
+
case '>':
|
392
|
+
return (nb == 1) ? i + 1 : 0;
|
393
|
+
|
394
|
+
default:
|
395
|
+
return 0;
|
396
|
+
}
|
397
|
+
}
|
398
|
+
|
399
|
+
return 0;
|
400
|
+
}
|
401
|
+
|
402
|
+
/* tag_length • returns the length of the given tag, or 0 is it's not valid */
|
403
|
+
static size_t
|
404
|
+
tag_length(uint8_t *data, size_t size, enum mkd_autolink *autolink)
|
405
|
+
{
|
406
|
+
size_t i, j;
|
407
|
+
|
408
|
+
/* a valid tag can't be shorter than 3 chars */
|
409
|
+
if (size < 3) return 0;
|
410
|
+
|
411
|
+
/* begins with a '<' optionally followed by '/', followed by letter or number */
|
412
|
+
if (data[0] != '<') return 0;
|
413
|
+
i = (data[1] == '/') ? 2 : 1;
|
414
|
+
|
415
|
+
if (!_isalnum(data[i]))
|
416
|
+
return 0;
|
417
|
+
|
418
|
+
/* scheme test */
|
419
|
+
*autolink = MKDA_NOT_AUTOLINK;
|
420
|
+
|
421
|
+
/* try to find the beginning of an URI */
|
422
|
+
while (i < size && (_isalnum(data[i]) || data[i] == '.' || data[i] == '+' || data[i] == '-'))
|
423
|
+
i++;
|
424
|
+
|
425
|
+
if (i > 1 && data[i] == '@') {
|
426
|
+
if ((j = is_mail_autolink(data + i, size - i)) != 0) {
|
427
|
+
*autolink = MKDA_EMAIL;
|
428
|
+
return i + j;
|
429
|
+
}
|
430
|
+
}
|
431
|
+
|
432
|
+
if (i > 2 && data[i] == ':') {
|
433
|
+
*autolink = MKDA_NORMAL;
|
434
|
+
i++;
|
435
|
+
}
|
436
|
+
|
437
|
+
/* completing autolink test: no whitespace or ' or " */
|
438
|
+
if (i >= size)
|
439
|
+
*autolink = MKDA_NOT_AUTOLINK;
|
440
|
+
|
441
|
+
else if (*autolink) {
|
442
|
+
j = i;
|
443
|
+
|
444
|
+
while (i < size) {
|
445
|
+
if (data[i] == '\\') i += 2;
|
446
|
+
else if (data[i] == '>' || data[i] == '\'' ||
|
447
|
+
data[i] == '"' || data[i] == ' ' || data[i] == '\n')
|
448
|
+
break;
|
449
|
+
else i++;
|
450
|
+
}
|
451
|
+
|
452
|
+
if (i >= size) return 0;
|
453
|
+
if (i > j && data[i] == '>') return i + 1;
|
454
|
+
/* one of the forbidden chars has been found */
|
455
|
+
*autolink = MKDA_NOT_AUTOLINK;
|
456
|
+
}
|
457
|
+
|
458
|
+
/* looking for sometinhg looking like a tag end */
|
459
|
+
while (i < size && data[i] != '>') i++;
|
460
|
+
if (i >= size) return 0;
|
461
|
+
return i + 1;
|
462
|
+
}
|
463
|
+
|
464
|
+
/* parse_inline • parses inline markdown elements */
|
465
|
+
static void
|
466
|
+
parse_inline(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size)
|
467
|
+
{
|
468
|
+
size_t i = 0, end = 0, consumed = 0;
|
469
|
+
uint8_t action = 0;
|
470
|
+
struct buf work = { 0, 0, 0, 0 };
|
471
|
+
|
472
|
+
if (rndr->work_bufs[BUFFER_SPAN].size +
|
473
|
+
rndr->work_bufs[BUFFER_BLOCK].size > rndr->max_nesting)
|
474
|
+
return;
|
475
|
+
|
476
|
+
while (i < size) {
|
477
|
+
/* copying inactive chars into the output */
|
478
|
+
while (end < size && (action = rndr->active_char[data[end]]) == 0) {
|
479
|
+
end++;
|
480
|
+
}
|
481
|
+
|
482
|
+
if (rndr->cb.normal_text) {
|
483
|
+
work.data = data + i;
|
484
|
+
work.size = end - i;
|
485
|
+
rndr->cb.normal_text(ob, &work, rndr->opaque);
|
486
|
+
}
|
487
|
+
else
|
488
|
+
bufput(ob, data + i, end - i);
|
489
|
+
|
490
|
+
if (end >= size) break;
|
491
|
+
i = end;
|
492
|
+
|
493
|
+
end = markdown_char_ptrs[(int)action](ob, rndr, data + i, i - consumed, size - i);
|
494
|
+
if (!end) /* no action from the callback */
|
495
|
+
end = i + 1;
|
496
|
+
else {
|
497
|
+
i += end;
|
498
|
+
end = i;
|
499
|
+
consumed = i;
|
500
|
+
}
|
501
|
+
}
|
502
|
+
}
|
503
|
+
|
504
|
+
/* find_emph_char • looks for the next emph uint8_t, skipping other constructs */
|
505
|
+
static size_t
|
506
|
+
find_emph_char(uint8_t *data, size_t size, uint8_t c)
|
507
|
+
{
|
508
|
+
size_t i = 1;
|
509
|
+
|
510
|
+
while (i < size) {
|
511
|
+
while (i < size && data[i] != c && data[i] != '[')
|
512
|
+
i++;
|
513
|
+
|
514
|
+
if (i == size)
|
515
|
+
return 0;
|
516
|
+
|
517
|
+
/* not counting escaped chars */
|
518
|
+
if (i && data[i - 1] == '\\') {
|
519
|
+
i++; continue;
|
520
|
+
}
|
521
|
+
|
522
|
+
if (data[i] == c)
|
523
|
+
return i;
|
524
|
+
|
525
|
+
if (data[i] == '`') {
|
526
|
+
size_t span_nb = 0, bt;
|
527
|
+
size_t tmp_i = 0;
|
528
|
+
|
529
|
+
/* counting the number of opening backticks */
|
530
|
+
while (i < size && data[i] == '`') {
|
531
|
+
i++; span_nb++;
|
532
|
+
}
|
533
|
+
|
534
|
+
if (i >= size) return 0;
|
535
|
+
|
536
|
+
/* finding the matching closing sequence */
|
537
|
+
bt = 0;
|
538
|
+
while (i < size && bt < span_nb) {
|
539
|
+
if (!tmp_i && data[i] == c) tmp_i = i;
|
540
|
+
if (data[i] == '`') bt++;
|
541
|
+
else bt = 0;
|
542
|
+
i++;
|
543
|
+
}
|
544
|
+
|
545
|
+
if (i >= size) return tmp_i;
|
546
|
+
}
|
547
|
+
/* skipping a link */
|
548
|
+
else if (data[i] == '[') {
|
549
|
+
size_t tmp_i = 0;
|
550
|
+
uint8_t cc;
|
551
|
+
|
552
|
+
i++;
|
553
|
+
while (i < size && data[i] != ']') {
|
554
|
+
if (!tmp_i && data[i] == c) tmp_i = i;
|
555
|
+
i++;
|
556
|
+
}
|
557
|
+
|
558
|
+
i++;
|
559
|
+
while (i < size && (data[i] == ' ' || data[i] == '\n'))
|
560
|
+
i++;
|
561
|
+
|
562
|
+
if (i >= size)
|
563
|
+
return tmp_i;
|
564
|
+
|
565
|
+
switch (data[i]) {
|
566
|
+
case '[':
|
567
|
+
cc = ']'; break;
|
568
|
+
|
569
|
+
case '(':
|
570
|
+
cc = ')'; break;
|
571
|
+
|
572
|
+
default:
|
573
|
+
if (tmp_i)
|
574
|
+
return tmp_i;
|
575
|
+
else
|
576
|
+
continue;
|
577
|
+
}
|
578
|
+
|
579
|
+
i++;
|
580
|
+
while (i < size && data[i] != cc) {
|
581
|
+
if (!tmp_i && data[i] == c) tmp_i = i;
|
582
|
+
i++;
|
583
|
+
}
|
584
|
+
|
585
|
+
if (i >= size)
|
586
|
+
return tmp_i;
|
587
|
+
|
588
|
+
i++;
|
589
|
+
}
|
590
|
+
}
|
591
|
+
|
592
|
+
return 0;
|
593
|
+
}
|
594
|
+
|
595
|
+
/* parse_emph1 • parsing single emphase */
|
596
|
+
/* closed by a symbol not preceded by whitespace and not followed by symbol */
|
597
|
+
static size_t
|
598
|
+
parse_emph1(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size, uint8_t c)
|
599
|
+
{
|
600
|
+
size_t i = 0, len;
|
601
|
+
struct buf *work = 0;
|
602
|
+
int r;
|
603
|
+
|
604
|
+
/* skipping one symbol if coming from emph3 */
|
605
|
+
if (size > 1 && data[0] == c && data[1] == c) i = 1;
|
606
|
+
|
607
|
+
while (i < size) {
|
608
|
+
len = find_emph_char(data + i, size - i, c);
|
609
|
+
if (!len) return 0;
|
610
|
+
i += len;
|
611
|
+
if (i >= size) return 0;
|
612
|
+
|
613
|
+
if (data[i] == c && !_isspace(data[i - 1])) {
|
614
|
+
|
615
|
+
if (rndr->ext_flags & MKDEXT_NO_INTRA_EMPHASIS) {
|
616
|
+
if (i + i < size && _isalnum(data[i + 1]))
|
617
|
+
continue;
|
618
|
+
}
|
619
|
+
|
620
|
+
work = rndr_newbuf(rndr, BUFFER_SPAN);
|
621
|
+
parse_inline(work, rndr, data, i);
|
622
|
+
|
623
|
+
if (rndr->ext_flags & MKDEXT_UNDERLINE && c == '_')
|
624
|
+
r = rndr->cb.underline(ob, work, rndr->opaque);
|
625
|
+
else
|
626
|
+
r = rndr->cb.emphasis(ob, work, rndr->opaque);
|
627
|
+
|
628
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
629
|
+
return r ? i + 1 : 0;
|
630
|
+
}
|
631
|
+
}
|
632
|
+
|
633
|
+
return 0;
|
634
|
+
}
|
635
|
+
|
636
|
+
/* parse_emph2 • parsing single emphase */
|
637
|
+
static size_t
|
638
|
+
parse_emph2(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size, uint8_t c)
|
639
|
+
{
|
640
|
+
size_t i = 0, len;
|
641
|
+
struct buf *work = 0;
|
642
|
+
int r;
|
643
|
+
|
644
|
+
while (i < size) {
|
645
|
+
len = find_emph_char(data + i, size - i, c);
|
646
|
+
if (!len) return 0;
|
647
|
+
i += len;
|
648
|
+
|
649
|
+
if (i + 1 < size && data[i] == c && data[i + 1] == c && i && !_isspace(data[i - 1])) {
|
650
|
+
work = rndr_newbuf(rndr, BUFFER_SPAN);
|
651
|
+
parse_inline(work, rndr, data, i);
|
652
|
+
|
653
|
+
if (c == '~')
|
654
|
+
r = rndr->cb.strikethrough(ob, work, rndr->opaque);
|
655
|
+
else if (c == '=')
|
656
|
+
r = rndr->cb.highlight(ob, work, rndr->opaque);
|
657
|
+
else
|
658
|
+
r = rndr->cb.double_emphasis(ob, work, rndr->opaque);
|
659
|
+
|
660
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
661
|
+
return r ? i + 2 : 0;
|
662
|
+
}
|
663
|
+
i++;
|
664
|
+
}
|
665
|
+
return 0;
|
666
|
+
}
|
667
|
+
|
668
|
+
/* parse_emph3 • parsing single emphase */
|
669
|
+
/* finds the first closing tag, and delegates to the other emph */
|
670
|
+
static size_t
|
671
|
+
parse_emph3(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size, uint8_t c)
|
672
|
+
{
|
673
|
+
size_t i = 0, len;
|
674
|
+
int r;
|
675
|
+
|
676
|
+
while (i < size) {
|
677
|
+
len = find_emph_char(data + i, size - i, c);
|
678
|
+
if (!len) return 0;
|
679
|
+
i += len;
|
680
|
+
|
681
|
+
/* skip whitespace preceded symbols */
|
682
|
+
if (data[i] != c || _isspace(data[i - 1]))
|
683
|
+
continue;
|
684
|
+
|
685
|
+
if (i + 2 < size && data[i + 1] == c && data[i + 2] == c && rndr->cb.triple_emphasis) {
|
686
|
+
/* triple symbol found */
|
687
|
+
struct buf *work = rndr_newbuf(rndr, BUFFER_SPAN);
|
688
|
+
|
689
|
+
parse_inline(work, rndr, data, i);
|
690
|
+
r = rndr->cb.triple_emphasis(ob, work, rndr->opaque);
|
691
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
692
|
+
return r ? i + 3 : 0;
|
693
|
+
|
694
|
+
} else if (i + 1 < size && data[i + 1] == c) {
|
695
|
+
/* double symbol found, handing over to emph1 */
|
696
|
+
len = parse_emph1(ob, rndr, data - 2, size + 2, c);
|
697
|
+
if (!len) return 0;
|
698
|
+
else return len - 2;
|
699
|
+
|
700
|
+
} else {
|
701
|
+
/* single symbol found, handing over to emph2 */
|
702
|
+
len = parse_emph2(ob, rndr, data - 1, size + 1, c);
|
703
|
+
if (!len) return 0;
|
704
|
+
else return len - 1;
|
705
|
+
}
|
706
|
+
}
|
707
|
+
return 0;
|
708
|
+
}
|
709
|
+
|
710
|
+
/* char_emphasis • single and double emphasis parsing */
|
711
|
+
static size_t
|
712
|
+
char_emphasis(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
713
|
+
{
|
714
|
+
uint8_t c = data[0];
|
715
|
+
size_t ret;
|
716
|
+
|
717
|
+
if (rndr->ext_flags & MKDEXT_NO_INTRA_EMPHASIS) {
|
718
|
+
if (offset > 0 && _isalnum(data[-1]))
|
719
|
+
return 0;
|
720
|
+
}
|
721
|
+
|
722
|
+
if (size > 2 && data[1] != c) {
|
723
|
+
/* whitespace cannot follow an opening emphasis;
|
724
|
+
* strikethrough only takes two characters '~~' */
|
725
|
+
if (c == '~' || c == '=' || _isspace(data[1]) || (ret = parse_emph1(ob, rndr, data + 1, size - 1, c)) == 0)
|
726
|
+
return 0;
|
727
|
+
|
728
|
+
return ret + 1;
|
729
|
+
}
|
730
|
+
|
731
|
+
if (size > 3 && data[1] == c && data[2] != c) {
|
732
|
+
if (_isspace(data[2]) || (ret = parse_emph2(ob, rndr, data + 2, size - 2, c)) == 0)
|
733
|
+
return 0;
|
734
|
+
|
735
|
+
return ret + 2;
|
736
|
+
}
|
737
|
+
|
738
|
+
if (size > 4 && data[1] == c && data[2] == c && data[3] != c) {
|
739
|
+
if (c == '~' || c == '=' || _isspace(data[3]) || (ret = parse_emph3(ob, rndr, data + 3, size - 3, c)) == 0)
|
740
|
+
return 0;
|
741
|
+
|
742
|
+
return ret + 3;
|
743
|
+
}
|
744
|
+
|
745
|
+
return 0;
|
746
|
+
}
|
747
|
+
|
748
|
+
|
749
|
+
/* char_linebreak • '\n' preceded by two spaces (assuming linebreak != 0) */
|
750
|
+
static size_t
|
751
|
+
char_linebreak(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
752
|
+
{
|
753
|
+
if (offset < 2 || data[-1] != ' ' || data[-2] != ' ')
|
754
|
+
return 0;
|
755
|
+
|
756
|
+
/* removing the last space from ob and rendering */
|
757
|
+
while (ob->size && ob->data[ob->size - 1] == ' ')
|
758
|
+
ob->size--;
|
759
|
+
|
760
|
+
return rndr->cb.linebreak(ob, rndr->opaque) ? 1 : 0;
|
761
|
+
}
|
762
|
+
|
763
|
+
|
764
|
+
/* char_codespan • '`' parsing a code span (assuming codespan != 0) */
|
765
|
+
static size_t
|
766
|
+
char_codespan(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
767
|
+
{
|
768
|
+
size_t end, nb = 0, i, f_begin, f_end;
|
769
|
+
|
770
|
+
/* counting the number of backticks in the delimiter */
|
771
|
+
while (nb < size && data[nb] == '`')
|
772
|
+
nb++;
|
773
|
+
|
774
|
+
/* finding the next delimiter */
|
775
|
+
i = 0;
|
776
|
+
for (end = nb; end < size && i < nb; end++) {
|
777
|
+
if (data[end] == '`') i++;
|
778
|
+
else i = 0;
|
779
|
+
}
|
780
|
+
|
781
|
+
if (i < nb && end >= size)
|
782
|
+
return 0; /* no matching delimiter */
|
783
|
+
|
784
|
+
/* trimming outside whitespaces */
|
785
|
+
f_begin = nb;
|
786
|
+
while (f_begin < end && data[f_begin] == ' ')
|
787
|
+
f_begin++;
|
788
|
+
|
789
|
+
f_end = end - nb;
|
790
|
+
while (f_end > nb && data[f_end-1] == ' ')
|
791
|
+
f_end--;
|
792
|
+
|
793
|
+
/* real code span */
|
794
|
+
if (f_begin < f_end) {
|
795
|
+
struct buf work = { data + f_begin, f_end - f_begin, 0, 0 };
|
796
|
+
if (!rndr->cb.codespan(ob, &work, rndr->opaque))
|
797
|
+
end = 0;
|
798
|
+
} else {
|
799
|
+
if (!rndr->cb.codespan(ob, 0, rndr->opaque))
|
800
|
+
end = 0;
|
801
|
+
}
|
802
|
+
|
803
|
+
return end;
|
804
|
+
}
|
805
|
+
|
806
|
+
/* char_quote • '"' parsing a quote */
|
807
|
+
static size_t
|
808
|
+
char_quote(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
809
|
+
{
|
810
|
+
size_t end, nq = 0, i, f_begin, f_end;
|
811
|
+
|
812
|
+
/* counting the number of quotes in the delimiter */
|
813
|
+
while (nq < size && data[nq] == '"')
|
814
|
+
nq++;
|
815
|
+
|
816
|
+
/* finding the next delimiter */
|
817
|
+
i = 0;
|
818
|
+
for (end = nq; end < size && i < nq; end++) {
|
819
|
+
if (data[end] == '"') i++;
|
820
|
+
else i = 0;
|
821
|
+
}
|
822
|
+
|
823
|
+
if (i < nq && end >= size)
|
824
|
+
return 0; /* no matching delimiter */
|
825
|
+
|
826
|
+
/* trimming outside whitespaces */
|
827
|
+
f_begin = nq;
|
828
|
+
while (f_begin < end && data[f_begin] == ' ')
|
829
|
+
f_begin++;
|
830
|
+
|
831
|
+
f_end = end - nq;
|
832
|
+
while (f_end > nq && data[f_end-1] == ' ')
|
833
|
+
f_end--;
|
834
|
+
|
835
|
+
/* real quote */
|
836
|
+
if (f_begin < f_end) {
|
837
|
+
struct buf work = { data + f_begin, f_end - f_begin, 0, 0 };
|
838
|
+
if (!rndr->cb.quote(ob, &work, rndr->opaque))
|
839
|
+
end = 0;
|
840
|
+
} else {
|
841
|
+
if (!rndr->cb.quote(ob, 0, rndr->opaque))
|
842
|
+
end = 0;
|
843
|
+
}
|
844
|
+
|
845
|
+
return end;
|
846
|
+
}
|
847
|
+
|
848
|
+
|
849
|
+
/* char_escape • '\\' backslash escape */
|
850
|
+
static size_t
|
851
|
+
char_escape(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
852
|
+
{
|
853
|
+
static const char *escape_chars = "\\`*_{}[]()#+-.!:|&<>^~=";
|
854
|
+
struct buf work = { 0, 0, 0, 0 };
|
855
|
+
|
856
|
+
if (size > 1) {
|
857
|
+
if (strchr(escape_chars, data[1]) == NULL)
|
858
|
+
return 0;
|
859
|
+
|
860
|
+
if (rndr->cb.normal_text) {
|
861
|
+
work.data = data + 1;
|
862
|
+
work.size = 1;
|
863
|
+
rndr->cb.normal_text(ob, &work, rndr->opaque);
|
864
|
+
}
|
865
|
+
else bufputc(ob, data[1]);
|
866
|
+
} else if (size == 1) {
|
867
|
+
bufputc(ob, data[0]);
|
868
|
+
}
|
869
|
+
|
870
|
+
return 2;
|
871
|
+
}
|
872
|
+
|
873
|
+
/* char_entity • '&' escaped when it doesn't belong to an entity */
|
874
|
+
/* valid entities are assumed to be anything matching &#?[A-Za-z0-9]+; */
|
875
|
+
static size_t
|
876
|
+
char_entity(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
877
|
+
{
|
878
|
+
size_t end = 1;
|
879
|
+
struct buf work = { 0, 0, 0, 0 };
|
880
|
+
|
881
|
+
if (end < size && data[end] == '#')
|
882
|
+
end++;
|
883
|
+
|
884
|
+
while (end < size && _isalnum(data[end]))
|
885
|
+
end++;
|
886
|
+
|
887
|
+
if (end < size && data[end] == ';')
|
888
|
+
end++; /* real entity */
|
889
|
+
else
|
890
|
+
return 0; /* lone '&' */
|
891
|
+
|
892
|
+
if (rndr->cb.entity) {
|
893
|
+
work.data = data;
|
894
|
+
work.size = end;
|
895
|
+
rndr->cb.entity(ob, &work, rndr->opaque);
|
896
|
+
}
|
897
|
+
else bufput(ob, data, end);
|
898
|
+
|
899
|
+
return end;
|
900
|
+
}
|
901
|
+
|
902
|
+
/* char_langle_tag • '<' when tags or autolinks are allowed */
|
903
|
+
static size_t
|
904
|
+
char_langle_tag(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
905
|
+
{
|
906
|
+
enum mkd_autolink altype = MKDA_NOT_AUTOLINK;
|
907
|
+
size_t end = tag_length(data, size, &altype);
|
908
|
+
struct buf work = { data, end, 0, 0 };
|
909
|
+
int ret = 0;
|
910
|
+
|
911
|
+
if (end > 2) {
|
912
|
+
if (rndr->cb.autolink && altype != MKDA_NOT_AUTOLINK) {
|
913
|
+
struct buf *u_link = rndr_newbuf(rndr, BUFFER_SPAN);
|
914
|
+
work.data = data + 1;
|
915
|
+
work.size = end - 2;
|
916
|
+
unscape_text(u_link, &work);
|
917
|
+
ret = rndr->cb.autolink(ob, u_link, altype, rndr->opaque);
|
918
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
919
|
+
}
|
920
|
+
else if (rndr->cb.raw_html_tag)
|
921
|
+
ret = rndr->cb.raw_html_tag(ob, &work, rndr->opaque);
|
922
|
+
}
|
923
|
+
|
924
|
+
if (!ret) return 0;
|
925
|
+
else return end;
|
926
|
+
}
|
927
|
+
|
928
|
+
static size_t
|
929
|
+
char_autolink_www(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
930
|
+
{
|
931
|
+
struct buf *link, *link_url, *link_text;
|
932
|
+
size_t link_len, rewind;
|
933
|
+
|
934
|
+
if (!rndr->cb.link || rndr->in_link_body)
|
935
|
+
return 0;
|
936
|
+
|
937
|
+
link = rndr_newbuf(rndr, BUFFER_SPAN);
|
938
|
+
|
939
|
+
if ((link_len = sd_autolink__www(&rewind, link, data, offset, size, 0)) > 0) {
|
940
|
+
link_url = rndr_newbuf(rndr, BUFFER_SPAN);
|
941
|
+
BUFPUTSL(link_url, "http://");
|
942
|
+
bufput(link_url, link->data, link->size);
|
943
|
+
|
944
|
+
ob->size -= rewind;
|
945
|
+
if (rndr->cb.normal_text) {
|
946
|
+
link_text = rndr_newbuf(rndr, BUFFER_SPAN);
|
947
|
+
rndr->cb.normal_text(link_text, link, rndr->opaque);
|
948
|
+
rndr->cb.link(ob, link_url, NULL, link_text, rndr->opaque);
|
949
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
950
|
+
} else {
|
951
|
+
rndr->cb.link(ob, link_url, NULL, link, rndr->opaque);
|
952
|
+
}
|
953
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
954
|
+
}
|
955
|
+
|
956
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
957
|
+
return link_len;
|
958
|
+
}
|
959
|
+
|
960
|
+
static size_t
|
961
|
+
char_autolink_email(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
962
|
+
{
|
963
|
+
struct buf *link;
|
964
|
+
size_t link_len, rewind;
|
965
|
+
|
966
|
+
if (!rndr->cb.autolink || rndr->in_link_body)
|
967
|
+
return 0;
|
968
|
+
|
969
|
+
link = rndr_newbuf(rndr, BUFFER_SPAN);
|
970
|
+
|
971
|
+
if ((link_len = sd_autolink__email(&rewind, link, data, offset, size, 0)) > 0) {
|
972
|
+
ob->size -= rewind;
|
973
|
+
rndr->cb.autolink(ob, link, MKDA_EMAIL, rndr->opaque);
|
974
|
+
}
|
975
|
+
|
976
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
977
|
+
return link_len;
|
978
|
+
}
|
979
|
+
|
980
|
+
static size_t
|
981
|
+
char_autolink_url(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
982
|
+
{
|
983
|
+
struct buf *link;
|
984
|
+
size_t link_len, rewind;
|
985
|
+
|
986
|
+
if (!rndr->cb.autolink || rndr->in_link_body)
|
987
|
+
return 0;
|
988
|
+
|
989
|
+
link = rndr_newbuf(rndr, BUFFER_SPAN);
|
990
|
+
|
991
|
+
if ((link_len = sd_autolink__url(&rewind, link, data, offset, size, SD_AUTOLINK_SHORT_DOMAINS)) > 0) {
|
992
|
+
ob->size -= rewind;
|
993
|
+
rndr->cb.autolink(ob, link, MKDA_NORMAL, rndr->opaque);
|
994
|
+
}
|
995
|
+
|
996
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
997
|
+
return link_len;
|
998
|
+
}
|
999
|
+
|
1000
|
+
/* char_link • '[': parsing a link or an image */
|
1001
|
+
static size_t
|
1002
|
+
char_link(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
1003
|
+
{
|
1004
|
+
int is_img = (offset && data[-1] == '!'), level;
|
1005
|
+
size_t i = 1, txt_e, link_b = 0, link_e = 0, title_b = 0, title_e = 0;
|
1006
|
+
struct buf *content = 0;
|
1007
|
+
struct buf *link = 0;
|
1008
|
+
struct buf *title = 0;
|
1009
|
+
struct buf *u_link = 0;
|
1010
|
+
size_t org_work_size = rndr->work_bufs[BUFFER_SPAN].size;
|
1011
|
+
int text_has_nl = 0, ret = 0;
|
1012
|
+
int in_title = 0, qtype = 0;
|
1013
|
+
|
1014
|
+
/* checking whether the correct renderer exists */
|
1015
|
+
if ((is_img && !rndr->cb.image) || (!is_img && !rndr->cb.link))
|
1016
|
+
goto cleanup;
|
1017
|
+
|
1018
|
+
/* looking for the matching closing bracket */
|
1019
|
+
for (level = 1; i < size; i++) {
|
1020
|
+
if (data[i] == '\n')
|
1021
|
+
text_has_nl = 1;
|
1022
|
+
|
1023
|
+
else if (data[i - 1] == '\\')
|
1024
|
+
continue;
|
1025
|
+
|
1026
|
+
else if (data[i] == '[')
|
1027
|
+
level++;
|
1028
|
+
|
1029
|
+
else if (data[i] == ']') {
|
1030
|
+
level--;
|
1031
|
+
if (level <= 0)
|
1032
|
+
break;
|
1033
|
+
}
|
1034
|
+
}
|
1035
|
+
|
1036
|
+
if (i >= size)
|
1037
|
+
goto cleanup;
|
1038
|
+
|
1039
|
+
txt_e = i;
|
1040
|
+
i++;
|
1041
|
+
|
1042
|
+
/* footnote link */
|
1043
|
+
if (rndr->ext_flags & MKDEXT_FOOTNOTES && data[1] == '^') {
|
1044
|
+
if (txt_e < 3)
|
1045
|
+
goto cleanup;
|
1046
|
+
|
1047
|
+
struct buf id = { 0, 0, 0, 0 };
|
1048
|
+
struct footnote_ref *fr;
|
1049
|
+
|
1050
|
+
id.data = data + 2;
|
1051
|
+
id.size = txt_e - 2;
|
1052
|
+
|
1053
|
+
fr = find_footnote_ref(&rndr->footnotes_found, id.data, id.size);
|
1054
|
+
|
1055
|
+
/* mark footnote used */
|
1056
|
+
if (fr && !fr->is_used) {
|
1057
|
+
if(!add_footnote_ref(&rndr->footnotes_used, fr))
|
1058
|
+
goto cleanup;
|
1059
|
+
fr->is_used = 1;
|
1060
|
+
fr->num = rndr->footnotes_used.count;
|
1061
|
+
}
|
1062
|
+
|
1063
|
+
/* render */
|
1064
|
+
if (fr && rndr->cb.footnote_ref)
|
1065
|
+
ret = rndr->cb.footnote_ref(ob, fr->num, rndr->opaque);
|
1066
|
+
|
1067
|
+
goto cleanup;
|
1068
|
+
}
|
1069
|
+
|
1070
|
+
/* skip any amount of whitespace or newline */
|
1071
|
+
/* (this is much more laxist than original markdown syntax) */
|
1072
|
+
while (i < size && _isspace(data[i]))
|
1073
|
+
i++;
|
1074
|
+
|
1075
|
+
/* inline style link */
|
1076
|
+
if (i < size && data[i] == '(') {
|
1077
|
+
/* skipping initial whitespace */
|
1078
|
+
i++;
|
1079
|
+
|
1080
|
+
while (i < size && _isspace(data[i]))
|
1081
|
+
i++;
|
1082
|
+
|
1083
|
+
link_b = i;
|
1084
|
+
|
1085
|
+
/* looking for link end: ' " ) */
|
1086
|
+
/* Count the number of open parenthesis */
|
1087
|
+
size_t nb_p = 0;
|
1088
|
+
|
1089
|
+
while (i < size) {
|
1090
|
+
if (data[i] == '\\') i += 2;
|
1091
|
+
else if (data[i] == '(' && i != 0) {
|
1092
|
+
nb_p++; i++;
|
1093
|
+
}
|
1094
|
+
else if (data[i] == ')') {
|
1095
|
+
if (nb_p == 0) break;
|
1096
|
+
else nb_p--; i++;
|
1097
|
+
} else if (i >= 1 && _isspace(data[i-1]) && (data[i] == '\'' || data[i] == '"')) break;
|
1098
|
+
else i++;
|
1099
|
+
}
|
1100
|
+
|
1101
|
+
if (i >= size) goto cleanup;
|
1102
|
+
link_e = i;
|
1103
|
+
|
1104
|
+
/* looking for title end if present */
|
1105
|
+
if (data[i] == '\'' || data[i] == '"') {
|
1106
|
+
qtype = data[i];
|
1107
|
+
in_title = 1;
|
1108
|
+
i++;
|
1109
|
+
title_b = i;
|
1110
|
+
|
1111
|
+
while (i < size) {
|
1112
|
+
if (data[i] == '\\') i += 2;
|
1113
|
+
else if (data[i] == qtype) {in_title = 0; i++;}
|
1114
|
+
else if ((data[i] == ')') && !in_title) break;
|
1115
|
+
else i++;
|
1116
|
+
}
|
1117
|
+
|
1118
|
+
if (i >= size) goto cleanup;
|
1119
|
+
|
1120
|
+
/* skipping whitespaces after title */
|
1121
|
+
title_e = i - 1;
|
1122
|
+
while (title_e > title_b && _isspace(data[title_e]))
|
1123
|
+
title_e--;
|
1124
|
+
|
1125
|
+
/* checking for closing quote presence */
|
1126
|
+
if (data[title_e] != '\'' && data[title_e] != '"') {
|
1127
|
+
title_b = title_e = 0;
|
1128
|
+
link_e = i;
|
1129
|
+
}
|
1130
|
+
}
|
1131
|
+
|
1132
|
+
/* remove whitespace at the end of the link */
|
1133
|
+
while (link_e > link_b && _isspace(data[link_e - 1]))
|
1134
|
+
link_e--;
|
1135
|
+
|
1136
|
+
/* remove optional angle brackets around the link */
|
1137
|
+
if (data[link_b] == '<') link_b++;
|
1138
|
+
if (data[link_e - 1] == '>') link_e--;
|
1139
|
+
|
1140
|
+
/* building escaped link and title */
|
1141
|
+
if (link_e > link_b) {
|
1142
|
+
link = rndr_newbuf(rndr, BUFFER_SPAN);
|
1143
|
+
bufput(link, data + link_b, link_e - link_b);
|
1144
|
+
}
|
1145
|
+
|
1146
|
+
if (title_e > title_b) {
|
1147
|
+
title = rndr_newbuf(rndr, BUFFER_SPAN);
|
1148
|
+
bufput(title, data + title_b, title_e - title_b);
|
1149
|
+
}
|
1150
|
+
|
1151
|
+
i++;
|
1152
|
+
}
|
1153
|
+
|
1154
|
+
/* reference style link */
|
1155
|
+
else if (i < size && data[i] == '[') {
|
1156
|
+
struct buf id = { 0, 0, 0, 0 };
|
1157
|
+
struct link_ref *lr;
|
1158
|
+
|
1159
|
+
/* looking for the id */
|
1160
|
+
i++;
|
1161
|
+
link_b = i;
|
1162
|
+
while (i < size && data[i] != ']') i++;
|
1163
|
+
if (i >= size) goto cleanup;
|
1164
|
+
link_e = i;
|
1165
|
+
|
1166
|
+
/* finding the link_ref */
|
1167
|
+
if (link_b == link_e) {
|
1168
|
+
if (text_has_nl) {
|
1169
|
+
struct buf *b = rndr_newbuf(rndr, BUFFER_SPAN);
|
1170
|
+
size_t j;
|
1171
|
+
|
1172
|
+
for (j = 1; j < txt_e; j++) {
|
1173
|
+
if (data[j] != '\n')
|
1174
|
+
bufputc(b, data[j]);
|
1175
|
+
else if (data[j - 1] != ' ')
|
1176
|
+
bufputc(b, ' ');
|
1177
|
+
}
|
1178
|
+
|
1179
|
+
id.data = b->data;
|
1180
|
+
id.size = b->size;
|
1181
|
+
} else {
|
1182
|
+
id.data = data + 1;
|
1183
|
+
id.size = txt_e - 1;
|
1184
|
+
}
|
1185
|
+
} else {
|
1186
|
+
id.data = data + link_b;
|
1187
|
+
id.size = link_e - link_b;
|
1188
|
+
}
|
1189
|
+
|
1190
|
+
lr = find_link_ref(rndr->refs, id.data, id.size);
|
1191
|
+
if (!lr)
|
1192
|
+
goto cleanup;
|
1193
|
+
|
1194
|
+
/* keeping link and title from link_ref */
|
1195
|
+
link = lr->link;
|
1196
|
+
title = lr->title;
|
1197
|
+
i++;
|
1198
|
+
}
|
1199
|
+
|
1200
|
+
/* shortcut reference style link */
|
1201
|
+
else {
|
1202
|
+
struct buf id = { 0, 0, 0, 0 };
|
1203
|
+
struct link_ref *lr;
|
1204
|
+
|
1205
|
+
/* crafting the id */
|
1206
|
+
if (text_has_nl) {
|
1207
|
+
struct buf *b = rndr_newbuf(rndr, BUFFER_SPAN);
|
1208
|
+
size_t j;
|
1209
|
+
|
1210
|
+
for (j = 1; j < txt_e; j++) {
|
1211
|
+
if (data[j] != '\n')
|
1212
|
+
bufputc(b, data[j]);
|
1213
|
+
else if (data[j - 1] != ' ')
|
1214
|
+
bufputc(b, ' ');
|
1215
|
+
}
|
1216
|
+
|
1217
|
+
id.data = b->data;
|
1218
|
+
id.size = b->size;
|
1219
|
+
} else {
|
1220
|
+
id.data = data + 1;
|
1221
|
+
id.size = txt_e - 1;
|
1222
|
+
}
|
1223
|
+
|
1224
|
+
/* finding the link_ref */
|
1225
|
+
lr = find_link_ref(rndr->refs, id.data, id.size);
|
1226
|
+
if (!lr)
|
1227
|
+
goto cleanup;
|
1228
|
+
|
1229
|
+
/* keeping link and title from link_ref */
|
1230
|
+
link = lr->link;
|
1231
|
+
title = lr->title;
|
1232
|
+
|
1233
|
+
/* rewinding the whitespace */
|
1234
|
+
i = txt_e + 1;
|
1235
|
+
}
|
1236
|
+
|
1237
|
+
/* building content: img alt is escaped, link content is parsed */
|
1238
|
+
if (txt_e > 1) {
|
1239
|
+
content = rndr_newbuf(rndr, BUFFER_SPAN);
|
1240
|
+
if (is_img) {
|
1241
|
+
bufput(content, data + 1, txt_e - 1);
|
1242
|
+
} else {
|
1243
|
+
/* disable autolinking when parsing inline the
|
1244
|
+
* content of a link */
|
1245
|
+
rndr->in_link_body = 1;
|
1246
|
+
parse_inline(content, rndr, data + 1, txt_e - 1);
|
1247
|
+
rndr->in_link_body = 0;
|
1248
|
+
}
|
1249
|
+
}
|
1250
|
+
|
1251
|
+
if (link) {
|
1252
|
+
u_link = rndr_newbuf(rndr, BUFFER_SPAN);
|
1253
|
+
unscape_text(u_link, link);
|
1254
|
+
}
|
1255
|
+
|
1256
|
+
/* calling the relevant rendering function */
|
1257
|
+
if (is_img) {
|
1258
|
+
if (ob->size && ob->data[ob->size - 1] == '!')
|
1259
|
+
ob->size -= 1;
|
1260
|
+
|
1261
|
+
ret = rndr->cb.image(ob, u_link, title, content, rndr->opaque);
|
1262
|
+
} else {
|
1263
|
+
ret = rndr->cb.link(ob, u_link, title, content, rndr->opaque);
|
1264
|
+
}
|
1265
|
+
|
1266
|
+
/* cleanup */
|
1267
|
+
cleanup:
|
1268
|
+
rndr->work_bufs[BUFFER_SPAN].size = (int)org_work_size;
|
1269
|
+
return ret ? i : 0;
|
1270
|
+
}
|
1271
|
+
|
1272
|
+
static size_t
|
1273
|
+
char_superscript(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
1274
|
+
{
|
1275
|
+
size_t sup_start, sup_len;
|
1276
|
+
struct buf *sup;
|
1277
|
+
|
1278
|
+
if (!rndr->cb.superscript)
|
1279
|
+
return 0;
|
1280
|
+
|
1281
|
+
if (size < 2)
|
1282
|
+
return 0;
|
1283
|
+
|
1284
|
+
if (data[1] == '(') {
|
1285
|
+
sup_start = sup_len = 2;
|
1286
|
+
|
1287
|
+
while (sup_len < size && data[sup_len] != ')' && data[sup_len - 1] != '\\')
|
1288
|
+
sup_len++;
|
1289
|
+
|
1290
|
+
if (sup_len == size)
|
1291
|
+
return 0;
|
1292
|
+
} else {
|
1293
|
+
sup_start = sup_len = 1;
|
1294
|
+
|
1295
|
+
while (sup_len < size && !_isspace(data[sup_len]))
|
1296
|
+
sup_len++;
|
1297
|
+
}
|
1298
|
+
|
1299
|
+
if (sup_len - sup_start == 0)
|
1300
|
+
return (sup_start == 2) ? 3 : 0;
|
1301
|
+
|
1302
|
+
sup = rndr_newbuf(rndr, BUFFER_SPAN);
|
1303
|
+
parse_inline(sup, rndr, data + sup_start, sup_len - sup_start);
|
1304
|
+
rndr->cb.superscript(ob, sup, rndr->opaque);
|
1305
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
1306
|
+
|
1307
|
+
return (sup_start == 2) ? sup_len + 1 : sup_len;
|
1308
|
+
}
|
1309
|
+
|
1310
|
+
/*********************************
|
1311
|
+
* BLOCK-LEVEL PARSING FUNCTIONS *
|
1312
|
+
*********************************/
|
1313
|
+
|
1314
|
+
/* is_empty • returns the line length when it is empty, 0 otherwise */
|
1315
|
+
static size_t
|
1316
|
+
is_empty(const uint8_t *data, size_t size)
|
1317
|
+
{
|
1318
|
+
size_t i;
|
1319
|
+
|
1320
|
+
for (i = 0; i < size && data[i] != '\n'; i++)
|
1321
|
+
if (data[i] != ' ')
|
1322
|
+
return 0;
|
1323
|
+
|
1324
|
+
return i + 1;
|
1325
|
+
}
|
1326
|
+
|
1327
|
+
/* is_hrule • returns whether a line is a horizontal rule */
|
1328
|
+
static int
|
1329
|
+
is_hrule(uint8_t *data, size_t size)
|
1330
|
+
{
|
1331
|
+
size_t i = 0, n = 0;
|
1332
|
+
uint8_t c;
|
1333
|
+
|
1334
|
+
/* skipping initial spaces */
|
1335
|
+
if (size < 3) return 0;
|
1336
|
+
if (data[0] == ' ') { i++;
|
1337
|
+
if (data[1] == ' ') { i++;
|
1338
|
+
if (data[2] == ' ') { i++; } } }
|
1339
|
+
|
1340
|
+
/* looking at the hrule uint8_t */
|
1341
|
+
if (i + 2 >= size
|
1342
|
+
|| (data[i] != '*' && data[i] != '-' && data[i] != '_'))
|
1343
|
+
return 0;
|
1344
|
+
c = data[i];
|
1345
|
+
|
1346
|
+
/* the whole line must be the char or whitespace */
|
1347
|
+
while (i < size && data[i] != '\n') {
|
1348
|
+
if (data[i] == c) n++;
|
1349
|
+
else if (data[i] != ' ')
|
1350
|
+
return 0;
|
1351
|
+
|
1352
|
+
i++;
|
1353
|
+
}
|
1354
|
+
|
1355
|
+
return n >= 3;
|
1356
|
+
}
|
1357
|
+
|
1358
|
+
/* check if a line begins with a code fence; return the
|
1359
|
+
* width of the code fence */
|
1360
|
+
static size_t
|
1361
|
+
prefix_codefence(uint8_t *data, size_t size)
|
1362
|
+
{
|
1363
|
+
size_t i = 0, n = 0;
|
1364
|
+
uint8_t c;
|
1365
|
+
|
1366
|
+
/* skipping initial spaces */
|
1367
|
+
if (size < 3) return 0;
|
1368
|
+
if (data[0] == ' ') { i++;
|
1369
|
+
if (data[1] == ' ') { i++;
|
1370
|
+
if (data[2] == ' ') { i++; } } }
|
1371
|
+
|
1372
|
+
/* looking at the hrule uint8_t */
|
1373
|
+
if (i + 2 >= size || !(data[i] == '~' || data[i] == '`'))
|
1374
|
+
return 0;
|
1375
|
+
|
1376
|
+
c = data[i];
|
1377
|
+
|
1378
|
+
/* the whole line must be the uint8_t or whitespace */
|
1379
|
+
while (i < size && data[i] == c) {
|
1380
|
+
n++; i++;
|
1381
|
+
}
|
1382
|
+
|
1383
|
+
if (n < 3)
|
1384
|
+
return 0;
|
1385
|
+
|
1386
|
+
return i;
|
1387
|
+
}
|
1388
|
+
|
1389
|
+
/* check if a line is a code fence; return its size if it is */
|
1390
|
+
static size_t
|
1391
|
+
is_codefence(uint8_t *data, size_t size, struct buf *syntax)
|
1392
|
+
{
|
1393
|
+
size_t i = 0, syn_len = 0;
|
1394
|
+
uint8_t *syn_start;
|
1395
|
+
|
1396
|
+
i = prefix_codefence(data, size);
|
1397
|
+
if (i == 0)
|
1398
|
+
return 0;
|
1399
|
+
|
1400
|
+
while (i < size && data[i] == ' ')
|
1401
|
+
i++;
|
1402
|
+
|
1403
|
+
syn_start = data + i;
|
1404
|
+
|
1405
|
+
if (i < size && data[i] == '{') {
|
1406
|
+
i++; syn_start++;
|
1407
|
+
|
1408
|
+
while (i < size && data[i] != '}' && data[i] != '\n') {
|
1409
|
+
syn_len++; i++;
|
1410
|
+
}
|
1411
|
+
|
1412
|
+
if (i == size || data[i] != '}')
|
1413
|
+
return 0;
|
1414
|
+
|
1415
|
+
/* strip all whitespace at the beginning and the end
|
1416
|
+
* of the {} block */
|
1417
|
+
while (syn_len > 0 && _isspace(syn_start[0])) {
|
1418
|
+
syn_start++; syn_len--;
|
1419
|
+
}
|
1420
|
+
|
1421
|
+
while (syn_len > 0 && _isspace(syn_start[syn_len - 1]))
|
1422
|
+
syn_len--;
|
1423
|
+
|
1424
|
+
i++;
|
1425
|
+
} else {
|
1426
|
+
while (i < size && !_isspace(data[i])) {
|
1427
|
+
syn_len++; i++;
|
1428
|
+
}
|
1429
|
+
}
|
1430
|
+
|
1431
|
+
if (syntax) {
|
1432
|
+
syntax->data = syn_start;
|
1433
|
+
syntax->size = syn_len;
|
1434
|
+
}
|
1435
|
+
|
1436
|
+
while (i < size && data[i] != '\n') {
|
1437
|
+
if (!_isspace(data[i]))
|
1438
|
+
return 0;
|
1439
|
+
|
1440
|
+
i++;
|
1441
|
+
}
|
1442
|
+
|
1443
|
+
return i + 1;
|
1444
|
+
}
|
1445
|
+
|
1446
|
+
/* is_atxheader • returns whether the line is a hash-prefixed header */
|
1447
|
+
static int
|
1448
|
+
is_atxheader(struct sd_markdown *rndr, uint8_t *data, size_t size)
|
1449
|
+
{
|
1450
|
+
if (data[0] != '#')
|
1451
|
+
return 0;
|
1452
|
+
|
1453
|
+
if (rndr->ext_flags & MKDEXT_SPACE_HEADERS) {
|
1454
|
+
size_t level = 0;
|
1455
|
+
|
1456
|
+
while (level < size && level < 6 && data[level] == '#')
|
1457
|
+
level++;
|
1458
|
+
|
1459
|
+
if (level < size && data[level] != ' ')
|
1460
|
+
return 0;
|
1461
|
+
}
|
1462
|
+
|
1463
|
+
return 1;
|
1464
|
+
}
|
1465
|
+
|
1466
|
+
/* is_headerline • returns whether the line is a setext-style hdr underline */
|
1467
|
+
static int
|
1468
|
+
is_headerline(uint8_t *data, size_t size)
|
1469
|
+
{
|
1470
|
+
size_t i = 0;
|
1471
|
+
|
1472
|
+
/* test of level 1 header */
|
1473
|
+
if (data[i] == '=') {
|
1474
|
+
for (i = 1; i < size && data[i] == '='; i++);
|
1475
|
+
while (i < size && data[i] == ' ') i++;
|
1476
|
+
return (i >= size || data[i] == '\n') ? 1 : 0; }
|
1477
|
+
|
1478
|
+
/* test of level 2 header */
|
1479
|
+
if (data[i] == '-') {
|
1480
|
+
for (i = 1; i < size && data[i] == '-'; i++);
|
1481
|
+
while (i < size && data[i] == ' ') i++;
|
1482
|
+
return (i >= size || data[i] == '\n') ? 2 : 0; }
|
1483
|
+
|
1484
|
+
return 0;
|
1485
|
+
}
|
1486
|
+
|
1487
|
+
static int
|
1488
|
+
is_next_headerline(uint8_t *data, size_t size)
|
1489
|
+
{
|
1490
|
+
size_t i = 0;
|
1491
|
+
|
1492
|
+
while (i < size && data[i] != '\n')
|
1493
|
+
i++;
|
1494
|
+
|
1495
|
+
if (++i >= size)
|
1496
|
+
return 0;
|
1497
|
+
|
1498
|
+
return is_headerline(data + i, size - i);
|
1499
|
+
}
|
1500
|
+
|
1501
|
+
/* prefix_quote • returns blockquote prefix length */
|
1502
|
+
static size_t
|
1503
|
+
prefix_quote(uint8_t *data, size_t size)
|
1504
|
+
{
|
1505
|
+
size_t i = 0;
|
1506
|
+
if (i < size && data[i] == ' ') i++;
|
1507
|
+
if (i < size && data[i] == ' ') i++;
|
1508
|
+
if (i < size && data[i] == ' ') i++;
|
1509
|
+
|
1510
|
+
if (i < size && data[i] == '>') {
|
1511
|
+
if (i + 1 < size && data[i + 1] == ' ')
|
1512
|
+
return i + 2;
|
1513
|
+
|
1514
|
+
return i + 1;
|
1515
|
+
}
|
1516
|
+
|
1517
|
+
return 0;
|
1518
|
+
}
|
1519
|
+
|
1520
|
+
/* prefix_code • returns prefix length for block code*/
|
1521
|
+
static size_t
|
1522
|
+
prefix_code(uint8_t *data, size_t size)
|
1523
|
+
{
|
1524
|
+
if (size > 3 && data[0] == ' ' && data[1] == ' '
|
1525
|
+
&& data[2] == ' ' && data[3] == ' ') return 4;
|
1526
|
+
|
1527
|
+
return 0;
|
1528
|
+
}
|
1529
|
+
|
1530
|
+
/* prefix_oli • returns ordered list item prefix */
|
1531
|
+
static size_t
|
1532
|
+
prefix_oli(uint8_t *data, size_t size)
|
1533
|
+
{
|
1534
|
+
size_t i = 0;
|
1535
|
+
|
1536
|
+
if (i < size && data[i] == ' ') i++;
|
1537
|
+
if (i < size && data[i] == ' ') i++;
|
1538
|
+
if (i < size && data[i] == ' ') i++;
|
1539
|
+
|
1540
|
+
if (i >= size || data[i] < '0' || data[i] > '9')
|
1541
|
+
return 0;
|
1542
|
+
|
1543
|
+
while (i < size && data[i] >= '0' && data[i] <= '9')
|
1544
|
+
i++;
|
1545
|
+
|
1546
|
+
if (i + 1 >= size || data[i] != '.' || data[i + 1] != ' ')
|
1547
|
+
return 0;
|
1548
|
+
|
1549
|
+
if (is_next_headerline(data + i, size - i))
|
1550
|
+
return 0;
|
1551
|
+
|
1552
|
+
return i + 2;
|
1553
|
+
}
|
1554
|
+
|
1555
|
+
/* prefix_uli • returns unordered list item prefix */
|
1556
|
+
static size_t
|
1557
|
+
prefix_uli(uint8_t *data, size_t size)
|
1558
|
+
{
|
1559
|
+
size_t i = 0;
|
1560
|
+
|
1561
|
+
if (i < size && data[i] == ' ') i++;
|
1562
|
+
if (i < size && data[i] == ' ') i++;
|
1563
|
+
if (i < size && data[i] == ' ') i++;
|
1564
|
+
|
1565
|
+
if (i + 1 >= size ||
|
1566
|
+
(data[i] != '*' && data[i] != '+' && data[i] != '-') ||
|
1567
|
+
data[i + 1] != ' ')
|
1568
|
+
return 0;
|
1569
|
+
|
1570
|
+
if (is_next_headerline(data + i, size - i))
|
1571
|
+
return 0;
|
1572
|
+
|
1573
|
+
return i + 2;
|
1574
|
+
}
|
1575
|
+
|
1576
|
+
|
1577
|
+
/* parse_block • parsing of one block, returning next uint8_t to parse */
|
1578
|
+
static void parse_block(struct buf *ob, struct sd_markdown *rndr,
|
1579
|
+
uint8_t *data, size_t size);
|
1580
|
+
|
1581
|
+
|
1582
|
+
/* parse_blockquote • handles parsing of a blockquote fragment */
|
1583
|
+
static size_t
|
1584
|
+
parse_blockquote(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size)
|
1585
|
+
{
|
1586
|
+
size_t beg, end = 0, pre, work_size = 0;
|
1587
|
+
uint8_t *work_data = 0;
|
1588
|
+
struct buf *out = 0;
|
1589
|
+
|
1590
|
+
out = rndr_newbuf(rndr, BUFFER_BLOCK);
|
1591
|
+
beg = 0;
|
1592
|
+
while (beg < size) {
|
1593
|
+
for (end = beg + 1; end < size && data[end - 1] != '\n'; end++);
|
1594
|
+
|
1595
|
+
pre = prefix_quote(data + beg, end - beg);
|
1596
|
+
|
1597
|
+
if (pre)
|
1598
|
+
beg += pre; /* skipping prefix */
|
1599
|
+
|
1600
|
+
/* empty line followed by non-quote line */
|
1601
|
+
else if (is_empty(data + beg, end - beg) &&
|
1602
|
+
(end >= size || (prefix_quote(data + end, size - end) == 0 &&
|
1603
|
+
!is_empty(data + end, size - end))))
|
1604
|
+
break;
|
1605
|
+
|
1606
|
+
if (beg < end) { /* copy into the in-place working buffer */
|
1607
|
+
/* bufput(work, data + beg, end - beg); */
|
1608
|
+
if (!work_data)
|
1609
|
+
work_data = data + beg;
|
1610
|
+
else if (data + beg != work_data + work_size)
|
1611
|
+
memmove(work_data + work_size, data + beg, end - beg);
|
1612
|
+
work_size += end - beg;
|
1613
|
+
}
|
1614
|
+
beg = end;
|
1615
|
+
}
|
1616
|
+
|
1617
|
+
parse_block(out, rndr, work_data, work_size);
|
1618
|
+
if (rndr->cb.blockquote)
|
1619
|
+
rndr->cb.blockquote(ob, out, rndr->opaque);
|
1620
|
+
rndr_popbuf(rndr, BUFFER_BLOCK);
|
1621
|
+
return end;
|
1622
|
+
}
|
1623
|
+
|
1624
|
+
static size_t
|
1625
|
+
parse_htmlblock(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size, int do_render);
|
1626
|
+
|
1627
|
+
/* parse_paragraph • handles parsing of a regular paragraph */
|
1628
|
+
static size_t
|
1629
|
+
parse_paragraph(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size)
|
1630
|
+
{
|
1631
|
+
size_t i = 0, end = 0;
|
1632
|
+
int level = 0, last_is_empty = 1;
|
1633
|
+
struct buf work = { data, 0, 0, 0 };
|
1634
|
+
|
1635
|
+
while (i < size) {
|
1636
|
+
for (end = i + 1; end < size && data[end - 1] != '\n'; end++) /* empty */;
|
1637
|
+
|
1638
|
+
if (is_empty(data + i, size - i))
|
1639
|
+
break;
|
1640
|
+
|
1641
|
+
if (!last_is_empty && (level = is_headerline(data + i, size - i)) != 0)
|
1642
|
+
break;
|
1643
|
+
|
1644
|
+
last_is_empty = 0;
|
1645
|
+
|
1646
|
+
if (is_atxheader(rndr, data + i, size - i) ||
|
1647
|
+
is_hrule(data + i, size - i) ||
|
1648
|
+
prefix_quote(data + i, size - i)) {
|
1649
|
+
end = i;
|
1650
|
+
break;
|
1651
|
+
}
|
1652
|
+
|
1653
|
+
/*
|
1654
|
+
* Early termination of a paragraph with the same logic
|
1655
|
+
* as Markdown 1.0.0. If this logic is applied, the
|
1656
|
+
* Markdown 1.0.3 test suite won't pass cleanly
|
1657
|
+
*
|
1658
|
+
* :: If the first character in a new line is not a letter,
|
1659
|
+
* let's check to see if there's some kind of block starting
|
1660
|
+
* here
|
1661
|
+
*/
|
1662
|
+
if ((rndr->ext_flags & MKDEXT_LAX_SPACING) && !isalpha(data[i])) {
|
1663
|
+
if (prefix_oli(data + i, size - i) ||
|
1664
|
+
prefix_uli(data + i, size - i)) {
|
1665
|
+
end = i;
|
1666
|
+
break;
|
1667
|
+
}
|
1668
|
+
|
1669
|
+
/* see if an html block starts here */
|
1670
|
+
if (data[i] == '<' && rndr->cb.blockhtml &&
|
1671
|
+
parse_htmlblock(ob, rndr, data + i, size - i, 0)) {
|
1672
|
+
end = i;
|
1673
|
+
break;
|
1674
|
+
}
|
1675
|
+
|
1676
|
+
/* see if a code fence starts here */
|
1677
|
+
if ((rndr->ext_flags & MKDEXT_FENCED_CODE) != 0 &&
|
1678
|
+
is_codefence(data + i, size - i, NULL) != 0) {
|
1679
|
+
end = i;
|
1680
|
+
break;
|
1681
|
+
}
|
1682
|
+
}
|
1683
|
+
|
1684
|
+
i = end;
|
1685
|
+
}
|
1686
|
+
|
1687
|
+
work.size = i;
|
1688
|
+
while (work.size && data[work.size - 1] == '\n')
|
1689
|
+
work.size--;
|
1690
|
+
|
1691
|
+
if (!level) {
|
1692
|
+
struct buf *tmp = rndr_newbuf(rndr, BUFFER_BLOCK);
|
1693
|
+
parse_inline(tmp, rndr, work.data, work.size);
|
1694
|
+
if (rndr->cb.paragraph)
|
1695
|
+
rndr->cb.paragraph(ob, tmp, rndr->opaque);
|
1696
|
+
rndr_popbuf(rndr, BUFFER_BLOCK);
|
1697
|
+
} else {
|
1698
|
+
struct buf *header_work;
|
1699
|
+
|
1700
|
+
if (work.size) {
|
1701
|
+
size_t beg;
|
1702
|
+
i = work.size;
|
1703
|
+
work.size -= 1;
|
1704
|
+
|
1705
|
+
while (work.size && data[work.size] != '\n')
|
1706
|
+
work.size -= 1;
|
1707
|
+
|
1708
|
+
beg = work.size + 1;
|
1709
|
+
while (work.size && data[work.size - 1] == '\n')
|
1710
|
+
work.size -= 1;
|
1711
|
+
|
1712
|
+
if (work.size > 0) {
|
1713
|
+
struct buf *tmp = rndr_newbuf(rndr, BUFFER_BLOCK);
|
1714
|
+
parse_inline(tmp, rndr, work.data, work.size);
|
1715
|
+
|
1716
|
+
if (rndr->cb.paragraph)
|
1717
|
+
rndr->cb.paragraph(ob, tmp, rndr->opaque);
|
1718
|
+
|
1719
|
+
rndr_popbuf(rndr, BUFFER_BLOCK);
|
1720
|
+
work.data += beg;
|
1721
|
+
work.size = i - beg;
|
1722
|
+
}
|
1723
|
+
else work.size = i;
|
1724
|
+
}
|
1725
|
+
|
1726
|
+
header_work = rndr_newbuf(rndr, BUFFER_SPAN);
|
1727
|
+
parse_inline(header_work, rndr, work.data, work.size);
|
1728
|
+
|
1729
|
+
if (rndr->cb.header)
|
1730
|
+
rndr->cb.header(ob, header_work, (int)level, rndr->opaque);
|
1731
|
+
|
1732
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
1733
|
+
}
|
1734
|
+
|
1735
|
+
return end;
|
1736
|
+
}
|
1737
|
+
|
1738
|
+
/* parse_fencedcode • handles parsing of a block-level code fragment */
|
1739
|
+
static size_t
|
1740
|
+
parse_fencedcode(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size)
|
1741
|
+
{
|
1742
|
+
size_t beg, end;
|
1743
|
+
struct buf *work = 0;
|
1744
|
+
struct buf lang = { 0, 0, 0, 0 };
|
1745
|
+
|
1746
|
+
beg = is_codefence(data, size, &lang);
|
1747
|
+
if (beg == 0) return 0;
|
1748
|
+
|
1749
|
+
work = rndr_newbuf(rndr, BUFFER_BLOCK);
|
1750
|
+
|
1751
|
+
while (beg < size) {
|
1752
|
+
size_t fence_end;
|
1753
|
+
struct buf fence_trail = { 0, 0, 0, 0 };
|
1754
|
+
|
1755
|
+
fence_end = is_codefence(data + beg, size - beg, &fence_trail);
|
1756
|
+
if (fence_end != 0 && fence_trail.size == 0) {
|
1757
|
+
beg += fence_end;
|
1758
|
+
break;
|
1759
|
+
}
|
1760
|
+
|
1761
|
+
for (end = beg + 1; end < size && data[end - 1] != '\n'; end++);
|
1762
|
+
|
1763
|
+
if (beg < end) {
|
1764
|
+
/* verbatim copy to the working buffer,
|
1765
|
+
escaping entities */
|
1766
|
+
if (is_empty(data + beg, end - beg))
|
1767
|
+
bufputc(work, '\n');
|
1768
|
+
else bufput(work, data + beg, end - beg);
|
1769
|
+
}
|
1770
|
+
beg = end;
|
1771
|
+
}
|
1772
|
+
|
1773
|
+
if (work->size && work->data[work->size - 1] != '\n')
|
1774
|
+
bufputc(work, '\n');
|
1775
|
+
|
1776
|
+
if (rndr->cb.blockcode)
|
1777
|
+
rndr->cb.blockcode(ob, work, lang.size ? &lang : NULL, rndr->opaque);
|
1778
|
+
|
1779
|
+
rndr_popbuf(rndr, BUFFER_BLOCK);
|
1780
|
+
return beg;
|
1781
|
+
}
|
1782
|
+
|
1783
|
+
static size_t
|
1784
|
+
parse_blockcode(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size)
|
1785
|
+
{
|
1786
|
+
size_t beg, end, pre;
|
1787
|
+
struct buf *work = 0;
|
1788
|
+
|
1789
|
+
work = rndr_newbuf(rndr, BUFFER_BLOCK);
|
1790
|
+
|
1791
|
+
beg = 0;
|
1792
|
+
while (beg < size) {
|
1793
|
+
for (end = beg + 1; end < size && data[end - 1] != '\n'; end++) {};
|
1794
|
+
pre = prefix_code(data + beg, end - beg);
|
1795
|
+
|
1796
|
+
if (pre)
|
1797
|
+
beg += pre; /* skipping prefix */
|
1798
|
+
else if (!is_empty(data + beg, end - beg))
|
1799
|
+
/* non-empty non-prefixed line breaks the pre */
|
1800
|
+
break;
|
1801
|
+
|
1802
|
+
if (beg < end) {
|
1803
|
+
/* verbatim copy to the working buffer,
|
1804
|
+
escaping entities */
|
1805
|
+
if (is_empty(data + beg, end - beg))
|
1806
|
+
bufputc(work, '\n');
|
1807
|
+
else bufput(work, data + beg, end - beg);
|
1808
|
+
}
|
1809
|
+
beg = end;
|
1810
|
+
}
|
1811
|
+
|
1812
|
+
while (work->size && work->data[work->size - 1] == '\n')
|
1813
|
+
work->size -= 1;
|
1814
|
+
|
1815
|
+
bufputc(work, '\n');
|
1816
|
+
|
1817
|
+
if (rndr->cb.blockcode)
|
1818
|
+
rndr->cb.blockcode(ob, work, NULL, rndr->opaque);
|
1819
|
+
|
1820
|
+
rndr_popbuf(rndr, BUFFER_BLOCK);
|
1821
|
+
return beg;
|
1822
|
+
}
|
1823
|
+
|
1824
|
+
/* parse_listitem • parsing of a single list item */
|
1825
|
+
/* assuming initial prefix is already removed */
|
1826
|
+
static size_t
|
1827
|
+
parse_listitem(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size, int *flags)
|
1828
|
+
{
|
1829
|
+
struct buf *work = 0, *inter = 0;
|
1830
|
+
size_t beg = 0, end, pre, sublist = 0, orgpre = 0, i;
|
1831
|
+
int in_empty = 0, has_inside_empty = 0, in_fence = 0;
|
1832
|
+
|
1833
|
+
/* keeping track of the first indentation prefix */
|
1834
|
+
while (orgpre < 3 && orgpre < size && data[orgpre] == ' ')
|
1835
|
+
orgpre++;
|
1836
|
+
|
1837
|
+
beg = prefix_uli(data, size);
|
1838
|
+
if (!beg)
|
1839
|
+
beg = prefix_oli(data, size);
|
1840
|
+
|
1841
|
+
if (!beg)
|
1842
|
+
return 0;
|
1843
|
+
|
1844
|
+
/* skipping to the beginning of the following line */
|
1845
|
+
end = beg;
|
1846
|
+
while (end < size && data[end - 1] != '\n')
|
1847
|
+
end++;
|
1848
|
+
|
1849
|
+
/* getting working buffers */
|
1850
|
+
work = rndr_newbuf(rndr, BUFFER_SPAN);
|
1851
|
+
inter = rndr_newbuf(rndr, BUFFER_SPAN);
|
1852
|
+
|
1853
|
+
/* putting the first line into the working buffer */
|
1854
|
+
bufput(work, data + beg, end - beg);
|
1855
|
+
beg = end;
|
1856
|
+
|
1857
|
+
/* process the following lines */
|
1858
|
+
while (beg < size) {
|
1859
|
+
size_t has_next_uli = 0, has_next_oli = 0;
|
1860
|
+
|
1861
|
+
end++;
|
1862
|
+
|
1863
|
+
while (end < size && data[end - 1] != '\n')
|
1864
|
+
end++;
|
1865
|
+
|
1866
|
+
/* process an empty line */
|
1867
|
+
if (is_empty(data + beg, end - beg)) {
|
1868
|
+
in_empty = 1;
|
1869
|
+
beg = end;
|
1870
|
+
continue;
|
1871
|
+
}
|
1872
|
+
|
1873
|
+
/* calculating the indentation */
|
1874
|
+
i = 0;
|
1875
|
+
while (i < 4 && beg + i < end && data[beg + i] == ' ')
|
1876
|
+
i++;
|
1877
|
+
|
1878
|
+
pre = i;
|
1879
|
+
|
1880
|
+
if (rndr->ext_flags & MKDEXT_FENCED_CODE) {
|
1881
|
+
if (is_codefence(data + beg + i, end - beg - i, NULL) != 0)
|
1882
|
+
in_fence = !in_fence;
|
1883
|
+
}
|
1884
|
+
|
1885
|
+
/* Only check for new list items if we are **not** inside
|
1886
|
+
* a fenced code block */
|
1887
|
+
if (!in_fence) {
|
1888
|
+
has_next_uli = prefix_uli(data + beg + i, end - beg - i);
|
1889
|
+
has_next_oli = prefix_oli(data + beg + i, end - beg - i);
|
1890
|
+
}
|
1891
|
+
|
1892
|
+
/* checking for ul/ol switch */
|
1893
|
+
if (in_empty && (
|
1894
|
+
((*flags & MKD_LIST_ORDERED) && has_next_uli) ||
|
1895
|
+
(!(*flags & MKD_LIST_ORDERED) && has_next_oli))){
|
1896
|
+
*flags |= MKD_LI_END;
|
1897
|
+
break; /* the following item must have same list type */
|
1898
|
+
}
|
1899
|
+
|
1900
|
+
/* checking for a new item */
|
1901
|
+
if ((has_next_uli && !is_hrule(data + beg + i, end - beg - i)) || has_next_oli) {
|
1902
|
+
if (in_empty)
|
1903
|
+
has_inside_empty = 1;
|
1904
|
+
|
1905
|
+
if (pre == orgpre) /* the following item must have */
|
1906
|
+
break; /* the same indentation */
|
1907
|
+
|
1908
|
+
if (!sublist)
|
1909
|
+
sublist = work->size;
|
1910
|
+
}
|
1911
|
+
/* joining only indented stuff after empty lines */
|
1912
|
+
else if (in_empty && i < 4 && data[beg] != '\t') {
|
1913
|
+
*flags |= MKD_LI_END;
|
1914
|
+
break;
|
1915
|
+
}
|
1916
|
+
else if (in_empty) {
|
1917
|
+
bufputc(work, '\n');
|
1918
|
+
has_inside_empty = 1;
|
1919
|
+
}
|
1920
|
+
|
1921
|
+
in_empty = 0;
|
1922
|
+
|
1923
|
+
/* adding the line without prefix into the working buffer */
|
1924
|
+
bufput(work, data + beg + i, end - beg - i);
|
1925
|
+
beg = end;
|
1926
|
+
}
|
1927
|
+
|
1928
|
+
/* render of li contents */
|
1929
|
+
if (has_inside_empty)
|
1930
|
+
*flags |= MKD_LI_BLOCK;
|
1931
|
+
|
1932
|
+
if (*flags & MKD_LI_BLOCK) {
|
1933
|
+
/* intermediate render of block li */
|
1934
|
+
if (sublist && sublist < work->size) {
|
1935
|
+
parse_block(inter, rndr, work->data, sublist);
|
1936
|
+
parse_block(inter, rndr, work->data + sublist, work->size - sublist);
|
1937
|
+
}
|
1938
|
+
else
|
1939
|
+
parse_block(inter, rndr, work->data, work->size);
|
1940
|
+
} else {
|
1941
|
+
/* intermediate render of inline li */
|
1942
|
+
if (sublist && sublist < work->size) {
|
1943
|
+
parse_inline(inter, rndr, work->data, sublist);
|
1944
|
+
parse_block(inter, rndr, work->data + sublist, work->size - sublist);
|
1945
|
+
}
|
1946
|
+
else
|
1947
|
+
parse_inline(inter, rndr, work->data, work->size);
|
1948
|
+
}
|
1949
|
+
|
1950
|
+
/* render of li itself */
|
1951
|
+
if (rndr->cb.listitem)
|
1952
|
+
rndr->cb.listitem(ob, inter, *flags, rndr->opaque);
|
1953
|
+
|
1954
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
1955
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
1956
|
+
return beg;
|
1957
|
+
}
|
1958
|
+
|
1959
|
+
|
1960
|
+
/* parse_list • parsing ordered or unordered list block */
|
1961
|
+
static size_t
|
1962
|
+
parse_list(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size, int flags)
|
1963
|
+
{
|
1964
|
+
struct buf *work = 0;
|
1965
|
+
size_t i = 0, j;
|
1966
|
+
|
1967
|
+
work = rndr_newbuf(rndr, BUFFER_BLOCK);
|
1968
|
+
|
1969
|
+
while (i < size) {
|
1970
|
+
j = parse_listitem(work, rndr, data + i, size - i, &flags);
|
1971
|
+
i += j;
|
1972
|
+
|
1973
|
+
if (!j || (flags & MKD_LI_END))
|
1974
|
+
break;
|
1975
|
+
}
|
1976
|
+
|
1977
|
+
if (rndr->cb.list)
|
1978
|
+
rndr->cb.list(ob, work, flags, rndr->opaque);
|
1979
|
+
rndr_popbuf(rndr, BUFFER_BLOCK);
|
1980
|
+
return i;
|
1981
|
+
}
|
1982
|
+
|
1983
|
+
/* parse_atxheader • parsing of atx-style headers */
|
1984
|
+
static size_t
|
1985
|
+
parse_atxheader(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size)
|
1986
|
+
{
|
1987
|
+
size_t level = 0;
|
1988
|
+
size_t i, end, skip;
|
1989
|
+
|
1990
|
+
while (level < size && level < 6 && data[level] == '#')
|
1991
|
+
level++;
|
1992
|
+
|
1993
|
+
for (i = level; i < size && data[i] == ' '; i++);
|
1994
|
+
|
1995
|
+
for (end = i; end < size && data[end] != '\n'; end++);
|
1996
|
+
skip = end;
|
1997
|
+
|
1998
|
+
while (end && data[end - 1] == '#')
|
1999
|
+
end--;
|
2000
|
+
|
2001
|
+
while (end && data[end - 1] == ' ')
|
2002
|
+
end--;
|
2003
|
+
|
2004
|
+
if (end > i) {
|
2005
|
+
struct buf *work = rndr_newbuf(rndr, BUFFER_SPAN);
|
2006
|
+
|
2007
|
+
parse_inline(work, rndr, data + i, end - i);
|
2008
|
+
|
2009
|
+
if (rndr->cb.header)
|
2010
|
+
rndr->cb.header(ob, work, (int)level, rndr->opaque);
|
2011
|
+
|
2012
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
2013
|
+
}
|
2014
|
+
|
2015
|
+
return skip;
|
2016
|
+
}
|
2017
|
+
|
2018
|
+
/* parse_footnote_def • parse a single footnote definition */
|
2019
|
+
static void
|
2020
|
+
parse_footnote_def(struct buf *ob, struct sd_markdown *rndr, unsigned int num, uint8_t *data, size_t size)
|
2021
|
+
{
|
2022
|
+
struct buf *work = 0;
|
2023
|
+
work = rndr_newbuf(rndr, BUFFER_SPAN);
|
2024
|
+
|
2025
|
+
parse_block(work, rndr, data, size);
|
2026
|
+
|
2027
|
+
if (rndr->cb.footnote_def)
|
2028
|
+
rndr->cb.footnote_def(ob, work, num, rndr->opaque);
|
2029
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
2030
|
+
}
|
2031
|
+
|
2032
|
+
/* parse_footnote_list • render the contents of the footnotes */
|
2033
|
+
static void
|
2034
|
+
parse_footnote_list(struct buf *ob, struct sd_markdown *rndr, struct footnote_list *footnotes)
|
2035
|
+
{
|
2036
|
+
struct buf *work = 0;
|
2037
|
+
struct footnote_item *item;
|
2038
|
+
struct footnote_ref *ref;
|
2039
|
+
|
2040
|
+
if (footnotes->count == 0)
|
2041
|
+
return;
|
2042
|
+
|
2043
|
+
work = rndr_newbuf(rndr, BUFFER_BLOCK);
|
2044
|
+
|
2045
|
+
item = footnotes->head;
|
2046
|
+
while (item) {
|
2047
|
+
ref = item->ref;
|
2048
|
+
parse_footnote_def(work, rndr, ref->num, ref->contents->data, ref->contents->size);
|
2049
|
+
item = item->next;
|
2050
|
+
}
|
2051
|
+
|
2052
|
+
if (rndr->cb.footnotes)
|
2053
|
+
rndr->cb.footnotes(ob, work, rndr->opaque);
|
2054
|
+
rndr_popbuf(rndr, BUFFER_BLOCK);
|
2055
|
+
}
|
2056
|
+
|
2057
|
+
/* htmlblock_end • checking end of HTML block : </tag>[ \t]*\n[ \t*]\n */
|
2058
|
+
/* returns the length on match, 0 otherwise */
|
2059
|
+
static size_t
|
2060
|
+
htmlblock_end_tag(
|
2061
|
+
const char *tag,
|
2062
|
+
size_t tag_len,
|
2063
|
+
struct sd_markdown *rndr,
|
2064
|
+
uint8_t *data,
|
2065
|
+
size_t size)
|
2066
|
+
{
|
2067
|
+
size_t i, w;
|
2068
|
+
|
2069
|
+
/* checking if tag is a match */
|
2070
|
+
if (tag_len + 3 >= size ||
|
2071
|
+
strncasecmp((char *)data + 2, tag, tag_len) != 0 ||
|
2072
|
+
data[tag_len + 2] != '>')
|
2073
|
+
return 0;
|
2074
|
+
|
2075
|
+
/* checking white lines */
|
2076
|
+
i = tag_len + 3;
|
2077
|
+
w = 0;
|
2078
|
+
if (i < size && (w = is_empty(data + i, size - i)) == 0)
|
2079
|
+
return 0; /* non-blank after tag */
|
2080
|
+
i += w;
|
2081
|
+
w = 0;
|
2082
|
+
|
2083
|
+
if (i < size)
|
2084
|
+
w = is_empty(data + i, size - i);
|
2085
|
+
|
2086
|
+
return i + w;
|
2087
|
+
}
|
2088
|
+
|
2089
|
+
static size_t
|
2090
|
+
htmlblock_end(const char *curtag,
|
2091
|
+
struct sd_markdown *rndr,
|
2092
|
+
uint8_t *data,
|
2093
|
+
size_t size,
|
2094
|
+
int start_of_line)
|
2095
|
+
{
|
2096
|
+
size_t tag_size = strlen(curtag);
|
2097
|
+
size_t i = 1, end_tag;
|
2098
|
+
int block_lines = 0;
|
2099
|
+
|
2100
|
+
while (i < size) {
|
2101
|
+
i++;
|
2102
|
+
while (i < size && !(data[i - 1] == '<' && data[i] == '/')) {
|
2103
|
+
if (data[i] == '\n')
|
2104
|
+
block_lines++;
|
2105
|
+
|
2106
|
+
i++;
|
2107
|
+
}
|
2108
|
+
|
2109
|
+
/* If we are only looking for unindented tags, skip the tag
|
2110
|
+
* if it doesn't follow a newline.
|
2111
|
+
*
|
2112
|
+
* The only exception to this is if the tag is still on the
|
2113
|
+
* initial line; in that case it still counts as a closing
|
2114
|
+
* tag
|
2115
|
+
*/
|
2116
|
+
if (start_of_line && block_lines > 0 && data[i - 2] != '\n')
|
2117
|
+
continue;
|
2118
|
+
|
2119
|
+
if (i + 2 + tag_size >= size)
|
2120
|
+
break;
|
2121
|
+
|
2122
|
+
end_tag = htmlblock_end_tag(curtag, tag_size, rndr, data + i - 1, size - i + 1);
|
2123
|
+
if (end_tag)
|
2124
|
+
return i + end_tag - 1;
|
2125
|
+
}
|
2126
|
+
|
2127
|
+
return 0;
|
2128
|
+
}
|
2129
|
+
|
2130
|
+
|
2131
|
+
/* parse_htmlblock • parsing of inline HTML block */
|
2132
|
+
static size_t
|
2133
|
+
parse_htmlblock(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size, int do_render)
|
2134
|
+
{
|
2135
|
+
size_t i, j = 0, tag_end;
|
2136
|
+
const char *curtag = NULL;
|
2137
|
+
struct buf work = { data, 0, 0, 0 };
|
2138
|
+
|
2139
|
+
/* identification of the opening tag */
|
2140
|
+
if (size < 2 || data[0] != '<')
|
2141
|
+
return 0;
|
2142
|
+
|
2143
|
+
i = 1;
|
2144
|
+
while (i < size && data[i] != '>' && data[i] != ' ')
|
2145
|
+
i++;
|
2146
|
+
|
2147
|
+
if (i < size)
|
2148
|
+
curtag = find_block_tag((char *)data + 1, (int)i - 1);
|
2149
|
+
|
2150
|
+
/* handling of special cases */
|
2151
|
+
if (!curtag) {
|
2152
|
+
|
2153
|
+
/* HTML comment, laxist form */
|
2154
|
+
if (size > 5 && data[1] == '!' && data[2] == '-' && data[3] == '-') {
|
2155
|
+
i = 5;
|
2156
|
+
|
2157
|
+
while (i < size && !(data[i - 2] == '-' && data[i - 1] == '-' && data[i] == '>'))
|
2158
|
+
i++;
|
2159
|
+
|
2160
|
+
i++;
|
2161
|
+
|
2162
|
+
if (i < size)
|
2163
|
+
j = is_empty(data + i, size - i);
|
2164
|
+
|
2165
|
+
if (j) {
|
2166
|
+
work.size = i + j;
|
2167
|
+
if (do_render && rndr->cb.blockhtml)
|
2168
|
+
rndr->cb.blockhtml(ob, &work, rndr->opaque);
|
2169
|
+
return work.size;
|
2170
|
+
}
|
2171
|
+
}
|
2172
|
+
|
2173
|
+
/* HR, which is the only self-closing block tag considered */
|
2174
|
+
if (size > 4 && (data[1] == 'h' || data[1] == 'H') && (data[2] == 'r' || data[2] == 'R')) {
|
2175
|
+
i = 3;
|
2176
|
+
while (i < size && data[i] != '>')
|
2177
|
+
i++;
|
2178
|
+
|
2179
|
+
if (i + 1 < size) {
|
2180
|
+
i++;
|
2181
|
+
j = is_empty(data + i, size - i);
|
2182
|
+
if (j) {
|
2183
|
+
work.size = i + j;
|
2184
|
+
if (do_render && rndr->cb.blockhtml)
|
2185
|
+
rndr->cb.blockhtml(ob, &work, rndr->opaque);
|
2186
|
+
return work.size;
|
2187
|
+
}
|
2188
|
+
}
|
2189
|
+
}
|
2190
|
+
|
2191
|
+
/* no special case recognised */
|
2192
|
+
return 0;
|
2193
|
+
}
|
2194
|
+
|
2195
|
+
/* looking for an unindented matching closing tag */
|
2196
|
+
/* followed by a blank line */
|
2197
|
+
tag_end = htmlblock_end(curtag, rndr, data, size, 1);
|
2198
|
+
|
2199
|
+
/* if not found, trying a second pass looking for indented match */
|
2200
|
+
/* but not if tag is "ins" or "del" (following original Markdown.pl) */
|
2201
|
+
if (!tag_end && strcmp(curtag, "ins") != 0 && strcmp(curtag, "del") != 0) {
|
2202
|
+
tag_end = htmlblock_end(curtag, rndr, data, size, 0);
|
2203
|
+
}
|
2204
|
+
|
2205
|
+
if (!tag_end)
|
2206
|
+
return 0;
|
2207
|
+
|
2208
|
+
/* the end of the block has been found */
|
2209
|
+
work.size = tag_end;
|
2210
|
+
if (do_render && rndr->cb.blockhtml)
|
2211
|
+
rndr->cb.blockhtml(ob, &work, rndr->opaque);
|
2212
|
+
|
2213
|
+
return tag_end;
|
2214
|
+
}
|
2215
|
+
|
2216
|
+
static void
|
2217
|
+
parse_table_row(
|
2218
|
+
struct buf *ob,
|
2219
|
+
struct sd_markdown *rndr,
|
2220
|
+
uint8_t *data,
|
2221
|
+
size_t size,
|
2222
|
+
size_t columns,
|
2223
|
+
int *col_data,
|
2224
|
+
int header_flag)
|
2225
|
+
{
|
2226
|
+
size_t i = 0, col;
|
2227
|
+
struct buf *row_work = 0;
|
2228
|
+
|
2229
|
+
if (!rndr->cb.table_cell || !rndr->cb.table_row)
|
2230
|
+
return;
|
2231
|
+
|
2232
|
+
row_work = rndr_newbuf(rndr, BUFFER_SPAN);
|
2233
|
+
|
2234
|
+
if (i < size && data[i] == '|')
|
2235
|
+
i++;
|
2236
|
+
|
2237
|
+
for (col = 0; col < columns && i < size; ++col) {
|
2238
|
+
size_t cell_start, cell_end;
|
2239
|
+
struct buf *cell_work;
|
2240
|
+
|
2241
|
+
cell_work = rndr_newbuf(rndr, BUFFER_SPAN);
|
2242
|
+
|
2243
|
+
while (i < size && _isspace(data[i]))
|
2244
|
+
i++;
|
2245
|
+
|
2246
|
+
cell_start = i;
|
2247
|
+
|
2248
|
+
while (i < size && data[i] != '|')
|
2249
|
+
i++;
|
2250
|
+
|
2251
|
+
cell_end = i - 1;
|
2252
|
+
|
2253
|
+
while (cell_end > cell_start && _isspace(data[cell_end]))
|
2254
|
+
cell_end--;
|
2255
|
+
|
2256
|
+
parse_inline(cell_work, rndr, data + cell_start, 1 + cell_end - cell_start);
|
2257
|
+
rndr->cb.table_cell(row_work, cell_work, col_data[col] | header_flag, rndr->opaque);
|
2258
|
+
|
2259
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
2260
|
+
i++;
|
2261
|
+
}
|
2262
|
+
|
2263
|
+
for (; col < columns; ++col) {
|
2264
|
+
struct buf empty_cell = { 0, 0, 0, 0 };
|
2265
|
+
rndr->cb.table_cell(row_work, &empty_cell, col_data[col] | header_flag, rndr->opaque);
|
2266
|
+
}
|
2267
|
+
|
2268
|
+
rndr->cb.table_row(ob, row_work, rndr->opaque);
|
2269
|
+
|
2270
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
2271
|
+
}
|
2272
|
+
|
2273
|
+
static size_t
|
2274
|
+
parse_table_header(
|
2275
|
+
struct buf *ob,
|
2276
|
+
struct sd_markdown *rndr,
|
2277
|
+
uint8_t *data,
|
2278
|
+
size_t size,
|
2279
|
+
size_t *columns,
|
2280
|
+
int **column_data)
|
2281
|
+
{
|
2282
|
+
int pipes;
|
2283
|
+
size_t i = 0, col, header_end, under_end;
|
2284
|
+
|
2285
|
+
pipes = 0;
|
2286
|
+
while (i < size && data[i] != '\n')
|
2287
|
+
if (data[i++] == '|')
|
2288
|
+
pipes++;
|
2289
|
+
|
2290
|
+
if (i == size || pipes == 0)
|
2291
|
+
return 0;
|
2292
|
+
|
2293
|
+
header_end = i;
|
2294
|
+
|
2295
|
+
while (header_end > 0 && _isspace(data[header_end - 1]))
|
2296
|
+
header_end--;
|
2297
|
+
|
2298
|
+
if (data[0] == '|')
|
2299
|
+
pipes--;
|
2300
|
+
|
2301
|
+
if (header_end && data[header_end - 1] == '|')
|
2302
|
+
pipes--;
|
2303
|
+
|
2304
|
+
*columns = pipes + 1;
|
2305
|
+
*column_data = calloc(*columns, sizeof(int));
|
2306
|
+
|
2307
|
+
/* Parse the header underline */
|
2308
|
+
i++;
|
2309
|
+
if (i < size && data[i] == '|')
|
2310
|
+
i++;
|
2311
|
+
|
2312
|
+
under_end = i;
|
2313
|
+
while (under_end < size && data[under_end] != '\n')
|
2314
|
+
under_end++;
|
2315
|
+
|
2316
|
+
for (col = 0; col < *columns && i < under_end; ++col) {
|
2317
|
+
size_t dashes = 0;
|
2318
|
+
|
2319
|
+
while (i < under_end && data[i] == ' ')
|
2320
|
+
i++;
|
2321
|
+
|
2322
|
+
if (data[i] == ':') {
|
2323
|
+
i++; (*column_data)[col] |= MKD_TABLE_ALIGN_L;
|
2324
|
+
dashes++;
|
2325
|
+
}
|
2326
|
+
|
2327
|
+
while (i < under_end && data[i] == '-') {
|
2328
|
+
i++; dashes++;
|
2329
|
+
}
|
2330
|
+
|
2331
|
+
if (i < under_end && data[i] == ':') {
|
2332
|
+
i++; (*column_data)[col] |= MKD_TABLE_ALIGN_R;
|
2333
|
+
dashes++;
|
2334
|
+
}
|
2335
|
+
|
2336
|
+
while (i < under_end && data[i] == ' ')
|
2337
|
+
i++;
|
2338
|
+
|
2339
|
+
if (i < under_end && data[i] != '|' && data[i] != '+')
|
2340
|
+
break;
|
2341
|
+
|
2342
|
+
if (dashes < 3)
|
2343
|
+
break;
|
2344
|
+
|
2345
|
+
i++;
|
2346
|
+
}
|
2347
|
+
|
2348
|
+
if (col < *columns)
|
2349
|
+
return 0;
|
2350
|
+
|
2351
|
+
parse_table_row(
|
2352
|
+
ob, rndr, data,
|
2353
|
+
header_end,
|
2354
|
+
*columns,
|
2355
|
+
*column_data,
|
2356
|
+
MKD_TABLE_HEADER
|
2357
|
+
);
|
2358
|
+
|
2359
|
+
return under_end + 1;
|
2360
|
+
}
|
2361
|
+
|
2362
|
+
static size_t
|
2363
|
+
parse_table(
|
2364
|
+
struct buf *ob,
|
2365
|
+
struct sd_markdown *rndr,
|
2366
|
+
uint8_t *data,
|
2367
|
+
size_t size)
|
2368
|
+
{
|
2369
|
+
size_t i;
|
2370
|
+
|
2371
|
+
struct buf *header_work = 0;
|
2372
|
+
struct buf *body_work = 0;
|
2373
|
+
|
2374
|
+
size_t columns;
|
2375
|
+
int *col_data = NULL;
|
2376
|
+
|
2377
|
+
header_work = rndr_newbuf(rndr, BUFFER_SPAN);
|
2378
|
+
body_work = rndr_newbuf(rndr, BUFFER_BLOCK);
|
2379
|
+
|
2380
|
+
i = parse_table_header(header_work, rndr, data, size, &columns, &col_data);
|
2381
|
+
if (i > 0) {
|
2382
|
+
|
2383
|
+
while (i < size) {
|
2384
|
+
size_t row_start;
|
2385
|
+
int pipes = 0;
|
2386
|
+
|
2387
|
+
row_start = i;
|
2388
|
+
|
2389
|
+
while (i < size && data[i] != '\n')
|
2390
|
+
if (data[i++] == '|')
|
2391
|
+
pipes++;
|
2392
|
+
|
2393
|
+
if (pipes == 0 || i == size) {
|
2394
|
+
i = row_start;
|
2395
|
+
break;
|
2396
|
+
}
|
2397
|
+
|
2398
|
+
parse_table_row(
|
2399
|
+
body_work,
|
2400
|
+
rndr,
|
2401
|
+
data + row_start,
|
2402
|
+
i - row_start,
|
2403
|
+
columns,
|
2404
|
+
col_data, 0
|
2405
|
+
);
|
2406
|
+
|
2407
|
+
i++;
|
2408
|
+
}
|
2409
|
+
|
2410
|
+
if (rndr->cb.table)
|
2411
|
+
rndr->cb.table(ob, header_work, body_work, rndr->opaque);
|
2412
|
+
}
|
2413
|
+
|
2414
|
+
free(col_data);
|
2415
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
2416
|
+
rndr_popbuf(rndr, BUFFER_BLOCK);
|
2417
|
+
return i;
|
2418
|
+
}
|
2419
|
+
|
2420
|
+
/* parse_block • parsing of one block, returning next uint8_t to parse */
|
2421
|
+
static void
|
2422
|
+
parse_block(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size)
|
2423
|
+
{
|
2424
|
+
size_t beg, end, i;
|
2425
|
+
uint8_t *txt_data;
|
2426
|
+
beg = 0;
|
2427
|
+
|
2428
|
+
if (rndr->work_bufs[BUFFER_SPAN].size +
|
2429
|
+
rndr->work_bufs[BUFFER_BLOCK].size > rndr->max_nesting)
|
2430
|
+
return;
|
2431
|
+
|
2432
|
+
while (beg < size) {
|
2433
|
+
txt_data = data + beg;
|
2434
|
+
end = size - beg;
|
2435
|
+
|
2436
|
+
if (is_atxheader(rndr, txt_data, end))
|
2437
|
+
beg += parse_atxheader(ob, rndr, txt_data, end);
|
2438
|
+
|
2439
|
+
else if (data[beg] == '<' && rndr->cb.blockhtml &&
|
2440
|
+
(i = parse_htmlblock(ob, rndr, txt_data, end, 1)) != 0)
|
2441
|
+
beg += i;
|
2442
|
+
|
2443
|
+
else if ((i = is_empty(txt_data, end)) != 0)
|
2444
|
+
beg += i;
|
2445
|
+
|
2446
|
+
else if (is_hrule(txt_data, end)) {
|
2447
|
+
if (rndr->cb.hrule)
|
2448
|
+
rndr->cb.hrule(ob, rndr->opaque);
|
2449
|
+
|
2450
|
+
while (beg < size && data[beg] != '\n')
|
2451
|
+
beg++;
|
2452
|
+
|
2453
|
+
beg++;
|
2454
|
+
}
|
2455
|
+
|
2456
|
+
else if ((rndr->ext_flags & MKDEXT_FENCED_CODE) != 0 &&
|
2457
|
+
(i = parse_fencedcode(ob, rndr, txt_data, end)) != 0)
|
2458
|
+
beg += i;
|
2459
|
+
|
2460
|
+
else if ((rndr->ext_flags & MKDEXT_TABLES) != 0 &&
|
2461
|
+
(i = parse_table(ob, rndr, txt_data, end)) != 0)
|
2462
|
+
beg += i;
|
2463
|
+
|
2464
|
+
else if (prefix_quote(txt_data, end))
|
2465
|
+
beg += parse_blockquote(ob, rndr, txt_data, end);
|
2466
|
+
|
2467
|
+
else if (!(rndr->ext_flags & MKDEXT_DISABLE_INDENTED_CODE) && prefix_code(txt_data, end))
|
2468
|
+
beg += parse_blockcode(ob, rndr, txt_data, end);
|
2469
|
+
|
2470
|
+
else if (prefix_uli(txt_data, end))
|
2471
|
+
beg += parse_list(ob, rndr, txt_data, end, 0);
|
2472
|
+
|
2473
|
+
else if (prefix_oli(txt_data, end))
|
2474
|
+
beg += parse_list(ob, rndr, txt_data, end, MKD_LIST_ORDERED);
|
2475
|
+
|
2476
|
+
else
|
2477
|
+
beg += parse_paragraph(ob, rndr, txt_data, end);
|
2478
|
+
}
|
2479
|
+
}
|
2480
|
+
|
2481
|
+
|
2482
|
+
|
2483
|
+
/*********************
|
2484
|
+
* REFERENCE PARSING *
|
2485
|
+
*********************/
|
2486
|
+
|
2487
|
+
/* is_footnote • returns whether a line is a footnote definition or not */
|
2488
|
+
static int
|
2489
|
+
is_footnote(const uint8_t *data, size_t beg, size_t end, size_t *last, struct footnote_list *list)
|
2490
|
+
{
|
2491
|
+
size_t i = 0;
|
2492
|
+
struct buf *contents = 0;
|
2493
|
+
size_t ind = 0;
|
2494
|
+
int in_empty = 0;
|
2495
|
+
size_t start = 0;
|
2496
|
+
|
2497
|
+
size_t id_offset, id_end;
|
2498
|
+
|
2499
|
+
/* up to 3 optional leading spaces */
|
2500
|
+
if (beg + 3 >= end) return 0;
|
2501
|
+
if (data[beg] == ' ') { i = 1;
|
2502
|
+
if (data[beg + 1] == ' ') { i = 2;
|
2503
|
+
if (data[beg + 2] == ' ') { i = 3;
|
2504
|
+
if (data[beg + 3] == ' ') return 0; } } }
|
2505
|
+
i += beg;
|
2506
|
+
|
2507
|
+
/* id part: caret followed by anything between brackets */
|
2508
|
+
if (data[i] != '[') return 0;
|
2509
|
+
i++;
|
2510
|
+
if (i >= end || data[i] != '^') return 0;
|
2511
|
+
i++;
|
2512
|
+
id_offset = i;
|
2513
|
+
while (i < end && data[i] != '\n' && data[i] != '\r' && data[i] != ']')
|
2514
|
+
i++;
|
2515
|
+
if (i >= end || data[i] != ']') return 0;
|
2516
|
+
id_end = i;
|
2517
|
+
|
2518
|
+
/* spacer: colon (space | tab)* newline? (space | tab)* */
|
2519
|
+
i++;
|
2520
|
+
if (i >= end || data[i] != ':') return 0;
|
2521
|
+
i++;
|
2522
|
+
|
2523
|
+
/* getting content buffer */
|
2524
|
+
contents = bufnew(64);
|
2525
|
+
|
2526
|
+
start = i;
|
2527
|
+
|
2528
|
+
/* process lines similiar to a list item */
|
2529
|
+
while (i < end) {
|
2530
|
+
while (i < end && data[i] != '\n' && data[i] != '\r') i++;
|
2531
|
+
|
2532
|
+
/* process an empty line */
|
2533
|
+
if (is_empty(data + start, i - start)) {
|
2534
|
+
in_empty = 1;
|
2535
|
+
if (i < end && (data[i] == '\n' || data[i] == '\r')) {
|
2536
|
+
i++;
|
2537
|
+
if (i < end && data[i] == '\n' && data[i - 1] == '\r') i++;
|
2538
|
+
}
|
2539
|
+
start = i;
|
2540
|
+
continue;
|
2541
|
+
}
|
2542
|
+
|
2543
|
+
/* calculating the indentation */
|
2544
|
+
ind = 0;
|
2545
|
+
while (ind < 4 && start + ind < end && data[start + ind] == ' ')
|
2546
|
+
ind++;
|
2547
|
+
|
2548
|
+
/* joining only indented stuff after empty lines;
|
2549
|
+
* note that now we only require 1 space of indentation
|
2550
|
+
* to continue, just like lists */
|
2551
|
+
if (ind == 0) {
|
2552
|
+
if (start == id_end + 2 && data[start] == '\t') {}
|
2553
|
+
else break;
|
2554
|
+
}
|
2555
|
+
else if (in_empty) {
|
2556
|
+
bufputc(contents, '\n');
|
2557
|
+
}
|
2558
|
+
|
2559
|
+
in_empty = 0;
|
2560
|
+
|
2561
|
+
/* adding the line into the content buffer */
|
2562
|
+
bufput(contents, data + start + ind, i - start - ind);
|
2563
|
+
/* add carriage return */
|
2564
|
+
if (i < end) {
|
2565
|
+
bufput(contents, "\n", 1);
|
2566
|
+
if (i < end && (data[i] == '\n' || data[i] == '\r')) {
|
2567
|
+
i++;
|
2568
|
+
if (i < end && data[i] == '\n' && data[i - 1] == '\r') i++;
|
2569
|
+
}
|
2570
|
+
}
|
2571
|
+
start = i;
|
2572
|
+
}
|
2573
|
+
|
2574
|
+
if (last)
|
2575
|
+
*last = start;
|
2576
|
+
|
2577
|
+
if (list) {
|
2578
|
+
struct footnote_ref *ref;
|
2579
|
+
ref = create_footnote_ref(list, data + id_offset, id_end - id_offset);
|
2580
|
+
if (!ref)
|
2581
|
+
return 0;
|
2582
|
+
if (!add_footnote_ref(list, ref)) {
|
2583
|
+
free_footnote_ref(ref);
|
2584
|
+
return 0;
|
2585
|
+
}
|
2586
|
+
ref->contents = contents;
|
2587
|
+
}
|
2588
|
+
|
2589
|
+
return 1;
|
2590
|
+
}
|
2591
|
+
|
2592
|
+
/* is_ref • returns whether a line is a reference or not */
|
2593
|
+
static int
|
2594
|
+
is_ref(const uint8_t *data, size_t beg, size_t end, size_t *last, struct link_ref **refs)
|
2595
|
+
{
|
2596
|
+
/* int n; */
|
2597
|
+
size_t i = 0;
|
2598
|
+
size_t id_offset, id_end;
|
2599
|
+
size_t link_offset, link_end;
|
2600
|
+
size_t title_offset, title_end;
|
2601
|
+
size_t line_end;
|
2602
|
+
|
2603
|
+
/* up to 3 optional leading spaces */
|
2604
|
+
if (beg + 3 >= end) return 0;
|
2605
|
+
if (data[beg] == ' ') { i = 1;
|
2606
|
+
if (data[beg + 1] == ' ') { i = 2;
|
2607
|
+
if (data[beg + 2] == ' ') { i = 3;
|
2608
|
+
if (data[beg + 3] == ' ') return 0; } } }
|
2609
|
+
i += beg;
|
2610
|
+
|
2611
|
+
/* id part: anything but a newline between brackets */
|
2612
|
+
if (data[i] != '[') return 0;
|
2613
|
+
i++;
|
2614
|
+
id_offset = i;
|
2615
|
+
while (i < end && data[i] != '\n' && data[i] != '\r' && data[i] != ']')
|
2616
|
+
i++;
|
2617
|
+
if (i >= end || data[i] != ']') return 0;
|
2618
|
+
id_end = i;
|
2619
|
+
|
2620
|
+
/* spacer: colon (space | tab)* newline? (space | tab)* */
|
2621
|
+
i++;
|
2622
|
+
if (i >= end || data[i] != ':') return 0;
|
2623
|
+
i++;
|
2624
|
+
while (i < end && strchr("\t ", data[i])) i++;
|
2625
|
+
if (i < end && (data[i] == '\n' || data[i] == '\r')) {
|
2626
|
+
i++;
|
2627
|
+
if (i < end && data[i] == '\r' && data[i - 1] == '\n') i++; }
|
2628
|
+
while (i < end && strchr("\t ", data[i])) i++;
|
2629
|
+
if (i >= end) return 0;
|
2630
|
+
|
2631
|
+
/* link: whitespace-free sequence, optionally between angle brackets */
|
2632
|
+
if (data[i] == '<')
|
2633
|
+
i++;
|
2634
|
+
|
2635
|
+
link_offset = i;
|
2636
|
+
|
2637
|
+
while (i < end && data[i] != ' ' && data[i] != '\n' && data[i] != '\r')
|
2638
|
+
i++;
|
2639
|
+
|
2640
|
+
if (data[i - 1] == '>') link_end = i - 1;
|
2641
|
+
else link_end = i;
|
2642
|
+
|
2643
|
+
/* optional spacer: (space | tab)* (newline | '\'' | '"' | '(' ) */
|
2644
|
+
while (i < end && strchr("\t ", data[i])) i++;
|
2645
|
+
if (i < end && data[i] != '\n' && data[i] != '\r'
|
2646
|
+
&& data[i] != '\'' && data[i] != '"' && data[i] != '(')
|
2647
|
+
return 0;
|
2648
|
+
line_end = 0;
|
2649
|
+
/* computing end-of-line */
|
2650
|
+
if (i >= end || data[i] == '\r' || data[i] == '\n') line_end = i;
|
2651
|
+
if (i + 1 < end && data[i] == '\n' && data[i + 1] == '\r')
|
2652
|
+
line_end = i + 1;
|
2653
|
+
|
2654
|
+
/* optional (space|tab)* spacer after a newline */
|
2655
|
+
if (line_end) {
|
2656
|
+
i = line_end + 1;
|
2657
|
+
while (i < end && strchr("\t ", data[i])) i++; }
|
2658
|
+
|
2659
|
+
/* optional title: any non-newline sequence enclosed in '"()
|
2660
|
+
alone on its line */
|
2661
|
+
title_offset = title_end = 0;
|
2662
|
+
if (i + 1 < end
|
2663
|
+
&& (data[i] == '\'' || data[i] == '"' || data[i] == '(')) {
|
2664
|
+
i++;
|
2665
|
+
title_offset = i;
|
2666
|
+
/* looking for EOL */
|
2667
|
+
while (i < end && data[i] != '\n' && data[i] != '\r') i++;
|
2668
|
+
if (i + 1 < end && data[i] == '\n' && data[i + 1] == '\r')
|
2669
|
+
title_end = i + 1;
|
2670
|
+
else title_end = i;
|
2671
|
+
/* stepping back */
|
2672
|
+
i -= 1;
|
2673
|
+
while (i > title_offset && data[i] == ' ')
|
2674
|
+
i -= 1;
|
2675
|
+
if (i > title_offset
|
2676
|
+
&& (data[i] == '\'' || data[i] == '"' || data[i] == ')')) {
|
2677
|
+
line_end = title_end;
|
2678
|
+
title_end = i; } }
|
2679
|
+
|
2680
|
+
if (!line_end || link_end == link_offset)
|
2681
|
+
return 0; /* garbage after the link empty link */
|
2682
|
+
|
2683
|
+
/* a valid ref has been found, filling-in return structures */
|
2684
|
+
if (last)
|
2685
|
+
*last = line_end;
|
2686
|
+
|
2687
|
+
if (refs) {
|
2688
|
+
struct link_ref *ref;
|
2689
|
+
|
2690
|
+
ref = add_link_ref(refs, data + id_offset, id_end - id_offset);
|
2691
|
+
if (!ref)
|
2692
|
+
return 0;
|
2693
|
+
|
2694
|
+
ref->link = bufnew(link_end - link_offset);
|
2695
|
+
bufput(ref->link, data + link_offset, link_end - link_offset);
|
2696
|
+
|
2697
|
+
if (title_end > title_offset) {
|
2698
|
+
ref->title = bufnew(title_end - title_offset);
|
2699
|
+
bufput(ref->title, data + title_offset, title_end - title_offset);
|
2700
|
+
}
|
2701
|
+
}
|
2702
|
+
|
2703
|
+
return 1;
|
2704
|
+
}
|
2705
|
+
|
2706
|
+
static void expand_tabs(struct buf *ob, const uint8_t *line, size_t size)
|
2707
|
+
{
|
2708
|
+
size_t i = 0, tab = 0;
|
2709
|
+
|
2710
|
+
while (i < size) {
|
2711
|
+
size_t org = i;
|
2712
|
+
|
2713
|
+
while (i < size && line[i] != '\t') {
|
2714
|
+
i++; tab++;
|
2715
|
+
}
|
2716
|
+
|
2717
|
+
if (i > org)
|
2718
|
+
bufput(ob, line + org, i - org);
|
2719
|
+
|
2720
|
+
if (i >= size)
|
2721
|
+
break;
|
2722
|
+
|
2723
|
+
do {
|
2724
|
+
bufputc(ob, ' '); tab++;
|
2725
|
+
} while (tab % 4);
|
2726
|
+
|
2727
|
+
i++;
|
2728
|
+
}
|
2729
|
+
}
|
2730
|
+
|
2731
|
+
/**********************
|
2732
|
+
* EXPORTED FUNCTIONS *
|
2733
|
+
**********************/
|
2734
|
+
|
2735
|
+
struct sd_markdown *
|
2736
|
+
sd_markdown_new(
|
2737
|
+
unsigned int extensions,
|
2738
|
+
size_t max_nesting,
|
2739
|
+
const struct sd_callbacks *callbacks,
|
2740
|
+
void *opaque)
|
2741
|
+
{
|
2742
|
+
struct sd_markdown *md = NULL;
|
2743
|
+
|
2744
|
+
assert(max_nesting > 0 && callbacks);
|
2745
|
+
|
2746
|
+
md = malloc(sizeof(struct sd_markdown));
|
2747
|
+
if (!md)
|
2748
|
+
return NULL;
|
2749
|
+
|
2750
|
+
memcpy(&md->cb, callbacks, sizeof(struct sd_callbacks));
|
2751
|
+
|
2752
|
+
redcarpet_stack_init(&md->work_bufs[BUFFER_BLOCK], 4);
|
2753
|
+
redcarpet_stack_init(&md->work_bufs[BUFFER_SPAN], 8);
|
2754
|
+
|
2755
|
+
memset(md->active_char, 0x0, 256);
|
2756
|
+
|
2757
|
+
if (md->cb.emphasis || md->cb.double_emphasis || md->cb.triple_emphasis) {
|
2758
|
+
md->active_char['*'] = MD_CHAR_EMPHASIS;
|
2759
|
+
md->active_char['_'] = MD_CHAR_EMPHASIS;
|
2760
|
+
if (extensions & MKDEXT_STRIKETHROUGH)
|
2761
|
+
md->active_char['~'] = MD_CHAR_EMPHASIS;
|
2762
|
+
if (extensions & MKDEXT_HIGHLIGHT)
|
2763
|
+
md->active_char['='] = MD_CHAR_EMPHASIS;
|
2764
|
+
}
|
2765
|
+
|
2766
|
+
if (md->cb.codespan)
|
2767
|
+
md->active_char['`'] = MD_CHAR_CODESPAN;
|
2768
|
+
|
2769
|
+
if (md->cb.linebreak)
|
2770
|
+
md->active_char['\n'] = MD_CHAR_LINEBREAK;
|
2771
|
+
|
2772
|
+
if (md->cb.image || md->cb.link)
|
2773
|
+
md->active_char['['] = MD_CHAR_LINK;
|
2774
|
+
|
2775
|
+
md->active_char['<'] = MD_CHAR_LANGLE;
|
2776
|
+
md->active_char['\\'] = MD_CHAR_ESCAPE;
|
2777
|
+
md->active_char['&'] = MD_CHAR_ENTITITY;
|
2778
|
+
|
2779
|
+
if (extensions & MKDEXT_AUTOLINK) {
|
2780
|
+
md->active_char[':'] = MD_CHAR_AUTOLINK_URL;
|
2781
|
+
md->active_char['@'] = MD_CHAR_AUTOLINK_EMAIL;
|
2782
|
+
md->active_char['w'] = MD_CHAR_AUTOLINK_WWW;
|
2783
|
+
}
|
2784
|
+
|
2785
|
+
if (extensions & MKDEXT_SUPERSCRIPT)
|
2786
|
+
md->active_char['^'] = MD_CHAR_SUPERSCRIPT;
|
2787
|
+
|
2788
|
+
if (extensions & MKDEXT_QUOTE)
|
2789
|
+
md->active_char['"'] = MD_CHAR_QUOTE;
|
2790
|
+
|
2791
|
+
/* Extension data */
|
2792
|
+
md->ext_flags = extensions;
|
2793
|
+
md->opaque = opaque;
|
2794
|
+
md->max_nesting = max_nesting;
|
2795
|
+
md->in_link_body = 0;
|
2796
|
+
|
2797
|
+
return md;
|
2798
|
+
}
|
2799
|
+
|
2800
|
+
void
|
2801
|
+
sd_markdown_render(struct buf *ob, const uint8_t *document, size_t doc_size, struct sd_markdown *md)
|
2802
|
+
{
|
2803
|
+
#define MARKDOWN_GROW(x) ((x) + ((x) >> 1))
|
2804
|
+
static const char UTF8_BOM[] = {0xEF, 0xBB, 0xBF};
|
2805
|
+
|
2806
|
+
struct buf *text;
|
2807
|
+
size_t beg, end;
|
2808
|
+
int in_fence = 0;
|
2809
|
+
|
2810
|
+
text = bufnew(64);
|
2811
|
+
if (!text)
|
2812
|
+
return;
|
2813
|
+
|
2814
|
+
/* Preallocate enough space for our buffer to avoid expanding while copying */
|
2815
|
+
bufgrow(text, doc_size);
|
2816
|
+
|
2817
|
+
/* reset the references table */
|
2818
|
+
memset(&md->refs, 0x0, REF_TABLE_SIZE * sizeof(void *));
|
2819
|
+
|
2820
|
+
int footnotes_enabled = md->ext_flags & MKDEXT_FOOTNOTES;
|
2821
|
+
int codefences_enabled = md->ext_flags & MKDEXT_FENCED_CODE;
|
2822
|
+
|
2823
|
+
/* reset the footnotes lists */
|
2824
|
+
if (footnotes_enabled) {
|
2825
|
+
memset(&md->footnotes_found, 0x0, sizeof(md->footnotes_found));
|
2826
|
+
memset(&md->footnotes_used, 0x0, sizeof(md->footnotes_used));
|
2827
|
+
}
|
2828
|
+
|
2829
|
+
/* first pass: looking for references, copying everything else */
|
2830
|
+
beg = 0;
|
2831
|
+
|
2832
|
+
/* Skip a possible UTF-8 BOM, even though the Unicode standard
|
2833
|
+
* discourages having these in UTF-8 documents */
|
2834
|
+
if (doc_size >= 3 && memcmp(document, UTF8_BOM, 3) == 0)
|
2835
|
+
beg += 3;
|
2836
|
+
|
2837
|
+
while (beg < doc_size) { /* iterating over lines */
|
2838
|
+
if (codefences_enabled && (is_codefence(document + beg, doc_size - beg, NULL) != 0))
|
2839
|
+
in_fence = !in_fence;
|
2840
|
+
|
2841
|
+
if (!in_fence && footnotes_enabled && is_footnote(document, beg, doc_size, &end, &md->footnotes_found))
|
2842
|
+
beg = end;
|
2843
|
+
else if (!in_fence && is_ref(document, beg, doc_size, &end, md->refs))
|
2844
|
+
beg = end;
|
2845
|
+
else { /* skipping to the next line */
|
2846
|
+
end = beg;
|
2847
|
+
while (end < doc_size && document[end] != '\n' && document[end] != '\r')
|
2848
|
+
end++;
|
2849
|
+
|
2850
|
+
/* adding the line body if present */
|
2851
|
+
if (end > beg)
|
2852
|
+
expand_tabs(text, document + beg, end - beg);
|
2853
|
+
|
2854
|
+
while (end < doc_size && (document[end] == '\n' || document[end] == '\r')) {
|
2855
|
+
/* add one \n per newline */
|
2856
|
+
if (document[end] == '\n' || (end + 1 < doc_size && document[end + 1] != '\n'))
|
2857
|
+
bufputc(text, '\n');
|
2858
|
+
end++;
|
2859
|
+
}
|
2860
|
+
|
2861
|
+
beg = end;
|
2862
|
+
}
|
2863
|
+
}
|
2864
|
+
|
2865
|
+
/* pre-grow the output buffer to minimize allocations */
|
2866
|
+
bufgrow(ob, MARKDOWN_GROW(text->size));
|
2867
|
+
|
2868
|
+
/* second pass: actual rendering */
|
2869
|
+
if (md->cb.doc_header)
|
2870
|
+
md->cb.doc_header(ob, md->opaque);
|
2871
|
+
|
2872
|
+
if (text->size) {
|
2873
|
+
/* adding a final newline if not already present */
|
2874
|
+
if (text->data[text->size - 1] != '\n' && text->data[text->size - 1] != '\r')
|
2875
|
+
bufputc(text, '\n');
|
2876
|
+
|
2877
|
+
parse_block(ob, md, text->data, text->size);
|
2878
|
+
}
|
2879
|
+
|
2880
|
+
/* footnotes */
|
2881
|
+
if (footnotes_enabled)
|
2882
|
+
parse_footnote_list(ob, md, &md->footnotes_used);
|
2883
|
+
|
2884
|
+
if (md->cb.doc_footer)
|
2885
|
+
md->cb.doc_footer(ob, md->opaque);
|
2886
|
+
|
2887
|
+
/* Null-terminate the buffer */
|
2888
|
+
bufcstr(ob);
|
2889
|
+
|
2890
|
+
/* clean-up */
|
2891
|
+
bufrelease(text);
|
2892
|
+
free_link_refs(md->refs);
|
2893
|
+
if (footnotes_enabled) {
|
2894
|
+
free_footnote_list(&md->footnotes_found, 1);
|
2895
|
+
free_footnote_list(&md->footnotes_used, 0);
|
2896
|
+
}
|
2897
|
+
|
2898
|
+
assert(md->work_bufs[BUFFER_SPAN].size == 0);
|
2899
|
+
assert(md->work_bufs[BUFFER_BLOCK].size == 0);
|
2900
|
+
}
|
2901
|
+
|
2902
|
+
void
|
2903
|
+
sd_markdown_free(struct sd_markdown *md)
|
2904
|
+
{
|
2905
|
+
size_t i;
|
2906
|
+
|
2907
|
+
for (i = 0; i < (size_t)md->work_bufs[BUFFER_SPAN].asize; ++i)
|
2908
|
+
bufrelease(md->work_bufs[BUFFER_SPAN].item[i]);
|
2909
|
+
|
2910
|
+
for (i = 0; i < (size_t)md->work_bufs[BUFFER_BLOCK].asize; ++i)
|
2911
|
+
bufrelease(md->work_bufs[BUFFER_BLOCK].item[i]);
|
2912
|
+
|
2913
|
+
redcarpet_stack_free(&md->work_bufs[BUFFER_SPAN]);
|
2914
|
+
redcarpet_stack_free(&md->work_bufs[BUFFER_BLOCK]);
|
2915
|
+
|
2916
|
+
free(md);
|
2917
|
+
}
|