grape-extra_validators 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +6 -0
- data/CODE_OF_CONDUCT.md +58 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +119 -0
- data/LICENSE +15 -0
- data/README.md +162 -0
- data/Rakefile +8 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/coverage/assets/0.10.2/application.css +799 -0
- data/coverage/assets/0.10.2/application.js +1707 -0
- data/coverage/assets/0.10.2/colorbox/border.png +0 -0
- data/coverage/assets/0.10.2/colorbox/controls.png +0 -0
- data/coverage/assets/0.10.2/colorbox/loading.gif +0 -0
- data/coverage/assets/0.10.2/colorbox/loading_background.png +0 -0
- data/coverage/assets/0.10.2/favicon_green.png +0 -0
- data/coverage/assets/0.10.2/favicon_red.png +0 -0
- data/coverage/assets/0.10.2/favicon_yellow.png +0 -0
- data/coverage/assets/0.10.2/loading.gif +0 -0
- data/coverage/assets/0.10.2/magnify.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/index.html +4412 -0
- data/grape-extra_validators.gemspec +35 -0
- data/lib/grape/extra_validators.rb +5 -0
- data/lib/grape/extra_validators/end_with.rb +31 -0
- data/lib/grape/extra_validators/length.rb +32 -0
- data/lib/grape/extra_validators/maximum_length.rb +25 -0
- data/lib/grape/extra_validators/maximum_value.rb +26 -0
- data/lib/grape/extra_validators/minimum_length.rb +25 -0
- data/lib/grape/extra_validators/minimum_value.rb +26 -0
- data/lib/grape/extra_validators/start_with.rb +31 -0
- data/lib/grape/extra_validators/version.rb +7 -0
- data/pkg/grape-extra_validators-1.0.0.gem +0 -0
- data/spec/grape/extra_validators/end_with_spec.rb +72 -0
- data/spec/grape/extra_validators/length_spec.rb +98 -0
- data/spec/grape/extra_validators/maximum_length_spec.rb +49 -0
- data/spec/grape/extra_validators/maximum_value_spec.rb +49 -0
- data/spec/grape/extra_validators/minimum_length_spec.rb +49 -0
- data/spec/grape/extra_validators/minimum_value_spec.rb +49 -0
- data/spec/grape/extra_validators/start_with_spec.rb +72 -0
- data/spec/grape/extra_validators/version_spec.rb +7 -0
- data/spec/spec_helper.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/bin/htmldiff +29 -0
- data/vendor/bundle/ruby/2.4.0/bin/ldiff +29 -0
- data/vendor/bundle/ruby/2.4.0/bin/rackup +27 -0
- data/vendor/bundle/ruby/2.4.0/bin/rake +27 -0
- data/vendor/bundle/ruby/2.4.0/bin/rspec +27 -0
- data/vendor/bundle/ruby/2.4.0/bin/rubocop +27 -0
- data/vendor/bundle/ruby/2.4.0/bin/ruby-parse +27 -0
- data/vendor/bundle/ruby/2.4.0/bin/ruby-rewrite +27 -0
- data/vendor/bundle/ruby/2.4.0/cache/activesupport-5.2.4.1.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/ansi-1.5.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/ast-2.4.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/axiom-types-0.1.1.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/builder-3.2.4.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/codecov-0.1.16.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/coercible-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/concurrent-ruby-1.1.5.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/descendants_tracker-0.0.4.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/docile-1.3.2.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/equalizer-0.0.11.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/grape-1.2.5.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/i18n-1.8.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/ice_nine-0.11.2.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/jaro_winkler-1.5.4.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/json-2.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/minitest-5.13.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/mustermann-1.0.3.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/mustermann-grape-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/parallel-1.19.1.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/parser-2.7.0.2.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/rack-2.0.8.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/rack-accept-0.4.5.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/rack-test-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/rack-test-1.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/rainbow-3.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/rake-13.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/rspec-3.9.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/rspec-core-3.9.1.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/rspec-expectations-3.9.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/rspec-mocks-3.9.1.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/rspec-support-3.9.2.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/rubocop-0.79.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/ruby-progressbar-1.10.1.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/simplecov-0.17.1.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/simplecov-console-0.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/simplecov-html-0.10.2.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/terminal-table-1.8.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/thread_safe-0.3.6.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/tzinfo-1.2.6.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/unicode-display_width-1.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/url-0.3.2.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/virtus-1.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-darwin-19/2.4.0/jaro_winkler-1.5.4/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-darwin-19/2.4.0/jaro_winkler-1.5.4/gem_make.out +18 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-darwin-19/2.4.0/jaro_winkler-1.5.4/jaro_winkler/jaro_winkler_ext.bundle +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-darwin-19/2.4.0/json-2.3.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-darwin-19/2.4.0/json-2.3.0/gem_make.out +13 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-darwin-19/2.4.0/json-2.3.0/json/ext/generator.bundle +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-darwin-19/2.4.0/json-2.3.0/json/ext/parser.bundle +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-darwin-19/2.4.0/json-2.3.0/mkmf.log +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/CHANGELOG.md +642 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/README.rdoc +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support.rb +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/all.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/array_inquirer.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/backtrace_cleaner.rb +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/benchmarkable.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/builder.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/cache.rb +808 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/cache/file_store.rb +196 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/cache/mem_cache_store.rb +207 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/cache/memory_store.rb +169 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/cache/null_store.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/cache/redis_cache_store.rb +461 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/cache/strategy/local_cache.rb +194 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/cache/strategy/local_cache_middleware.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb +845 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/concern.rb +148 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/concurrency/share_lock.rb +227 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/configurable.rb +150 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/array.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/array/access.rb +92 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/array/conversions.rb +213 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/array/extract_options.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/array/grouping.rb +109 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/array/inquiry.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/array/prepend_and_append.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/array/wrap.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/benchmark.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/big_decimal.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/big_decimal/conversions.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/class.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/class/attribute.rb +146 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/class/attribute_accessors.rb +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/class/subclasses.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/date.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/date/acts_like.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/date/blank.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/date/calculations.rb +145 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/date/conversions.rb +96 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/date/zones.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/date_and_time/calculations.rb +374 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/date_and_time/compatibility.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/date_and_time/zones.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/date_time.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/date_time/acts_like.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/date_time/blank.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/date_time/calculations.rb +211 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/date_time/compatibility.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/date_time/conversions.rb +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/digest.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/digest/uuid.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/enumerable.rb +164 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/file.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/file/atomic.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/hash.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/hash/compact.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/hash/conversions.rb +263 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/hash/deep_merge.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/hash/except.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/hash/keys.rb +172 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/hash/reverse_merge.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/hash/slice.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/hash/transform_values.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/integer.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/integer/inflections.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/integer/multiple.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/integer/time.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/kernel.rb +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/kernel/agnostics.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/kernel/concern.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/kernel/reporting.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/kernel/singleton_class.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/load_error.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/marshal.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/module.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/module/aliasing.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/module/anonymous.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/module/attr_internal.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/module/attribute_accessors.rb +215 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +150 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/module/concerning.rb +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/module/delegation.rb +287 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/module/deprecation.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/module/introspection.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/module/reachable.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/module/redefine_method.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/module/remove_method.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/name_error.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/numeric.rb +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/numeric/bytes.rb +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/numeric/conversions.rb +140 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/numeric/inquiry.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/numeric/time.rb +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/object.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/object/acts_like.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/object/blank.rb +156 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/object/conversions.rb +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/object/deep_dup.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/object/duplicable.rb +156 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/object/inclusion.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/object/instance_variables.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/object/json.rb +227 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/object/to_param.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/object/to_query.rb +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/object/try.rb +148 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/object/with_options.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/range.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/range/compare_range.rb +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/range/conversions.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/range/each.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/range/include_range.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/range/include_time_with_zone.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/range/overlaps.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/regexp.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/securerandom.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/string.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/string/access.rb +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/string/behavior.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/string/conversions.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/string/exclude.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/string/filters.rb +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/string/indent.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/string/inflections.rb +254 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/string/inquiry.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/string/multibyte.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/string/output_safety.rb +258 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/string/starts_ends_with.rb +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/string/strip.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/string/zones.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/time.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/time/acts_like.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/time/calculations.rb +315 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/time/compatibility.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/time/conversions.rb +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/time/zones.rb +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/core_ext/uri.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/current_attributes.rb +195 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb +753 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/dependencies/autoload.rb +79 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/dependencies/interlock.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/deprecation.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/deprecation/behaviors.rb +109 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/deprecation/constant_accessor.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/deprecation/instance_delegator.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/deprecation/method_wrappers.rb +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/deprecation/proxy_wrappers.rb +154 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/deprecation/reporting.rb +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/descendants_tracker.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/digest.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/duration.rb +432 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/duration/iso8601_parser.rb +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/duration/iso8601_serializer.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/encrypted_configuration.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/encrypted_file.rb +99 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/evented_file_update_checker.rb +205 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/execution_wrapper.rb +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/executor.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/file_update_checker.rb +163 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/gem_version.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/gzip.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/hash_with_indifferent_access.rb +395 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/i18n.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/i18n_railtie.rb +118 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/inflections.rb +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/inflector.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/inflector/inflections.rb +260 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/inflector/methods.rb +410 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/inflector/transliterate.rb +118 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/json.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/json/decoding.rb +76 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/json/encoding.rb +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/key_generator.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/lazy_load_hooks.rb +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/locale/en.yml +135 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/log_subscriber.rb +112 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/log_subscriber/test_helper.rb +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/logger.rb +108 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/logger_silence.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/logger_thread_safe_level.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/message_encryptor.rb +229 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/message_verifier.rb +205 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/messages/metadata.rb +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/messages/rotation_configuration.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/messages/rotator.rb +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/multibyte.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/multibyte/chars.rb +235 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/multibyte/unicode.rb +394 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/notifications.rb +216 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/notifications/fanout.rb +159 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/notifications/instrumenter.rb +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/number_helper.rb +371 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/number_helper/number_converter.rb +184 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/number_helper/number_to_currency_converter.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/number_helper/number_to_delimited_converter.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/number_helper/number_to_human_converter.rb +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/number_helper/number_to_human_size_converter.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/number_helper/number_to_percentage_converter.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/number_helper/number_to_phone_converter.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/number_helper/number_to_rounded_converter.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/number_helper/rounding_helper.rb +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/option_merger.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/ordered_hash.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/ordered_options.rb +85 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/per_thread_registry.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/proxy_object.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/rails.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/railtie.rb +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/reloader.rb +131 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/rescuable.rb +174 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/security_utils.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/string_inquirer.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/subscriber.rb +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/tagged_logging.rb +79 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/test_case.rb +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/testing/assertions.rb +214 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/testing/autorun.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/testing/constant_lookup.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/testing/declarative.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/testing/deprecation.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/testing/file_fixtures.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/testing/isolation.rb +110 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/testing/method_call_assertions.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/testing/setup_and_teardown.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/testing/stream.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/testing/tagged_logging.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/testing/time_helpers.rb +200 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/time.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/time_with_zone.rb +551 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/values/time_zone.rb +565 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/version.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/xml_mini.rb +209 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/xml_mini/jdom.rb +183 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/xml_mini/libxml.rb +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/xml_mini/libxmlsax.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/xml_mini/nokogiri.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/xml_mini/nokogirisax.rb +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.4.1/lib/active_support/xml_mini/rexml.rb +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/DEMO.md +451 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/HISTORY.md +217 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/LICENSE.txt +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/NOTICE.md +170 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/README.md +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/demo/01_ansicode.md +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/demo/02_core.md +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/demo/03_logger.md +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/demo/04_progressbar.md +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/demo/05_mixin.md +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/demo/06_string.md +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/demo/07_columns.md +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/demo/08_table.md +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/demo/09_diff.md +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/demo/10_bbcode.md +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/demo/11_terminal.md +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/demo/applique/ae.rb +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/demo/applique/output.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi.yml +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/bbcode.rb +334 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/chain.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/chart.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/code.rb +349 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/columns.rb +197 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/constants.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/core.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/diff.rb +215 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/hexdump.rb +122 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/logger.rb +211 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/mixin.rb +121 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/progressbar.rb +292 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/string.rb +254 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/table.rb +179 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/terminal.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/terminal/curses.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/terminal/stty.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/terminal/termios.rb +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/terminal/win32.rb +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/lib/ansi/version.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/test/case_ansicode.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/test/case_bbcode.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/test/case_mixin.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/test/case_progressbar.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/ansi-1.5.0/test/test_helper.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/ast-2.4.0/CHANGELOG.md +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/ast-2.4.0/Gemfile +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/ast-2.4.0/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/ast-2.4.0/README.YARD.md +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/ast-2.4.0/README.md +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/ast-2.4.0/Rakefile +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/ast-2.4.0/ast.gemspec +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/ast-2.4.0/lib/ast.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/ast-2.4.0/lib/ast/node.rb +258 -0
- data/vendor/bundle/ruby/2.4.0/gems/ast-2.4.0/lib/ast/processor.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/ast-2.4.0/lib/ast/processor/mixin.rb +288 -0
- data/vendor/bundle/ruby/2.4.0/gems/ast-2.4.0/lib/ast/sexp.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/ast-2.4.0/test/helper.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/ast-2.4.0/test/test_ast.rb +271 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/CONTRIBUTING.md +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/Gemfile +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/Gemfile.devtools +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/Guardfile +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/LICENSE +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/README.md +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/Rakefile +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/TODO +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/axiom-types.gemspec +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/config/devtools.yml +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/config/flay.yml +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/config/flog.yml +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/config/mutant.yml +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/config/reek.yml +116 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/config/roodi.yml +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/config/rubocop.yml +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/config/yardstick.yml +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom-types.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types.rb +94 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/array.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/boolean.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/class.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/collection.rb +147 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/date.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/date_time.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/decimal.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/encodable.rb +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/float.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/hash.rb +139 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/integer.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/length_comparable.rb +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/numeric.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/object.rb +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/set.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/string.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/support/infinity.rb +99 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/support/options.rb +132 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/symbol.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/time.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/type.rb +182 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/value_comparable.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/version.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/spec_helper.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/array/class_methods/infer_spec.rb +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/boolean/class_methods/infer_spec.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/class_methods/finalize_spec.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/class_methods/infer_spec.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/collection/class_methods/finalize_spec.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/collection/class_methods/infer_spec.rb +133 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/encodable/class_methods/extended_spec.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/encodable/finalize_spec.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/hash/class_methods/finalize_spec.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/hash/class_methods/infer_spec.rb +182 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/infinity/coerce_spec.rb +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/infinity/spaceship_operator_spec.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/infinity/succ_spec.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/length_comparable/class_methods/extended_spec.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/length_comparable/finalize_spec.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/length_comparable/range_spec.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/negative_infinity/spaceship_operator_spec.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/object/class_methods/coercion_method_spec.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/object/class_methods/finalize_spec.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/object/class_methods/infer_spec.rb +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/object/class_methods/inspect_spec.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/object/class_methods/primitive_spec.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/options/accept_options_spec.rb +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/options/inherited_spec.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/set/class_methods/infer_spec.rb +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/type/class_methods/anonymous_predicate_spec.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/type/class_methods/base_predicate_spec.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/type/class_methods/base_spec.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/type/class_methods/constraint_spec.rb +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/type/class_methods/finalize_spec.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/type/class_methods/include_predicate_spec.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/type/class_methods/includes_spec.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/type/class_methods/infer_spec.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/type/class_methods/new_spec.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/value_comparable/class_methods/extended_spec.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/value_comparable/finalize_spec.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/spec/unit/axiom/types/value_comparable/range_spec.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/CHANGES +119 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/README.md +258 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/Rakefile +194 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/builder.blurb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/builder.gemspec +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/doc/releases/builder-1.2.4.rdoc +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/doc/releases/builder-2.0.0.rdoc +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/lib/blankslate.rb +138 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/lib/builder.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/lib/builder/blankslate.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/lib/builder/version.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/lib/builder/xchar.rb +198 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/lib/builder/xmlbase.rb +200 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/lib/builder/xmlevents.rb +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/lib/builder/xmlmarkup.rb +345 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/rakelib/publish.rake +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/rakelib/tags.rake +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/rakelib/testing.rake +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/test/helper.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/test/performance.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/test/preload.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/test/test_blankslate.rb +208 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/test/test_eventbuilder.rb +151 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/test/test_markupbuilder.rb +617 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/test/test_method_caching.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/test/test_namecollision.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/builder-3.2.4/test/test_xchar.rb +85 -0
- data/vendor/bundle/ruby/2.4.0/gems/codecov-0.1.16/lib/codecov.rb +396 -0
- data/vendor/bundle/ruby/2.4.0/gems/codecov-0.1.16/test/test_codecov.rb +488 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/Changelog.md +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/Gemfile +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/Gemfile.devtools +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/Guardfile +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/README.md +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/Rakefile +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/coercible.gemspec +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/config/flay.yml +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/config/flog.yml +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/config/mutant.yml +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/config/roodi.yml +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/config/site.reek +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/coercer.rb +136 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/coercer/array.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/coercer/configurable.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/coercer/date.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/coercer/date_time.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/coercer/decimal.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/coercer/false_class.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/coercer/float.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/coercer/hash.rb +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/coercer/integer.rb +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/coercer/numeric.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/coercer/object.rb +187 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/coercer/string.rb +256 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/coercer/symbol.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/coercer/time.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/coercer/time_coercions.rb +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/coercer/true_class.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/configuration.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/coercible/version.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/support/options.rb +124 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/lib/support/type_lookup.rb +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/integration/configuring_coercers_spec.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/shared/unit/coerced_predicate.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/shared/unit/configurable.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/spec_helper.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/array/coerced_predicate_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/array/to_set_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/class_methods/new_spec.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/configurable/config_name_spec.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/configurable/config_spec.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/date/coerced_predicate_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/date/to_date_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/date/to_datetime_spec.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/date/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/date/to_time_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/date_time/coerced_predicate_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/date_time/to_date_spec.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/date_time/to_datetime_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/date_time/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/date_time/to_time_spec.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/decimal/coerced_predicate_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/decimal/to_decimal_spec.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/decimal/to_float_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/decimal/to_integer_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/decimal/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/element_reader_spec.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/false_class/coerced_predicate_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/false_class/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/float/coerced_predicate_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/float/to_datetime_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/float/to_decimal_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/float/to_float_spec.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/float/to_integer_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/float/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/hash/coerced_predicate_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/hash/to_date_spec.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/hash/to_datetime_spec.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/hash/to_time_spec.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/integer/coerced_predicate_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/integer/datetime_format_spec.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/integer/datetime_proc_spec.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/integer/to_boolean_spec.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/integer/to_datetime_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/integer/to_decimal_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/integer/to_float_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/integer/to_integer_spec.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/integer/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/integer_spec.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/numeric/to_decimal_spec.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/numeric/to_float_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/numeric/to_integer_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/numeric/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/object/coerced_predicate_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/object/inspect_spec.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/object/method_missing_spec.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/object/to_array_spec.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/object/to_hash_spec.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/object/to_integer_spec.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/object/to_string_spec.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/string/class_methods/config_spec.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/string/coerced_predicate_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/string/to_boolean_spec.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/string/to_constant_spec.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/string/to_date_spec.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/string/to_datetime_spec.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/string/to_decimal_spec.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/string/to_float_spec.rb +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/string/to_integer_spec.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/string/to_symbol_spec.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/string/to_time_spec.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/string_spec.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/symbol/coerced_predicate_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/symbol/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/time/coerced_predicate_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/time/to_integer_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/time/to_time_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/time_coercions/to_date_spec.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/time_coercions/to_datetime_spec.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/time_coercions/to_string_spec.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/time_coercions/to_time_spec.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/true_class/coerced_predicate_spec.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/coercer/true_class/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/coercible-1.0.0/spec/unit/coercible/configuration/class_methods/build_spec.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/CHANGELOG.md +478 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/Gemfile +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/README.md +381 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/Rakefile +327 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/ConcurrentRubyService.java +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/AtomicReferenceLibrary.java +175 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/JRubyMapBackendLibrary.java +248 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicBooleanLibrary.java +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java +159 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/SynchronizationLibrary.java +307 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent-ruby.rb +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent.rb +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/agent.rb +587 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/array.rb +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/async.rb +459 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atom.rb +222 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/abstract_thread_local_var.rb +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/atomic_boolean.rb +126 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/atomic_fixnum.rb +143 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/atomic_markable_reference.rb +164 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/atomic_reference.rb +204 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/count_down_latch.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/cyclic_barrier.rb +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/event.rb +109 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/java_count_down_latch.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/java_thread_local_var.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/mutex_atomic_boolean.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/mutex_count_down_latch.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/mutex_semaphore.rb +115 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/read_write_lock.rb +254 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/reentrant_read_write_lock.rb +379 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/ruby_thread_local_var.rb +161 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/semaphore.rb +145 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/thread_local_var.rb +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic_reference/mutex_atomic.rb +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomics.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/lock_free_stack.rb +158 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/non_concurrent_map_backend.rb +140 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/synchronized_map_backend.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +150 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/deprecation.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/logging.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/obligation.rb +220 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/observable.rb +110 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concurrent_ruby.jar +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/configuration.rb +184 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/constants.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/dataflow.rb +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/delay.rb +199 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/errors.rb +69 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/exchanger.rb +352 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/abstract_executor_service.rb +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/executor_service.rb +185 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/fixed_thread_pool.rb +206 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/java_executor_service.rb +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/java_single_thread_executor.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/java_thread_pool_executor.rb +123 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_executor_service.rb +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_single_thread_executor.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb +362 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/simple_executor_service.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/single_thread_executor.rb +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/thread_pool_executor.rb +87 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/timer_set.rb +173 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executors.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/future.rb +141 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/hash.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/immutable_struct.rb +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/ivar.rb +207 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/map.rb +337 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/maybe.rb +229 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/mutable_struct.rb +229 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/mvar.rb +242 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/options.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/promise.rb +579 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/promises.rb +2167 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/re_include.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/scheduled_task.rb +318 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/set.rb +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/settable_struct.rb +129 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/abstract_lockable_object.rb +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/abstract_object.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/abstract_struct.rb +160 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/condition.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/jruby_lockable_object.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/jruby_object.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/lock.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/lockable_object.rb +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/mri_object.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/mutex_lockable_object.rb +76 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/object.rb +183 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/rbx_lockable_object.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/rbx_object.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/truffleruby_object.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/volatile.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/synchronized_delegator.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/data_structures.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/striped64.rb +246 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/timer_task.rb +334 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/tuple.rb +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/tvar.rb +258 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/at_exit.rb +97 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/engine.rb +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/monotonic_time.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/native_extension_loader.rb +79 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/native_integer.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/processor_counter.rb +158 -0
- data/vendor/bundle/ruby/2.4.0/gems/concurrent-ruby-1.1.5/lib/concurrent/version.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/CONTRIBUTING.md +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/Gemfile +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/Gemfile.devtools +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/Guardfile +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/LICENSE +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/README.md +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/Rakefile +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/TODO +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/config/devtools.yml +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/config/flay.yml +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/config/flog.yml +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/config/mutant.yml +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/config/reek.yml +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/config/rubocop.yml +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/config/yardstick.yml +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/descendants_tracker.gemspec +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/lib/descendants_tracker.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/lib/descendants_tracker/version.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/spec/rcov.opts +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/spec/spec.opts +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/spec/spec_helper.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/spec/support/config_alias.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/spec/unit/descendants_tracker/add_descendant_spec.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/spec/unit/descendants_tracker/descendants_spec.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/spec/unit/descendants_tracker/inherited_spec.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/Code-of-Conduct.md +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/Contributing.md +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/History.md +220 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/License.md +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/Manifest.txt +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/README.rdoc +84 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/Rakefile +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/autotest/discover.rb +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/bin/htmldiff +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/bin/ldiff +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/lib/diff/lcs.rb +725 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +181 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +307 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +167 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/spec/change_spec.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/spec/diff_spec.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/spec/issues_spec.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/spec/ldiff_spec.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/spec/patch_spec.rb +422 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/spec/spec_helper.rb +321 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/2.4.0/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundle/ruby/2.4.0/gems/docile-1.3.2/Gemfile +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/docile-1.3.2/HISTORY.md +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/docile-1.3.2/LICENSE +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/docile-1.3.2/README.md +381 -0
- data/vendor/bundle/ruby/2.4.0/gems/docile-1.3.2/Rakefile +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/docile-1.3.2/docile.gemspec +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/docile-1.3.2/lib/docile.rb +123 -0
- data/vendor/bundle/ruby/2.4.0/gems/docile-1.3.2/lib/docile/chaining_fallback_context_proxy.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/docile-1.3.2/lib/docile/execution.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/docile-1.3.2/lib/docile/fallback_context_proxy.rb +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/docile-1.3.2/lib/docile/version.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/docile-1.3.2/on_what.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/CONTRIBUTING.md +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/Gemfile +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/LICENSE +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/README.md +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/Rakefile +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/config/devtools.yml +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/config/flay.yml +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/config/flog.yml +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/config/mutant.yml +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/config/reek.yml +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/config/rubocop.yml +115 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/config/yardstick.yml +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/equalizer.gemspec +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/lib/equalizer.rb +121 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/lib/equalizer/version.rb +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/spec/spec_helper.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/spec/support/config_alias.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/spec/unit/equalizer/included_spec.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/spec/unit/equalizer/methods/eql_predicate_spec.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/spec/unit/equalizer/methods/equality_operator_spec.rb +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/equalizer-0.0.11/spec/unit/equalizer/universal_spec.rb +157 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/CHANGELOG.md +740 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/CONTRIBUTING.md +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/LICENSE +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/README.md +3868 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/UPGRADING.md +1037 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/grape.gemspec +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/grape.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape.rb +248 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/api.rb +194 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/api/helpers.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/api/instance.rb +280 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/config.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/cookies.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/dsl/api.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/dsl/callbacks.rb +69 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/dsl/configuration.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/dsl/desc.rb +133 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/dsl/headers.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/dsl/helpers.rb +101 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/dsl/inside_route.rb +391 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/dsl/logger.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/dsl/middleware.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/dsl/parameters.rb +256 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/dsl/request_response.rb +171 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/dsl/routing.rb +226 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/dsl/settings.rb +179 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/dsl/validations.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/eager_load.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/endpoint.rb +412 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/error_formatter.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/error_formatter/base.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/error_formatter/json.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/error_formatter/txt.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/error_formatter/xml.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/base.rb +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/incompatible_option_values.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/invalid_accept_header.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/invalid_formatter.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/invalid_message_body.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/invalid_response.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/invalid_version_header.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/invalid_versioner_option.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/invalid_with_option_for_represent.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/method_not_allowed.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/missing_group_type.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/missing_mime_type.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/missing_option.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/missing_vendor_option.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/unknown_options.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/unknown_parameter.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/unknown_validator.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/unsupported_group_type.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/validation.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/validation_array_errors.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/validation_errors.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/extensions/active_support/hash_with_indifferent_access.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/extensions/deep_hash_with_indifferent_access.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/extensions/deep_mergeable_hash.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/extensions/deep_symbolize_hash.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/extensions/hash.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/extensions/hashie/mash.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/formatter.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/formatter/json.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/formatter/serializable_hash.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/formatter/txt.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/formatter/xml.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/http/headers.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/locale/en.yml +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/middleware/auth/base.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/middleware/auth/dsl.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/middleware/auth/strategies.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/middleware/auth/strategy_info.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/middleware/base.rb +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/middleware/error.rb +139 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/middleware/filter.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/middleware/formatter.rb +177 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/middleware/globals.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/middleware/helpers.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/middleware/stack.rb +110 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/middleware/versioner.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/middleware/versioner/accept_version_header.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/middleware/versioner/header.rb +198 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/middleware/versioner/param.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/middleware/versioner/parse_media_type_patch.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/middleware/versioner/path.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/namespace.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/parser.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/parser/json.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/parser/xml.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/path.rb +85 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/presenters/presenter.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/request.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/router.rb +170 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/router/attribute_translator.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/router/pattern.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/router/route.rb +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/serve_file/file_body.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/serve_file/file_response.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/serve_file/sendfile_response.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/util/base_inheritable.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/util/content_types.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/util/endpoint_configuration.rb +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/util/env.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/util/inheritable_setting.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/util/inheritable_values.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/util/json.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/util/lazy_block.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/util/lazy_value.rb +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/util/registrable.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/util/reverse_stackable_values.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/util/stackable_values.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/util/strict_hash_configuration.rb +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/util/xml.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/attributes_iterator.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/multiple_attributes_iterator.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/params_scope.rb +454 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/single_attribute_iterator.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/types.rb +173 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/types/build_coercer.rb +96 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/types/custom_type_coercer.rb +199 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/types/custom_type_collection_coercer.rb +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/types/file.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/types/json.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/types/multiple_type_coercer.rb +76 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/types/variant_collection_coercer.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/types/virtus_collection_patch.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/validator_factory.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/validators/all_or_none.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/validators/allow_blank.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/validators/as.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/validators/at_least_one_of.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/validators/base.rb +87 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/validators/coerce.rb +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/validators/default.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/validators/exactly_one_of.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/validators/except_values.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/validators/multiple_params_base.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/validators/mutual_exclusion.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/validators/presence.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/validators/regexp.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/validators/same_as.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/validations/validators/values.rb +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/version.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api/custom_validations_spec.rb +183 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api/deeply_included_options_spec.rb +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api/defines_boolean_in_params_spec.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api/inherited_helpers_spec.rb +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api/invalid_format_spec.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api/namespace_parameters_in_route_spec.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api/nested_helpers_spec.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api/optional_parameters_in_route_spec.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api/parameters_modification_spec.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api/patch_method_helpers_spec.rb +79 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api/recognize_path_spec.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api/required_parameters_in_route_spec.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api/required_parameters_with_invalid_method_spec.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api/routes_with_requirements_spec.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api/shared_helpers_exactly_one_of_spec.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api/shared_helpers_spec.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api_remount_spec.rb +466 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/api_spec.rb +3961 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/config_spec.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/dsl/callbacks_spec.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/dsl/configuration_spec.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/dsl/desc_spec.rb +99 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/dsl/headers_spec.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/dsl/helpers_spec.rb +99 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/dsl/inside_route_spec.rb +384 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/dsl/logger_spec.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/dsl/middleware_spec.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/dsl/parameters_spec.rb +178 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/dsl/request_response_spec.rb +205 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/dsl/routing_spec.rb +272 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/dsl/settings_spec.rb +261 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/dsl/validations_spec.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/endpoint_spec.rb +1562 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/entity_spec.rb +329 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/exceptions/base_spec.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/exceptions/body_parse_errors_spec.rb +142 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/exceptions/invalid_accept_header_spec.rb +316 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/exceptions/invalid_formatter_spec.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/exceptions/invalid_response_spec.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/exceptions/invalid_versioner_option_spec.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/exceptions/missing_mime_type_spec.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/exceptions/missing_option_spec.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/exceptions/unknown_options_spec.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/exceptions/unknown_validator_spec.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/exceptions/validation_errors_spec.rb +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/exceptions/validation_spec.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/extensions/param_builders/hash_spec.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/extensions/param_builders/hash_with_indifferent_access_spec.rb +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/extensions/param_builders/hashie/mash_spec.rb +79 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/integration/global_namespace_function_spec.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/integration/rack_sendfile_spec.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/integration/rack_spec.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/loading_spec.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/middleware/auth/base_spec.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/middleware/auth/dsl_spec.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/middleware/auth/strategies_spec.rb +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/middleware/base_spec.rb +210 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/middleware/error_spec.rb +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/middleware/exception_spec.rb +344 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/middleware/formatter_spec.rb +435 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/middleware/globals_spec.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/middleware/stack_spec.rb +143 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/middleware/versioner/accept_version_header_spec.rb +121 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/middleware/versioner/header_spec.rb +328 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/middleware/versioner/param_spec.rb +165 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/middleware/versioner/path_spec.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/middleware/versioner_spec.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/named_api_spec.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/parser_spec.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/path_spec.rb +252 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/presenters/presenter_spec.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/request_spec.rb +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/util/inheritable_setting_spec.rb +241 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/util/inheritable_values_spec.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/util/reverse_stackable_values_spec.rb +131 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/util/stackable_values_spec.rb +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/util/strict_hash_configuration_spec.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/attributes_iterator_spec.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/instance_behaivour_spec.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/multiple_attributes_iterator_spec.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/params_scope_spec.rb +1127 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/single_attribute_iterator_spec.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/types_spec.rb +112 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/validators/all_or_none_spec.rb +168 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/validators/allow_blank_spec.rb +579 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/validators/at_least_one_of_spec.rb +211 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/validators/coerce_spec.rb +929 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/validators/default_spec.rb +299 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/validators/exactly_one_of_spec.rb +239 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/validators/except_values_spec.rb +191 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/validators/mutual_exclusion_spec.rb +220 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/validators/presence_spec.rb +272 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/validators/regexp_spec.rb +167 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/validators/same_as_spec.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/validators/values_spec.rb +649 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations/validators/zh-CN.yml +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/grape/validations_spec.rb +1611 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/integration/multi_json/json_spec.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/integration/multi_xml/xml_spec.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/shared/versioning_examples.rb +210 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/spec_helper.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/support/basic_auth_encode_helpers.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/support/content_type_helpers.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/support/endpoint_faker.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/support/file_streamer.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/support/integer_helpers.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/spec/support/versioned_helpers.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/README.md +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n.rb +414 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/backend.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/backend/base.rb +284 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/backend/cache.rb +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/backend/cache_file.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/backend/cascade.rb +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/backend/chain.rb +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/backend/fallbacks.rb +84 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/backend/flatten.rb +115 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/backend/gettext.rb +85 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/backend/interpolation_compiler.rb +123 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/backend/key_value.rb +206 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/backend/memoize.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/backend/metadata.rb +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/backend/pluralization.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/backend/simple.rb +109 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/backend/transliterator.rb +108 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/config.rb +165 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/core_ext/hash.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/exceptions.rb +111 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/gettext.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/gettext/helpers.rb +75 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/interpolate/ruby.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/locale.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/locale/fallbacks.rb +97 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/locale/tag.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/locale/tag/parents.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/middleware.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/tests.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/tests/basics.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/tests/defaults.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/tests/interpolation.rb +163 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/tests/link.rb +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/tests/localization.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/tests/localization/date.rb +117 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/tests/localization/date_time.rb +103 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/tests/localization/procs.rb +116 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/tests/localization/time.rb +103 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/tests/lookup.rb +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/tests/procs.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/i18n-1.8.0/lib/i18n/version.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/CONTRIBUTING.md +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/Gemfile +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/Gemfile.devtools +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/Guardfile +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/LICENSE +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/README.md +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/Rakefile +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/TODO +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/benchmarks/speed.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/config/devtools.yml +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/config/flay.yml +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/config/flog.yml +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/config/mutant.yml +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/config/reek.yml +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/config/roodi.yml +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/config/rubocop.yml +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/config/yardstick.yml +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/ice_nine.gemspec +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/core_ext/object.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer.rb +109 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/array.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/false_class.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/hash.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/hash/state.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/module.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/nil_class.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/no_freeze.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/numeric.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/object.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/range.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/rubinius.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/struct.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/symbol.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/true_class.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/support/recursion_guard.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/lib/ice_nine/version.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/integration/ice_nine/class_methods/deep_freeze_bang_spec.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/integration/ice_nine/class_methods/deep_freeze_spec.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/shared/array_deep_freeze.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/shared/hash_deep_freeze.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/shared/ice_nine_deep_freeze.rb +262 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/shared/no_freeze_deep_freeze.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/shared/object_deep_freeze.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/shared/range_deep_freeze.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/spec_helper.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/support/config_alias.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/class_methods/deep_freeze_bang_spec.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/class_methods/deep_freeze_spec.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/core_ext/object/deep_freeze_bang_spec.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/core_ext/object/deep_freeze_spec.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/array/class_methods/deep_freeze_spec.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/class_methods/element_reader_spec.rb +138 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/false_class/class_methods/deep_freeze_spec.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/hash/class_methods/deep_freeze_spec.rb +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/module/class_methods/deep_freeze_spec.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/nil_class/class_methods/deep_freeze_spec.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/no_freeze/class_methods/deep_freeze_spec.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/numeric/class_methods/deep_freeze_spec.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/object/class_methods/deep_freeze_spec.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/range/class_methods/deep_freeze_spec.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/struct/class_methods/deep_freeze_spec.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/symbol/class_methods/deep_freeze_spec.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/true_class/class_methods/deep_freeze_spec.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/recursion_guard/frozen/guard_spec.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/recursion_guard/object_set/guard_spec.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/unit/object/deep_freeze_spec.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +265 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/adj_matrix.c +97 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/adj_matrix.h +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/adj_matrix.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/codepoints.c +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/codepoints.h +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/codepoints.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/extconf.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro.c +121 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro.h +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler.c +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler_ext.bundle +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/jaro_winkler_ext.bundle +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/jaro_winkler_pure.rb +135 -0
- data/vendor/bundle/ruby/2.4.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/version.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/CHANGES.md +391 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/Gemfile +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/LICENSE +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/README-json-jruby.md +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/README.md +409 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/Rakefile +413 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/VERSION +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/Makefile +200 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/ext/fbuffer/fbuffer.h +187 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/ext/generator/Makefile +266 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/ext/generator/depend +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/ext/generator/extconf.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/ext/generator/generator.bundle +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/ext/generator/generator.c +1499 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/ext/generator/generator.h +171 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/ext/parser/Makefile +266 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/ext/parser/depend +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/ext/parser/extconf.rb +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/ext/parser/parser.bundle +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/ext/parser/parser.c +2136 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/ext/parser/parser.h +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/ext/parser/parser.rl +896 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/ext/json/extconf.rb +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/install.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/java/src/json/ext/ByteListTranscoder.java +166 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/java/src/json/ext/Generator.java +466 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/java/src/json/ext/GeneratorMethods.java +231 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/java/src/json/ext/GeneratorService.java +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/java/src/json/ext/GeneratorState.java +490 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/java/src/json/ext/OptionsReader.java +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/java/src/json/ext/Parser.java +2362 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/java/src/json/ext/Parser.rl +893 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/java/src/json/ext/ParserService.java +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/java/src/json/ext/RuntimeInfo.java +116 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/java/src/json/ext/StringDecoder.java +166 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/java/src/json/ext/StringEncoder.java +111 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/java/src/json/ext/Utils.java +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/json-java.gemspec +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/json.gemspec +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/json_pure.gemspec +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/add/bigdecimal.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/add/complex.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/add/core.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/add/date.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/add/date_time.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/add/exception.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/add/ostruct.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/add/range.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/add/rational.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/add/regexp.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/add/set.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/add/struct.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/add/symbol.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/add/time.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/common.rb +456 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/ext.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/ext/generator.bundle +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/ext/parser.bundle +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/generic_object.rb +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/pure.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/pure/generator.rb +459 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/pure/parser.rb +319 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/lib/json/version.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/references/rfc7159.txt +899 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail10.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail11.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail12.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail13.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail14.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail18.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail19.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail2.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail20.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail21.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail22.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail23.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail24.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail25.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail27.json +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail28.json +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail3.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail4.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail5.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail6.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail7.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail8.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/fail9.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/obsolete_fail1.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/pass1.json +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/pass15.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/pass16.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/pass17.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/pass2.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/pass26.json +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/fixtures/pass3.json +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/json_addition_test.rb +203 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/json_common_interface_test.rb +126 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/json_encoding_test.rb +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/json_ext_parser_test.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/json_fixtures_test.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/json_generator_test.rb +421 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/json_generic_object_test.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/json_parser_test.rb +472 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/json_string_matching_test.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tests/test_helper.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tools/diff.sh +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tools/fuzz.rb +131 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.3.0/tools/server.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/History.rdoc +1367 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/Manifest.txt +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/README.rdoc +763 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/Rakefile +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/design_rationale.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/lib/hoe/minitest.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/lib/minitest.rb +1056 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/lib/minitest/assertions.rb +794 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/lib/minitest/autorun.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/lib/minitest/benchmark.rb +455 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/lib/minitest/expectations.rb +302 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/lib/minitest/hell.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/lib/minitest/mock.rb +240 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/lib/minitest/parallel.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/lib/minitest/spec.rb +342 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/lib/minitest/test.rb +220 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/lib/minitest/unit.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/test/minitest/metametameta.rb +117 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/test/minitest/test_minitest_assertions.rb +1437 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/test/minitest/test_minitest_mock.rb +872 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/test/minitest/test_minitest_reporter.rb +299 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/test/minitest/test_minitest_spec.rb +1041 -0
- data/vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/test/minitest/test_minitest_test.rb +1080 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/LICENSE +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/README.md +853 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/bench/capturing.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/bench/regexp.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/bench/simple_vs_sinatra.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/bench/template_vs_addressable.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann.rb +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/ast/boundaries.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/ast/compiler.rb +159 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/ast/expander.rb +144 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/ast/node.rb +222 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/ast/param_scanner.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/ast/parser.rb +234 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/ast/pattern.rb +136 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/ast/template_generator.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/ast/transformer.rb +179 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/ast/translator.rb +126 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/ast/validation.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/caster.rb +109 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/composite.rb +112 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/concat.rb +136 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/equality_map.rb +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/error.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/expander.rb +209 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/extension.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/identity.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/mapper.rb +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/pattern.rb +398 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/pattern_cache.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/regexp.rb +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/regexp_based.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/regular.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/simple_match.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/sinatra.rb +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/sinatra/parser.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/sinatra/safe_renderer.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/sinatra/try_convert.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/to_pattern.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/lib/mustermann/version.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/mustermann.gemspec +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/spec/ast_spec.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/spec/composite_spec.rb +163 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/spec/concat_spec.rb +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/spec/equality_map_spec.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/spec/expander_spec.rb +121 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/spec/extension_spec.rb +297 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/spec/identity_spec.rb +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/spec/mapper_spec.rb +84 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/spec/mustermann_spec.rb +84 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/spec/pattern_spec.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/spec/regexp_based_spec.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/spec/regular_spec.rb +119 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/spec/simple_match_spec.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/spec/sinatra_spec.rb +836 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-1.0.3/spec/to_pattern_spec.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-grape-1.0.0/Gemfile +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-grape-1.0.0/Gemfile.lock +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-grape-1.0.0/README.md +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-grape-1.0.0/Rakefile +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-grape-1.0.0/lib/mustermann/grape.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-grape-1.0.0/lib/mustermann/grape/version.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-grape-1.0.0/mustermann-grape.gemspec +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/mustermann-grape-1.0.0/spec/grape_spec.rb +752 -0
- data/vendor/bundle/ruby/2.4.0/gems/parallel-1.19.1/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/parallel-1.19.1/lib/parallel.rb +523 -0
- data/vendor/bundle/ruby/2.4.0/gems/parallel-1.19.1/lib/parallel/processor_count.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/parallel-1.19.1/lib/parallel/version.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/CHANGELOG.md +1043 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/CONTRIBUTING.md +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/Gemfile +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/LICENSE.txt +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/README.md +308 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/Rakefile +166 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/bin/ruby-parse +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/bin/ruby-rewrite +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/ci/run_rubocop_specs +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/doc/AST_FORMAT.md +2142 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/doc/CUSTOMIZATION.md +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/doc/INTERNALS.md +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/doc/css/common.css +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/gauntlet_parser.rb +123 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser.rb +84 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/all.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ast/node.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ast/processor.rb +279 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/base.rb +289 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/builders/default.rb +1974 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/clobbering_error.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/color.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/context.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/current.rb +92 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/current_arg_stack.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/deprecation.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/diagnostic.rb +163 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/diagnostic/engine.rb +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/lexer.rb +23737 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/lexer.rl +2536 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/lexer/dedenter.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/lexer/explanation.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/lexer/literal.rb +269 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/lexer/stack_state.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/macruby.rb +6124 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/macruby.y +2198 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/max_numparam_stack.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/messages.rb +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/meta.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/rewriter.rb +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby18.rb +5661 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby18.y +1934 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby19.rb +6084 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby19.y +2175 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby20.rb +6511 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby20.y +2353 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby21.rb +6570 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby21.y +2357 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby22.rb +6605 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby22.y +2364 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby23.rb +6624 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby23.y +2370 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby24.rb +6689 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby24.y +2408 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby25.rb +6656 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby25.y +2405 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby26.rb +6670 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby26.y +2413 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby27.rb +7749 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/ruby27.y +2923 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/rubymotion.rb +6078 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/rubymotion.y +2182 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/runner.rb +253 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/runner/ruby_parse.rb +157 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/runner/ruby_rewrite.rb +101 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/buffer.rb +330 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/comment.rb +121 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/comment/associator.rb +210 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/map.rb +186 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/map/collection.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/map/condition.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/map/constant.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/map/definition.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/map/for.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/map/heredoc.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/map/index.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/map/keyword.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/map/objc_kwarg.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/map/operator.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/map/rescue_body.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/map/send.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/map/ternary.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/map/variable.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/range.rb +310 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/rewriter.rb +513 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/rewriter/action.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/tree_rewriter.rb +301 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/tree_rewriter/action.rb +133 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/static_environment.rb +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/syntax_error.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/tree_rewriter.rb +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/variables_stack.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/version.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/parser.gemspec +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/bug_163/fixtures/input.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/bug_163/fixtures/output.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/bug_163/rewriter.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/helper.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/parse_helper.rb +319 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/racc_coverage_helper.rb +133 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_base.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_current.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_diagnostic.rb +96 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_diagnostic_engine.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_encoding.rb +99 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_lexer.rb +3608 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_lexer_stack_state.rb +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_parse_helper.rb +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_parser.rb +9309 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_runner_parse.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_runner_rewrite.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_source_buffer.rb +162 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_source_comment.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_source_comment_associator.rb +367 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_source_map.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_source_range.rb +172 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_source_rewriter.rb +541 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_source_rewriter_action.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_source_tree_rewriter.rb +173 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/test_static_environment.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/using_tree_rewriter/fixtures/input.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/using_tree_rewriter/fixtures/output.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/test/using_tree_rewriter/using_tree_rewriter.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/COPYING +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/HISTORY.md +505 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/README.rdoc +302 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/Rakefile +116 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/SPEC +264 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/bin/rackup +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/contrib/rack.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/contrib/rack.svg +150 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/contrib/rack_logo.svg +164 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/contrib/rdoc.css +412 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/example/lobster.ru +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/example/protectedlobster.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/example/protectedlobster.ru +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack.rb +147 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/auth/abstract/handler.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/auth/abstract/request.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/auth/basic.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/auth/digest/md5.rb +129 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/auth/digest/nonce.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/auth/digest/params.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/auth/digest/request.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/body_proxy.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/builder.rb +164 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/cascade.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/chunked.rb +69 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/common_logger.rb +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/conditional_get.rb +79 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/config.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/content_length.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/content_type.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/deflater.rb +119 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/directory.rb +179 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/etag.rb +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/events.rb +154 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/file.rb +176 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/handler.rb +99 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/handler/cgi.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/handler/fastcgi.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/handler/lsws.rb +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/handler/scgi.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/handler/thin.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/handler/webrick.rb +120 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/head.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/lint.rb +760 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/lobster.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/lock.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/logger.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/media_type.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/method_override.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/mime.rb +677 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/mock.rb +196 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/multipart.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/multipart/generator.rb +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/multipart/parser.rb +366 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/multipart/uploaded_file.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/null_logger.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/query_parser.rb +192 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/recursive.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/reloader.rb +110 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/request.rb +500 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/response.rb +235 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/rewindable_input.rb +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/runtime.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/sendfile.rb +158 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/server.rb +395 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/session/abstract/id.rb +510 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/session/cookie.rb +204 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/session/memcache.rb +99 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/session/pool.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/show_exceptions.rb +386 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/show_status.rb +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/static.rb +175 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/tempfile_reaper.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/urlmap.rb +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/lib/rack/utils.rb +620 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/rack.gemspec +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/builder/an_underscore_app.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/builder/anything.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/builder/comment.ru +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/builder/end.ru +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/builder/line.ru +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/builder/options.ru +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/cgi/assets/folder/test.js +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/cgi/assets/fonts/font.eot +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/cgi/assets/images/image.png +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/cgi/assets/index.html +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/cgi/assets/javascripts/app.js +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/cgi/assets/stylesheets/app.css +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/cgi/lighttpd.conf +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/cgi/rackup_stub.rb +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/cgi/sample_rackup.ru +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/cgi/test +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/cgi/test+directory/test+file +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/cgi/test.fcgi +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/cgi/test.gz +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/cgi/test.ru +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/gemloader.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/helper.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/bad_robots +259 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/binary +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/content_type_and_no_filename +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/empty +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/fail_16384_nofile +814 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/file1.txt +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/filename_and_modification_param +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/filename_and_no_name +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/filename_with_encoded_words +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/filename_with_escaped_quotes +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/filename_with_null_byte +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/filename_with_percent_escaped_quotes +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/filename_with_single_quote +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/filename_with_unescaped_percentages +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/filename_with_unescaped_percentages2 +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/filename_with_unescaped_percentages3 +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/filename_with_unescaped_quotes +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/ie +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/invalid_character +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/mixed_files +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/nested +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/none +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/quoted +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/rack-logo.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/semicolon +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/text +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/three_files_three_fields +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/unity3d_wwwform +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/multipart/webkit +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/rackup/config.ru +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/registering_handler/rack/handler/registering_myself.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_auth_basic.rb +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_auth_digest.rb +260 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_body_proxy.rb +85 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_builder.rb +233 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_cascade.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_cgi.rb +84 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_chunked.rb +103 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_common_logger.rb +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_conditional_get.rb +103 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_config.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_content_length.rb +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_content_type.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_deflater.rb +375 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_directory.rb +148 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_etag.rb +108 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_events.rb +133 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_fastcgi.rb +85 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_file.rb +264 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_handler.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_head.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_lint.rb +515 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_lobster.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_lock.rb +204 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_logger.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_media_type.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_method_override.rb +110 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_mime.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_mock.rb +359 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_multipart.rb +722 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_null_logger.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_recursive.rb +75 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_request.rb +1407 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_response.rb +510 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_rewindable_input.rb +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_runtime.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_sendfile.rb +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_server.rb +193 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_session_abstract_id.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_session_abstract_session_hash.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_session_cookie.rb +442 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_session_memcache.rb +357 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_session_pool.rb +247 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_show_exceptions.rb +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_show_status.rb +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_static.rb +184 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_tempfile_reaper.rb +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_thin.rb +96 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_urlmap.rb +237 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_utils.rb +742 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_version.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/spec_webrick.rb +206 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/static/another/index.html +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/static/foo.html +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/static/index.html +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/testrequest.rb +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-2.0.8/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/CHANGES +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/README.md +144 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/Rakefile +69 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/lib/rack/accept.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/lib/rack/accept/charset.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/lib/rack/accept/context.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/lib/rack/accept/encoding.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/lib/rack/accept/header.rb +147 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/lib/rack/accept/language.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/lib/rack/accept/media_type.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/lib/rack/accept/request.rb +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/lib/rack/accept/response.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/lib/rack/accept/version.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/rack-accept.gemspec +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/test/charset_test.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/test/context_test.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/test/encoding_test.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/test/header_test.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/test/helper.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/test/language_test.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/test/media_type_test.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-accept-0.4.5/test/request_test.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.0.0/History.md +243 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.0.0/MIT-LICENSE.txt +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.0.0/README.md +148 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.0.0/lib/rack/mock_session.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.0.0/lib/rack/test.rb +327 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.0.0/lib/rack/test/cookie_jar.rb +194 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.0.0/lib/rack/test/methods.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.0.0/lib/rack/test/mock_digest_request.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.0.0/lib/rack/test/uploaded_file.rb +85 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.0.0/lib/rack/test/utils.rb +144 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.0.0/lib/rack/test/version.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.1.0/History.md +256 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.1.0/MIT-LICENSE.txt +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.1.0/README.md +150 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.1.0/lib/rack/mock_session.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.1.0/lib/rack/test.rb +334 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.1.0/lib/rack/test/cookie_jar.rb +194 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.1.0/lib/rack/test/methods.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.1.0/lib/rack/test/mock_digest_request.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.1.0/lib/rack/test/uploaded_file.rb +85 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.1.0/lib/rack/test/utils.rb +144 -0
- data/vendor/bundle/ruby/2.4.0/gems/rack-test-1.1.0/lib/rack/test/version.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/Changelog.md +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/Gemfile +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/Guardfile +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/README.markdown +224 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/Rakefile +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/appveyor.yml +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/lib/rainbow.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/lib/rainbow/color.rb +143 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/lib/rainbow/ext/string.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/lib/rainbow/global.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/lib/rainbow/null_presenter.rb +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/lib/rainbow/presenter.rb +135 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/lib/rainbow/refinement.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/lib/rainbow/string_utils.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/lib/rainbow/version.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/lib/rainbow/wrapper.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/lib/rainbow/x11_color_names.rb +151 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/rainbow.gemspec +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/spec/integration/instance_spec.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/spec/integration/rainbow_spec.rb +157 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/spec/integration/refinement_spec.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/spec/integration/string_spec.rb +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/spec/integration/uncolor_spec.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/spec/spec_helper.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/spec/support/presenter_shared_examples.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/spec/unit/color_spec.rb +296 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/spec/unit/null_presenter_spec.rb +110 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/spec/unit/presenter_spec.rb +199 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/spec/unit/string_utils_spec.rb +94 -0
- data/vendor/bundle/ruby/2.4.0/gems/rainbow-3.0.0/spec/unit/wrapper_spec.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/CONTRIBUTING.rdoc +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/Gemfile +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/History.rdoc +2368 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/README.rdoc +155 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/Rakefile +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/bin/bundle +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/bin/console +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/bin/rake +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/bin/rdoc +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/bin/rubocop +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/bin/setup +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/exe/rake +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/application.rb +824 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/file_utils.rb +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/file_utils_ext.rb +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/packagetask.rb +222 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/task.rb +434 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/task_manager.rb +331 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/testtask.rb +224 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-13.0.1/rake.gemspec +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-3.9.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-3.9.0/README.md +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-3.9.0/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-3.9.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/Changelog.md +2274 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/LICENSE.md +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/README.md +384 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/exe/rspec +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core.rb +186 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/fork_runner.rb +135 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/server.rb +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/utilities.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration.rb +2336 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration_options.rb +233 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/did_you_mean.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/drb.rb +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb +656 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb +889 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters.rb +272 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/console_codes.rb +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/exception_presenter.rb +508 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/json_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb +632 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/invocations.rb +87 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/memoized_helpers.rb +554 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/metadata.rb +498 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/notifications.rb +521 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/option_parser.rb +316 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/ordering.rb +158 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/profiler.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/rake_task.rb +188 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/reporter.rb +265 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb +204 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/shared_example_group.rb +269 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.9.1/lib/rspec/core/world.rb +275 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/Changelog.md +1170 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/README.md +320 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/configuration.rb +215 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/expectation_target.rb +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/handler.rb +170 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers.rb +1038 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/all.rb +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be.rb +288 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/change.rb +428 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/compound.rb +276 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/contain_exactly.rb +302 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/has.rb +103 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/include.rb +149 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/output.rb +200 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/respond_to.rb +174 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/yield.rb +432 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/composable.rb +171 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/dsl.rb +534 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/Changelog.md +1133 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/README.md +463 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks.rb +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/chain.rb +111 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/recorder.rb +294 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_matchers.rb +322 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_expectation.rb +751 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_double.rb +287 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/proxy.rb +503 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/test_double.rb +171 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_double.rb +129 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_proxy.rb +220 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/Changelog.md +292 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/README.md +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support.rb +149 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/encoded_string.rb +161 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/method_signature_verifier.rb +438 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/object_formatter.rb +275 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/reentrant_mutex.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/ruby_features.rb +185 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/source.rb +75 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/source/location.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/source/node.rb +110 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/source/token.rb +87 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/spec.rb +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/spec/in_sub_process.rb +69 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/spec/shell_out.rb +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/spec/stderr_splitter.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/spec/string_matcher.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.9.2/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/README.md +217 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/assets/logo.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/assets/output.html.erb +261 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/bin/console +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/bin/setup +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/config/default.yml +3964 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/exe/rubocop +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop.rb +625 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/builder.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node.rb +644 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/alias_node.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/and_node.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/args_node.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/array_node.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/block_node.rb +117 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/break_node.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/case_node.rb +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/class_node.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/def_node.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/defined_node.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/ensure_node.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/float_node.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/for_node.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/forward_args_node.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/hash_node.rb +109 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/if_node.rb +175 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/int_node.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/keyword_splat_node.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/collection_node.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +261 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/numeric_node.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/parameterized_node.rb +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/module_node.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/or_node.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/pair_node.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/range_node.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/regexp_node.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/resbody_node.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/retry_node.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/return_node.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/self_class_node.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/send_node.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/str_node.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/super_node.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/symbol_node.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/until_node.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/when_node.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/while_node.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/yield_node.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/sexp.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/ast/traversal.rb +191 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cached_data.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cli.rb +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cli/command.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cli/command/auto_genenerate_config.rb +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cli/command/base.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cli/command/execute_runner.rb +76 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cli/command/init_dotfile.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cli/command/show_cops.rb +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cli/command/version.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cli/environment.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/comment_config.rb +201 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/config.rb +251 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/config_loader.rb +273 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/config_loader_resolver.rb +195 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/config_obsoletion.rb +275 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/config_store.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/config_validator.rb +206 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/autocorrect_logic.rb +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/badge.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/bundler/duplicated_gem.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/bundler/gem_comment.rb +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/bundler/insecure_protocol_source.rb +69 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/bundler/ordered_gems.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/commissioner.rb +145 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/cop.rb +296 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/corrector.rb +172 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/alignment_corrector.rb +146 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/condition_corrector.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/each_to_for_corrector.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/empty_line_corrector.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/for_to_each_corrector.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/line_break_corrector.rb +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/parentheses_corrector.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/percent_literal_corrector.rb +117 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/punctuation_corrector.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/space_corrector.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/string_literal_corrector.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/unused_arg_corrector.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/force.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/gemspec/duplicated_assignment.rb +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/gemspec/ordered_dependencies.rb +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/gemspec/required_ruby_version.rb +85 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/generator.rb +222 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/generator/configuration_injector.rb +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/generator/require_file_injector.rb +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/ignored_node.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/internal_affairs.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/internal_affairs/method_name_equal.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/internal_affairs/node_destructuring.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/access_modifier_indentation.rb +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/argument_alignment.rb +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/array_alignment.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/assignment_indentation.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/block_alignment.rb +244 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/block_end_newline.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/case_indentation.rb +161 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/class_structure.rb +340 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +126 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +203 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/comment_indentation.rb +141 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/condition_position.rb +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/def_end_alignment.rb +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/dot_position.rb +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/else_alignment.rb +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_comment.rb +151 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +157 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_line_between_defs.rb +151 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines.rb +76 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +215 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +99 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +136 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/end_alignment.rb +189 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/end_of_line.rb +92 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/extra_spacing.rb +201 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/first_argument_indentation.rb +249 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/first_array_element_indentation.rb +167 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/first_array_element_line_break.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/first_hash_element_indentation.rb +184 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/first_hash_element_line_break.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/first_method_argument_line_break.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/first_parameter_indentation.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/hash_alignment.rb +366 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb +289 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/heredoc_indentation.rb +256 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/indentation_consistency.rb +202 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/indentation_width.rb +364 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/initial_indentation.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/leading_comment_space.rb +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/leading_empty_lines.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/line_length.rb +248 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +118 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_array_line_breaks.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_assignment_layout.rb +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_block_layout.rb +155 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +122 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +220 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +131 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_operation_indentation.rb +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/parameter_alignment.rb +118 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +191 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_after_colon.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_after_comma.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_after_method_name.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_after_not.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_after_semicolon.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_around_block_parameters.rb +169 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +92 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_around_keyword.rb +244 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_around_operators.rb +207 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_before_block_braces.rb +136 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_before_comma.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_before_comment.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_before_first_arg.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_before_semicolon.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_in_lambda_literal.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +231 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_block_braces.rb +248 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +207 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_parens.rb +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_range_literal.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +150 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/tab.rb +75 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/trailing_empty_lines.rb +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/trailing_whitespace.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/ambiguous_block_association.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/ambiguous_operator.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/assignment_in_condition.rb +97 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/boolean_symbol.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/debugger.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +111 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/duplicate_hash_key.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/duplicate_methods.rb +239 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/each_with_object_argument.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/else_layout.rb +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/empty_ensure.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/empty_expression.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/empty_interpolation.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/empty_when.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/end_in_method.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/ensure_return.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/erb_new_arguments.rb +164 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/flip_flop.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/float_out_of_range.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +159 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/heredoc_method_call_position.rb +156 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/inherit_exception.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/interpolation_check.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/literal_as_condition.rb +138 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/loop.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +84 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/multiple_comparison.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/nested_method_definition.rb +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/nested_percent_literal.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/next_without_accumulator.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/non_deterministic_require_order.rb +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/number_conversion.rb +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/ordered_magic_comments.rb +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/percent_string_array.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/percent_symbol_array.rb +69 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/rand_one.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb +263 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/redundant_require_statement.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/redundant_splat_expansion.rb +172 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/redundant_string_coercion.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/redundant_with_index.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/redundant_with_object.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/regexp_as_condition.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/rescue_exception.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/rescue_type.rb +94 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/return_in_void_context.rb +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/safe_navigation_chain.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/safe_navigation_consistency.rb +94 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/script_permission.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/send_with_mixin_argument.rb +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/shadowed_argument.rb +182 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/shadowed_exception.rb +178 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/suppressed_exception.rb +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/syntax.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/to_json.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/unified_integer.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/unreachable_code.rb +99 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/unused_block_argument.rb +165 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/unused_method_argument.rb +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/uri_escape_unescape.rb +76 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/uri_regexp.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/useless_access_modifier.rb +274 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/useless_assignment.rb +129 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/useless_comparison.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/useless_setter_call.rb +164 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/void.rb +151 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/message_annotator.rb +129 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/abc_size.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/block_length.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/block_nesting.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/class_length.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/method_length.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/module_length.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/parameter_lists.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/perceived_complexity.rb +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +84 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/migration/department_name.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/alignment.rb +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/annotation_comment.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/array_min_size.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/check_line_breakable.rb +190 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/classish_length.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/code_length.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/configurable_formatting.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/configurable_max.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/configurable_numbering.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/def_node.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/documentation_comment.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/duplication.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/empty_parameter.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/enforce_superclass.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/first_element_line_break.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/hash_alignment_styles.rb +147 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/heredoc.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/ignored_methods.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/ignored_pattern.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/integer_node.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/interpolation.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/line_length_help.rb +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/match_range.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/method_complexity.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/method_preference.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/multiline_element_indentation.rb +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/multiline_element_line_breaks.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +255 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/negative_conditional.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/nil_methods.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/ordered_gem_node.rb +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/parentheses.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/percent_array.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/percent_literal.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +181 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/preferred_delimiters.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/range_help.rb +117 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/rational_literal.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/rescue_node.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/safe_assignment.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/statement_modifier.rb +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/string_help.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/string_literals_help.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/surrounding_space.rb +146 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/target_ruby_version.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/too_many_lines.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/trailing_body.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/trailing_comma.rb +221 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/uncommunicative_name.rb +111 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/unused_argument.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/accessor_method_name.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/ascii_identifiers.rb +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/block_parameter_name.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/class_and_module_camel_case.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/constant_name.rb +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/file_name.rb +212 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +171 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/method_name.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/method_parameter_name.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/predicate_name.rb +108 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb +112 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/variable_name.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/variable_number.rb +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/offense.rb +216 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/registry.rb +216 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/security/eval.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/security/json_load.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/security/marshal_load.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/security/open.rb +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/security/yaml_load.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/severity.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/access_modifier_declarations.rb +112 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/alias.rb +147 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/and_or.rb +146 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/array_join.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/ascii_comments.rb +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/attr.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/bare_percent_literals.rb +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/begin_block.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/block_comments.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/block_delimiters.rb +331 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +209 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/case_equality.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/character_literal.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/class_and_module_children.rb +151 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/class_check.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/class_methods.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/class_vars.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/collection_methods.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/colon_method_call.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/command_literal.rb +187 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/comment_annotation.rb +97 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/commented_keyword.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/conditional_assignment.rb +668 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/constant_visibility.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/copyright.rb +99 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/date_time.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/def_with_parentheses.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/dir.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/documentation.rb +97 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/documentation_method.rb +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/double_cop_disable_directive.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/double_negation.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/each_for_simple_loop.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/each_with_object.rb +110 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/empty_block_parameter.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/empty_case_condition.rb +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/empty_else.rb +175 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/empty_lambda_parameter.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/empty_literal.rb +123 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/empty_method.rb +115 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/encoding.rb +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/end_block.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/eval_with_location.rb +148 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/even_odd.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/expand_path_arguments.rb +194 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/float_division.rb +94 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/for.rb +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/format_string.rb +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/format_string_token.rb +121 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +159 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/global_vars.rb +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/guard_clause.rb +122 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/hash_syntax.rb +214 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/identical_conditional_branches.rb +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/if_inside_else.rb +87 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/if_unless_modifier.rb +169 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/if_with_semicolon.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/implicit_runtime_error.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/infinite_loop.rb +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/inline_comment.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/inverse_methods.rb +193 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/ip_addresses.rb +76 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/lambda.rb +131 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/lambda_call.rb +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/line_end_concatenation.rb +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +185 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb +168 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/method_def_parentheses.rb +166 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/method_missing_super.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/min_max.rb +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/missing_else.rb +180 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/missing_respond_to_missing.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/mixin_grouping.rb +148 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/mixin_usage.rb +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/module_function.rb +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/multiline_block_chain.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/multiline_if_modifier.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/multiline_if_then.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/multiline_memoization.rb +94 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/multiline_method_signature.rb +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/multiline_when_then.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/multiple_comparison.rb +92 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/mutable_constant.rb +174 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/negated_if.rb +99 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/negated_unless.rb +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/negated_while.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/nested_modifier.rb +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/nested_ternary_operator.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/next.rb +244 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/nil_comparison.rb +75 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/non_nil_check.rb +136 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/not.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +124 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/numeric_literals.rb +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/numeric_predicate.rb +138 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/one_line_conditional.rb +101 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/option_hash.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/optional_arguments.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/or_assignment.rb +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/parallel_assignment.rb +287 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/parentheses_around_condition.rb +117 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/percent_q_literals.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/perl_backrefs.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/preferred_hash_methods.rb +75 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/proc.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/raise_args.rb +145 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/random_with_offset.rb +158 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_begin.rb +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_capital_w.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_condition.rb +112 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_conditional.rb +97 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_exception.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_freeze.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_interpolation.rb +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_parentheses.rb +231 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_percent_q.rb +112 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_return.rb +171 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_self.rb +171 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_sort.rb +165 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_sort_by.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/regexp_literal.rb +228 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/rescue_modifier.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/rescue_standard_error.rb +124 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/return_nil.rb +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/safe_navigation.rb +275 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/sample.rb +144 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/self_assignment.rb +97 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/semicolon.rb +101 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/send.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/signal_exception.rb +211 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/single_line_block_params.rb +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/single_line_methods.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/special_global_vars.rb +211 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/stderr_puts.rb +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/string_hash_keys.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/string_literals.rb +129 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/string_methods.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/strip.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/struct_inheritance.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/symbol_array.rb +119 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/symbol_literal.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/symbol_proc.rb +110 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/ternary_parentheses.rb +223 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trailing_body_on_class.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trailing_body_on_module.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +96 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trailing_method_end_statement.rb +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +167 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trivial_accessors.rb +191 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/unless_else.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/unpack_first.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/variable_interpolation.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/when_then.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/while_until_do.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/while_until_modifier.rb +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/word_array.rb +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/yoda_condition.rb +156 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/zero_length_predicate.rb +117 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/team.rb +196 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/util.rb +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/utils/format_string.rb +120 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/variable_force.rb +466 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/variable_force/assignment.rb +96 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/variable_force/branch.rb +322 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/variable_force/branchable.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/variable_force/reference.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/variable_force/scope.rb +109 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/variable_force/variable.rb +117 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cop/variable_force/variable_table.rb +129 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/core_ext/string.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/error.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/file_finder.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/auto_gen_config_formatter.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/base_formatter.rb +123 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/clang_style_formatter.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/colorizable.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/disabled_config_formatter.rb +224 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/disabled_lines_formatter.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/emacs_style_formatter.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/file_list_formatter.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/formatter_set.rb +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/html_formatter.rb +141 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/json_formatter.rb +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/offense_count_formatter.rb +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/pacman_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/progress_formatter.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/quiet_formatter.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/simple_text_formatter.rb +138 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/tap_formatter.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/text_util.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/formatter/worst_offenders_formatter.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/magic_comment.rb +214 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/name_similarity.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/node_pattern.rb +801 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/options.rb +460 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/path_util.rb +85 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/platform.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/processed_source.rb +216 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/rake_task.rb +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/remote_config.rb +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/result_cache.rb +207 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/rspec/cop_helper.rb +94 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/rspec/expect_offense.rb +240 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/rspec/shared_contexts.rb +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/rspec/support.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/runner.rb +379 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/string_interpreter.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/string_util.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/target_finder.rb +196 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/target_ruby.rb +151 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/token.rb +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/version.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/warning.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/yaml_duplication_checker.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/README.md +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/Rakefile +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/base.rb +183 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/calculators/length.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/calculators/running_average.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/bar.rb +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/percentage.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/rate.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/time.rb +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/title.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/formatter.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/molecule.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/string.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/output.rb +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/null.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/tty.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/progress.rb +118 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/refinements.rb +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/refinements/enumerator.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/throttle.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/time.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/timer.rb +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/CHANGELOG.md +507 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/CONTRIBUTING.md +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/ISSUE_TEMPLATE.md +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/LICENSE +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/README.md +680 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/doc/alternate-formatters.md +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/doc/commercial-services.md +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/doc/editor-integration.md +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov.rb +302 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/command_guesser.rb +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/configuration.rb +305 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/defaults.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/exit_codes.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/file_list.rb +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/filter.rb +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/formatter.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/formatter/multi_formatter.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/formatter/simple_formatter.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/jruby_fix.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/last_run.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/lines_classifier.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/load_global_config.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/no_defaults.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/profiles.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/profiles/bundler_filter.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/profiles/hidden_filter.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/profiles/rails.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/profiles/root_filter.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/profiles/test_frameworks.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/railtie.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/railties/tasks.rake +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/raw_coverage.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/result.rb +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/result_merger.rb +123 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/source_file.rb +203 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-0.17.1/lib/simplecov/version.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-console-0.6.0/Gemfile +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-console-0.6.0/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-console-0.6.0/README.md +118 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-console-0.6.0/Rakefile +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-console-0.6.0/VERSION +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-console-0.6.0/lib/simplecov-console.rb +152 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-console-0.6.0/simplecov-console.gemspec +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-console-0.6.0/test/helper.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-console-0.6.0/test/test_simplecov-console.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/CHANGELOG.md +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/Gemfile +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/Guardfile +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/LICENSE +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/README.md +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/Rakefile +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/assets/javascripts/application.js +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/assets/javascripts/libraries/jquery-1.6.2.min.js +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/highlight.pack.js +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.colorbox.js +1090 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.dataTables.min.js +152 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.timeago.js +141 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.url.js +174 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/assets/stylesheets/application.css +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/highlight.css +129 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/jquery-ui-1.8.4.custom.css +295 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/jquery.colorbox.css +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/assets/stylesheets/reset.css +103 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/assets/stylesheets/screen.css.sass +220 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/lib/simplecov-html.rb +110 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/lib/simplecov-html/version.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/application.css +799 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/application.js +1707 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/colorbox/border.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/colorbox/controls.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/colorbox/loading.gif +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/colorbox/loading_background.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/favicon_green.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/favicon_red.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/favicon_yellow.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/loading.gif +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/magnify.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/simplecov-html.gemspec +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/test/helper.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/test/test_simple_cov-html.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/views/file_list.erb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/views/layout.erb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/simplecov-html-0.10.2/views/source_file.erb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/Gemfile +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/History.rdoc +85 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/Manifest +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/README.rdoc +247 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/Rakefile +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/Todo.rdoc +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/examples/examples.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/lib/terminal-table.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/lib/terminal-table/cell.rb +94 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/lib/terminal-table/import.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/lib/terminal-table/row.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/lib/terminal-table/separator.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/lib/terminal-table/style.rb +79 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/lib/terminal-table/table.rb +343 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/lib/terminal-table/table_helper.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/lib/terminal-table/version.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/terminal-table-1.8.0/terminal-table.gemspec +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/Gemfile +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/LICENSE +144 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/README.md +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/Rakefile +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/examples/bench_cache.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/ext/thread_safe/JrubyCacheBackendService.java +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/lib/thread_safe.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/lib/thread_safe/atomic_reference_cache_backend.rb +908 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/lib/thread_safe/cache.rb +161 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/lib/thread_safe/mri_cache_backend.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/lib/thread_safe/non_concurrent_cache_backend.rb +135 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_cache_backend.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_delegator.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/lib/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/lib/thread_safe/util/adder.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/lib/thread_safe/util/atomic_reference.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/lib/thread_safe/util/cheap_lockable.rb +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/lib/thread_safe/util/striped64.rb +222 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile.rb +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile_tuple.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/lib/thread_safe/util/xor_shift_random.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/lib/thread_safe/version.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/spec/spec_helper.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/spec/src/thread_safe/SecurityManager.java +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/spec/support/threads.rb +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/spec/support/threadsafe_test.rb +75 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/spec/thread_safe/array_spec.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_loops_spec.rb +507 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_spec.rb +943 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/spec/thread_safe/hash_spec.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/spec/thread_safe/no_unsafe_spec.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/spec/thread_safe/synchronized_delegator_spec.rb +85 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/tasks/update_doc.rake +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/thread_safe.gemspec +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/yard-template/default/fulldoc/html/css/common.css +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/thread_safe-0.3.6/yard-template/default/layout/html/footer.erb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/CHANGES.md +797 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/LICENSE +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/README.md +152 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/Rakefile +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/country.rb +196 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/country_index_definition.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/country_info.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/country_timezone.rb +135 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/data_source.rb +190 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/data_timezone.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/data_timezone_info.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/info_timezone.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/linked_timezone.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/linked_timezone_info.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/offset_rationals.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/ruby_core_support.rb +176 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/ruby_country_info.rb +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/ruby_data_source.rb +138 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/time_or_datetime.rb +340 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/timezone.rb +673 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/timezone_definition.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/timezone_index_definition.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/timezone_info.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/timezone_offset.rb +101 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/timezone_period.rb +245 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/timezone_proxy.rb +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/timezone_transition.rb +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/timezone_transition_definition.rb +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/transition_data_timezone_info.rb +274 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/zoneinfo_country_info.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/zoneinfo_data_source.rb +496 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/lib/tzinfo/zoneinfo_timezone_info.rb +298 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_country.rb +236 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_country_index_definition.rb +69 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_country_info.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_country_timezone.rb +173 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_data_source.rb +218 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_data_timezone.rb +99 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_data_timezone_info.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_info_timezone.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_linked_timezone.rb +155 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_linked_timezone_info.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_offset_rationals.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_ruby_core_support.rb +168 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_ruby_country_info.rb +110 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_ruby_data_source.rb +165 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_time_or_datetime.rb +660 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_timezone.rb +1359 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_timezone_definition.rb +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_timezone_index_definition.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_timezone_info.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_timezone_london.rb +143 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_timezone_melbourne.rb +142 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_timezone_new_york.rb +142 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_timezone_offset.rb +126 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_timezone_period.rb +555 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_timezone_proxy.rb +136 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_timezone_transition.rb +366 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_timezone_transition_definition.rb +295 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_timezone_utc.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_transition_data_timezone_info.rb +433 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_zoneinfo_country_info.rb +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_zoneinfo_data_source.rb +1204 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tc_zoneinfo_timezone_info.rb +1234 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/test_utils.rb +188 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/ts_all.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/ts_all_ruby.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/ts_all_zoneinfo.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tzinfo-data/tzinfo/data.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +315 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +218 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tzinfo-data/tzinfo/data/definitions/EST.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +261 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +186 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +321 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +265 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +220 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tzinfo-data/tzinfo/data/indexes/countries.rb +927 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +596 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/tzinfo-data/tzinfo/data/version.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/America/New_York +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/Australia/Melbourne +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/EST +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/Etc/UTC +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/Europe/Amsterdam +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/Europe/Andorra +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/Europe/London +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/Europe/Paris +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/Europe/Prague +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/Factory +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/iso3166.tab +275 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/leapseconds +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/posix/Europe/London +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/posixrules +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/right/Europe/London +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/zone.tab +439 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/test/zoneinfo/zone1970.tab +369 -0
- data/vendor/bundle/ruby/2.4.0/gems/tzinfo-1.2.6/tzinfo.gemspec +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/unicode-display_width-1.6.0/CHANGELOG.md +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/unicode-display_width-1.6.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/unicode-display_width-1.6.0/README.md +124 -0
- data/vendor/bundle/ruby/2.4.0/gems/unicode-display_width-1.6.0/data/display_width.marshal.gz +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/constants.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/index.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/no_string_ext.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/string_ext.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/LICENSE +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/README.rdoc +97 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/Rakefile +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/lib/url.rb +253 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/lib/url/accepts_endpoint.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/lib/url/classer.rb +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/lib/url/endpoint.rb +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/lib/url/endpoint_builder.rb +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/lib/url/handlers.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/lib/url/handlers/as_json_handler.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/lib/url/handlers/base_json_handler.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/lib/url/handlers/net_handler.rb +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/lib/url/handlers/ty_handler.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/lib/url/handlers/yajl_handler.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/lib/url/helper_classes.rb +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/lib/url/response.rb +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/lib/url/service.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/lib/url/version.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/spec/classer_spec.rb +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/spec/handler_spec.rb +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/spec/json_spec.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/spec/service_spec.rb +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/spec/spec.opts +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/spec/spec_helper.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/url-0.3.2/spec/url_spec.rb +129 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/CONTRIBUTING.md +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/Changelog.md +247 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/Gemfile +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/Guardfile +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/LICENSE +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/README.md +613 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/Rakefile +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/TODO.md +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus.rb +287 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/attribute.rb +245 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/attribute/accessor.rb +103 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/attribute/boolean.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/attribute/builder.rb +188 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/attribute/coercer.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/attribute/coercible.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/attribute/collection.rb +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/attribute/default_value.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/attribute/default_value/from_callable.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/attribute/default_value/from_clonable.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/attribute/default_value/from_symbol.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/attribute/embedded_value.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/attribute/hash.rb +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/attribute/lazy_default.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/attribute/nullify_blank.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/attribute/strict.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/attribute_set.rb +240 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/builder.rb +137 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/builder/hook_context.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/class_inclusions.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/class_methods.rb +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/coercer.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/configuration.rb +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/const_missing_extensions.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/extensions.rb +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/instance_methods.rb +218 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/model.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/module_extensions.rb +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/support/equalizer.rb +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/support/options.rb +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/support/type_lookup.rb +109 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/value_object.rb +150 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/lib/virtus/version.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/building_module_spec.rb +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/collection_member_coercion_spec.rb +96 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/custom_attributes_spec.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/custom_collection_attributes_spec.rb +101 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/default_values_spec.rb +87 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/defining_attributes_spec.rb +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/embedded_value_spec.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/extending_objects_spec.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/hash_attributes_coercion_spec.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/inheritance_spec.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/injectible_coercers_spec.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/mass_assignment_with_accessors_spec.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/overriding_virtus_spec.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/required_attributes_spec.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/struct_as_embedded_value_spec.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/using_modules_spec.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/value_object_with_custom_constructor_spec.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/virtus/instance_level_attributes_spec.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/integration/virtus/value_object_spec.rb +99 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/shared/constants_helpers.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/shared/freeze_method_behavior.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/shared/idempotent_method_behaviour.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/shared/options_class_method.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/spec_helper.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/boolean/coerce_spec.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/boolean/value_coerced_predicate_spec.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/class_methods/build_spec.rb +180 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/class_methods/coerce_spec.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/coerce_spec.rb +129 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/coercible_predicate_spec.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/collection/class_methods/build_spec.rb +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/collection/coerce_spec.rb +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/custom_collection_spec.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/defined_spec.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/embedded_value/class_methods/build_spec.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/embedded_value/coerce_spec.rb +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/get_spec.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/hash/class_methods/build_spec.rb +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/hash/coerce_spec.rb +92 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/lazy_predicate_spec.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/rename_spec.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/required_predicate_spec.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/set_default_value_spec.rb +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/set_spec.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute/value_coerced_predicate_spec.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute_set/append_spec.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute_set/define_reader_method_spec.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute_set/define_writer_method_spec.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute_set/each_spec.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute_set/element_reference_spec.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute_set/element_set_spec.rb +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute_set/merge_spec.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute_set/reset_spec.rb +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attribute_spec.rb +229 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attributes_reader_spec.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/attributes_writer_spec.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/class_methods/finalize_spec.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/class_methods/new_spec.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/config_spec.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/element_reader_spec.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/element_writer_spec.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/freeze_spec.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/model_spec.rb +197 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/module_spec.rb +174 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/set_default_attributes_spec.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/spec/unit/virtus/value_object_spec.rb +138 -0
- data/vendor/bundle/ruby/2.4.0/gems/virtus-1.0.5/virtus.gemspec +26 -0
- data/vendor/bundle/ruby/2.4.0/specifications/activesupport-5.2.4.1.gemspec +44 -0
- data/vendor/bundle/ruby/2.4.0/specifications/ansi-1.5.0.gemspec +49 -0
- data/vendor/bundle/ruby/2.4.0/specifications/ast-2.4.0.gemspec +59 -0
- data/vendor/bundle/ruby/2.4.0/specifications/axiom-types-0.1.1.gemspec +44 -0
- data/vendor/bundle/ruby/2.4.0/specifications/builder-3.2.4.gemspec +23 -0
- data/vendor/bundle/ruby/2.4.0/specifications/codecov-0.1.16.gemspec +47 -0
- data/vendor/bundle/ruby/2.4.0/specifications/coercible-1.0.0.gemspec +32 -0
- data/vendor/bundle/ruby/2.4.0/specifications/concurrent-ruby-1.1.5.gemspec +24 -0
- data/vendor/bundle/ruby/2.4.0/specifications/descendants_tracker-0.0.4.gemspec +37 -0
- data/vendor/bundle/ruby/2.4.0/specifications/diff-lcs-1.3.gemspec +61 -0
- data/vendor/bundle/ruby/2.4.0/specifications/docile-1.3.2.gemspec +48 -0
- data/vendor/bundle/ruby/2.4.0/specifications/equalizer-0.0.11.gemspec +35 -0
- data/vendor/bundle/ruby/2.4.0/specifications/grape-1.2.5.gemspec +47 -0
- data/vendor/bundle/ruby/2.4.0/specifications/i18n-1.8.0.gemspec +35 -0
- data/vendor/bundle/ruby/2.4.0/specifications/ice_nine-0.11.2.gemspec +34 -0
- data/vendor/bundle/ruby/2.4.0/specifications/jaro_winkler-1.5.4.gemspec +44 -0
- data/vendor/bundle/ruby/2.4.0/specifications/json-2.3.0.gemspec +0 -0
- data/vendor/bundle/ruby/2.4.0/specifications/minitest-5.13.0.gemspec +40 -0
- data/vendor/bundle/ruby/2.4.0/specifications/mustermann-1.0.3.gemspec +21 -0
- data/vendor/bundle/ruby/2.4.0/specifications/mustermann-grape-1.0.0.gemspec +33 -0
- data/vendor/bundle/ruby/2.4.0/specifications/parallel-1.19.1.gemspec +21 -0
- data/vendor/bundle/ruby/2.4.0/specifications/parser-2.7.0.2.gemspec +62 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rack-2.0.8.gemspec +42 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rack-accept-0.4.5.gemspec +37 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rack-test-1.0.0.gemspec +54 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rack-test-1.1.0.gemspec +54 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rainbow-3.0.0.gemspec +33 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rake-13.0.1.gemspec +26 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rspec-3.9.0.gemspec +43 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rspec-core-3.9.1.gemspec +63 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rspec-expectations-3.9.0.gemspec +51 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rspec-mocks-3.9.1.gemspec +51 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rspec-support-3.9.2.gemspec +39 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rubocop-0.79.0.gemspec +56 -0
- data/vendor/bundle/ruby/2.4.0/specifications/ruby-progressbar-1.10.1.gemspec +46 -0
- data/vendor/bundle/ruby/2.4.0/specifications/simplecov-0.17.1.gemspec +66 -0
- data/vendor/bundle/ruby/2.4.0/specifications/simplecov-console-0.6.0.gemspec +52 -0
- data/vendor/bundle/ruby/2.4.0/specifications/simplecov-html-0.10.2.gemspec +33 -0
- data/vendor/bundle/ruby/2.4.0/specifications/terminal-table-1.8.0.gemspec +46 -0
- data/vendor/bundle/ruby/2.4.0/specifications/thread_safe-0.3.6.gemspec +38 -0
- data/vendor/bundle/ruby/2.4.0/specifications/tzinfo-1.2.6.gemspec +37 -0
- data/vendor/bundle/ruby/2.4.0/specifications/unicode-display_width-1.6.0.gemspec +39 -0
- data/vendor/bundle/ruby/2.4.0/specifications/url-0.3.2.gemspec +39 -0
- data/vendor/bundle/ruby/2.4.0/specifications/virtus-1.0.5.gemspec +46 -0
- data/vendor/bundle/ruby/2.6.0/bin/rubocop +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/ruby-parse +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/ruby-rewrite +27 -0
- data/vendor/bundle/ruby/2.6.0/cache/ast-2.4.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/jaro_winkler-1.5.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/parallel-1.19.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/parser-2.7.0.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rainbow-3.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rubocop-0.79.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/ruby-progressbar-1.10.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/unicode-display_width-1.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-darwin-19/2.6.0/jaro_winkler-1.5.4/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-darwin-19/2.6.0/jaro_winkler-1.5.4/gem_make.out +18 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-darwin-19/2.6.0/jaro_winkler-1.5.4/jaro_winkler/jaro_winkler_ext.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.0/CHANGELOG.md +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.0/Gemfile +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.0/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.0/README.YARD.md +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.0/README.md +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.0/Rakefile +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.0/ast.gemspec +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.0/lib/ast.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.0/lib/ast/node.rb +258 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.0/lib/ast/processor.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.0/lib/ast/processor/mixin.rb +288 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.0/lib/ast/sexp.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.0/test/helper.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.0/test/test_ast.rb +271 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +267 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/adj_matrix.c +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/adj_matrix.h +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/adj_matrix.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/codepoints.c +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/codepoints.h +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/codepoints.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/extconf.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro.c +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro.h +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler.c +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler_ext.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/jaro_winkler_ext.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/jaro_winkler_pure.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.19.1/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.19.1/lib/parallel.rb +523 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.19.1/lib/parallel/processor_count.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.19.1/lib/parallel/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/CHANGELOG.md +1043 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/CONTRIBUTING.md +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/Gemfile +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/LICENSE.txt +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/README.md +308 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/Rakefile +166 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/bin/ruby-parse +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/bin/ruby-rewrite +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/ci/run_rubocop_specs +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/doc/AST_FORMAT.md +2142 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/doc/CUSTOMIZATION.md +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/doc/INTERNALS.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/doc/css/common.css +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/gauntlet_parser.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/all.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ast/node.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ast/processor.rb +279 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/base.rb +289 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/builders/default.rb +1974 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/clobbering_error.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/color.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/context.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/current.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/current_arg_stack.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/deprecation.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/diagnostic.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/diagnostic/engine.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/lexer.rb +23737 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/lexer.rl +2536 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/lexer/dedenter.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/lexer/explanation.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/lexer/literal.rb +269 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/lexer/stack_state.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/macruby.rb +6124 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/macruby.y +2198 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/max_numparam_stack.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/messages.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/meta.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/rewriter.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby18.rb +5661 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby18.y +1934 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby19.rb +6084 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby19.y +2175 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby20.rb +6511 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby20.y +2353 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby21.rb +6570 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby21.y +2357 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby22.rb +6605 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby22.y +2364 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby23.rb +6624 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby23.y +2370 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby24.rb +6689 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby24.y +2408 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby25.rb +6656 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby25.y +2405 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby26.rb +6670 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby26.y +2413 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby27.rb +7749 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/ruby27.y +2923 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/rubymotion.rb +6078 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/rubymotion.y +2182 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/runner.rb +253 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/runner/ruby_parse.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/runner/ruby_rewrite.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/buffer.rb +330 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/comment.rb +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/comment/associator.rb +210 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/map.rb +186 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/map/collection.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/map/condition.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/map/constant.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/map/definition.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/map/for.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/map/heredoc.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/map/index.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/map/keyword.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/map/objc_kwarg.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/map/operator.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/map/rescue_body.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/map/send.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/map/ternary.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/map/variable.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/range.rb +310 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/rewriter.rb +513 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/rewriter/action.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/tree_rewriter.rb +301 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/tree_rewriter/action.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/static_environment.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/syntax_error.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/tree_rewriter.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/variables_stack.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/parser.gemspec +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/bug_163/fixtures/input.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/bug_163/fixtures/output.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/bug_163/rewriter.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/helper.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/parse_helper.rb +319 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/racc_coverage_helper.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_base.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_current.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_diagnostic.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_diagnostic_engine.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_encoding.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_lexer.rb +3608 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_lexer_stack_state.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_parse_helper.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_parser.rb +9309 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_runner_parse.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_runner_rewrite.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_source_buffer.rb +162 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_source_comment.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_source_comment_associator.rb +367 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_source_map.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_source_range.rb +172 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_source_rewriter.rb +541 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_source_rewriter_action.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_source_tree_rewriter.rb +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/test_static_environment.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/using_tree_rewriter/fixtures/input.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/using_tree_rewriter/fixtures/output.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/test/using_tree_rewriter/using_tree_rewriter.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/Changelog.md +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/Gemfile +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/Guardfile +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/README.markdown +224 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/Rakefile +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/appveyor.yml +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/color.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/ext/string.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/global.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/null_presenter.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/presenter.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/refinement.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/string_utils.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/wrapper.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/x11_color_names.rb +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/rainbow.gemspec +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/integration/instance_spec.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/integration/rainbow_spec.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/integration/refinement_spec.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/integration/string_spec.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/integration/uncolor_spec.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/spec_helper.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/support/presenter_shared_examples.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/unit/color_spec.rb +296 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/unit/null_presenter_spec.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/unit/presenter_spec.rb +199 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/unit/string_utils_spec.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/unit/wrapper_spec.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/README.md +217 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/assets/logo.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/assets/output.html.erb +261 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/bin/console +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/bin/setup +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/config/default.yml +3964 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/exe/rubocop +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop.rb +625 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/builder.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node.rb +644 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/alias_node.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/and_node.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/args_node.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/array_node.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/block_node.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/break_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/case_node.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/class_node.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/def_node.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/defined_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/ensure_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/float_node.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/for_node.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/forward_args_node.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/hash_node.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/if_node.rb +175 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/int_node.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/keyword_splat_node.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/collection_node.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +261 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/numeric_node.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/parameterized_node.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/module_node.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/or_node.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/pair_node.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/range_node.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/regexp_node.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/resbody_node.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/retry_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/return_node.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/self_class_node.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/send_node.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/str_node.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/super_node.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/symbol_node.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/until_node.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/when_node.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/while_node.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/node/yield_node.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/sexp.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/ast/traversal.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cached_data.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cli.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cli/command.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cli/command/auto_genenerate_config.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cli/command/base.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cli/command/execute_runner.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cli/command/init_dotfile.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cli/command/show_cops.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cli/command/version.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cli/environment.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/comment_config.rb +201 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/config.rb +251 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/config_loader.rb +273 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/config_loader_resolver.rb +195 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/config_obsoletion.rb +275 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/config_store.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/config_validator.rb +206 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/autocorrect_logic.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/badge.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/bundler/duplicated_gem.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/bundler/gem_comment.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/bundler/insecure_protocol_source.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/bundler/ordered_gems.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/commissioner.rb +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/cop.rb +296 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/corrector.rb +172 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/alignment_corrector.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/condition_corrector.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/each_to_for_corrector.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/empty_line_corrector.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/for_to_each_corrector.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/line_break_corrector.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/parentheses_corrector.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/percent_literal_corrector.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/punctuation_corrector.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/space_corrector.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/string_literal_corrector.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/correctors/unused_arg_corrector.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/force.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/gemspec/duplicated_assignment.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/gemspec/ordered_dependencies.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/gemspec/required_ruby_version.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/generator.rb +222 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/generator/configuration_injector.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/generator/require_file_injector.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/ignored_node.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/internal_affairs.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/internal_affairs/method_name_equal.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/internal_affairs/node_destructuring.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/access_modifier_indentation.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/argument_alignment.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/array_alignment.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/assignment_indentation.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/block_alignment.rb +244 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/block_end_newline.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/case_indentation.rb +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/class_structure.rb +340 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +203 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/comment_indentation.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/condition_position.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/def_end_alignment.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/dot_position.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/else_alignment.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_comment.rb +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_line_between_defs.rb +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +215 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/end_alignment.rb +189 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/end_of_line.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/extra_spacing.rb +201 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/first_argument_indentation.rb +249 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/first_array_element_indentation.rb +167 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/first_array_element_line_break.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/first_hash_element_indentation.rb +184 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/first_hash_element_line_break.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/first_method_argument_line_break.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/first_parameter_indentation.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/hash_alignment.rb +366 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb +289 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/heredoc_indentation.rb +256 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/indentation_consistency.rb +202 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/indentation_width.rb +364 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/initial_indentation.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/leading_comment_space.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/leading_empty_lines.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/line_length.rb +248 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_array_line_breaks.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_assignment_layout.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_block_layout.rb +155 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +122 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +220 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +131 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/multiline_operation_indentation.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/parameter_alignment.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_after_colon.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_after_comma.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_after_method_name.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_after_not.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_after_semicolon.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_around_block_parameters.rb +169 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_around_keyword.rb +244 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_around_operators.rb +207 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_before_block_braces.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_before_comma.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_before_comment.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_before_first_arg.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_before_semicolon.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_in_lambda_literal.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +231 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_block_braces.rb +248 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +207 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_parens.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_range_literal.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +150 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/tab.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/trailing_empty_lines.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/layout/trailing_whitespace.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/ambiguous_block_association.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/ambiguous_operator.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/assignment_in_condition.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/boolean_symbol.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/debugger.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/duplicate_hash_key.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/duplicate_methods.rb +239 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/each_with_object_argument.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/else_layout.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/empty_ensure.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/empty_expression.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/empty_interpolation.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/empty_when.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/end_in_method.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/ensure_return.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/erb_new_arguments.rb +164 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/flip_flop.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/float_out_of_range.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +159 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/heredoc_method_call_position.rb +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/inherit_exception.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/interpolation_check.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/literal_as_condition.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/loop.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/multiple_comparison.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/nested_method_definition.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/nested_percent_literal.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/next_without_accumulator.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/non_deterministic_require_order.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/number_conversion.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/ordered_magic_comments.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/percent_string_array.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/percent_symbol_array.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/rand_one.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb +263 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/redundant_require_statement.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/redundant_splat_expansion.rb +172 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/redundant_string_coercion.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/redundant_with_index.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/redundant_with_object.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/regexp_as_condition.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/rescue_exception.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/rescue_type.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/return_in_void_context.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/safe_navigation_chain.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/safe_navigation_consistency.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/script_permission.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/send_with_mixin_argument.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/shadowed_argument.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/shadowed_exception.rb +178 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/suppressed_exception.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/syntax.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/to_json.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/unified_integer.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/unreachable_code.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/unused_block_argument.rb +165 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/unused_method_argument.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/uri_escape_unescape.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/uri_regexp.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/useless_access_modifier.rb +274 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/useless_assignment.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/useless_comparison.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/useless_setter_call.rb +164 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/lint/void.rb +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/message_annotator.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/abc_size.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/block_length.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/block_nesting.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/class_length.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/method_length.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/module_length.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/parameter_lists.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/perceived_complexity.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/migration/department_name.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/alignment.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/annotation_comment.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/array_min_size.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/check_line_breakable.rb +190 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/classish_length.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/code_length.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/configurable_formatting.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/configurable_max.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/configurable_numbering.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/def_node.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/documentation_comment.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/duplication.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/empty_parameter.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/enforce_superclass.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/first_element_line_break.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/hash_alignment_styles.rb +147 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/heredoc.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/ignored_methods.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/ignored_pattern.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/integer_node.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/interpolation.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/line_length_help.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/match_range.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/method_complexity.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/method_preference.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/multiline_element_indentation.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/multiline_element_line_breaks.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +255 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/negative_conditional.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/nil_methods.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/ordered_gem_node.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/parentheses.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/percent_array.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/percent_literal.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +181 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/preferred_delimiters.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/range_help.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/rational_literal.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/rescue_node.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/safe_assignment.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/statement_modifier.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/string_help.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/string_literals_help.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/surrounding_space.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/target_ruby_version.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/too_many_lines.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/trailing_body.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/trailing_comma.rb +221 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/uncommunicative_name.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/mixin/unused_argument.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/accessor_method_name.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/ascii_identifiers.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/block_parameter_name.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/class_and_module_camel_case.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/constant_name.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/file_name.rb +212 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/method_name.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/method_parameter_name.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/predicate_name.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/variable_name.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/naming/variable_number.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/offense.rb +216 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/registry.rb +216 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/security/eval.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/security/json_load.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/security/marshal_load.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/security/open.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/security/yaml_load.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/severity.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/access_modifier_declarations.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/alias.rb +147 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/and_or.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/array_join.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/ascii_comments.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/attr.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/bare_percent_literals.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/begin_block.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/block_comments.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/block_delimiters.rb +331 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +209 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/case_equality.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/character_literal.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/class_and_module_children.rb +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/class_check.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/class_methods.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/class_vars.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/collection_methods.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/colon_method_call.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/command_literal.rb +187 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/comment_annotation.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/commented_keyword.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/conditional_assignment.rb +668 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/constant_visibility.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/copyright.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/date_time.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/def_with_parentheses.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/dir.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/documentation.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/documentation_method.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/double_cop_disable_directive.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/double_negation.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/each_for_simple_loop.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/each_with_object.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/empty_block_parameter.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/empty_case_condition.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/empty_else.rb +175 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/empty_lambda_parameter.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/empty_literal.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/empty_method.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/encoding.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/end_block.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/eval_with_location.rb +148 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/even_odd.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/expand_path_arguments.rb +194 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/float_division.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/for.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/format_string.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/format_string_token.rb +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +159 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/global_vars.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/guard_clause.rb +122 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/hash_syntax.rb +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/identical_conditional_branches.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/if_inside_else.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/if_unless_modifier.rb +169 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/if_with_semicolon.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/implicit_runtime_error.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/infinite_loop.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/inline_comment.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/inverse_methods.rb +193 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/ip_addresses.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/lambda.rb +131 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/lambda_call.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/line_end_concatenation.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +185 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb +168 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/method_def_parentheses.rb +166 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/method_missing_super.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/min_max.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/missing_else.rb +180 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/missing_respond_to_missing.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/mixin_grouping.rb +148 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/mixin_usage.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/module_function.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/multiline_block_chain.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/multiline_if_modifier.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/multiline_if_then.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/multiline_memoization.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/multiline_method_signature.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/multiline_when_then.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/multiple_comparison.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/mutable_constant.rb +174 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/negated_if.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/negated_unless.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/negated_while.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/nested_modifier.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/nested_ternary_operator.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/next.rb +244 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/nil_comparison.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/non_nil_check.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/not.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/numeric_literals.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/numeric_predicate.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/one_line_conditional.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/option_hash.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/optional_arguments.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/or_assignment.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/parallel_assignment.rb +287 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/parentheses_around_condition.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/percent_q_literals.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/perl_backrefs.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/preferred_hash_methods.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/proc.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/raise_args.rb +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/random_with_offset.rb +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_begin.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_capital_w.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_condition.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_conditional.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_exception.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_freeze.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_interpolation.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_parentheses.rb +231 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_percent_q.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_return.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_self.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_sort.rb +165 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/redundant_sort_by.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/regexp_literal.rb +228 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/rescue_modifier.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/rescue_standard_error.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/return_nil.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/safe_navigation.rb +275 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/sample.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/self_assignment.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/semicolon.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/send.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/signal_exception.rb +211 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/single_line_block_params.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/single_line_methods.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/special_global_vars.rb +211 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/stderr_puts.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/string_hash_keys.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/string_literals.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/string_methods.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/strip.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/struct_inheritance.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/symbol_array.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/symbol_literal.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/symbol_proc.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/ternary_parentheses.rb +223 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trailing_body_on_class.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trailing_body_on_module.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trailing_method_end_statement.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +167 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/trivial_accessors.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/unless_else.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/unpack_first.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/variable_interpolation.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/when_then.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/while_until_do.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/while_until_modifier.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/word_array.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/yoda_condition.rb +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/style/zero_length_predicate.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/team.rb +196 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/util.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/utils/format_string.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/variable_force.rb +466 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/variable_force/assignment.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/variable_force/branch.rb +322 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/variable_force/branchable.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/variable_force/reference.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/variable_force/scope.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/variable_force/variable.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cop/variable_force/variable_table.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/core_ext/string.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/error.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/file_finder.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/auto_gen_config_formatter.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/base_formatter.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/clang_style_formatter.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/colorizable.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/disabled_config_formatter.rb +224 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/disabled_lines_formatter.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/emacs_style_formatter.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/file_list_formatter.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/formatter_set.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/html_formatter.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/json_formatter.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/offense_count_formatter.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/pacman_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/progress_formatter.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/quiet_formatter.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/simple_text_formatter.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/tap_formatter.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/text_util.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/formatter/worst_offenders_formatter.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/magic_comment.rb +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/name_similarity.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/node_pattern.rb +801 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/options.rb +460 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/path_util.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/platform.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/processed_source.rb +216 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/rake_task.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/remote_config.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/result_cache.rb +207 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/rspec/cop_helper.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/rspec/expect_offense.rb +240 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/rspec/shared_contexts.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/rspec/support.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/runner.rb +379 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/string_interpreter.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/string_util.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/target_finder.rb +196 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/target_ruby.rb +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/token.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/version.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/warning.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/yaml_duplication_checker.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/README.md +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/Rakefile +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/base.rb +183 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/calculators/length.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/calculators/running_average.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/bar.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/percentage.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/rate.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/time.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/title.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/formatter.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/molecule.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/string.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/output.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/null.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/tty.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/progress.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/refinements.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/refinements/enumerator.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/throttle.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/time.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/timer.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/CHANGELOG.md +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/README.md +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/data/display_width.marshal.gz +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/constants.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/index.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/no_string_ext.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/string_ext.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/specifications/ast-2.4.0.gemspec +59 -0
- data/vendor/bundle/ruby/2.6.0/specifications/jaro_winkler-1.5.4.gemspec +44 -0
- data/vendor/bundle/ruby/2.6.0/specifications/parallel-1.19.1.gemspec +21 -0
- data/vendor/bundle/ruby/2.6.0/specifications/parser-2.7.0.2.gemspec +62 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rainbow-3.0.0.gemspec +33 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rubocop-0.79.0.gemspec +56 -0
- data/vendor/bundle/ruby/2.6.0/specifications/ruby-progressbar-1.10.1.gemspec +46 -0
- data/vendor/bundle/ruby/2.6.0/specifications/unicode-display_width-1.6.0.gemspec +39 -0
- metadata +4292 -0
@@ -0,0 +1,3961 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'shared/versioning_examples'
|
3
|
+
|
4
|
+
describe Grape::API do
|
5
|
+
subject { Class.new(Grape::API) }
|
6
|
+
|
7
|
+
def app
|
8
|
+
subject
|
9
|
+
end
|
10
|
+
|
11
|
+
describe '.prefix' do
|
12
|
+
it 'routes root through with the prefix' do
|
13
|
+
subject.prefix 'awesome/sauce'
|
14
|
+
subject.get do
|
15
|
+
'Hello there.'
|
16
|
+
end
|
17
|
+
|
18
|
+
get 'awesome/sauce/'
|
19
|
+
expect(last_response.status).to eql 200
|
20
|
+
expect(last_response.body).to eql 'Hello there.'
|
21
|
+
end
|
22
|
+
|
23
|
+
it 'routes through with the prefix' do
|
24
|
+
subject.prefix 'awesome/sauce'
|
25
|
+
subject.get :hello do
|
26
|
+
'Hello there.'
|
27
|
+
end
|
28
|
+
|
29
|
+
get 'awesome/sauce/hello'
|
30
|
+
expect(last_response.body).to eql 'Hello there.'
|
31
|
+
|
32
|
+
get '/hello'
|
33
|
+
expect(last_response.status).to eql 404
|
34
|
+
end
|
35
|
+
|
36
|
+
it 'supports OPTIONS' do
|
37
|
+
subject.prefix 'awesome/sauce'
|
38
|
+
subject.get do
|
39
|
+
'Hello there.'
|
40
|
+
end
|
41
|
+
|
42
|
+
options 'awesome/sauce'
|
43
|
+
expect(last_response.status).to eql 204
|
44
|
+
expect(last_response.body).to be_blank
|
45
|
+
end
|
46
|
+
|
47
|
+
it 'disallows POST' do
|
48
|
+
subject.prefix 'awesome/sauce'
|
49
|
+
subject.get
|
50
|
+
|
51
|
+
post 'awesome/sauce'
|
52
|
+
expect(last_response.status).to eql 405
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
describe '.version' do
|
57
|
+
context 'when defined' do
|
58
|
+
it 'returns version value' do
|
59
|
+
subject.version 'v1'
|
60
|
+
expect(subject.version).to eq('v1')
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
context 'when not defined' do
|
65
|
+
it 'returns nil' do
|
66
|
+
expect(subject.version).to be_nil
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe '.version using path' do
|
72
|
+
it_should_behave_like 'versioning' do
|
73
|
+
let(:macro_options) do
|
74
|
+
{
|
75
|
+
using: :path
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
describe '.version using param' do
|
82
|
+
it_should_behave_like 'versioning' do
|
83
|
+
let(:macro_options) do
|
84
|
+
{
|
85
|
+
using: :param,
|
86
|
+
parameter: 'apiver'
|
87
|
+
}
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
describe '.version using header' do
|
93
|
+
it_should_behave_like 'versioning' do
|
94
|
+
let(:macro_options) do
|
95
|
+
{
|
96
|
+
using: :header,
|
97
|
+
vendor: 'mycompany',
|
98
|
+
format: 'json'
|
99
|
+
}
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
# Behavior as defined by rfc2616 when no header is defined
|
104
|
+
# http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
|
105
|
+
describe 'no specified accept header' do
|
106
|
+
# subject.version 'v1', using: :header
|
107
|
+
# subject.get '/hello' do
|
108
|
+
# 'hello'
|
109
|
+
# end
|
110
|
+
|
111
|
+
# it 'routes' do
|
112
|
+
# get '/hello'
|
113
|
+
# last_response.status.should eql 200
|
114
|
+
# end
|
115
|
+
end
|
116
|
+
|
117
|
+
# pending 'routes if any media type is allowed'
|
118
|
+
end
|
119
|
+
|
120
|
+
describe '.version using accept_version_header' do
|
121
|
+
it_should_behave_like 'versioning' do
|
122
|
+
let(:macro_options) do
|
123
|
+
{
|
124
|
+
using: :accept_version_header
|
125
|
+
}
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
describe '.represent' do
|
131
|
+
it 'requires a :with option' do
|
132
|
+
expect { subject.represent Object, {} }.to raise_error(Grape::Exceptions::InvalidWithOptionForRepresent)
|
133
|
+
end
|
134
|
+
|
135
|
+
it 'adds the association to the :representations setting' do
|
136
|
+
klass = Class.new
|
137
|
+
subject.represent Object, with: klass
|
138
|
+
expect(subject.namespace_stackable_with_hash(:representations)[Object]).to eq(klass)
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
describe '.namespace' do
|
143
|
+
it 'is retrievable and converted to a path' do
|
144
|
+
internal_namespace = nil
|
145
|
+
subject.namespace :awesome do
|
146
|
+
internal_namespace = namespace
|
147
|
+
end
|
148
|
+
expect(internal_namespace).to eql('/awesome')
|
149
|
+
end
|
150
|
+
|
151
|
+
it 'comes after the prefix and version' do
|
152
|
+
subject.prefix :rad
|
153
|
+
subject.version 'v1', using: :path
|
154
|
+
|
155
|
+
subject.namespace :awesome do
|
156
|
+
get('/hello') { 'worked' }
|
157
|
+
end
|
158
|
+
|
159
|
+
get '/rad/v1/awesome/hello'
|
160
|
+
expect(last_response.body).to eq('worked')
|
161
|
+
end
|
162
|
+
|
163
|
+
it 'cancels itself after the block is over' do
|
164
|
+
internal_namespace = nil
|
165
|
+
subject.namespace :awesome do
|
166
|
+
internal_namespace = namespace
|
167
|
+
end
|
168
|
+
expect(subject.namespace).to eql('/')
|
169
|
+
end
|
170
|
+
|
171
|
+
it 'is stackable' do
|
172
|
+
internal_namespace = nil
|
173
|
+
internal_second_namespace = nil
|
174
|
+
subject.namespace :awesome do
|
175
|
+
internal_namespace = namespace
|
176
|
+
namespace :rad do
|
177
|
+
internal_second_namespace = namespace
|
178
|
+
end
|
179
|
+
end
|
180
|
+
expect(internal_namespace).to eq('/awesome')
|
181
|
+
expect(internal_second_namespace).to eq('/awesome/rad')
|
182
|
+
end
|
183
|
+
|
184
|
+
it 'accepts path segments correctly' do
|
185
|
+
inner_namespace = nil
|
186
|
+
subject.namespace :members do
|
187
|
+
namespace '/:member_id' do
|
188
|
+
inner_namespace = namespace
|
189
|
+
get '/' do
|
190
|
+
params[:member_id]
|
191
|
+
end
|
192
|
+
end
|
193
|
+
end
|
194
|
+
get '/members/23'
|
195
|
+
expect(last_response.body).to eq('23')
|
196
|
+
expect(inner_namespace).to eq('/members/:member_id')
|
197
|
+
end
|
198
|
+
|
199
|
+
it 'is callable with nil just to push onto the stack' do
|
200
|
+
subject.namespace do
|
201
|
+
version 'v2', using: :path
|
202
|
+
get('/hello') { 'inner' }
|
203
|
+
end
|
204
|
+
subject.get('/hello') { 'outer' }
|
205
|
+
|
206
|
+
get '/v2/hello'
|
207
|
+
expect(last_response.body).to eq('inner')
|
208
|
+
get '/hello'
|
209
|
+
expect(last_response.body).to eq('outer')
|
210
|
+
end
|
211
|
+
|
212
|
+
%w[group resource resources segment].each do |als|
|
213
|
+
it "`.#{als}` is an alias" do
|
214
|
+
inner_namespace = nil
|
215
|
+
subject.send(als, :awesome) do
|
216
|
+
inner_namespace = namespace
|
217
|
+
end
|
218
|
+
expect(inner_namespace).to eq '/awesome'
|
219
|
+
end
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
223
|
+
describe '.call' do
|
224
|
+
context 'it does not add to the app setup' do
|
225
|
+
it 'calls the app' do
|
226
|
+
expect(subject).not_to receive(:add_setup)
|
227
|
+
subject.call({})
|
228
|
+
end
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
232
|
+
describe '.route_param' do
|
233
|
+
it 'adds a parameterized route segment namespace' do
|
234
|
+
subject.namespace :users do
|
235
|
+
route_param :id do
|
236
|
+
get do
|
237
|
+
params[:id]
|
238
|
+
end
|
239
|
+
end
|
240
|
+
end
|
241
|
+
|
242
|
+
get '/users/23'
|
243
|
+
expect(last_response.body).to eq('23')
|
244
|
+
end
|
245
|
+
|
246
|
+
it 'defines requirements with a single hash' do
|
247
|
+
subject.namespace :users do
|
248
|
+
route_param :id, requirements: /[0-9]+/ do
|
249
|
+
get do
|
250
|
+
params[:id]
|
251
|
+
end
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
255
|
+
get '/users/michael'
|
256
|
+
expect(last_response.status).to eq(404)
|
257
|
+
get '/users/23'
|
258
|
+
expect(last_response.status).to eq(200)
|
259
|
+
end
|
260
|
+
|
261
|
+
context 'with param type definitions' do
|
262
|
+
it 'is used by passing to options' do
|
263
|
+
subject.namespace :route_param do
|
264
|
+
route_param :foo, type: Integer do
|
265
|
+
get { params.to_json }
|
266
|
+
end
|
267
|
+
end
|
268
|
+
get '/route_param/1234'
|
269
|
+
expect(last_response.body).to eq('{"foo":1234}')
|
270
|
+
end
|
271
|
+
end
|
272
|
+
end
|
273
|
+
|
274
|
+
describe '.route' do
|
275
|
+
it 'allows for no path' do
|
276
|
+
subject.namespace :votes do
|
277
|
+
get do
|
278
|
+
'Votes'
|
279
|
+
end
|
280
|
+
post do
|
281
|
+
'Created a Vote'
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
get '/votes'
|
286
|
+
expect(last_response.body).to eql 'Votes'
|
287
|
+
post '/votes'
|
288
|
+
expect(last_response.body).to eql 'Created a Vote'
|
289
|
+
end
|
290
|
+
|
291
|
+
it 'handles empty calls' do
|
292
|
+
subject.get '/'
|
293
|
+
get '/'
|
294
|
+
expect(last_response.body).to eql ''
|
295
|
+
end
|
296
|
+
|
297
|
+
describe 'root routes should work with' do
|
298
|
+
before do
|
299
|
+
subject.format :txt
|
300
|
+
subject.content_type :json, 'application/json'
|
301
|
+
subject.formatter :json, ->(object, _env) { object }
|
302
|
+
def subject.enable_root_route!
|
303
|
+
get('/') { 'root' }
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
after do
|
308
|
+
expect(last_response.body).to eql 'root'
|
309
|
+
end
|
310
|
+
|
311
|
+
describe 'path versioned APIs' do
|
312
|
+
before do
|
313
|
+
subject.version version, using: :path
|
314
|
+
subject.enable_root_route!
|
315
|
+
end
|
316
|
+
|
317
|
+
context 'when a single version provided' do
|
318
|
+
let(:version) { 'v1' }
|
319
|
+
|
320
|
+
it 'without a format' do
|
321
|
+
versioned_get '/', 'v1', using: :path
|
322
|
+
end
|
323
|
+
|
324
|
+
it 'with a format' do
|
325
|
+
get '/v1/.json'
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
329
|
+
context 'when array of versions provided' do
|
330
|
+
let(:version) { %w[v1 v2] }
|
331
|
+
|
332
|
+
it { versioned_get '/', 'v1', using: :path }
|
333
|
+
it { versioned_get '/', 'v2', using: :path }
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
it 'header versioned APIs' do
|
338
|
+
subject.version 'v1', using: :header, vendor: 'test'
|
339
|
+
subject.enable_root_route!
|
340
|
+
|
341
|
+
versioned_get '/', 'v1', using: :header, vendor: 'test'
|
342
|
+
end
|
343
|
+
|
344
|
+
it 'header versioned APIs with multiple headers' do
|
345
|
+
subject.version %w[v1 v2], using: :header, vendor: 'test'
|
346
|
+
subject.enable_root_route!
|
347
|
+
|
348
|
+
versioned_get '/', 'v1', using: :header, vendor: 'test'
|
349
|
+
versioned_get '/', 'v2', using: :header, vendor: 'test'
|
350
|
+
end
|
351
|
+
|
352
|
+
it 'param versioned APIs' do
|
353
|
+
subject.version 'v1', using: :param
|
354
|
+
subject.enable_root_route!
|
355
|
+
|
356
|
+
versioned_get '/', 'v1', using: :param
|
357
|
+
end
|
358
|
+
|
359
|
+
it 'Accept-Version header versioned APIs' do
|
360
|
+
subject.version 'v1', using: :accept_version_header
|
361
|
+
subject.enable_root_route!
|
362
|
+
|
363
|
+
versioned_get '/', 'v1', using: :accept_version_header
|
364
|
+
end
|
365
|
+
|
366
|
+
it 'unversioned APIs' do
|
367
|
+
subject.enable_root_route!
|
368
|
+
|
369
|
+
get '/'
|
370
|
+
end
|
371
|
+
end
|
372
|
+
|
373
|
+
it 'allows for multiple paths' do
|
374
|
+
subject.get(['/abc', '/def']) do
|
375
|
+
'foo'
|
376
|
+
end
|
377
|
+
|
378
|
+
get '/abc'
|
379
|
+
expect(last_response.body).to eql 'foo'
|
380
|
+
get '/def'
|
381
|
+
expect(last_response.body).to eql 'foo'
|
382
|
+
end
|
383
|
+
|
384
|
+
context 'format' do
|
385
|
+
module ApiSpec
|
386
|
+
class DummyFormatClass
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
390
|
+
before(:each) do
|
391
|
+
allow_any_instance_of(ApiSpec::DummyFormatClass).to receive(:to_json).and_return('abc')
|
392
|
+
allow_any_instance_of(ApiSpec::DummyFormatClass).to receive(:to_txt).and_return('def')
|
393
|
+
|
394
|
+
subject.get('/abc') do
|
395
|
+
ApiSpec::DummyFormatClass.new
|
396
|
+
end
|
397
|
+
end
|
398
|
+
|
399
|
+
it 'allows .json' do
|
400
|
+
get '/abc.json'
|
401
|
+
expect(last_response.status).to eq(200)
|
402
|
+
expect(last_response.body).to eql 'abc' # json-encoded symbol
|
403
|
+
end
|
404
|
+
|
405
|
+
it 'allows .txt' do
|
406
|
+
get '/abc.txt'
|
407
|
+
expect(last_response.status).to eq(200)
|
408
|
+
expect(last_response.body).to eql 'def' # raw text
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
412
|
+
it 'allows for format without corrupting a param' do
|
413
|
+
subject.get('/:id') do
|
414
|
+
{ 'id' => params[:id] }
|
415
|
+
end
|
416
|
+
|
417
|
+
get '/awesome.json'
|
418
|
+
expect(last_response.body).to eql '{"id":"awesome"}'
|
419
|
+
end
|
420
|
+
|
421
|
+
it 'allows for format in namespace with no path' do
|
422
|
+
subject.namespace :abc do
|
423
|
+
get do
|
424
|
+
['json']
|
425
|
+
end
|
426
|
+
end
|
427
|
+
|
428
|
+
get '/abc.json'
|
429
|
+
expect(last_response.body).to eql '["json"]'
|
430
|
+
end
|
431
|
+
|
432
|
+
it 'allows for multiple verbs' do
|
433
|
+
subject.route(%i[get post], '/abc') do
|
434
|
+
'hiya'
|
435
|
+
end
|
436
|
+
|
437
|
+
subject.endpoints.first.routes.each do |route|
|
438
|
+
expect(route.path).to eql '/abc(.:format)'
|
439
|
+
end
|
440
|
+
|
441
|
+
get '/abc'
|
442
|
+
expect(last_response.body).to eql 'hiya'
|
443
|
+
post '/abc'
|
444
|
+
expect(last_response.body).to eql 'hiya'
|
445
|
+
end
|
446
|
+
|
447
|
+
%i[put post].each do |verb|
|
448
|
+
context verb do
|
449
|
+
['string', :symbol, 1, -1.1, {}, [], true, false, nil].each do |object|
|
450
|
+
it "allows a(n) #{object.class} json object in params" do
|
451
|
+
subject.format :json
|
452
|
+
subject.send(verb) do
|
453
|
+
env['api.request.body']
|
454
|
+
end
|
455
|
+
send verb, '/', ::Grape::Json.dump(object), 'CONTENT_TYPE' => 'application/json'
|
456
|
+
expect(last_response.status).to eq(verb == :post ? 201 : 200)
|
457
|
+
expect(last_response.body).to eql ::Grape::Json.dump(object)
|
458
|
+
expect(last_request.params).to eql({})
|
459
|
+
end
|
460
|
+
it 'stores input in api.request.input' do
|
461
|
+
subject.format :json
|
462
|
+
subject.send(verb) do
|
463
|
+
env['api.request.input']
|
464
|
+
end
|
465
|
+
send verb, '/', ::Grape::Json.dump(object), 'CONTENT_TYPE' => 'application/json'
|
466
|
+
expect(last_response.status).to eq(verb == :post ? 201 : 200)
|
467
|
+
expect(last_response.body).to eql ::Grape::Json.dump(object).to_json
|
468
|
+
end
|
469
|
+
context 'chunked transfer encoding' do
|
470
|
+
it 'stores input in api.request.input' do
|
471
|
+
subject.format :json
|
472
|
+
subject.send(verb) do
|
473
|
+
env['api.request.input']
|
474
|
+
end
|
475
|
+
send verb, '/', ::Grape::Json.dump(object), 'CONTENT_TYPE' => 'application/json', 'HTTP_TRANSFER_ENCODING' => 'chunked', 'CONTENT_LENGTH' => nil
|
476
|
+
expect(last_response.status).to eq(verb == :post ? 201 : 200)
|
477
|
+
expect(last_response.body).to eql ::Grape::Json.dump(object).to_json
|
478
|
+
end
|
479
|
+
end
|
480
|
+
end
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
484
|
+
it 'allows for multipart paths' do
|
485
|
+
subject.route(%i[get post], '/:id/first') do
|
486
|
+
'first'
|
487
|
+
end
|
488
|
+
|
489
|
+
subject.route(%i[get post], '/:id') do
|
490
|
+
'ola'
|
491
|
+
end
|
492
|
+
subject.route(%i[get post], '/:id/first/second') do
|
493
|
+
'second'
|
494
|
+
end
|
495
|
+
|
496
|
+
get '/1'
|
497
|
+
expect(last_response.body).to eql 'ola'
|
498
|
+
post '/1'
|
499
|
+
expect(last_response.body).to eql 'ola'
|
500
|
+
get '/1/first'
|
501
|
+
expect(last_response.body).to eql 'first'
|
502
|
+
post '/1/first'
|
503
|
+
expect(last_response.body).to eql 'first'
|
504
|
+
get '/1/first/second'
|
505
|
+
expect(last_response.body).to eql 'second'
|
506
|
+
end
|
507
|
+
|
508
|
+
it 'allows for :any as a verb' do
|
509
|
+
subject.route(:any, '/abc') do
|
510
|
+
'lol'
|
511
|
+
end
|
512
|
+
|
513
|
+
%w[get post put delete options patch].each do |m|
|
514
|
+
send(m, '/abc')
|
515
|
+
expect(last_response.body).to eql 'lol'
|
516
|
+
end
|
517
|
+
end
|
518
|
+
|
519
|
+
it 'allows for catch-all in a namespace' do
|
520
|
+
subject.namespace :nested do
|
521
|
+
get do
|
522
|
+
'root'
|
523
|
+
end
|
524
|
+
|
525
|
+
get 'something' do
|
526
|
+
'something'
|
527
|
+
end
|
528
|
+
|
529
|
+
route :any, '*path' do
|
530
|
+
'catch-all'
|
531
|
+
end
|
532
|
+
end
|
533
|
+
|
534
|
+
get 'nested'
|
535
|
+
expect(last_response.body).to eql 'root'
|
536
|
+
|
537
|
+
get 'nested/something'
|
538
|
+
expect(last_response.body).to eql 'something'
|
539
|
+
|
540
|
+
get 'nested/missing'
|
541
|
+
expect(last_response.body).to eql 'catch-all'
|
542
|
+
|
543
|
+
post 'nested'
|
544
|
+
expect(last_response.body).to eql 'catch-all'
|
545
|
+
|
546
|
+
post 'nested/something'
|
547
|
+
expect(last_response.body).to eql 'catch-all'
|
548
|
+
end
|
549
|
+
|
550
|
+
verbs = %w[post get head delete put options patch]
|
551
|
+
verbs.each do |verb|
|
552
|
+
it "allows and properly constrain a #{verb.upcase} method" do
|
553
|
+
subject.send(verb, '/example') do
|
554
|
+
verb
|
555
|
+
end
|
556
|
+
send(verb, '/example')
|
557
|
+
expect(last_response.body).to eql verb == 'head' ? '' : verb
|
558
|
+
# Call it with all methods other than the properly constrained one.
|
559
|
+
(verbs - [verb]).each do |other_verb|
|
560
|
+
send(other_verb, '/example')
|
561
|
+
expected_rc = if other_verb == 'options' then 204
|
562
|
+
elsif other_verb == 'head' && verb == 'get' then 200
|
563
|
+
else 405
|
564
|
+
end
|
565
|
+
expect(last_response.status).to eql expected_rc
|
566
|
+
end
|
567
|
+
end
|
568
|
+
end
|
569
|
+
|
570
|
+
it 'returns a 201 response code for POST by default' do
|
571
|
+
subject.post('example') do
|
572
|
+
'Created'
|
573
|
+
end
|
574
|
+
|
575
|
+
post '/example'
|
576
|
+
expect(last_response.status).to eql 201
|
577
|
+
expect(last_response.body).to eql 'Created'
|
578
|
+
end
|
579
|
+
|
580
|
+
it 'returns a 405 for an unsupported method with an X-Custom-Header' do
|
581
|
+
subject.before { header 'X-Custom-Header', 'foo' }
|
582
|
+
subject.get 'example' do
|
583
|
+
'example'
|
584
|
+
end
|
585
|
+
put '/example'
|
586
|
+
expect(last_response.status).to eql 405
|
587
|
+
expect(last_response.body).to eql '405 Not Allowed'
|
588
|
+
expect(last_response.headers['X-Custom-Header']).to eql 'foo'
|
589
|
+
end
|
590
|
+
|
591
|
+
it 'runs only the before filter on 405 bad method' do
|
592
|
+
subject.namespace :example do
|
593
|
+
before { header 'X-Custom-Header', 'foo' }
|
594
|
+
before_validation { raise 'before_validation filter should not run' }
|
595
|
+
after_validation { raise 'after_validation filter should not run' }
|
596
|
+
after { raise 'after filter should not run' }
|
597
|
+
params { requires :only_for_get }
|
598
|
+
get
|
599
|
+
end
|
600
|
+
|
601
|
+
post '/example'
|
602
|
+
expect(last_response.status).to eql 405
|
603
|
+
expect(last_response.headers['X-Custom-Header']).to eql 'foo'
|
604
|
+
end
|
605
|
+
|
606
|
+
it 'runs before filter exactly once on 405 bad method' do
|
607
|
+
already_run = false
|
608
|
+
subject.namespace :example do
|
609
|
+
before do
|
610
|
+
raise 'before filter ran twice' if already_run
|
611
|
+
already_run = true
|
612
|
+
header 'X-Custom-Header', 'foo'
|
613
|
+
end
|
614
|
+
get
|
615
|
+
end
|
616
|
+
|
617
|
+
post '/example'
|
618
|
+
expect(last_response.status).to eql 405
|
619
|
+
expect(last_response.headers['X-Custom-Header']).to eql 'foo'
|
620
|
+
end
|
621
|
+
|
622
|
+
it 'runs all filters and body with a custom OPTIONS method' do
|
623
|
+
subject.namespace :example do
|
624
|
+
before { header 'X-Custom-Header-1', 'foo' }
|
625
|
+
before_validation { header 'X-Custom-Header-2', 'foo' }
|
626
|
+
after_validation { header 'X-Custom-Header-3', 'foo' }
|
627
|
+
after { header 'X-Custom-Header-4', 'foo' }
|
628
|
+
options { 'yup' }
|
629
|
+
get
|
630
|
+
end
|
631
|
+
|
632
|
+
options '/example'
|
633
|
+
expect(last_response.status).to eql 200
|
634
|
+
expect(last_response.body).to eql 'yup'
|
635
|
+
expect(last_response.headers['Allow']).to be_nil
|
636
|
+
expect(last_response.headers['X-Custom-Header-1']).to eql 'foo'
|
637
|
+
expect(last_response.headers['X-Custom-Header-2']).to eql 'foo'
|
638
|
+
expect(last_response.headers['X-Custom-Header-3']).to eql 'foo'
|
639
|
+
expect(last_response.headers['X-Custom-Header-4']).to eql 'foo'
|
640
|
+
end
|
641
|
+
|
642
|
+
context 'when format is xml' do
|
643
|
+
it 'returns a 405 for an unsupported method' do
|
644
|
+
subject.format :xml
|
645
|
+
subject.get 'example' do
|
646
|
+
'example'
|
647
|
+
end
|
648
|
+
|
649
|
+
put '/example'
|
650
|
+
expect(last_response.status).to eql 405
|
651
|
+
expect(last_response.body).to eq <<-XML
|
652
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
653
|
+
<error>
|
654
|
+
<message>405 Not Allowed</message>
|
655
|
+
</error>
|
656
|
+
XML
|
657
|
+
end
|
658
|
+
end
|
659
|
+
|
660
|
+
context 'when accessing env' do
|
661
|
+
it 'returns a 405 for an unsupported method' do
|
662
|
+
subject.before do
|
663
|
+
_customheader1 = headers['X-Custom-Header']
|
664
|
+
_customheader2 = env['HTTP_X_CUSTOM_HEADER']
|
665
|
+
end
|
666
|
+
subject.get 'example' do
|
667
|
+
'example'
|
668
|
+
end
|
669
|
+
put '/example'
|
670
|
+
expect(last_response.status).to eql 405
|
671
|
+
expect(last_response.body).to eql '405 Not Allowed'
|
672
|
+
end
|
673
|
+
end
|
674
|
+
|
675
|
+
specify '405 responses includes an Allow header specifying supported methods' do
|
676
|
+
subject.get 'example' do
|
677
|
+
'example'
|
678
|
+
end
|
679
|
+
subject.post 'example' do
|
680
|
+
'example'
|
681
|
+
end
|
682
|
+
put '/example'
|
683
|
+
expect(last_response.headers['Allow']).to eql 'OPTIONS, GET, POST, HEAD'
|
684
|
+
end
|
685
|
+
|
686
|
+
specify '405 responses includes an Content-Type header' do
|
687
|
+
subject.get 'example' do
|
688
|
+
'example'
|
689
|
+
end
|
690
|
+
subject.post 'example' do
|
691
|
+
'example'
|
692
|
+
end
|
693
|
+
put '/example'
|
694
|
+
expect(last_response.headers['Content-Type']).to eql 'text/plain'
|
695
|
+
end
|
696
|
+
|
697
|
+
describe 'adds an OPTIONS route that' do
|
698
|
+
before do
|
699
|
+
subject.before { header 'X-Custom-Header', 'foo' }
|
700
|
+
subject.before_validation { header 'X-Custom-Header-2', 'bar' }
|
701
|
+
subject.after_validation { header 'X-Custom-Header-3', 'baz' }
|
702
|
+
subject.after { header 'X-Custom-Header-4', 'bing' }
|
703
|
+
subject.params { requires :only_for_get }
|
704
|
+
subject.get 'example' do
|
705
|
+
'example'
|
706
|
+
end
|
707
|
+
subject.route :any, '*path' do
|
708
|
+
error! :not_found, 404
|
709
|
+
end
|
710
|
+
options '/example'
|
711
|
+
end
|
712
|
+
|
713
|
+
it 'returns a 204' do
|
714
|
+
expect(last_response.status).to eql 204
|
715
|
+
end
|
716
|
+
|
717
|
+
it 'has an empty body' do
|
718
|
+
expect(last_response.body).to be_blank
|
719
|
+
end
|
720
|
+
|
721
|
+
it 'has an Allow header' do
|
722
|
+
expect(last_response.headers['Allow']).to eql 'OPTIONS, GET, HEAD'
|
723
|
+
end
|
724
|
+
|
725
|
+
it 'calls before hook' do
|
726
|
+
expect(last_response.headers['X-Custom-Header']).to eql 'foo'
|
727
|
+
end
|
728
|
+
|
729
|
+
it 'does not call before_validation hook' do
|
730
|
+
expect(last_response.headers.key?('X-Custom-Header-2')).to be false
|
731
|
+
end
|
732
|
+
|
733
|
+
it 'does not call after_validation hook' do
|
734
|
+
expect(last_response.headers.key?('X-Custom-Header-3')).to be false
|
735
|
+
end
|
736
|
+
|
737
|
+
it 'calls after hook' do
|
738
|
+
expect(last_response.headers['X-Custom-Header-4']).to eq 'bing'
|
739
|
+
end
|
740
|
+
|
741
|
+
it 'has no Content-Type' do
|
742
|
+
expect(last_response.content_type).to be_nil
|
743
|
+
end
|
744
|
+
|
745
|
+
it 'has no Content-Length' do
|
746
|
+
expect(last_response.content_length).to be_nil
|
747
|
+
end
|
748
|
+
end
|
749
|
+
|
750
|
+
describe 'adds an OPTIONS route for namespaced endpoints that' do
|
751
|
+
before do
|
752
|
+
subject.before { header 'X-Custom-Header', 'foo' }
|
753
|
+
subject.namespace :example do
|
754
|
+
before { header 'X-Custom-Header-2', 'foo' }
|
755
|
+
get :inner do
|
756
|
+
'example/inner'
|
757
|
+
end
|
758
|
+
end
|
759
|
+
options '/example/inner'
|
760
|
+
end
|
761
|
+
|
762
|
+
it 'returns a 204' do
|
763
|
+
expect(last_response.status).to eql 204
|
764
|
+
end
|
765
|
+
|
766
|
+
it 'has an empty body' do
|
767
|
+
expect(last_response.body).to be_blank
|
768
|
+
end
|
769
|
+
|
770
|
+
it 'has an Allow header' do
|
771
|
+
expect(last_response.headers['Allow']).to eql 'OPTIONS, GET, HEAD'
|
772
|
+
end
|
773
|
+
|
774
|
+
it 'calls the outer before filter' do
|
775
|
+
expect(last_response.headers['X-Custom-Header']).to eql 'foo'
|
776
|
+
end
|
777
|
+
|
778
|
+
it 'calls the inner before filter' do
|
779
|
+
expect(last_response.headers['X-Custom-Header-2']).to eql 'foo'
|
780
|
+
end
|
781
|
+
|
782
|
+
it 'has no Content-Type' do
|
783
|
+
expect(last_response.content_type).to be_nil
|
784
|
+
end
|
785
|
+
|
786
|
+
it 'has no Content-Length' do
|
787
|
+
expect(last_response.content_length).to be_nil
|
788
|
+
end
|
789
|
+
end
|
790
|
+
|
791
|
+
describe 'adds a 405 Not Allowed route that' do
|
792
|
+
before do
|
793
|
+
subject.before { header 'X-Custom-Header', 'foo' }
|
794
|
+
subject.post :example do
|
795
|
+
'example'
|
796
|
+
end
|
797
|
+
get '/example'
|
798
|
+
end
|
799
|
+
|
800
|
+
it 'returns a 405' do
|
801
|
+
expect(last_response.status).to eql 405
|
802
|
+
end
|
803
|
+
|
804
|
+
it 'contains error message in body' do
|
805
|
+
expect(last_response.body).to eq '405 Not Allowed'
|
806
|
+
end
|
807
|
+
|
808
|
+
it 'has an Allow header' do
|
809
|
+
expect(last_response.headers['Allow']).to eql 'OPTIONS, POST'
|
810
|
+
end
|
811
|
+
|
812
|
+
it 'has a X-Custom-Header' do
|
813
|
+
expect(last_response.headers['X-Custom-Header']).to eql 'foo'
|
814
|
+
end
|
815
|
+
end
|
816
|
+
|
817
|
+
context 'allows HEAD on a GET request that' do
|
818
|
+
before do
|
819
|
+
subject.get 'example' do
|
820
|
+
'example'
|
821
|
+
end
|
822
|
+
subject.route :any, '*path' do
|
823
|
+
error! :not_found, 404
|
824
|
+
end
|
825
|
+
head '/example'
|
826
|
+
end
|
827
|
+
|
828
|
+
it 'returns a 200' do
|
829
|
+
expect(last_response.status).to eql 200
|
830
|
+
end
|
831
|
+
|
832
|
+
it 'has an empty body' do
|
833
|
+
expect(last_response.body).to eql ''
|
834
|
+
end
|
835
|
+
end
|
836
|
+
|
837
|
+
it 'overwrites the default HEAD request' do
|
838
|
+
subject.head 'example' do
|
839
|
+
error! 'nothing to see here', 400
|
840
|
+
end
|
841
|
+
subject.get 'example' do
|
842
|
+
'example'
|
843
|
+
end
|
844
|
+
head '/example'
|
845
|
+
expect(last_response.status).to eql 400
|
846
|
+
end
|
847
|
+
end
|
848
|
+
|
849
|
+
context 'do_not_route_head!' do
|
850
|
+
before :each do
|
851
|
+
subject.do_not_route_head!
|
852
|
+
subject.get 'example' do
|
853
|
+
'example'
|
854
|
+
end
|
855
|
+
end
|
856
|
+
it 'options does not contain HEAD' do
|
857
|
+
options '/example'
|
858
|
+
expect(last_response.status).to eql 204
|
859
|
+
expect(last_response.body).to eql ''
|
860
|
+
expect(last_response.headers['Allow']).to eql 'OPTIONS, GET'
|
861
|
+
end
|
862
|
+
it 'does not allow HEAD on a GET request' do
|
863
|
+
head '/example'
|
864
|
+
expect(last_response.status).to eql 405
|
865
|
+
end
|
866
|
+
end
|
867
|
+
|
868
|
+
context 'do_not_route_options!' do
|
869
|
+
before :each do
|
870
|
+
subject.do_not_route_options!
|
871
|
+
subject.get 'example' do
|
872
|
+
'example'
|
873
|
+
end
|
874
|
+
end
|
875
|
+
|
876
|
+
it 'does not create an OPTIONS route' do
|
877
|
+
options '/example'
|
878
|
+
expect(last_response.status).to eql 405
|
879
|
+
end
|
880
|
+
|
881
|
+
it 'does not include OPTIONS in Allow header' do
|
882
|
+
options '/example'
|
883
|
+
expect(last_response.status).to eql 405
|
884
|
+
expect(last_response.headers['Allow']).to eql 'GET, HEAD'
|
885
|
+
end
|
886
|
+
end
|
887
|
+
|
888
|
+
describe '.compile!' do
|
889
|
+
it 'requires the grape/eager_load file' do
|
890
|
+
expect(app).to receive(:require).with('grape/eager_load') { nil }
|
891
|
+
app.compile!
|
892
|
+
end
|
893
|
+
|
894
|
+
it 'compiles the instance for rack!' do
|
895
|
+
stubbed_object = double(:instance_for_rack)
|
896
|
+
allow(app).to receive(:instance_for_rack) { stubbed_object }
|
897
|
+
end
|
898
|
+
end
|
899
|
+
|
900
|
+
# NOTE: this method is required to preserve the ability of pre-mounting
|
901
|
+
# the root API into a namespace, it may be deprecated in the future.
|
902
|
+
describe 'instance_for_rack' do
|
903
|
+
context 'when the app was not mounted' do
|
904
|
+
it 'returns the base_instance' do
|
905
|
+
expect(app.send(:instance_for_rack)).to eq app.base_instance
|
906
|
+
end
|
907
|
+
end
|
908
|
+
|
909
|
+
context 'when the app was mounted' do
|
910
|
+
it 'returns the first mounted instance' do
|
911
|
+
mounted_app = app
|
912
|
+
Class.new(Grape::API) do
|
913
|
+
namespace 'new_namespace' do
|
914
|
+
mount mounted_app
|
915
|
+
end
|
916
|
+
end
|
917
|
+
expect(app.send(:instance_for_rack)).to eq app.send(:mounted_instances).first
|
918
|
+
end
|
919
|
+
end
|
920
|
+
end
|
921
|
+
|
922
|
+
describe 'filters' do
|
923
|
+
it 'adds a before filter' do
|
924
|
+
subject.before { @foo = 'first' }
|
925
|
+
subject.before { @bar = 'second' }
|
926
|
+
subject.get '/' do
|
927
|
+
"#{@foo} #{@bar}"
|
928
|
+
end
|
929
|
+
|
930
|
+
get '/'
|
931
|
+
expect(last_response.body).to eql 'first second'
|
932
|
+
end
|
933
|
+
|
934
|
+
it 'adds a before filter to current and child namespaces only' do
|
935
|
+
subject.get '/' do
|
936
|
+
"root - #{@foo}"
|
937
|
+
end
|
938
|
+
subject.namespace :blah do
|
939
|
+
before { @foo = 'foo' }
|
940
|
+
get '/' do
|
941
|
+
"blah - #{@foo}"
|
942
|
+
end
|
943
|
+
|
944
|
+
namespace :bar do
|
945
|
+
get '/' do
|
946
|
+
"blah - bar - #{@foo}"
|
947
|
+
end
|
948
|
+
end
|
949
|
+
end
|
950
|
+
|
951
|
+
get '/'
|
952
|
+
expect(last_response.body).to eql 'root - '
|
953
|
+
get '/blah'
|
954
|
+
expect(last_response.body).to eql 'blah - foo'
|
955
|
+
get '/blah/bar'
|
956
|
+
expect(last_response.body).to eql 'blah - bar - foo'
|
957
|
+
end
|
958
|
+
|
959
|
+
it 'adds a after_validation filter' do
|
960
|
+
subject.after_validation { @foo = "first #{params[:id]}:#{params[:id].class}" }
|
961
|
+
subject.after_validation { @bar = 'second' }
|
962
|
+
subject.params do
|
963
|
+
requires :id, type: Integer
|
964
|
+
end
|
965
|
+
subject.get '/' do
|
966
|
+
"#{@foo} #{@bar}"
|
967
|
+
end
|
968
|
+
|
969
|
+
get '/', id: '32'
|
970
|
+
expect(last_response.body).to eql "first 32:#{integer_class_name} second"
|
971
|
+
end
|
972
|
+
|
973
|
+
it 'adds a after filter' do
|
974
|
+
m = double('after mock')
|
975
|
+
subject.after { m.do_something! }
|
976
|
+
subject.after { m.do_something! }
|
977
|
+
subject.get '/' do
|
978
|
+
@var ||= 'default'
|
979
|
+
end
|
980
|
+
|
981
|
+
expect(m).to receive(:do_something!).exactly(2).times
|
982
|
+
get '/'
|
983
|
+
expect(last_response.body).to eql 'default'
|
984
|
+
end
|
985
|
+
|
986
|
+
it 'calls all filters when validation passes' do
|
987
|
+
a = double('before mock')
|
988
|
+
b = double('before_validation mock')
|
989
|
+
c = double('after_validation mock')
|
990
|
+
d = double('after mock')
|
991
|
+
|
992
|
+
subject.params do
|
993
|
+
requires :id, type: Integer
|
994
|
+
end
|
995
|
+
subject.resource ':id' do
|
996
|
+
before { a.do_something! }
|
997
|
+
before_validation { b.do_something! }
|
998
|
+
after_validation { c.do_something! }
|
999
|
+
after { d.do_something! }
|
1000
|
+
get do
|
1001
|
+
'got it'
|
1002
|
+
end
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
expect(a).to receive(:do_something!).exactly(1).times
|
1006
|
+
expect(b).to receive(:do_something!).exactly(1).times
|
1007
|
+
expect(c).to receive(:do_something!).exactly(1).times
|
1008
|
+
expect(d).to receive(:do_something!).exactly(1).times
|
1009
|
+
|
1010
|
+
get '/123'
|
1011
|
+
expect(last_response.status).to eql 200
|
1012
|
+
expect(last_response.body).to eql 'got it'
|
1013
|
+
end
|
1014
|
+
|
1015
|
+
it 'calls only before filters when validation fails' do
|
1016
|
+
a = double('before mock')
|
1017
|
+
b = double('before_validation mock')
|
1018
|
+
c = double('after_validation mock')
|
1019
|
+
d = double('after mock')
|
1020
|
+
|
1021
|
+
subject.params do
|
1022
|
+
requires :id, type: Integer
|
1023
|
+
end
|
1024
|
+
subject.resource ':id' do
|
1025
|
+
before { a.do_something! }
|
1026
|
+
before_validation { b.do_something! }
|
1027
|
+
after_validation { c.do_something! }
|
1028
|
+
after { d.do_something! }
|
1029
|
+
get do
|
1030
|
+
'got it'
|
1031
|
+
end
|
1032
|
+
end
|
1033
|
+
|
1034
|
+
expect(a).to receive(:do_something!).exactly(1).times
|
1035
|
+
expect(b).to receive(:do_something!).exactly(1).times
|
1036
|
+
expect(c).to receive(:do_something!).exactly(0).times
|
1037
|
+
expect(d).to receive(:do_something!).exactly(0).times
|
1038
|
+
|
1039
|
+
get '/abc'
|
1040
|
+
expect(last_response.status).to eql 400
|
1041
|
+
expect(last_response.body).to eql 'id is invalid'
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
it 'calls filters in the correct order' do
|
1045
|
+
i = 0
|
1046
|
+
a = double('before mock')
|
1047
|
+
b = double('before_validation mock')
|
1048
|
+
c = double('after_validation mock')
|
1049
|
+
d = double('after mock')
|
1050
|
+
|
1051
|
+
subject.params do
|
1052
|
+
requires :id, type: Integer
|
1053
|
+
end
|
1054
|
+
subject.resource ':id' do
|
1055
|
+
before { a.here(i += 1) }
|
1056
|
+
before_validation { b.here(i += 1) }
|
1057
|
+
after_validation { c.here(i += 1) }
|
1058
|
+
after { d.here(i += 1) }
|
1059
|
+
get do
|
1060
|
+
'got it'
|
1061
|
+
end
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
expect(a).to receive(:here).with(1).exactly(1).times
|
1065
|
+
expect(b).to receive(:here).with(2).exactly(1).times
|
1066
|
+
expect(c).to receive(:here).with(3).exactly(1).times
|
1067
|
+
expect(d).to receive(:here).with(4).exactly(1).times
|
1068
|
+
|
1069
|
+
get '/123'
|
1070
|
+
expect(last_response.status).to eql 200
|
1071
|
+
expect(last_response.body).to eql 'got it'
|
1072
|
+
end
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
context 'format' do
|
1076
|
+
before do
|
1077
|
+
subject.get('/foo') { 'bar' }
|
1078
|
+
end
|
1079
|
+
|
1080
|
+
it 'sets content type for txt format' do
|
1081
|
+
get '/foo'
|
1082
|
+
expect(last_response.headers['Content-Type']).to eq('text/plain')
|
1083
|
+
end
|
1084
|
+
|
1085
|
+
it 'sets content type for xml' do
|
1086
|
+
get '/foo.xml'
|
1087
|
+
expect(last_response.headers['Content-Type']).to eq('application/xml')
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
it 'sets content type for json' do
|
1091
|
+
get '/foo.json'
|
1092
|
+
expect(last_response.headers['Content-Type']).to eq('application/json')
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
it 'sets content type for serializable hash format' do
|
1096
|
+
get '/foo.serializable_hash'
|
1097
|
+
expect(last_response.headers['Content-Type']).to eq('application/json')
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
it 'sets content type for binary format' do
|
1101
|
+
get '/foo.binary'
|
1102
|
+
expect(last_response.headers['Content-Type']).to eq('application/octet-stream')
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
it 'returns raw data when content type binary' do
|
1106
|
+
image_filename = 'grape.png'
|
1107
|
+
file = File.open(image_filename, 'rb', &:read)
|
1108
|
+
subject.format :binary
|
1109
|
+
subject.get('/binary_file') { File.binread(image_filename) }
|
1110
|
+
get '/binary_file'
|
1111
|
+
expect(last_response.headers['Content-Type']).to eq('application/octet-stream')
|
1112
|
+
expect(last_response.body).to eq(file)
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
it 'returns the content of the file with file' do
|
1116
|
+
file_content = 'This is some file content'
|
1117
|
+
test_file = Tempfile.new('test')
|
1118
|
+
test_file.write file_content
|
1119
|
+
test_file.rewind
|
1120
|
+
|
1121
|
+
subject.get('/file') { file test_file }
|
1122
|
+
get '/file'
|
1123
|
+
expect(last_response.headers['Content-Length']).to eq('25')
|
1124
|
+
expect(last_response.headers['Content-Type']).to eq('text/plain')
|
1125
|
+
expect(last_response.body).to eq(file_content)
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
it 'streams the content of the file with stream' do
|
1129
|
+
test_stream = Enumerator.new do |blk|
|
1130
|
+
blk.yield 'This is some'
|
1131
|
+
blk.yield ' file content'
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
subject.use Rack::Chunked
|
1135
|
+
subject.get('/stream') { stream test_stream }
|
1136
|
+
get '/stream', {}, 'HTTP_VERSION' => 'HTTP/1.1'
|
1137
|
+
|
1138
|
+
expect(last_response.headers['Content-Type']).to eq('text/plain')
|
1139
|
+
expect(last_response.headers['Content-Length']).to eq(nil)
|
1140
|
+
expect(last_response.headers['Cache-Control']).to eq('no-cache')
|
1141
|
+
expect(last_response.headers['Transfer-Encoding']).to eq('chunked')
|
1142
|
+
|
1143
|
+
expect(last_response.body).to eq("c\r\nThis is some\r\nd\r\n file content\r\n0\r\n\r\n")
|
1144
|
+
end
|
1145
|
+
|
1146
|
+
it 'sets content type for error' do
|
1147
|
+
subject.get('/error') { error!('error in plain text', 500) }
|
1148
|
+
get '/error'
|
1149
|
+
expect(last_response.headers['Content-Type']).to eql 'text/plain'
|
1150
|
+
end
|
1151
|
+
|
1152
|
+
it 'sets content type for json error' do
|
1153
|
+
subject.format :json
|
1154
|
+
subject.get('/error') { error!('error in json', 500) }
|
1155
|
+
get '/error.json'
|
1156
|
+
expect(last_response.status).to eql 500
|
1157
|
+
expect(last_response.headers['Content-Type']).to eql 'application/json'
|
1158
|
+
end
|
1159
|
+
|
1160
|
+
it 'sets content type for xml error' do
|
1161
|
+
subject.format :xml
|
1162
|
+
subject.get('/error') { error!('error in xml', 500) }
|
1163
|
+
get '/error'
|
1164
|
+
expect(last_response.status).to eql 500
|
1165
|
+
expect(last_response.headers['Content-Type']).to eql 'application/xml'
|
1166
|
+
end
|
1167
|
+
|
1168
|
+
it 'includes extension in format' do
|
1169
|
+
subject.get(':id') { params[:format] }
|
1170
|
+
|
1171
|
+
get '/baz.bar'
|
1172
|
+
expect(last_response.status).to eq 200
|
1173
|
+
expect(last_response.body).to eq 'bar'
|
1174
|
+
end
|
1175
|
+
|
1176
|
+
it 'does not include extension in id' do
|
1177
|
+
subject.format :json
|
1178
|
+
subject.get(':id') { params }
|
1179
|
+
|
1180
|
+
get '/baz.bar'
|
1181
|
+
expect(last_response.status).to eq 404
|
1182
|
+
end
|
1183
|
+
|
1184
|
+
context 'with a custom content_type' do
|
1185
|
+
before do
|
1186
|
+
subject.content_type :custom, 'application/custom'
|
1187
|
+
subject.formatter :custom, ->(_object, _env) { 'custom' }
|
1188
|
+
|
1189
|
+
subject.get('/custom') { 'bar' }
|
1190
|
+
subject.get('/error') { error!('error in custom', 500) }
|
1191
|
+
end
|
1192
|
+
|
1193
|
+
it 'sets content type' do
|
1194
|
+
get '/custom.custom'
|
1195
|
+
expect(last_response.headers['Content-Type']).to eql 'application/custom'
|
1196
|
+
end
|
1197
|
+
|
1198
|
+
it 'sets content type for error' do
|
1199
|
+
get '/error.custom'
|
1200
|
+
expect(last_response.headers['Content-Type']).to eql 'application/custom'
|
1201
|
+
end
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
context 'env["api.format"]' do
|
1205
|
+
before do
|
1206
|
+
subject.post 'attachment' do
|
1207
|
+
filename = params[:file][:filename]
|
1208
|
+
content_type MIME::Types.type_for(filename)[0].to_s
|
1209
|
+
env['api.format'] = :binary # there's no formatter for :binary, data will be returned "as is"
|
1210
|
+
header 'Content-Disposition', "attachment; filename*=UTF-8''#{CGI.escape(filename)}"
|
1211
|
+
params[:file][:tempfile].read
|
1212
|
+
end
|
1213
|
+
end
|
1214
|
+
|
1215
|
+
['/attachment.png', 'attachment'].each do |url|
|
1216
|
+
it "uploads and downloads a PNG file via #{url}" do
|
1217
|
+
image_filename = 'grape.png'
|
1218
|
+
post url, file: Rack::Test::UploadedFile.new(image_filename, 'image/png', true)
|
1219
|
+
expect(last_response.status).to eq(201)
|
1220
|
+
expect(last_response.headers['Content-Type']).to eq('image/png')
|
1221
|
+
expect(last_response.headers['Content-Disposition']).to eq("attachment; filename*=UTF-8''grape.png")
|
1222
|
+
File.open(image_filename, 'rb') do |io|
|
1223
|
+
expect(last_response.body).to eq io.read
|
1224
|
+
end
|
1225
|
+
end
|
1226
|
+
end
|
1227
|
+
|
1228
|
+
it 'uploads and downloads a Ruby file' do
|
1229
|
+
filename = __FILE__
|
1230
|
+
post '/attachment.rb', file: Rack::Test::UploadedFile.new(filename, 'application/x-ruby', true)
|
1231
|
+
expect(last_response.status).to eq(201)
|
1232
|
+
expect(last_response.headers['Content-Type']).to eq('application/x-ruby')
|
1233
|
+
expect(last_response.headers['Content-Disposition']).to eq("attachment; filename*=UTF-8''api_spec.rb")
|
1234
|
+
File.open(filename, 'rb') do |io|
|
1235
|
+
expect(last_response.body).to eq io.read
|
1236
|
+
end
|
1237
|
+
end
|
1238
|
+
end
|
1239
|
+
end
|
1240
|
+
|
1241
|
+
context 'custom middleware' do
|
1242
|
+
module ApiSpec
|
1243
|
+
class PhonyMiddleware
|
1244
|
+
def initialize(app, *args)
|
1245
|
+
@args = args
|
1246
|
+
@app = app
|
1247
|
+
@block = block_given? ? true : nil
|
1248
|
+
end
|
1249
|
+
|
1250
|
+
def call(env)
|
1251
|
+
env['phony.args'] ||= []
|
1252
|
+
env['phony.args'] << @args
|
1253
|
+
env['phony.block'] = true if @block
|
1254
|
+
@app.call(env)
|
1255
|
+
end
|
1256
|
+
end
|
1257
|
+
end
|
1258
|
+
|
1259
|
+
describe '.middleware' do
|
1260
|
+
it 'includes middleware arguments from settings' do
|
1261
|
+
subject.use ApiSpec::PhonyMiddleware, 'abc', 123
|
1262
|
+
expect(subject.middleware).to eql [[:use, ApiSpec::PhonyMiddleware, 'abc', 123]]
|
1263
|
+
end
|
1264
|
+
|
1265
|
+
it 'includes all middleware from stacked settings' do
|
1266
|
+
subject.use ApiSpec::PhonyMiddleware, 123
|
1267
|
+
subject.use ApiSpec::PhonyMiddleware, 'abc'
|
1268
|
+
subject.use ApiSpec::PhonyMiddleware, 'foo'
|
1269
|
+
|
1270
|
+
expect(subject.middleware).to eql [
|
1271
|
+
[:use, ApiSpec::PhonyMiddleware, 123],
|
1272
|
+
[:use, ApiSpec::PhonyMiddleware, 'abc'],
|
1273
|
+
[:use, ApiSpec::PhonyMiddleware, 'foo']
|
1274
|
+
]
|
1275
|
+
end
|
1276
|
+
end
|
1277
|
+
|
1278
|
+
describe '.use' do
|
1279
|
+
it 'adds middleware' do
|
1280
|
+
subject.use ApiSpec::PhonyMiddleware, 123
|
1281
|
+
expect(subject.middleware).to eql [[:use, ApiSpec::PhonyMiddleware, 123]]
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
it 'does not show up outside the namespace' do
|
1285
|
+
inner_middleware = nil
|
1286
|
+
subject.use ApiSpec::PhonyMiddleware, 123
|
1287
|
+
subject.namespace :awesome do
|
1288
|
+
use ApiSpec::PhonyMiddleware, 'abc'
|
1289
|
+
inner_middleware = middleware
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
expect(subject.middleware).to eql [[:use, ApiSpec::PhonyMiddleware, 123]]
|
1293
|
+
expect(inner_middleware).to eql [[:use, ApiSpec::PhonyMiddleware, 123], [:use, ApiSpec::PhonyMiddleware, 'abc']]
|
1294
|
+
end
|
1295
|
+
|
1296
|
+
it 'calls the middleware' do
|
1297
|
+
subject.use ApiSpec::PhonyMiddleware, 'hello'
|
1298
|
+
subject.get '/' do
|
1299
|
+
env['phony.args'].first.first
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
get '/'
|
1303
|
+
expect(last_response.body).to eql 'hello'
|
1304
|
+
end
|
1305
|
+
|
1306
|
+
it 'adds a block if one is given' do
|
1307
|
+
block = -> {}
|
1308
|
+
subject.use ApiSpec::PhonyMiddleware, &block
|
1309
|
+
expect(subject.middleware).to eql [[:use, ApiSpec::PhonyMiddleware, block]]
|
1310
|
+
end
|
1311
|
+
|
1312
|
+
it 'uses a block if one is given' do
|
1313
|
+
block = -> {}
|
1314
|
+
subject.use ApiSpec::PhonyMiddleware, &block
|
1315
|
+
subject.get '/' do
|
1316
|
+
env['phony.block'].inspect
|
1317
|
+
end
|
1318
|
+
|
1319
|
+
get '/'
|
1320
|
+
expect(last_response.body).to eq('true')
|
1321
|
+
end
|
1322
|
+
|
1323
|
+
it 'does not destroy the middleware settings on multiple runs' do
|
1324
|
+
block = -> {}
|
1325
|
+
subject.use ApiSpec::PhonyMiddleware, &block
|
1326
|
+
subject.get '/' do
|
1327
|
+
env['phony.block'].inspect
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
2.times do
|
1331
|
+
get '/'
|
1332
|
+
expect(last_response.body).to eq('true')
|
1333
|
+
end
|
1334
|
+
end
|
1335
|
+
|
1336
|
+
it 'mounts behind error middleware' do
|
1337
|
+
m = Class.new(Grape::Middleware::Base) do
|
1338
|
+
def before
|
1339
|
+
throw :error, message: 'Caught in the Net', status: 400
|
1340
|
+
end
|
1341
|
+
end
|
1342
|
+
subject.use m
|
1343
|
+
subject.get '/' do
|
1344
|
+
end
|
1345
|
+
get '/'
|
1346
|
+
expect(last_response.status).to eq(400)
|
1347
|
+
expect(last_response.body).to eq('Caught in the Net')
|
1348
|
+
end
|
1349
|
+
end
|
1350
|
+
|
1351
|
+
describe '.insert_before' do
|
1352
|
+
it 'runs before a given middleware' do
|
1353
|
+
m = Class.new(Grape::Middleware::Base) do
|
1354
|
+
def call(env)
|
1355
|
+
env['phony.args'] ||= []
|
1356
|
+
env['phony.args'] << @options[:message]
|
1357
|
+
@app.call(env)
|
1358
|
+
end
|
1359
|
+
end
|
1360
|
+
|
1361
|
+
subject.use ApiSpec::PhonyMiddleware, 'hello'
|
1362
|
+
subject.insert_before ApiSpec::PhonyMiddleware, m, message: 'bye'
|
1363
|
+
subject.get '/' do
|
1364
|
+
env['phony.args'].join(' ')
|
1365
|
+
end
|
1366
|
+
|
1367
|
+
get '/'
|
1368
|
+
expect(last_response.body).to eql 'bye hello'
|
1369
|
+
end
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
describe '.insert_after' do
|
1373
|
+
it 'runs after a given middleware' do
|
1374
|
+
m = Class.new(Grape::Middleware::Base) do
|
1375
|
+
def call(env)
|
1376
|
+
env['phony.args'] ||= []
|
1377
|
+
env['phony.args'] << @options[:message]
|
1378
|
+
@app.call(env)
|
1379
|
+
end
|
1380
|
+
end
|
1381
|
+
|
1382
|
+
subject.use ApiSpec::PhonyMiddleware, 'hello'
|
1383
|
+
subject.insert_after ApiSpec::PhonyMiddleware, m, message: 'bye'
|
1384
|
+
subject.get '/' do
|
1385
|
+
env['phony.args'].join(' ')
|
1386
|
+
end
|
1387
|
+
|
1388
|
+
get '/'
|
1389
|
+
expect(last_response.body).to eql 'hello bye'
|
1390
|
+
end
|
1391
|
+
end
|
1392
|
+
end
|
1393
|
+
|
1394
|
+
describe '.insert' do
|
1395
|
+
it 'inserts middleware in a specific location in the stack' do
|
1396
|
+
m = Class.new(Grape::Middleware::Base) do
|
1397
|
+
def call(env)
|
1398
|
+
env['phony.args'] ||= []
|
1399
|
+
env['phony.args'] << @options[:message]
|
1400
|
+
@app.call(env)
|
1401
|
+
end
|
1402
|
+
end
|
1403
|
+
|
1404
|
+
subject.use ApiSpec::PhonyMiddleware, 'bye'
|
1405
|
+
subject.insert 0, m, message: 'good'
|
1406
|
+
subject.insert 0, m, message: 'hello'
|
1407
|
+
subject.get '/' do
|
1408
|
+
env['phony.args'].join(' ')
|
1409
|
+
end
|
1410
|
+
|
1411
|
+
get '/'
|
1412
|
+
expect(last_response.body).to eql 'hello good bye'
|
1413
|
+
end
|
1414
|
+
end
|
1415
|
+
|
1416
|
+
describe '.http_basic' do
|
1417
|
+
it 'protects any resources on the same scope' do
|
1418
|
+
subject.http_basic do |u, _p|
|
1419
|
+
u == 'allow'
|
1420
|
+
end
|
1421
|
+
subject.get(:hello) { 'Hello, world.' }
|
1422
|
+
get '/hello'
|
1423
|
+
expect(last_response.status).to eql 401
|
1424
|
+
get '/hello', {}, 'HTTP_AUTHORIZATION' => encode_basic_auth('allow', 'whatever')
|
1425
|
+
expect(last_response.status).to eql 200
|
1426
|
+
end
|
1427
|
+
|
1428
|
+
it 'is scopable' do
|
1429
|
+
subject.get(:hello) { 'Hello, world.' }
|
1430
|
+
subject.namespace :admin do
|
1431
|
+
http_basic do |u, _p|
|
1432
|
+
u == 'allow'
|
1433
|
+
end
|
1434
|
+
|
1435
|
+
get(:hello) { 'Hello, world.' }
|
1436
|
+
end
|
1437
|
+
|
1438
|
+
get '/hello'
|
1439
|
+
expect(last_response.status).to eql 200
|
1440
|
+
get '/admin/hello'
|
1441
|
+
expect(last_response.status).to eql 401
|
1442
|
+
end
|
1443
|
+
|
1444
|
+
it 'is callable via .auth as well' do
|
1445
|
+
subject.auth :http_basic do |u, _p|
|
1446
|
+
u == 'allow'
|
1447
|
+
end
|
1448
|
+
|
1449
|
+
subject.get(:hello) { 'Hello, world.' }
|
1450
|
+
get '/hello'
|
1451
|
+
expect(last_response.status).to eql 401
|
1452
|
+
get '/hello', {}, 'HTTP_AUTHORIZATION' => encode_basic_auth('allow', 'whatever')
|
1453
|
+
expect(last_response.status).to eql 200
|
1454
|
+
end
|
1455
|
+
|
1456
|
+
it 'has access to the current endpoint' do
|
1457
|
+
basic_auth_context = nil
|
1458
|
+
|
1459
|
+
subject.http_basic do |u, _p|
|
1460
|
+
basic_auth_context = self
|
1461
|
+
|
1462
|
+
u == 'allow'
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
subject.get(:hello) { 'Hello, world.' }
|
1466
|
+
get '/hello', {}, 'HTTP_AUTHORIZATION' => encode_basic_auth('allow', 'whatever')
|
1467
|
+
expect(basic_auth_context).to be_a_kind_of(Grape::Endpoint)
|
1468
|
+
end
|
1469
|
+
|
1470
|
+
it 'has access to helper methods' do
|
1471
|
+
subject.helpers do
|
1472
|
+
def authorize(u, p)
|
1473
|
+
u == 'allow' && p == 'whatever'
|
1474
|
+
end
|
1475
|
+
end
|
1476
|
+
|
1477
|
+
subject.http_basic do |u, p|
|
1478
|
+
authorize(u, p)
|
1479
|
+
end
|
1480
|
+
|
1481
|
+
subject.get(:hello) { 'Hello, world.' }
|
1482
|
+
get '/hello', {}, 'HTTP_AUTHORIZATION' => encode_basic_auth('allow', 'whatever')
|
1483
|
+
expect(last_response.status).to eql 200
|
1484
|
+
get '/hello', {}, 'HTTP_AUTHORIZATION' => encode_basic_auth('disallow', 'whatever')
|
1485
|
+
expect(last_response.status).to eql 401
|
1486
|
+
end
|
1487
|
+
|
1488
|
+
it 'can set instance variables accessible to routes' do
|
1489
|
+
subject.http_basic do |u, _p|
|
1490
|
+
@hello = 'Hello, world.'
|
1491
|
+
|
1492
|
+
u == 'allow'
|
1493
|
+
end
|
1494
|
+
|
1495
|
+
subject.get(:hello) { @hello }
|
1496
|
+
get '/hello', {}, 'HTTP_AUTHORIZATION' => encode_basic_auth('allow', 'whatever')
|
1497
|
+
expect(last_response.status).to eql 200
|
1498
|
+
expect(last_response.body).to eql 'Hello, world.'
|
1499
|
+
end
|
1500
|
+
end
|
1501
|
+
|
1502
|
+
describe '.logger' do
|
1503
|
+
subject do
|
1504
|
+
Class.new(Grape::API) do
|
1505
|
+
def self.io
|
1506
|
+
@io ||= StringIO.new
|
1507
|
+
end
|
1508
|
+
logger ::Logger.new(io)
|
1509
|
+
end
|
1510
|
+
end
|
1511
|
+
|
1512
|
+
it 'returns an instance of Logger class by default' do
|
1513
|
+
expect(subject.logger.class).to eql Logger
|
1514
|
+
end
|
1515
|
+
|
1516
|
+
it 'allows setting a custom logger' do
|
1517
|
+
mylogger = Class.new
|
1518
|
+
subject.logger mylogger
|
1519
|
+
expect(mylogger).to receive(:info).exactly(1).times
|
1520
|
+
subject.logger.info 'this will be logged'
|
1521
|
+
end
|
1522
|
+
|
1523
|
+
it 'defaults to a standard logger log format' do
|
1524
|
+
t = Time.at(100)
|
1525
|
+
allow(Time).to receive(:now).and_return(t)
|
1526
|
+
message = "this will be logged\n"
|
1527
|
+
message = "I, [#{Logger::Formatter.new.send(:format_datetime, t)}\##{Process.pid}] INFO -- : #{message}" if !defined?(Rails) || Gem::Version.new(Rails::VERSION::STRING) >= Gem::Version.new('4.0')
|
1528
|
+
expect(subject.io).to receive(:write).with(message)
|
1529
|
+
subject.logger.info 'this will be logged'
|
1530
|
+
end
|
1531
|
+
end
|
1532
|
+
|
1533
|
+
describe '.helpers' do
|
1534
|
+
it 'is accessible from the endpoint' do
|
1535
|
+
subject.helpers do
|
1536
|
+
def hello
|
1537
|
+
'Hello, world.'
|
1538
|
+
end
|
1539
|
+
end
|
1540
|
+
|
1541
|
+
subject.get '/howdy' do
|
1542
|
+
hello
|
1543
|
+
end
|
1544
|
+
|
1545
|
+
get '/howdy'
|
1546
|
+
expect(last_response.body).to eql 'Hello, world.'
|
1547
|
+
end
|
1548
|
+
|
1549
|
+
it 'is scopable' do
|
1550
|
+
subject.helpers do
|
1551
|
+
def generic
|
1552
|
+
'always there'
|
1553
|
+
end
|
1554
|
+
end
|
1555
|
+
|
1556
|
+
subject.namespace :admin do
|
1557
|
+
helpers do
|
1558
|
+
def secret
|
1559
|
+
'only in admin'
|
1560
|
+
end
|
1561
|
+
end
|
1562
|
+
|
1563
|
+
get '/secret' do
|
1564
|
+
[generic, secret].join ':'
|
1565
|
+
end
|
1566
|
+
end
|
1567
|
+
|
1568
|
+
subject.get '/generic' do
|
1569
|
+
[generic, respond_to?(:secret)].join ':'
|
1570
|
+
end
|
1571
|
+
|
1572
|
+
get '/generic'
|
1573
|
+
expect(last_response.body).to eql 'always there:false'
|
1574
|
+
get '/admin/secret'
|
1575
|
+
expect(last_response.body).to eql 'always there:only in admin'
|
1576
|
+
end
|
1577
|
+
|
1578
|
+
it 'is reopenable' do
|
1579
|
+
subject.helpers do
|
1580
|
+
def one
|
1581
|
+
1
|
1582
|
+
end
|
1583
|
+
end
|
1584
|
+
|
1585
|
+
subject.helpers do
|
1586
|
+
def two
|
1587
|
+
2
|
1588
|
+
end
|
1589
|
+
end
|
1590
|
+
|
1591
|
+
subject.get 'howdy' do
|
1592
|
+
[one, two]
|
1593
|
+
end
|
1594
|
+
|
1595
|
+
expect { get '/howdy' }.not_to raise_error
|
1596
|
+
end
|
1597
|
+
|
1598
|
+
it 'allows for modules' do
|
1599
|
+
mod = Module.new do
|
1600
|
+
def hello
|
1601
|
+
'Hello, world.'
|
1602
|
+
end
|
1603
|
+
end
|
1604
|
+
subject.helpers mod
|
1605
|
+
|
1606
|
+
subject.get '/howdy' do
|
1607
|
+
hello
|
1608
|
+
end
|
1609
|
+
|
1610
|
+
get '/howdy'
|
1611
|
+
expect(last_response.body).to eql 'Hello, world.'
|
1612
|
+
end
|
1613
|
+
|
1614
|
+
it 'allows multiple calls with modules and blocks' do
|
1615
|
+
subject.helpers Module.new do
|
1616
|
+
def one
|
1617
|
+
1
|
1618
|
+
end
|
1619
|
+
end
|
1620
|
+
subject.helpers Module.new do
|
1621
|
+
def two
|
1622
|
+
2
|
1623
|
+
end
|
1624
|
+
end
|
1625
|
+
subject.helpers do
|
1626
|
+
def three
|
1627
|
+
3
|
1628
|
+
end
|
1629
|
+
end
|
1630
|
+
subject.get 'howdy' do
|
1631
|
+
[one, two, three]
|
1632
|
+
end
|
1633
|
+
expect { get '/howdy' }.not_to raise_error
|
1634
|
+
end
|
1635
|
+
end
|
1636
|
+
|
1637
|
+
describe '.scope' do
|
1638
|
+
# TODO: refactor this to not be tied to versioning. How about a generic
|
1639
|
+
# .setting macro?
|
1640
|
+
it 'scopes the various settings' do
|
1641
|
+
subject.prefix 'new'
|
1642
|
+
|
1643
|
+
subject.scope :legacy do
|
1644
|
+
prefix 'legacy'
|
1645
|
+
get '/abc' do
|
1646
|
+
'abc'
|
1647
|
+
end
|
1648
|
+
end
|
1649
|
+
|
1650
|
+
subject.get '/def' do
|
1651
|
+
'def'
|
1652
|
+
end
|
1653
|
+
|
1654
|
+
get '/new/abc'
|
1655
|
+
expect(last_response.status).to eql 404
|
1656
|
+
get '/legacy/abc'
|
1657
|
+
expect(last_response.status).to eql 200
|
1658
|
+
get '/legacy/def'
|
1659
|
+
expect(last_response.status).to eql 404
|
1660
|
+
get '/new/def'
|
1661
|
+
expect(last_response.status).to eql 200
|
1662
|
+
end
|
1663
|
+
end
|
1664
|
+
|
1665
|
+
describe 'lifecycle' do
|
1666
|
+
let!(:lifecycle) { [] }
|
1667
|
+
let!(:standard_cycle) do
|
1668
|
+
%i[before before_validation after_validation api_call after finally]
|
1669
|
+
end
|
1670
|
+
|
1671
|
+
let!(:validation_error) do
|
1672
|
+
%i[before before_validation finally]
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
let!(:errored_cycle) do
|
1676
|
+
%i[before before_validation after_validation api_call finally]
|
1677
|
+
end
|
1678
|
+
|
1679
|
+
before do
|
1680
|
+
current_cycle = lifecycle
|
1681
|
+
|
1682
|
+
subject.before do
|
1683
|
+
current_cycle << :before
|
1684
|
+
end
|
1685
|
+
|
1686
|
+
subject.before_validation do
|
1687
|
+
current_cycle << :before_validation
|
1688
|
+
end
|
1689
|
+
|
1690
|
+
subject.after_validation do
|
1691
|
+
current_cycle << :after_validation
|
1692
|
+
end
|
1693
|
+
|
1694
|
+
subject.after do
|
1695
|
+
current_cycle << :after
|
1696
|
+
end
|
1697
|
+
|
1698
|
+
subject.finally do
|
1699
|
+
current_cycle << :finally
|
1700
|
+
end
|
1701
|
+
end
|
1702
|
+
|
1703
|
+
context 'when the api_call succeeds' do
|
1704
|
+
before do
|
1705
|
+
current_cycle = lifecycle
|
1706
|
+
|
1707
|
+
subject.get 'api_call' do
|
1708
|
+
current_cycle << :api_call
|
1709
|
+
end
|
1710
|
+
end
|
1711
|
+
|
1712
|
+
it 'follows the standard life_cycle' do
|
1713
|
+
get '/api_call'
|
1714
|
+
expect(lifecycle).to eq standard_cycle
|
1715
|
+
end
|
1716
|
+
end
|
1717
|
+
|
1718
|
+
context 'when the api_call has a controlled error' do
|
1719
|
+
before do
|
1720
|
+
current_cycle = lifecycle
|
1721
|
+
|
1722
|
+
subject.get 'api_call' do
|
1723
|
+
current_cycle << :api_call
|
1724
|
+
error!(:some_error)
|
1725
|
+
end
|
1726
|
+
end
|
1727
|
+
|
1728
|
+
it 'follows the errored life_cycle (skips after)' do
|
1729
|
+
get '/api_call'
|
1730
|
+
expect(lifecycle).to eq errored_cycle
|
1731
|
+
end
|
1732
|
+
end
|
1733
|
+
|
1734
|
+
context 'when the api_call has an exception' do
|
1735
|
+
before do
|
1736
|
+
current_cycle = lifecycle
|
1737
|
+
|
1738
|
+
subject.get 'api_call' do
|
1739
|
+
current_cycle << :api_call
|
1740
|
+
raise StandardError
|
1741
|
+
end
|
1742
|
+
end
|
1743
|
+
|
1744
|
+
it 'follows the errored life_cycle (skips after)' do
|
1745
|
+
expect { get '/api_call' }.to raise_error(StandardError)
|
1746
|
+
expect(lifecycle).to eq errored_cycle
|
1747
|
+
end
|
1748
|
+
end
|
1749
|
+
|
1750
|
+
context 'when the api_call fails validation' do
|
1751
|
+
before do
|
1752
|
+
current_cycle = lifecycle
|
1753
|
+
|
1754
|
+
subject.params do
|
1755
|
+
requires :some_param, type: String
|
1756
|
+
end
|
1757
|
+
|
1758
|
+
subject.get 'api_call' do
|
1759
|
+
current_cycle << :api_call
|
1760
|
+
end
|
1761
|
+
end
|
1762
|
+
|
1763
|
+
it 'follows the failed_validation cycle (skips after_validation, api_call & after)' do
|
1764
|
+
get '/api_call'
|
1765
|
+
expect(lifecycle).to eq validation_error
|
1766
|
+
end
|
1767
|
+
end
|
1768
|
+
end
|
1769
|
+
|
1770
|
+
describe '.finally' do
|
1771
|
+
let!(:code) { { has_executed: false } }
|
1772
|
+
let(:block_to_run) do
|
1773
|
+
code_to_execute = code
|
1774
|
+
proc do
|
1775
|
+
code_to_execute[:has_executed] = true
|
1776
|
+
end
|
1777
|
+
end
|
1778
|
+
|
1779
|
+
context 'when the ensure block has no exceptions' do
|
1780
|
+
before { subject.finally(&block_to_run) }
|
1781
|
+
|
1782
|
+
context 'when no API call is made' do
|
1783
|
+
it 'has not executed the ensure code' do
|
1784
|
+
expect(code[:has_executed]).to be false
|
1785
|
+
end
|
1786
|
+
end
|
1787
|
+
|
1788
|
+
context 'when no errors occurs' do
|
1789
|
+
before do
|
1790
|
+
subject.get '/no_exceptions' do
|
1791
|
+
'success'
|
1792
|
+
end
|
1793
|
+
end
|
1794
|
+
|
1795
|
+
it 'executes the ensure code' do
|
1796
|
+
get '/no_exceptions'
|
1797
|
+
expect(last_response.body).to eq 'success'
|
1798
|
+
expect(code[:has_executed]).to be true
|
1799
|
+
end
|
1800
|
+
|
1801
|
+
context 'with a helper' do
|
1802
|
+
let(:block_to_run) do
|
1803
|
+
code_to_execute = code
|
1804
|
+
proc do
|
1805
|
+
code_to_execute[:value] = some_helper
|
1806
|
+
end
|
1807
|
+
end
|
1808
|
+
|
1809
|
+
before do
|
1810
|
+
subject.helpers do
|
1811
|
+
def some_helper
|
1812
|
+
'some_value'
|
1813
|
+
end
|
1814
|
+
end
|
1815
|
+
|
1816
|
+
subject.get '/with_helpers' do
|
1817
|
+
'success'
|
1818
|
+
end
|
1819
|
+
end
|
1820
|
+
|
1821
|
+
it 'has access to the helper' do
|
1822
|
+
get '/with_helpers'
|
1823
|
+
expect(code[:value]).to eq 'some_value'
|
1824
|
+
end
|
1825
|
+
end
|
1826
|
+
end
|
1827
|
+
|
1828
|
+
context 'when an unhandled occurs inside the API call' do
|
1829
|
+
before do
|
1830
|
+
subject.get '/unhandled_exception' do
|
1831
|
+
raise StandardError
|
1832
|
+
end
|
1833
|
+
end
|
1834
|
+
|
1835
|
+
it 'executes the ensure code' do
|
1836
|
+
expect { get '/unhandled_exception' }.to raise_error StandardError
|
1837
|
+
expect(code[:has_executed]).to be true
|
1838
|
+
end
|
1839
|
+
end
|
1840
|
+
|
1841
|
+
context 'when a handled error occurs inside the API call' do
|
1842
|
+
before do
|
1843
|
+
subject.rescue_from(StandardError) { error! 'handled' }
|
1844
|
+
subject.get '/handled_exception' do
|
1845
|
+
raise StandardError
|
1846
|
+
end
|
1847
|
+
end
|
1848
|
+
|
1849
|
+
it 'executes the ensure code' do
|
1850
|
+
get '/handled_exception'
|
1851
|
+
expect(code[:has_executed]).to be true
|
1852
|
+
expect(last_response.body).to eq 'handled'
|
1853
|
+
end
|
1854
|
+
end
|
1855
|
+
end
|
1856
|
+
end
|
1857
|
+
|
1858
|
+
describe '.rescue_from' do
|
1859
|
+
it 'does not rescue errors when rescue_from is not set' do
|
1860
|
+
subject.get '/exception' do
|
1861
|
+
raise 'rain!'
|
1862
|
+
end
|
1863
|
+
expect { get '/exception' }.to raise_error(RuntimeError, 'rain!')
|
1864
|
+
end
|
1865
|
+
|
1866
|
+
it 'uses custom helpers defined by using #helpers method' do
|
1867
|
+
subject.helpers do
|
1868
|
+
def custom_error!(name)
|
1869
|
+
error! "hello #{name}"
|
1870
|
+
end
|
1871
|
+
end
|
1872
|
+
subject.rescue_from(ArgumentError) { custom_error! :bob }
|
1873
|
+
subject.get '/custom_error' do
|
1874
|
+
raise ArgumentError
|
1875
|
+
end
|
1876
|
+
get '/custom_error'
|
1877
|
+
expect(last_response.body).to eq 'hello bob'
|
1878
|
+
end
|
1879
|
+
|
1880
|
+
context 'with multiple apis' do
|
1881
|
+
let(:a) { Class.new(Grape::API) }
|
1882
|
+
let(:b) { Class.new(Grape::API) }
|
1883
|
+
|
1884
|
+
before do
|
1885
|
+
a.helpers do
|
1886
|
+
def foo
|
1887
|
+
error!('foo', 401)
|
1888
|
+
end
|
1889
|
+
end
|
1890
|
+
a.rescue_from(:all) { foo }
|
1891
|
+
a.get { raise 'boo' }
|
1892
|
+
b.helpers do
|
1893
|
+
def foo
|
1894
|
+
error!('bar', 401)
|
1895
|
+
end
|
1896
|
+
end
|
1897
|
+
b.rescue_from(:all) { foo }
|
1898
|
+
b.get { raise 'boo' }
|
1899
|
+
end
|
1900
|
+
|
1901
|
+
it 'avoids polluting global namespace' do
|
1902
|
+
env = Rack::MockRequest.env_for('/')
|
1903
|
+
|
1904
|
+
expect(a.call(env)[2].body).to eq(['foo'])
|
1905
|
+
expect(b.call(env)[2].body).to eq(['bar'])
|
1906
|
+
expect(a.call(env)[2].body).to eq(['foo'])
|
1907
|
+
end
|
1908
|
+
end
|
1909
|
+
|
1910
|
+
it 'rescues all errors if rescue_from :all is called' do
|
1911
|
+
subject.rescue_from :all
|
1912
|
+
subject.get '/exception' do
|
1913
|
+
raise 'rain!'
|
1914
|
+
end
|
1915
|
+
get '/exception'
|
1916
|
+
expect(last_response.status).to eql 500
|
1917
|
+
expect(last_response.body).to eq 'rain!'
|
1918
|
+
end
|
1919
|
+
|
1920
|
+
it 'rescues all errors with a json formatter' do
|
1921
|
+
subject.format :json
|
1922
|
+
subject.default_format :json
|
1923
|
+
subject.rescue_from :all
|
1924
|
+
subject.get '/exception' do
|
1925
|
+
raise 'rain!'
|
1926
|
+
end
|
1927
|
+
get '/exception'
|
1928
|
+
expect(last_response.status).to eql 500
|
1929
|
+
expect(last_response.body).to eq({ error: 'rain!' }.to_json)
|
1930
|
+
end
|
1931
|
+
|
1932
|
+
it 'rescues only certain errors if rescue_from is called with specific errors' do
|
1933
|
+
subject.rescue_from ArgumentError
|
1934
|
+
subject.get('/rescued') { raise ArgumentError }
|
1935
|
+
subject.get('/unrescued') { raise 'beefcake' }
|
1936
|
+
|
1937
|
+
get '/rescued'
|
1938
|
+
expect(last_response.status).to eql 500
|
1939
|
+
|
1940
|
+
expect { get '/unrescued' }.to raise_error(RuntimeError, 'beefcake')
|
1941
|
+
end
|
1942
|
+
|
1943
|
+
context 'CustomError subclass of Grape::Exceptions::Base' do
|
1944
|
+
before do
|
1945
|
+
module ApiSpec
|
1946
|
+
class CustomError < Grape::Exceptions::Base; end
|
1947
|
+
end
|
1948
|
+
end
|
1949
|
+
|
1950
|
+
it 'does not re-raise exceptions of type Grape::Exceptions::Base' do
|
1951
|
+
subject.get('/custom_exception') { raise ApiSpec::CustomError }
|
1952
|
+
|
1953
|
+
expect { get '/custom_exception' }.not_to raise_error
|
1954
|
+
end
|
1955
|
+
|
1956
|
+
it 'rescues custom grape exceptions' do
|
1957
|
+
subject.rescue_from ApiSpec::CustomError do |e|
|
1958
|
+
rack_response('New Error', e.status)
|
1959
|
+
end
|
1960
|
+
subject.get '/custom_error' do
|
1961
|
+
raise ApiSpec::CustomError, status: 400, message: 'Custom Error'
|
1962
|
+
end
|
1963
|
+
|
1964
|
+
get '/custom_error'
|
1965
|
+
expect(last_response.status).to eq(400)
|
1966
|
+
expect(last_response.body).to eq('New Error')
|
1967
|
+
end
|
1968
|
+
end
|
1969
|
+
|
1970
|
+
it 'can rescue exceptions raised in the formatter' do
|
1971
|
+
formatter = double(:formatter)
|
1972
|
+
allow(formatter).to receive(:call) { raise StandardError }
|
1973
|
+
allow(Grape::Formatter).to receive(:formatter_for) { formatter }
|
1974
|
+
|
1975
|
+
subject.rescue_from :all do |_e|
|
1976
|
+
rack_response('Formatter Error', 500)
|
1977
|
+
end
|
1978
|
+
subject.get('/formatter_exception') { 'Hello world' }
|
1979
|
+
|
1980
|
+
get '/formatter_exception'
|
1981
|
+
expect(last_response.status).to eql 500
|
1982
|
+
expect(last_response.body).to eq('Formatter Error')
|
1983
|
+
end
|
1984
|
+
|
1985
|
+
it 'uses default_rescue_handler to handle invalid response from rescue_from' do
|
1986
|
+
subject.rescue_from(:all) { 'error' }
|
1987
|
+
subject.get('/') { raise }
|
1988
|
+
|
1989
|
+
expect_any_instance_of(Grape::Middleware::Error).to receive(:default_rescue_handler).and_call_original
|
1990
|
+
get '/'
|
1991
|
+
expect(last_response.status).to eql 500
|
1992
|
+
expect(last_response.body).to eql 'Invalid response'
|
1993
|
+
end
|
1994
|
+
end
|
1995
|
+
|
1996
|
+
describe '.rescue_from klass, block' do
|
1997
|
+
it 'rescues Exception' do
|
1998
|
+
subject.rescue_from RuntimeError do |e|
|
1999
|
+
rack_response("rescued from #{e.message}", 202)
|
2000
|
+
end
|
2001
|
+
subject.get '/exception' do
|
2002
|
+
raise 'rain!'
|
2003
|
+
end
|
2004
|
+
get '/exception'
|
2005
|
+
expect(last_response.status).to eql 202
|
2006
|
+
expect(last_response.body).to eq('rescued from rain!')
|
2007
|
+
end
|
2008
|
+
|
2009
|
+
context 'custom errors' do
|
2010
|
+
before do
|
2011
|
+
class ConnectionError < RuntimeError; end
|
2012
|
+
class DatabaseError < RuntimeError; end
|
2013
|
+
class CommunicationError < StandardError; end
|
2014
|
+
end
|
2015
|
+
|
2016
|
+
it 'rescues an error via rescue_from :all' do
|
2017
|
+
subject.rescue_from :all do |e|
|
2018
|
+
rack_response("rescued from #{e.class.name}", 500)
|
2019
|
+
end
|
2020
|
+
subject.get '/exception' do
|
2021
|
+
raise ConnectionError
|
2022
|
+
end
|
2023
|
+
get '/exception'
|
2024
|
+
expect(last_response.status).to eql 500
|
2025
|
+
expect(last_response.body).to eq('rescued from ConnectionError')
|
2026
|
+
end
|
2027
|
+
it 'rescues a specific error' do
|
2028
|
+
subject.rescue_from ConnectionError do |e|
|
2029
|
+
rack_response("rescued from #{e.class.name}", 500)
|
2030
|
+
end
|
2031
|
+
subject.get '/exception' do
|
2032
|
+
raise ConnectionError
|
2033
|
+
end
|
2034
|
+
get '/exception'
|
2035
|
+
expect(last_response.status).to eql 500
|
2036
|
+
expect(last_response.body).to eq('rescued from ConnectionError')
|
2037
|
+
end
|
2038
|
+
it 'rescues a subclass of an error by default' do
|
2039
|
+
subject.rescue_from RuntimeError do |e|
|
2040
|
+
rack_response("rescued from #{e.class.name}", 500)
|
2041
|
+
end
|
2042
|
+
subject.get '/exception' do
|
2043
|
+
raise ConnectionError
|
2044
|
+
end
|
2045
|
+
get '/exception'
|
2046
|
+
expect(last_response.status).to eql 500
|
2047
|
+
expect(last_response.body).to eq('rescued from ConnectionError')
|
2048
|
+
end
|
2049
|
+
it 'rescues multiple specific errors' do
|
2050
|
+
subject.rescue_from ConnectionError do |e|
|
2051
|
+
rack_response("rescued from #{e.class.name}", 500)
|
2052
|
+
end
|
2053
|
+
subject.rescue_from DatabaseError do |e|
|
2054
|
+
rack_response("rescued from #{e.class.name}", 500)
|
2055
|
+
end
|
2056
|
+
subject.get '/connection' do
|
2057
|
+
raise ConnectionError
|
2058
|
+
end
|
2059
|
+
subject.get '/database' do
|
2060
|
+
raise DatabaseError
|
2061
|
+
end
|
2062
|
+
get '/connection'
|
2063
|
+
expect(last_response.status).to eql 500
|
2064
|
+
expect(last_response.body).to eq('rescued from ConnectionError')
|
2065
|
+
get '/database'
|
2066
|
+
expect(last_response.status).to eql 500
|
2067
|
+
expect(last_response.body).to eq('rescued from DatabaseError')
|
2068
|
+
end
|
2069
|
+
it 'does not rescue a different error' do
|
2070
|
+
subject.rescue_from RuntimeError do |e|
|
2071
|
+
rack_response("rescued from #{e.class.name}", 500)
|
2072
|
+
end
|
2073
|
+
subject.get '/uncaught' do
|
2074
|
+
raise CommunicationError
|
2075
|
+
end
|
2076
|
+
expect { get '/uncaught' }.to raise_error(CommunicationError)
|
2077
|
+
end
|
2078
|
+
end
|
2079
|
+
end
|
2080
|
+
|
2081
|
+
describe '.rescue_from klass, lambda' do
|
2082
|
+
it 'rescues an error with the lambda' do
|
2083
|
+
subject.rescue_from ArgumentError, lambda {
|
2084
|
+
rack_response('rescued with a lambda', 400)
|
2085
|
+
}
|
2086
|
+
subject.get('/rescue_lambda') { raise ArgumentError }
|
2087
|
+
|
2088
|
+
get '/rescue_lambda'
|
2089
|
+
expect(last_response.status).to eq(400)
|
2090
|
+
expect(last_response.body).to eq('rescued with a lambda')
|
2091
|
+
end
|
2092
|
+
|
2093
|
+
it 'can execute the lambda with an argument' do
|
2094
|
+
subject.rescue_from ArgumentError, lambda { |e|
|
2095
|
+
rack_response(e.message, 400)
|
2096
|
+
}
|
2097
|
+
subject.get('/rescue_lambda') { raise ArgumentError, 'lambda takes an argument' }
|
2098
|
+
|
2099
|
+
get '/rescue_lambda'
|
2100
|
+
expect(last_response.status).to eq(400)
|
2101
|
+
expect(last_response.body).to eq('lambda takes an argument')
|
2102
|
+
end
|
2103
|
+
end
|
2104
|
+
|
2105
|
+
describe '.rescue_from klass, with: :method_name' do
|
2106
|
+
it 'rescues an error with the specified method name' do
|
2107
|
+
subject.helpers do
|
2108
|
+
def rescue_arg_error
|
2109
|
+
error!('500 ArgumentError', 500)
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
def rescue_no_method_error
|
2113
|
+
error!('500 NoMethodError', 500)
|
2114
|
+
end
|
2115
|
+
end
|
2116
|
+
subject.rescue_from ArgumentError, with: :rescue_arg_error
|
2117
|
+
subject.rescue_from NoMethodError, with: :rescue_no_method_error
|
2118
|
+
subject.get('/rescue_arg_error') { raise ArgumentError }
|
2119
|
+
subject.get('/rescue_no_method_error') { raise NoMethodError }
|
2120
|
+
|
2121
|
+
get '/rescue_arg_error'
|
2122
|
+
expect(last_response.status).to eq(500)
|
2123
|
+
expect(last_response.body).to eq('500 ArgumentError')
|
2124
|
+
|
2125
|
+
get '/rescue_no_method_error'
|
2126
|
+
expect(last_response.status).to eq(500)
|
2127
|
+
expect(last_response.body).to eq('500 NoMethodError')
|
2128
|
+
end
|
2129
|
+
|
2130
|
+
it 'aborts if the specified method name does not exist' do
|
2131
|
+
subject.rescue_from :all, with: :not_exist_method
|
2132
|
+
subject.get('/rescue_method') { raise StandardError }
|
2133
|
+
|
2134
|
+
expect { get '/rescue_method' }.to raise_error(NoMethodError, 'undefined method `not_exist_method\'')
|
2135
|
+
end
|
2136
|
+
|
2137
|
+
it 'correctly chooses exception handler if :all handler is specified' do
|
2138
|
+
subject.helpers do
|
2139
|
+
def rescue_arg_error
|
2140
|
+
error!('500 ArgumentError', 500)
|
2141
|
+
end
|
2142
|
+
|
2143
|
+
def rescue_all_errors
|
2144
|
+
error!('500 AnotherError', 500)
|
2145
|
+
end
|
2146
|
+
end
|
2147
|
+
|
2148
|
+
subject.rescue_from ArgumentError, with: :rescue_arg_error
|
2149
|
+
subject.rescue_from :all, with: :rescue_all_errors
|
2150
|
+
subject.get('/argument_error') { raise ArgumentError }
|
2151
|
+
subject.get('/another_error') { raise NoMethodError }
|
2152
|
+
|
2153
|
+
get '/argument_error'
|
2154
|
+
expect(last_response.status).to eq(500)
|
2155
|
+
expect(last_response.body).to eq('500 ArgumentError')
|
2156
|
+
|
2157
|
+
get '/another_error'
|
2158
|
+
expect(last_response.status).to eq(500)
|
2159
|
+
expect(last_response.body).to eq('500 AnotherError')
|
2160
|
+
end
|
2161
|
+
end
|
2162
|
+
|
2163
|
+
describe '.rescue_from klass, rescue_subclasses: boolean' do
|
2164
|
+
before do
|
2165
|
+
module ApiSpec
|
2166
|
+
module APIErrors
|
2167
|
+
class ParentError < StandardError; end
|
2168
|
+
class ChildError < ParentError; end
|
2169
|
+
end
|
2170
|
+
end
|
2171
|
+
end
|
2172
|
+
|
2173
|
+
it 'rescues error as well as subclass errors with rescue_subclasses option set' do
|
2174
|
+
subject.rescue_from ApiSpec::APIErrors::ParentError, rescue_subclasses: true do |e|
|
2175
|
+
rack_response("rescued from #{e.class.name}", 500)
|
2176
|
+
end
|
2177
|
+
subject.get '/caught_child' do
|
2178
|
+
raise ApiSpec::APIErrors::ChildError
|
2179
|
+
end
|
2180
|
+
subject.get '/caught_parent' do
|
2181
|
+
raise ApiSpec::APIErrors::ParentError
|
2182
|
+
end
|
2183
|
+
subject.get '/uncaught_parent' do
|
2184
|
+
raise StandardError
|
2185
|
+
end
|
2186
|
+
|
2187
|
+
get '/caught_child'
|
2188
|
+
expect(last_response.status).to eql 500
|
2189
|
+
get '/caught_parent'
|
2190
|
+
expect(last_response.status).to eql 500
|
2191
|
+
expect { get '/uncaught_parent' }.to raise_error(StandardError)
|
2192
|
+
end
|
2193
|
+
|
2194
|
+
it 'sets rescue_subclasses to true by default' do
|
2195
|
+
subject.rescue_from ApiSpec::APIErrors::ParentError do |e|
|
2196
|
+
rack_response("rescued from #{e.class.name}", 500)
|
2197
|
+
end
|
2198
|
+
subject.get '/caught_child' do
|
2199
|
+
raise ApiSpec::APIErrors::ChildError
|
2200
|
+
end
|
2201
|
+
|
2202
|
+
get '/caught_child'
|
2203
|
+
expect(last_response.status).to eql 500
|
2204
|
+
end
|
2205
|
+
|
2206
|
+
it 'does not rescue child errors if rescue_subclasses is false' do
|
2207
|
+
subject.rescue_from ApiSpec::APIErrors::ParentError, rescue_subclasses: false do |e|
|
2208
|
+
rack_response("rescued from #{e.class.name}", 500)
|
2209
|
+
end
|
2210
|
+
subject.get '/uncaught' do
|
2211
|
+
raise ApiSpec::APIErrors::ChildError
|
2212
|
+
end
|
2213
|
+
expect { get '/uncaught' }.to raise_error(ApiSpec::APIErrors::ChildError)
|
2214
|
+
end
|
2215
|
+
end
|
2216
|
+
|
2217
|
+
describe '.rescue_from :grape_exceptions' do
|
2218
|
+
before do
|
2219
|
+
subject.rescue_from :grape_exceptions
|
2220
|
+
end
|
2221
|
+
|
2222
|
+
let(:grape_exception) do
|
2223
|
+
Grape::Exceptions::Base.new(status: 400, message: 'Grape Error')
|
2224
|
+
end
|
2225
|
+
|
2226
|
+
it 'rescues grape exceptions' do
|
2227
|
+
exception = grape_exception
|
2228
|
+
subject.get('/grape_exception') { raise exception }
|
2229
|
+
|
2230
|
+
get '/grape_exception'
|
2231
|
+
|
2232
|
+
expect(last_response.status).to eq(exception.status)
|
2233
|
+
expect(last_response.body).to eq(exception.message)
|
2234
|
+
end
|
2235
|
+
|
2236
|
+
it 'rescues grape exceptions with a user-defined handler' do
|
2237
|
+
subject.rescue_from grape_exception.class do |_error|
|
2238
|
+
rack_response('Redefined Error', 403)
|
2239
|
+
end
|
2240
|
+
|
2241
|
+
exception = grape_exception
|
2242
|
+
subject.get('/grape_exception') { raise exception }
|
2243
|
+
|
2244
|
+
get '/grape_exception'
|
2245
|
+
|
2246
|
+
expect(last_response.status).to eq(403)
|
2247
|
+
expect(last_response.body).to eq('Redefined Error')
|
2248
|
+
end
|
2249
|
+
end
|
2250
|
+
|
2251
|
+
describe '.error_format' do
|
2252
|
+
it 'rescues all errors and return :txt' do
|
2253
|
+
subject.rescue_from :all
|
2254
|
+
subject.format :txt
|
2255
|
+
subject.get '/exception' do
|
2256
|
+
raise 'rain!'
|
2257
|
+
end
|
2258
|
+
get '/exception'
|
2259
|
+
expect(last_response.body).to eql 'rain!'
|
2260
|
+
end
|
2261
|
+
|
2262
|
+
it 'rescues all errors and return :txt with backtrace' do
|
2263
|
+
subject.rescue_from :all, backtrace: true
|
2264
|
+
subject.format :txt
|
2265
|
+
subject.get '/exception' do
|
2266
|
+
raise 'rain!'
|
2267
|
+
end
|
2268
|
+
get '/exception'
|
2269
|
+
expect(last_response.body.start_with?("rain!\r\n")).to be true
|
2270
|
+
end
|
2271
|
+
|
2272
|
+
it 'rescues all errors with a default formatter' do
|
2273
|
+
subject.default_format :foo
|
2274
|
+
subject.content_type :foo, 'text/foo'
|
2275
|
+
subject.rescue_from :all
|
2276
|
+
subject.get '/exception' do
|
2277
|
+
raise 'rain!'
|
2278
|
+
end
|
2279
|
+
get '/exception.foo'
|
2280
|
+
expect(last_response.body).to start_with 'rain!'
|
2281
|
+
end
|
2282
|
+
|
2283
|
+
it 'defaults the error formatter to format' do
|
2284
|
+
subject.format :json
|
2285
|
+
subject.rescue_from :all
|
2286
|
+
subject.content_type :json, 'application/json'
|
2287
|
+
subject.content_type :foo, 'text/foo'
|
2288
|
+
subject.get '/exception' do
|
2289
|
+
raise 'rain!'
|
2290
|
+
end
|
2291
|
+
get '/exception.json'
|
2292
|
+
expect(last_response.body).to eq('{"error":"rain!"}')
|
2293
|
+
get '/exception.foo'
|
2294
|
+
expect(last_response.body).to eq('{"error":"rain!"}')
|
2295
|
+
end
|
2296
|
+
|
2297
|
+
context 'class' do
|
2298
|
+
before :each do
|
2299
|
+
module ApiSpec
|
2300
|
+
class CustomErrorFormatter
|
2301
|
+
def self.call(message, _backtrace, _options, _env, _original_exception)
|
2302
|
+
"message: #{message} @backtrace"
|
2303
|
+
end
|
2304
|
+
end
|
2305
|
+
end
|
2306
|
+
end
|
2307
|
+
it 'returns a custom error format' do
|
2308
|
+
subject.rescue_from :all, backtrace: true
|
2309
|
+
subject.error_formatter :txt, ApiSpec::CustomErrorFormatter
|
2310
|
+
subject.get '/exception' do
|
2311
|
+
raise 'rain!'
|
2312
|
+
end
|
2313
|
+
get '/exception'
|
2314
|
+
expect(last_response.body).to eq('message: rain! @backtrace')
|
2315
|
+
end
|
2316
|
+
end
|
2317
|
+
|
2318
|
+
describe 'with' do
|
2319
|
+
context 'class' do
|
2320
|
+
before :each do
|
2321
|
+
module ApiSpec
|
2322
|
+
class CustomErrorFormatter
|
2323
|
+
def self.call(message, _backtrace, _option, _env, _original_exception)
|
2324
|
+
"message: #{message} @backtrace"
|
2325
|
+
end
|
2326
|
+
end
|
2327
|
+
end
|
2328
|
+
end
|
2329
|
+
|
2330
|
+
it 'returns a custom error format' do
|
2331
|
+
subject.rescue_from :all, backtrace: true
|
2332
|
+
subject.error_formatter :txt, with: ApiSpec::CustomErrorFormatter
|
2333
|
+
subject.get('/exception') { raise 'rain!' }
|
2334
|
+
|
2335
|
+
get '/exception'
|
2336
|
+
expect(last_response.body).to eq('message: rain! @backtrace')
|
2337
|
+
end
|
2338
|
+
end
|
2339
|
+
end
|
2340
|
+
|
2341
|
+
it 'rescues all errors and return :json' do
|
2342
|
+
subject.rescue_from :all
|
2343
|
+
subject.format :json
|
2344
|
+
subject.get '/exception' do
|
2345
|
+
raise 'rain!'
|
2346
|
+
end
|
2347
|
+
get '/exception'
|
2348
|
+
expect(last_response.body).to eql '{"error":"rain!"}'
|
2349
|
+
end
|
2350
|
+
it 'rescues all errors and return :json with backtrace' do
|
2351
|
+
subject.rescue_from :all, backtrace: true
|
2352
|
+
subject.format :json
|
2353
|
+
subject.get '/exception' do
|
2354
|
+
raise 'rain!'
|
2355
|
+
end
|
2356
|
+
get '/exception'
|
2357
|
+
json = ::Grape::Json.load(last_response.body)
|
2358
|
+
expect(json['error']).to eql 'rain!'
|
2359
|
+
expect(json['backtrace'].length).to be > 0
|
2360
|
+
end
|
2361
|
+
it 'rescues error! and return txt' do
|
2362
|
+
subject.format :txt
|
2363
|
+
subject.get '/error' do
|
2364
|
+
error!('Access Denied', 401)
|
2365
|
+
end
|
2366
|
+
get '/error'
|
2367
|
+
expect(last_response.body).to eql 'Access Denied'
|
2368
|
+
end
|
2369
|
+
context 'with json format' do
|
2370
|
+
before { subject.format :json }
|
2371
|
+
|
2372
|
+
it 'rescues error! called with a string and returns json' do
|
2373
|
+
subject.get('/error') { error!(:failure, 401) }
|
2374
|
+
end
|
2375
|
+
it 'rescues error! called with a symbol and returns json' do
|
2376
|
+
subject.get('/error') { error!(:failure, 401) }
|
2377
|
+
end
|
2378
|
+
it 'rescues error! called with a hash and returns json' do
|
2379
|
+
subject.get('/error') { error!({ error: :failure }, 401) }
|
2380
|
+
end
|
2381
|
+
|
2382
|
+
after do
|
2383
|
+
get '/error'
|
2384
|
+
expect(last_response.body).to eql('{"error":"failure"}')
|
2385
|
+
end
|
2386
|
+
end
|
2387
|
+
end
|
2388
|
+
|
2389
|
+
describe '.content_type' do
|
2390
|
+
it 'sets additional content-type' do
|
2391
|
+
subject.content_type :xls, 'application/vnd.ms-excel'
|
2392
|
+
subject.get :excel do
|
2393
|
+
'some binary content'
|
2394
|
+
end
|
2395
|
+
get '/excel.xls'
|
2396
|
+
expect(last_response.content_type).to eq('application/vnd.ms-excel')
|
2397
|
+
end
|
2398
|
+
it 'allows to override content-type' do
|
2399
|
+
subject.get :content do
|
2400
|
+
content_type 'text/javascript'
|
2401
|
+
'var x = 1;'
|
2402
|
+
end
|
2403
|
+
get '/content'
|
2404
|
+
expect(last_response.content_type).to eq('text/javascript')
|
2405
|
+
end
|
2406
|
+
it 'removes existing content types' do
|
2407
|
+
subject.content_type :xls, 'application/vnd.ms-excel'
|
2408
|
+
subject.get :excel do
|
2409
|
+
'some binary content'
|
2410
|
+
end
|
2411
|
+
get '/excel.json'
|
2412
|
+
expect(last_response.status).to eq(406)
|
2413
|
+
if ActiveSupport::VERSION::MAJOR == 3
|
2414
|
+
expect(last_response.body).to eq('The requested format 'txt' is not supported.')
|
2415
|
+
else
|
2416
|
+
expect(last_response.body).to eq('The requested format 'txt' is not supported.')
|
2417
|
+
end
|
2418
|
+
end
|
2419
|
+
end
|
2420
|
+
|
2421
|
+
describe '.formatter' do
|
2422
|
+
context 'multiple formatters' do
|
2423
|
+
before :each do
|
2424
|
+
subject.formatter :json, ->(object, _env) { "{\"custom_formatter\":\"#{object[:some]}\"}" }
|
2425
|
+
subject.formatter :txt, ->(object, _env) { "custom_formatter: #{object[:some]}" }
|
2426
|
+
subject.get :simple do
|
2427
|
+
{ some: 'hash' }
|
2428
|
+
end
|
2429
|
+
end
|
2430
|
+
it 'sets one formatter' do
|
2431
|
+
get '/simple.json'
|
2432
|
+
expect(last_response.body).to eql '{"custom_formatter":"hash"}'
|
2433
|
+
end
|
2434
|
+
it 'sets another formatter' do
|
2435
|
+
get '/simple.txt'
|
2436
|
+
expect(last_response.body).to eql 'custom_formatter: hash'
|
2437
|
+
end
|
2438
|
+
end
|
2439
|
+
context 'custom formatter' do
|
2440
|
+
before :each do
|
2441
|
+
subject.content_type :json, 'application/json'
|
2442
|
+
subject.content_type :custom, 'application/custom'
|
2443
|
+
subject.formatter :custom, ->(object, _env) { "{\"custom_formatter\":\"#{object[:some]}\"}" }
|
2444
|
+
subject.get :simple do
|
2445
|
+
{ some: 'hash' }
|
2446
|
+
end
|
2447
|
+
end
|
2448
|
+
it 'uses json' do
|
2449
|
+
get '/simple.json'
|
2450
|
+
expect(last_response.body).to eql '{"some":"hash"}'
|
2451
|
+
end
|
2452
|
+
it 'uses custom formatter' do
|
2453
|
+
get '/simple.custom', 'HTTP_ACCEPT' => 'application/custom'
|
2454
|
+
expect(last_response.body).to eql '{"custom_formatter":"hash"}'
|
2455
|
+
end
|
2456
|
+
end
|
2457
|
+
context 'custom formatter class' do
|
2458
|
+
module ApiSpec
|
2459
|
+
module CustomFormatter
|
2460
|
+
def self.call(object, _env)
|
2461
|
+
"{\"custom_formatter\":\"#{object[:some]}\"}"
|
2462
|
+
end
|
2463
|
+
end
|
2464
|
+
end
|
2465
|
+
before :each do
|
2466
|
+
subject.content_type :json, 'application/json'
|
2467
|
+
subject.content_type :custom, 'application/custom'
|
2468
|
+
subject.formatter :custom, ApiSpec::CustomFormatter
|
2469
|
+
subject.get :simple do
|
2470
|
+
{ some: 'hash' }
|
2471
|
+
end
|
2472
|
+
end
|
2473
|
+
it 'uses json' do
|
2474
|
+
get '/simple.json'
|
2475
|
+
expect(last_response.body).to eql '{"some":"hash"}'
|
2476
|
+
end
|
2477
|
+
it 'uses custom formatter' do
|
2478
|
+
get '/simple.custom', 'HTTP_ACCEPT' => 'application/custom'
|
2479
|
+
expect(last_response.body).to eql '{"custom_formatter":"hash"}'
|
2480
|
+
end
|
2481
|
+
end
|
2482
|
+
end
|
2483
|
+
|
2484
|
+
describe '.parser' do
|
2485
|
+
it 'parses data in format requested by content-type' do
|
2486
|
+
subject.format :json
|
2487
|
+
subject.post '/data' do
|
2488
|
+
{ x: params[:x] }
|
2489
|
+
end
|
2490
|
+
post '/data', '{"x":42}', 'CONTENT_TYPE' => 'application/json'
|
2491
|
+
expect(last_response.status).to eq(201)
|
2492
|
+
expect(last_response.body).to eq('{"x":42}')
|
2493
|
+
end
|
2494
|
+
context 'lambda parser' do
|
2495
|
+
before :each do
|
2496
|
+
subject.content_type :txt, 'text/plain'
|
2497
|
+
subject.content_type :custom, 'text/custom'
|
2498
|
+
subject.parser :custom, ->(object, _env) { { object.to_sym => object.to_s.reverse } }
|
2499
|
+
subject.put :simple do
|
2500
|
+
params[:simple]
|
2501
|
+
end
|
2502
|
+
end
|
2503
|
+
['text/custom', 'text/custom; charset=UTF-8'].each do |content_type|
|
2504
|
+
it "uses parser for #{content_type}" do
|
2505
|
+
put '/simple', 'simple', 'CONTENT_TYPE' => content_type
|
2506
|
+
expect(last_response.status).to eq(200)
|
2507
|
+
expect(last_response.body).to eql 'elpmis'
|
2508
|
+
end
|
2509
|
+
end
|
2510
|
+
end
|
2511
|
+
context 'custom parser class' do
|
2512
|
+
module ApiSpec
|
2513
|
+
module CustomParser
|
2514
|
+
def self.call(object, _env)
|
2515
|
+
{ object.to_sym => object.to_s.reverse }
|
2516
|
+
end
|
2517
|
+
end
|
2518
|
+
end
|
2519
|
+
before :each do
|
2520
|
+
subject.content_type :txt, 'text/plain'
|
2521
|
+
subject.content_type :custom, 'text/custom'
|
2522
|
+
subject.parser :custom, ApiSpec::CustomParser
|
2523
|
+
subject.put :simple do
|
2524
|
+
params[:simple]
|
2525
|
+
end
|
2526
|
+
end
|
2527
|
+
it 'uses custom parser' do
|
2528
|
+
put '/simple', 'simple', 'CONTENT_TYPE' => 'text/custom'
|
2529
|
+
expect(last_response.status).to eq(200)
|
2530
|
+
expect(last_response.body).to eql 'elpmis'
|
2531
|
+
end
|
2532
|
+
end
|
2533
|
+
if Object.const_defined? :MultiXml
|
2534
|
+
context 'multi_xml' do
|
2535
|
+
it "doesn't parse yaml" do
|
2536
|
+
subject.put :yaml do
|
2537
|
+
params[:tag]
|
2538
|
+
end
|
2539
|
+
put '/yaml', '<tag type="symbol">a123</tag>', 'CONTENT_TYPE' => 'application/xml'
|
2540
|
+
expect(last_response.status).to eq(400)
|
2541
|
+
expect(last_response.body).to eql 'Disallowed type attribute: "symbol"'
|
2542
|
+
end
|
2543
|
+
end
|
2544
|
+
else
|
2545
|
+
context 'default xml parser' do
|
2546
|
+
it 'parses symbols' do
|
2547
|
+
subject.put :yaml do
|
2548
|
+
params[:tag]
|
2549
|
+
end
|
2550
|
+
put '/yaml', '<tag type="symbol">a123</tag>', 'CONTENT_TYPE' => 'application/xml'
|
2551
|
+
expect(last_response.status).to eq(200)
|
2552
|
+
expect(last_response.body).to eql '{"type"=>"symbol", "__content__"=>"a123"}'
|
2553
|
+
end
|
2554
|
+
end
|
2555
|
+
end
|
2556
|
+
context 'none parser class' do
|
2557
|
+
before :each do
|
2558
|
+
subject.parser :json, nil
|
2559
|
+
subject.put 'data' do
|
2560
|
+
"body: #{env['api.request.body']}"
|
2561
|
+
end
|
2562
|
+
end
|
2563
|
+
it 'does not parse data' do
|
2564
|
+
put '/data', 'not valid json', 'CONTENT_TYPE' => 'application/json'
|
2565
|
+
expect(last_response.status).to eq(200)
|
2566
|
+
expect(last_response.body).to eq('body: not valid json')
|
2567
|
+
end
|
2568
|
+
end
|
2569
|
+
end
|
2570
|
+
|
2571
|
+
describe '.default_format' do
|
2572
|
+
before :each do
|
2573
|
+
subject.format :json
|
2574
|
+
subject.default_format :json
|
2575
|
+
end
|
2576
|
+
it 'returns data in default format' do
|
2577
|
+
subject.get '/data' do
|
2578
|
+
{ x: 42 }
|
2579
|
+
end
|
2580
|
+
get '/data'
|
2581
|
+
expect(last_response.status).to eq(200)
|
2582
|
+
expect(last_response.body).to eq('{"x":42}')
|
2583
|
+
end
|
2584
|
+
it 'parses data in default format' do
|
2585
|
+
subject.post '/data' do
|
2586
|
+
{ x: params[:x] }
|
2587
|
+
end
|
2588
|
+
post '/data', '{"x":42}', 'CONTENT_TYPE' => ''
|
2589
|
+
expect(last_response.status).to eq(201)
|
2590
|
+
expect(last_response.body).to eq('{"x":42}')
|
2591
|
+
end
|
2592
|
+
end
|
2593
|
+
|
2594
|
+
describe '.default_error_status' do
|
2595
|
+
it 'allows setting default_error_status' do
|
2596
|
+
subject.rescue_from :all
|
2597
|
+
subject.default_error_status 200
|
2598
|
+
subject.get '/exception' do
|
2599
|
+
raise 'rain!'
|
2600
|
+
end
|
2601
|
+
get '/exception'
|
2602
|
+
expect(last_response.status).to eql 200
|
2603
|
+
end
|
2604
|
+
it 'has a default error status' do
|
2605
|
+
subject.rescue_from :all
|
2606
|
+
subject.get '/exception' do
|
2607
|
+
raise 'rain!'
|
2608
|
+
end
|
2609
|
+
get '/exception'
|
2610
|
+
expect(last_response.status).to eql 500
|
2611
|
+
end
|
2612
|
+
it 'uses the default error status in error!' do
|
2613
|
+
subject.rescue_from :all
|
2614
|
+
subject.default_error_status 400
|
2615
|
+
subject.get '/exception' do
|
2616
|
+
error! 'rain!'
|
2617
|
+
end
|
2618
|
+
get '/exception'
|
2619
|
+
expect(last_response.status).to eql 400
|
2620
|
+
end
|
2621
|
+
end
|
2622
|
+
|
2623
|
+
context 'http_codes' do
|
2624
|
+
let(:error_presenter) do
|
2625
|
+
Class.new(Grape::Entity) do
|
2626
|
+
expose :code
|
2627
|
+
expose :static
|
2628
|
+
|
2629
|
+
def static
|
2630
|
+
'some static text'
|
2631
|
+
end
|
2632
|
+
end
|
2633
|
+
end
|
2634
|
+
|
2635
|
+
it 'is used as presenter' do
|
2636
|
+
subject.desc 'some desc', http_codes: [
|
2637
|
+
[408, 'Unauthorized', error_presenter]
|
2638
|
+
]
|
2639
|
+
|
2640
|
+
subject.get '/exception' do
|
2641
|
+
error!({ code: 408 }, 408)
|
2642
|
+
end
|
2643
|
+
|
2644
|
+
get '/exception'
|
2645
|
+
expect(last_response.status).to eql 408
|
2646
|
+
expect(last_response.body).to eql({ code: 408, static: 'some static text' }.to_json)
|
2647
|
+
end
|
2648
|
+
|
2649
|
+
it 'presented with' do
|
2650
|
+
error = { code: 408, with: error_presenter }.freeze
|
2651
|
+
subject.get '/exception' do
|
2652
|
+
error! error, 408
|
2653
|
+
end
|
2654
|
+
|
2655
|
+
get '/exception'
|
2656
|
+
expect(last_response.status).to eql 408
|
2657
|
+
expect(last_response.body).to eql({ code: 408, static: 'some static text' }.to_json)
|
2658
|
+
end
|
2659
|
+
end
|
2660
|
+
|
2661
|
+
context 'routes' do
|
2662
|
+
describe 'empty api structure' do
|
2663
|
+
it 'returns an empty array of routes' do
|
2664
|
+
expect(subject.routes).to eq([])
|
2665
|
+
end
|
2666
|
+
end
|
2667
|
+
describe 'single method api structure' do
|
2668
|
+
before(:each) do
|
2669
|
+
subject.get :ping do
|
2670
|
+
'pong'
|
2671
|
+
end
|
2672
|
+
end
|
2673
|
+
it 'returns one route' do
|
2674
|
+
expect(subject.routes.size).to eq(1)
|
2675
|
+
route = subject.routes[0]
|
2676
|
+
expect(route.version).to be_nil
|
2677
|
+
expect(route.path).to eq('/ping(.:format)')
|
2678
|
+
expect(route.request_method).to eq('GET')
|
2679
|
+
end
|
2680
|
+
end
|
2681
|
+
describe 'api structure with two versions and a namespace' do
|
2682
|
+
before :each do
|
2683
|
+
subject.version 'v1', using: :path
|
2684
|
+
subject.get 'version' do
|
2685
|
+
api.version
|
2686
|
+
end
|
2687
|
+
# version v2
|
2688
|
+
subject.version 'v2', using: :path
|
2689
|
+
subject.prefix 'p'
|
2690
|
+
subject.namespace 'n1' do
|
2691
|
+
namespace 'n2' do
|
2692
|
+
get 'version' do
|
2693
|
+
api.version
|
2694
|
+
end
|
2695
|
+
end
|
2696
|
+
end
|
2697
|
+
end
|
2698
|
+
it 'returns the latest version set' do
|
2699
|
+
expect(subject.version).to eq('v2')
|
2700
|
+
end
|
2701
|
+
it 'returns versions' do
|
2702
|
+
expect(subject.versions).to eq(%w[v1 v2])
|
2703
|
+
end
|
2704
|
+
it 'sets route paths' do
|
2705
|
+
expect(subject.routes.size).to be >= 2
|
2706
|
+
expect(subject.routes[0].path).to eq('/:version/version(.:format)')
|
2707
|
+
expect(subject.routes[1].path).to eq('/p/:version/n1/n2/version(.:format)')
|
2708
|
+
end
|
2709
|
+
it 'sets route versions' do
|
2710
|
+
expect(subject.routes[0].version).to eq('v1')
|
2711
|
+
expect(subject.routes[1].version).to eq('v2')
|
2712
|
+
end
|
2713
|
+
it 'sets a nested namespace' do
|
2714
|
+
expect(subject.routes[1].namespace).to eq('/n1/n2')
|
2715
|
+
end
|
2716
|
+
it 'sets prefix' do
|
2717
|
+
expect(subject.routes[1].prefix).to eq('p')
|
2718
|
+
end
|
2719
|
+
end
|
2720
|
+
describe 'api structure with additional parameters' do
|
2721
|
+
before(:each) do
|
2722
|
+
subject.params do
|
2723
|
+
requires :token, desc: 'a token'
|
2724
|
+
optional :limit, desc: 'the limit'
|
2725
|
+
end
|
2726
|
+
subject.get 'split/:string' do
|
2727
|
+
params[:string].split(params[:token], (params[:limit] || 0).to_i)
|
2728
|
+
end
|
2729
|
+
end
|
2730
|
+
it 'splits a string' do
|
2731
|
+
get '/split/a,b,c.json', token: ','
|
2732
|
+
expect(last_response.body).to eq('["a","b","c"]')
|
2733
|
+
end
|
2734
|
+
it 'splits a string with limit' do
|
2735
|
+
get '/split/a,b,c.json', token: ',', limit: '2'
|
2736
|
+
expect(last_response.body).to eq('["a","b,c"]')
|
2737
|
+
end
|
2738
|
+
it 'sets params' do
|
2739
|
+
expect(subject.routes.map do |route|
|
2740
|
+
{ params: route.params }
|
2741
|
+
end).to eq [
|
2742
|
+
{
|
2743
|
+
params: {
|
2744
|
+
'string' => '',
|
2745
|
+
'token' => { required: true, desc: 'a token' },
|
2746
|
+
'limit' => { required: false, desc: 'the limit' }
|
2747
|
+
}
|
2748
|
+
}
|
2749
|
+
]
|
2750
|
+
end
|
2751
|
+
end
|
2752
|
+
describe 'api structure with multiple apis' do
|
2753
|
+
before(:each) do
|
2754
|
+
subject.params do
|
2755
|
+
requires :one, desc: 'a token'
|
2756
|
+
optional :two, desc: 'the limit'
|
2757
|
+
end
|
2758
|
+
subject.get 'one' do
|
2759
|
+
end
|
2760
|
+
|
2761
|
+
subject.params do
|
2762
|
+
requires :three, desc: 'a token'
|
2763
|
+
optional :four, desc: 'the limit'
|
2764
|
+
end
|
2765
|
+
subject.get 'two' do
|
2766
|
+
end
|
2767
|
+
end
|
2768
|
+
it 'sets params' do
|
2769
|
+
expect(subject.routes.map do |route|
|
2770
|
+
{ params: route.params }
|
2771
|
+
end).to eq [
|
2772
|
+
{
|
2773
|
+
params: {
|
2774
|
+
'one' => { required: true, desc: 'a token' },
|
2775
|
+
'two' => { required: false, desc: 'the limit' }
|
2776
|
+
}
|
2777
|
+
},
|
2778
|
+
{
|
2779
|
+
params: {
|
2780
|
+
'three' => { required: true, desc: 'a token' },
|
2781
|
+
'four' => { required: false, desc: 'the limit' }
|
2782
|
+
}
|
2783
|
+
}
|
2784
|
+
]
|
2785
|
+
end
|
2786
|
+
end
|
2787
|
+
describe 'api structure with an api without params' do
|
2788
|
+
before(:each) do
|
2789
|
+
subject.params do
|
2790
|
+
requires :one, desc: 'a token'
|
2791
|
+
optional :two, desc: 'the limit'
|
2792
|
+
end
|
2793
|
+
subject.get 'one' do
|
2794
|
+
end
|
2795
|
+
|
2796
|
+
subject.get 'two' do
|
2797
|
+
end
|
2798
|
+
end
|
2799
|
+
it 'sets params' do
|
2800
|
+
expect(subject.routes.map do |route|
|
2801
|
+
{ params: route.params }
|
2802
|
+
end).to eq [
|
2803
|
+
{
|
2804
|
+
params: {
|
2805
|
+
'one' => { required: true, desc: 'a token' },
|
2806
|
+
'two' => { required: false, desc: 'the limit' }
|
2807
|
+
}
|
2808
|
+
},
|
2809
|
+
{
|
2810
|
+
params: {}
|
2811
|
+
}
|
2812
|
+
]
|
2813
|
+
end
|
2814
|
+
end
|
2815
|
+
describe 'api with a custom route setting' do
|
2816
|
+
before(:each) do
|
2817
|
+
subject.route_setting :custom, key: 'value'
|
2818
|
+
subject.get 'one'
|
2819
|
+
end
|
2820
|
+
it 'exposed' do
|
2821
|
+
expect(subject.routes.count).to eq 1
|
2822
|
+
route = subject.routes.first
|
2823
|
+
expect(route.settings[:custom]).to eq(key: 'value')
|
2824
|
+
end
|
2825
|
+
end
|
2826
|
+
describe 'status' do
|
2827
|
+
it 'can be set to arbitrary Integer value' do
|
2828
|
+
subject.get '/foo' do
|
2829
|
+
status 210
|
2830
|
+
end
|
2831
|
+
get '/foo'
|
2832
|
+
expect(last_response.status).to eq 210
|
2833
|
+
end
|
2834
|
+
it 'can be set with a status code symbol' do
|
2835
|
+
subject.get '/foo' do
|
2836
|
+
status :see_other
|
2837
|
+
end
|
2838
|
+
get '/foo'
|
2839
|
+
expect(last_response.status).to eq 303
|
2840
|
+
end
|
2841
|
+
end
|
2842
|
+
end
|
2843
|
+
|
2844
|
+
context 'desc' do
|
2845
|
+
it 'empty array of routes' do
|
2846
|
+
expect(subject.routes).to eq([])
|
2847
|
+
end
|
2848
|
+
it 'empty array of routes' do
|
2849
|
+
subject.desc 'grape api'
|
2850
|
+
expect(subject.routes).to eq([])
|
2851
|
+
end
|
2852
|
+
it 'describes a method' do
|
2853
|
+
subject.desc 'first method'
|
2854
|
+
subject.get :first
|
2855
|
+
expect(subject.routes.length).to eq(1)
|
2856
|
+
route = subject.routes.first
|
2857
|
+
expect(route.description).to eq('first method')
|
2858
|
+
expect(route.route_foo).to be_nil
|
2859
|
+
expect(route.params).to eq({})
|
2860
|
+
expect(route.options).to be_a_kind_of(Hash)
|
2861
|
+
end
|
2862
|
+
it 'has params which does not include format and version as named captures' do
|
2863
|
+
subject.version :v1, using: :path
|
2864
|
+
subject.get :first
|
2865
|
+
param_keys = subject.routes.first.params.keys
|
2866
|
+
expect(param_keys).not_to include('format')
|
2867
|
+
expect(param_keys).not_to include('version')
|
2868
|
+
end
|
2869
|
+
it 'describes methods separately' do
|
2870
|
+
subject.desc 'first method'
|
2871
|
+
subject.get :first
|
2872
|
+
subject.desc 'second method'
|
2873
|
+
subject.get :second
|
2874
|
+
expect(subject.routes.count).to eq(2)
|
2875
|
+
expect(subject.routes.map do |route|
|
2876
|
+
{ description: route.description, params: route.params }
|
2877
|
+
end).to eq [
|
2878
|
+
{ description: 'first method', params: {} },
|
2879
|
+
{ description: 'second method', params: {} }
|
2880
|
+
]
|
2881
|
+
end
|
2882
|
+
it 'resets desc' do
|
2883
|
+
subject.desc 'first method'
|
2884
|
+
subject.get :first
|
2885
|
+
subject.get :second
|
2886
|
+
expect(subject.routes.map do |route|
|
2887
|
+
{ description: route.description, params: route.params }
|
2888
|
+
end).to eq [
|
2889
|
+
{ description: 'first method', params: {} },
|
2890
|
+
{ description: nil, params: {} }
|
2891
|
+
]
|
2892
|
+
end
|
2893
|
+
it 'namespaces and describe arbitrary parameters' do
|
2894
|
+
subject.namespace 'ns' do
|
2895
|
+
desc 'ns second', foo: 'bar'
|
2896
|
+
get 'second'
|
2897
|
+
end
|
2898
|
+
expect(subject.routes.map do |route|
|
2899
|
+
{ description: route.description, foo: route.route_foo, params: route.params }
|
2900
|
+
end).to eq [
|
2901
|
+
{ description: 'ns second', foo: 'bar', params: {} }
|
2902
|
+
]
|
2903
|
+
end
|
2904
|
+
it 'includes details' do
|
2905
|
+
subject.desc 'method', details: 'method details'
|
2906
|
+
subject.get 'method'
|
2907
|
+
expect(subject.routes.map do |route|
|
2908
|
+
{ description: route.description, details: route.details, params: route.params }
|
2909
|
+
end).to eq [
|
2910
|
+
{ description: 'method', details: 'method details', params: {} }
|
2911
|
+
]
|
2912
|
+
end
|
2913
|
+
it 'describes a method with parameters' do
|
2914
|
+
subject.desc 'Reverses a string.', params: { 's' => { desc: 'string to reverse', type: 'string' } }
|
2915
|
+
subject.get 'reverse' do
|
2916
|
+
params[:s].reverse
|
2917
|
+
end
|
2918
|
+
expect(subject.routes.map do |route|
|
2919
|
+
{ description: route.description, params: route.params }
|
2920
|
+
end).to eq [
|
2921
|
+
{ description: 'Reverses a string.', params: { 's' => { desc: 'string to reverse', type: 'string' } } }
|
2922
|
+
]
|
2923
|
+
end
|
2924
|
+
it 'does not inherit param descriptions in consequent namespaces' do
|
2925
|
+
subject.desc 'global description'
|
2926
|
+
subject.params do
|
2927
|
+
requires :param1
|
2928
|
+
optional :param2
|
2929
|
+
end
|
2930
|
+
subject.namespace 'ns1' do
|
2931
|
+
get { ; }
|
2932
|
+
end
|
2933
|
+
subject.params do
|
2934
|
+
optional :param2
|
2935
|
+
end
|
2936
|
+
subject.namespace 'ns2' do
|
2937
|
+
get { ; }
|
2938
|
+
end
|
2939
|
+
routes_doc = subject.routes.map do |route|
|
2940
|
+
{ description: route.description, params: route.params }
|
2941
|
+
end
|
2942
|
+
expect(routes_doc).to eq [
|
2943
|
+
{ description: 'global description',
|
2944
|
+
params: {
|
2945
|
+
'param1' => { required: true },
|
2946
|
+
'param2' => { required: false }
|
2947
|
+
} },
|
2948
|
+
{ description: 'global description',
|
2949
|
+
params: {
|
2950
|
+
'param2' => { required: false }
|
2951
|
+
} }
|
2952
|
+
]
|
2953
|
+
end
|
2954
|
+
it 'merges the parameters of the namespace with the parameters of the method' do
|
2955
|
+
subject.desc 'namespace'
|
2956
|
+
subject.params do
|
2957
|
+
requires :ns_param, desc: 'namespace parameter'
|
2958
|
+
end
|
2959
|
+
subject.namespace 'ns' do
|
2960
|
+
desc 'method'
|
2961
|
+
params do
|
2962
|
+
optional :method_param, desc: 'method parameter'
|
2963
|
+
end
|
2964
|
+
get 'method'
|
2965
|
+
end
|
2966
|
+
|
2967
|
+
routes_doc = subject.routes.map do |route|
|
2968
|
+
{ description: route.description, params: route.params }
|
2969
|
+
end
|
2970
|
+
expect(routes_doc).to eq [
|
2971
|
+
{ description: 'method',
|
2972
|
+
params: {
|
2973
|
+
'ns_param' => { required: true, desc: 'namespace parameter' },
|
2974
|
+
'method_param' => { required: false, desc: 'method parameter' }
|
2975
|
+
} }
|
2976
|
+
]
|
2977
|
+
end
|
2978
|
+
it 'merges the parameters of nested namespaces' do
|
2979
|
+
subject.desc 'ns1'
|
2980
|
+
subject.params do
|
2981
|
+
optional :ns_param, desc: 'ns param 1'
|
2982
|
+
requires :ns1_param, desc: 'ns1 param'
|
2983
|
+
end
|
2984
|
+
subject.namespace 'ns1' do
|
2985
|
+
desc 'ns2'
|
2986
|
+
params do
|
2987
|
+
requires :ns_param, desc: 'ns param 2'
|
2988
|
+
requires :ns2_param, desc: 'ns2 param'
|
2989
|
+
end
|
2990
|
+
namespace 'ns2' do
|
2991
|
+
desc 'method'
|
2992
|
+
params do
|
2993
|
+
optional :method_param, desc: 'method param'
|
2994
|
+
end
|
2995
|
+
get 'method'
|
2996
|
+
end
|
2997
|
+
end
|
2998
|
+
expect(subject.routes.map do |route|
|
2999
|
+
{ description: route.description, params: route.params }
|
3000
|
+
end).to eq [
|
3001
|
+
{ description: 'method',
|
3002
|
+
params: {
|
3003
|
+
'ns_param' => { required: true, desc: 'ns param 2' },
|
3004
|
+
'ns1_param' => { required: true, desc: 'ns1 param' },
|
3005
|
+
'ns2_param' => { required: true, desc: 'ns2 param' },
|
3006
|
+
'method_param' => { required: false, desc: 'method param' }
|
3007
|
+
} }
|
3008
|
+
]
|
3009
|
+
end
|
3010
|
+
it 'groups nested params and prevents overwriting of params with same name in different groups' do
|
3011
|
+
subject.desc 'method'
|
3012
|
+
subject.params do
|
3013
|
+
group :group1, type: Array do
|
3014
|
+
optional :param1, desc: 'group1 param1 desc'
|
3015
|
+
requires :param2, desc: 'group1 param2 desc'
|
3016
|
+
end
|
3017
|
+
group :group2, type: Array do
|
3018
|
+
optional :param1, desc: 'group2 param1 desc'
|
3019
|
+
requires :param2, desc: 'group2 param2 desc'
|
3020
|
+
end
|
3021
|
+
end
|
3022
|
+
subject.get 'method'
|
3023
|
+
|
3024
|
+
expect(subject.routes.map(&:params)).to eq [{
|
3025
|
+
'group1' => { required: true, type: 'Array' },
|
3026
|
+
'group1[param1]' => { required: false, desc: 'group1 param1 desc' },
|
3027
|
+
'group1[param2]' => { required: true, desc: 'group1 param2 desc' },
|
3028
|
+
'group2' => { required: true, type: 'Array' },
|
3029
|
+
'group2[param1]' => { required: false, desc: 'group2 param1 desc' },
|
3030
|
+
'group2[param2]' => { required: true, desc: 'group2 param2 desc' }
|
3031
|
+
}]
|
3032
|
+
end
|
3033
|
+
it 'uses full name of parameters in nested groups' do
|
3034
|
+
subject.desc 'nesting'
|
3035
|
+
subject.params do
|
3036
|
+
requires :root_param, desc: 'root param'
|
3037
|
+
group :nested, type: Array do
|
3038
|
+
requires :nested_param, desc: 'nested param'
|
3039
|
+
end
|
3040
|
+
end
|
3041
|
+
subject.get 'method'
|
3042
|
+
expect(subject.routes.map do |route|
|
3043
|
+
{ description: route.description, params: route.params }
|
3044
|
+
end).to eq [
|
3045
|
+
{ description: 'nesting',
|
3046
|
+
params: {
|
3047
|
+
'root_param' => { required: true, desc: 'root param' },
|
3048
|
+
'nested' => { required: true, type: 'Array' },
|
3049
|
+
'nested[nested_param]' => { required: true, desc: 'nested param' }
|
3050
|
+
} }
|
3051
|
+
]
|
3052
|
+
end
|
3053
|
+
it 'allows to set the type attribute on :group element' do
|
3054
|
+
subject.params do
|
3055
|
+
group :foo, type: Array do
|
3056
|
+
optional :bar
|
3057
|
+
end
|
3058
|
+
end
|
3059
|
+
end
|
3060
|
+
it 'parses parameters when no description is given' do
|
3061
|
+
subject.params do
|
3062
|
+
requires :one_param, desc: 'one param'
|
3063
|
+
end
|
3064
|
+
subject.get 'method'
|
3065
|
+
expect(subject.routes.map do |route|
|
3066
|
+
{ description: route.description, params: route.params }
|
3067
|
+
end).to eq [
|
3068
|
+
{ description: nil, params: { 'one_param' => { required: true, desc: 'one param' } } }
|
3069
|
+
]
|
3070
|
+
end
|
3071
|
+
it 'does not symbolize params' do
|
3072
|
+
subject.desc 'Reverses a string.', params: { 's' => { desc: 'string to reverse', type: 'string' } }
|
3073
|
+
subject.get 'reverse/:s' do
|
3074
|
+
params[:s].reverse
|
3075
|
+
end
|
3076
|
+
expect(subject.routes.map do |route|
|
3077
|
+
{ description: route.description, params: route.params }
|
3078
|
+
end).to eq [
|
3079
|
+
{ description: 'Reverses a string.', params: { 's' => { desc: 'string to reverse', type: 'string' } } }
|
3080
|
+
]
|
3081
|
+
end
|
3082
|
+
end
|
3083
|
+
|
3084
|
+
describe '.mount' do
|
3085
|
+
let(:mounted_app) { ->(_env) { [200, {}, ['MOUNTED']] } }
|
3086
|
+
|
3087
|
+
context 'with a bare rack app' do
|
3088
|
+
before do
|
3089
|
+
subject.mount mounted_app => '/mounty'
|
3090
|
+
end
|
3091
|
+
|
3092
|
+
it 'makes a bare Rack app available at the endpoint' do
|
3093
|
+
get '/mounty'
|
3094
|
+
expect(last_response.body).to eq('MOUNTED')
|
3095
|
+
end
|
3096
|
+
|
3097
|
+
it 'anchors the routes, passing all subroutes to it' do
|
3098
|
+
get '/mounty/awesome'
|
3099
|
+
expect(last_response.body).to eq('MOUNTED')
|
3100
|
+
end
|
3101
|
+
|
3102
|
+
it 'is able to cascade' do
|
3103
|
+
subject.mount lambda { |env|
|
3104
|
+
headers = {}
|
3105
|
+
headers['X-Cascade'] == 'pass' unless env['PATH_INFO'].include?('boo')
|
3106
|
+
[200, headers, ['Farfegnugen']]
|
3107
|
+
} => '/'
|
3108
|
+
|
3109
|
+
get '/boo'
|
3110
|
+
expect(last_response.body).to eq('Farfegnugen')
|
3111
|
+
get '/mounty'
|
3112
|
+
expect(last_response.body).to eq('MOUNTED')
|
3113
|
+
end
|
3114
|
+
end
|
3115
|
+
|
3116
|
+
context 'without a hash' do
|
3117
|
+
it 'calls through setting the route to "/"' do
|
3118
|
+
subject.mount mounted_app
|
3119
|
+
get '/'
|
3120
|
+
expect(last_response.body).to eq('MOUNTED')
|
3121
|
+
end
|
3122
|
+
end
|
3123
|
+
|
3124
|
+
context 'mounting an API' do
|
3125
|
+
it 'applies the settings of the mounting api' do
|
3126
|
+
subject.version 'v1', using: :path
|
3127
|
+
|
3128
|
+
subject.namespace :cool do
|
3129
|
+
app = Class.new(Grape::API)
|
3130
|
+
app.get('/awesome') do
|
3131
|
+
'yo'
|
3132
|
+
end
|
3133
|
+
|
3134
|
+
mount app
|
3135
|
+
end
|
3136
|
+
|
3137
|
+
get '/v1/cool/awesome'
|
3138
|
+
expect(last_response.body).to eq('yo')
|
3139
|
+
end
|
3140
|
+
|
3141
|
+
it 'applies the settings to nested mounted apis' do
|
3142
|
+
subject.version 'v1', using: :path
|
3143
|
+
|
3144
|
+
subject.namespace :cool do
|
3145
|
+
inner_app = Class.new(Grape::API)
|
3146
|
+
inner_app.get('/awesome') do
|
3147
|
+
'yo'
|
3148
|
+
end
|
3149
|
+
|
3150
|
+
app = Class.new(Grape::API)
|
3151
|
+
app.mount inner_app
|
3152
|
+
mount app
|
3153
|
+
end
|
3154
|
+
|
3155
|
+
get '/v1/cool/awesome'
|
3156
|
+
expect(last_response.body).to eq('yo')
|
3157
|
+
end
|
3158
|
+
|
3159
|
+
context 'when some rescues are defined by mounted' do
|
3160
|
+
it 'inherits parent rescues' do
|
3161
|
+
subject.rescue_from :all do |e|
|
3162
|
+
rack_response("rescued from #{e.message}", 202)
|
3163
|
+
end
|
3164
|
+
|
3165
|
+
app = Class.new(Grape::API)
|
3166
|
+
|
3167
|
+
subject.namespace :mounted do
|
3168
|
+
app.rescue_from ArgumentError
|
3169
|
+
app.get('/fail') { raise 'doh!' }
|
3170
|
+
mount app
|
3171
|
+
end
|
3172
|
+
|
3173
|
+
get '/mounted/fail'
|
3174
|
+
expect(last_response.status).to eql 202
|
3175
|
+
expect(last_response.body).to eq('rescued from doh!')
|
3176
|
+
end
|
3177
|
+
it 'prefers rescues defined by mounted if they rescue similar error class' do
|
3178
|
+
subject.rescue_from StandardError do
|
3179
|
+
rack_response('outer rescue')
|
3180
|
+
end
|
3181
|
+
|
3182
|
+
app = Class.new(Grape::API)
|
3183
|
+
|
3184
|
+
subject.namespace :mounted do
|
3185
|
+
rescue_from StandardError do
|
3186
|
+
rack_response('inner rescue')
|
3187
|
+
end
|
3188
|
+
app.get('/fail') { raise 'doh!' }
|
3189
|
+
mount app
|
3190
|
+
end
|
3191
|
+
|
3192
|
+
get '/mounted/fail'
|
3193
|
+
expect(last_response.body).to eq('inner rescue')
|
3194
|
+
end
|
3195
|
+
it 'prefers rescues defined by mounted even if outer is more specific' do
|
3196
|
+
subject.rescue_from ArgumentError do
|
3197
|
+
rack_response('outer rescue')
|
3198
|
+
end
|
3199
|
+
|
3200
|
+
app = Class.new(Grape::API)
|
3201
|
+
|
3202
|
+
subject.namespace :mounted do
|
3203
|
+
rescue_from StandardError do
|
3204
|
+
rack_response('inner rescue')
|
3205
|
+
end
|
3206
|
+
app.get('/fail') { raise ArgumentError.new }
|
3207
|
+
mount app
|
3208
|
+
end
|
3209
|
+
|
3210
|
+
get '/mounted/fail'
|
3211
|
+
expect(last_response.body).to eq('inner rescue')
|
3212
|
+
end
|
3213
|
+
it 'prefers more specific rescues defined by mounted' do
|
3214
|
+
subject.rescue_from StandardError do
|
3215
|
+
rack_response('outer rescue')
|
3216
|
+
end
|
3217
|
+
|
3218
|
+
app = Class.new(Grape::API)
|
3219
|
+
|
3220
|
+
subject.namespace :mounted do
|
3221
|
+
rescue_from ArgumentError do
|
3222
|
+
rack_response('inner rescue')
|
3223
|
+
end
|
3224
|
+
app.get('/fail') { raise ArgumentError.new }
|
3225
|
+
mount app
|
3226
|
+
end
|
3227
|
+
|
3228
|
+
get '/mounted/fail'
|
3229
|
+
expect(last_response.body).to eq('inner rescue')
|
3230
|
+
end
|
3231
|
+
end
|
3232
|
+
|
3233
|
+
it 'collects the routes of the mounted api' do
|
3234
|
+
subject.namespace :cool do
|
3235
|
+
app = Class.new(Grape::API)
|
3236
|
+
app.get('/awesome') {}
|
3237
|
+
app.post('/sauce') {}
|
3238
|
+
mount app
|
3239
|
+
end
|
3240
|
+
expect(subject.routes.size).to eq(2)
|
3241
|
+
expect(subject.routes.first.path).to match(%r{\/cool\/awesome})
|
3242
|
+
expect(subject.routes.last.path).to match(%r{\/cool\/sauce})
|
3243
|
+
end
|
3244
|
+
|
3245
|
+
it 'mounts on a path' do
|
3246
|
+
subject.namespace :cool do
|
3247
|
+
app = Class.new(Grape::API)
|
3248
|
+
app.get '/awesome' do
|
3249
|
+
'sauce'
|
3250
|
+
end
|
3251
|
+
mount app => '/mounted'
|
3252
|
+
end
|
3253
|
+
get '/mounted/cool/awesome'
|
3254
|
+
expect(last_response.status).to eq(200)
|
3255
|
+
expect(last_response.body).to eq('sauce')
|
3256
|
+
end
|
3257
|
+
|
3258
|
+
it 'mounts on a nested path' do
|
3259
|
+
APP1 = Class.new(Grape::API)
|
3260
|
+
APP2 = Class.new(Grape::API)
|
3261
|
+
APP2.get '/nice' do
|
3262
|
+
'play'
|
3263
|
+
end
|
3264
|
+
# note that the reverse won't work, mount from outside-in
|
3265
|
+
APP3 = subject
|
3266
|
+
APP3.mount APP1 => '/app1'
|
3267
|
+
APP1.mount APP2 => '/app2'
|
3268
|
+
get '/app1/app2/nice'
|
3269
|
+
expect(last_response.status).to eq(200)
|
3270
|
+
expect(last_response.body).to eq('play')
|
3271
|
+
options '/app1/app2/nice'
|
3272
|
+
expect(last_response.status).to eq(204)
|
3273
|
+
end
|
3274
|
+
|
3275
|
+
it 'responds to options' do
|
3276
|
+
app = Class.new(Grape::API)
|
3277
|
+
app.get '/colour' do
|
3278
|
+
'red'
|
3279
|
+
end
|
3280
|
+
app.namespace :pears do
|
3281
|
+
get '/colour' do
|
3282
|
+
'green'
|
3283
|
+
end
|
3284
|
+
end
|
3285
|
+
subject.namespace :apples do
|
3286
|
+
mount app
|
3287
|
+
end
|
3288
|
+
|
3289
|
+
get '/apples/colour'
|
3290
|
+
expect(last_response.status).to eql 200
|
3291
|
+
expect(last_response.body).to eq('red')
|
3292
|
+
options '/apples/colour'
|
3293
|
+
expect(last_response.status).to eql 204
|
3294
|
+
get '/apples/pears/colour'
|
3295
|
+
expect(last_response.status).to eql 200
|
3296
|
+
expect(last_response.body).to eq('green')
|
3297
|
+
options '/apples/pears/colour'
|
3298
|
+
expect(last_response.status).to eql 204
|
3299
|
+
end
|
3300
|
+
|
3301
|
+
it 'responds to options with path versioning' do
|
3302
|
+
subject.version 'v1', using: :path
|
3303
|
+
subject.namespace :apples do
|
3304
|
+
app = Class.new(Grape::API)
|
3305
|
+
app.get('/colour') do
|
3306
|
+
'red'
|
3307
|
+
end
|
3308
|
+
mount app
|
3309
|
+
end
|
3310
|
+
|
3311
|
+
get '/v1/apples/colour'
|
3312
|
+
expect(last_response.status).to eql 200
|
3313
|
+
expect(last_response.body).to eq('red')
|
3314
|
+
options '/v1/apples/colour'
|
3315
|
+
expect(last_response.status).to eql 204
|
3316
|
+
end
|
3317
|
+
|
3318
|
+
it 'mounts a versioned API with nested resources' do
|
3319
|
+
api = Class.new(Grape::API) do
|
3320
|
+
version 'v1'
|
3321
|
+
resources :users do
|
3322
|
+
get :hello do
|
3323
|
+
'hello users'
|
3324
|
+
end
|
3325
|
+
end
|
3326
|
+
end
|
3327
|
+
subject.mount api
|
3328
|
+
|
3329
|
+
get '/v1/users/hello'
|
3330
|
+
expect(last_response.body).to eq('hello users')
|
3331
|
+
end
|
3332
|
+
|
3333
|
+
it 'mounts a prefixed API with nested resources' do
|
3334
|
+
api = Class.new(Grape::API) do
|
3335
|
+
prefix 'api'
|
3336
|
+
resources :users do
|
3337
|
+
get :hello do
|
3338
|
+
'hello users'
|
3339
|
+
end
|
3340
|
+
end
|
3341
|
+
end
|
3342
|
+
subject.mount api
|
3343
|
+
|
3344
|
+
get '/api/users/hello'
|
3345
|
+
expect(last_response.body).to eq('hello users')
|
3346
|
+
end
|
3347
|
+
|
3348
|
+
it 'applies format to a mounted API with nested resources' do
|
3349
|
+
api = Class.new(Grape::API) do
|
3350
|
+
format :json
|
3351
|
+
resources :users do
|
3352
|
+
get do
|
3353
|
+
{ users: true }
|
3354
|
+
end
|
3355
|
+
end
|
3356
|
+
end
|
3357
|
+
subject.mount api
|
3358
|
+
|
3359
|
+
get '/users'
|
3360
|
+
expect(last_response.body).to eq({ users: true }.to_json)
|
3361
|
+
end
|
3362
|
+
|
3363
|
+
it 'applies auth to a mounted API with nested resources' do
|
3364
|
+
api = Class.new(Grape::API) do
|
3365
|
+
format :json
|
3366
|
+
http_basic do |username, password|
|
3367
|
+
username == 'username' && password == 'password'
|
3368
|
+
end
|
3369
|
+
resources :users do
|
3370
|
+
get do
|
3371
|
+
{ users: true }
|
3372
|
+
end
|
3373
|
+
end
|
3374
|
+
end
|
3375
|
+
subject.mount api
|
3376
|
+
|
3377
|
+
get '/users'
|
3378
|
+
expect(last_response.status).to eq(401)
|
3379
|
+
|
3380
|
+
get '/users', {}, 'HTTP_AUTHORIZATION' => encode_basic_auth('username', 'password')
|
3381
|
+
expect(last_response.body).to eq({ users: true }.to_json)
|
3382
|
+
end
|
3383
|
+
|
3384
|
+
it 'mounts multiple versioned APIs with nested resources' do
|
3385
|
+
api1 = Class.new(Grape::API) do
|
3386
|
+
version 'one', using: :header, vendor: 'test'
|
3387
|
+
resources :users do
|
3388
|
+
get :hello do
|
3389
|
+
'one'
|
3390
|
+
end
|
3391
|
+
end
|
3392
|
+
end
|
3393
|
+
|
3394
|
+
api2 = Class.new(Grape::API) do
|
3395
|
+
version 'two', using: :header, vendor: 'test'
|
3396
|
+
resources :users do
|
3397
|
+
get :hello do
|
3398
|
+
'two'
|
3399
|
+
end
|
3400
|
+
end
|
3401
|
+
end
|
3402
|
+
|
3403
|
+
subject.mount api1
|
3404
|
+
subject.mount api2
|
3405
|
+
|
3406
|
+
versioned_get '/users/hello', 'one', using: :header, vendor: 'test'
|
3407
|
+
expect(last_response.body).to eq('one')
|
3408
|
+
versioned_get '/users/hello', 'two', using: :header, vendor: 'test'
|
3409
|
+
expect(last_response.body).to eq('two')
|
3410
|
+
end
|
3411
|
+
|
3412
|
+
it 'recognizes potential versions with mounted path' do
|
3413
|
+
a = Class.new(Grape::API) do
|
3414
|
+
version :v1, using: :path
|
3415
|
+
|
3416
|
+
get '/hello' do
|
3417
|
+
'hello'
|
3418
|
+
end
|
3419
|
+
end
|
3420
|
+
|
3421
|
+
b = Class.new(Grape::API) do
|
3422
|
+
version :v1, using: :path
|
3423
|
+
|
3424
|
+
get '/world' do
|
3425
|
+
'world'
|
3426
|
+
end
|
3427
|
+
end
|
3428
|
+
|
3429
|
+
subject.mount a => '/one'
|
3430
|
+
subject.mount b => '/two'
|
3431
|
+
|
3432
|
+
get '/one/v1/hello'
|
3433
|
+
expect(last_response.status).to eq 200
|
3434
|
+
|
3435
|
+
get '/two/v1/world'
|
3436
|
+
expect(last_response.status).to eq 200
|
3437
|
+
end
|
3438
|
+
|
3439
|
+
context 'when mounting class extends a subclass of Grape::API' do
|
3440
|
+
it 'mounts APIs with the same superclass' do
|
3441
|
+
base_api = Class.new(Grape::API)
|
3442
|
+
a = Class.new(base_api)
|
3443
|
+
b = Class.new(base_api)
|
3444
|
+
|
3445
|
+
expect { a.mount b }.to_not raise_error
|
3446
|
+
end
|
3447
|
+
end
|
3448
|
+
|
3449
|
+
context 'when including a module' do
|
3450
|
+
let(:included_module) do
|
3451
|
+
Module.new do
|
3452
|
+
def self.included(base)
|
3453
|
+
base.extend(ClassMethods)
|
3454
|
+
end
|
3455
|
+
module ClassMethods
|
3456
|
+
def my_method
|
3457
|
+
@test = true
|
3458
|
+
end
|
3459
|
+
end
|
3460
|
+
end
|
3461
|
+
end
|
3462
|
+
|
3463
|
+
it 'should correctly include module in nested mount' do
|
3464
|
+
module_to_include = included_module
|
3465
|
+
v1 = Class.new(Grape::API) do
|
3466
|
+
version :v1, using: :path
|
3467
|
+
include module_to_include
|
3468
|
+
my_method
|
3469
|
+
end
|
3470
|
+
v2 = Class.new(Grape::API) do
|
3471
|
+
version :v2, using: :path
|
3472
|
+
end
|
3473
|
+
segment_base = Class.new(Grape::API) do
|
3474
|
+
mount v1
|
3475
|
+
mount v2
|
3476
|
+
end
|
3477
|
+
|
3478
|
+
Class.new(Grape::API) do
|
3479
|
+
mount segment_base
|
3480
|
+
end
|
3481
|
+
|
3482
|
+
expect(v1.my_method).to be_truthy
|
3483
|
+
end
|
3484
|
+
end
|
3485
|
+
end
|
3486
|
+
end
|
3487
|
+
|
3488
|
+
describe '.endpoints' do
|
3489
|
+
it 'adds one for each route created' do
|
3490
|
+
subject.get '/'
|
3491
|
+
subject.post '/'
|
3492
|
+
expect(subject.endpoints.size).to eq(2)
|
3493
|
+
end
|
3494
|
+
end
|
3495
|
+
|
3496
|
+
describe '.compile' do
|
3497
|
+
it 'sets the instance' do
|
3498
|
+
expect(subject.instance).to be_nil
|
3499
|
+
subject.compile
|
3500
|
+
expect(subject.instance).to be_kind_of(subject.base_instance)
|
3501
|
+
end
|
3502
|
+
end
|
3503
|
+
|
3504
|
+
describe '.change!' do
|
3505
|
+
it 'invalidates any compiled instance' do
|
3506
|
+
subject.compile
|
3507
|
+
subject.change!
|
3508
|
+
expect(subject.instance).to be_nil
|
3509
|
+
end
|
3510
|
+
end
|
3511
|
+
|
3512
|
+
describe '.endpoint' do
|
3513
|
+
before(:each) do
|
3514
|
+
subject.format :json
|
3515
|
+
subject.get '/endpoint/options' do
|
3516
|
+
{
|
3517
|
+
path: options[:path],
|
3518
|
+
source_location: source.source_location
|
3519
|
+
}
|
3520
|
+
end
|
3521
|
+
end
|
3522
|
+
it 'path' do
|
3523
|
+
get '/endpoint/options'
|
3524
|
+
options = ::Grape::Json.load(last_response.body)
|
3525
|
+
expect(options['path']).to eq(['/endpoint/options'])
|
3526
|
+
expect(options['source_location'][0]).to include 'api_spec.rb'
|
3527
|
+
expect(options['source_location'][1].to_i).to be > 0
|
3528
|
+
end
|
3529
|
+
end
|
3530
|
+
|
3531
|
+
describe '.route' do
|
3532
|
+
context 'plain' do
|
3533
|
+
before(:each) do
|
3534
|
+
subject.get '/' do
|
3535
|
+
route.path
|
3536
|
+
end
|
3537
|
+
subject.get '/path' do
|
3538
|
+
route.path
|
3539
|
+
end
|
3540
|
+
end
|
3541
|
+
it 'provides access to route info' do
|
3542
|
+
get '/'
|
3543
|
+
expect(last_response.body).to eq('/(.:format)')
|
3544
|
+
get '/path'
|
3545
|
+
expect(last_response.body).to eq('/path(.:format)')
|
3546
|
+
end
|
3547
|
+
end
|
3548
|
+
context 'with desc' do
|
3549
|
+
before(:each) do
|
3550
|
+
subject.desc 'returns description'
|
3551
|
+
subject.get '/description' do
|
3552
|
+
route.description
|
3553
|
+
end
|
3554
|
+
subject.desc 'returns parameters', params: { 'x' => 'y' }
|
3555
|
+
subject.get '/params/:id' do
|
3556
|
+
route.params[params[:id]]
|
3557
|
+
end
|
3558
|
+
end
|
3559
|
+
it 'returns route description' do
|
3560
|
+
get '/description'
|
3561
|
+
expect(last_response.body).to eq('returns description')
|
3562
|
+
end
|
3563
|
+
it 'returns route parameters' do
|
3564
|
+
get '/params/x'
|
3565
|
+
expect(last_response.body).to eq('y')
|
3566
|
+
end
|
3567
|
+
end
|
3568
|
+
end
|
3569
|
+
describe '.format' do
|
3570
|
+
context ':txt' do
|
3571
|
+
before(:each) do
|
3572
|
+
subject.format :txt
|
3573
|
+
subject.content_type :json, 'application/json'
|
3574
|
+
subject.get '/meaning_of_life' do
|
3575
|
+
{ meaning_of_life: 42 }
|
3576
|
+
end
|
3577
|
+
end
|
3578
|
+
it 'forces txt without an extension' do
|
3579
|
+
get '/meaning_of_life'
|
3580
|
+
expect(last_response.body).to eq({ meaning_of_life: 42 }.to_s)
|
3581
|
+
end
|
3582
|
+
it 'does not force txt with an extension' do
|
3583
|
+
get '/meaning_of_life.json'
|
3584
|
+
expect(last_response.body).to eq({ meaning_of_life: 42 }.to_json)
|
3585
|
+
end
|
3586
|
+
it 'forces txt from a non-accepting header' do
|
3587
|
+
get '/meaning_of_life', {}, 'HTTP_ACCEPT' => 'application/json'
|
3588
|
+
expect(last_response.body).to eq({ meaning_of_life: 42 }.to_s)
|
3589
|
+
end
|
3590
|
+
end
|
3591
|
+
context ':txt only' do
|
3592
|
+
before(:each) do
|
3593
|
+
subject.format :txt
|
3594
|
+
subject.get '/meaning_of_life' do
|
3595
|
+
{ meaning_of_life: 42 }
|
3596
|
+
end
|
3597
|
+
end
|
3598
|
+
it 'forces txt without an extension' do
|
3599
|
+
get '/meaning_of_life'
|
3600
|
+
expect(last_response.body).to eq({ meaning_of_life: 42 }.to_s)
|
3601
|
+
end
|
3602
|
+
it 'accepts specified extension' do
|
3603
|
+
get '/meaning_of_life.txt'
|
3604
|
+
expect(last_response.body).to eq({ meaning_of_life: 42 }.to_s)
|
3605
|
+
end
|
3606
|
+
it 'does not accept extensions other than specified' do
|
3607
|
+
get '/meaning_of_life.json'
|
3608
|
+
expect(last_response.status).to eq(404)
|
3609
|
+
end
|
3610
|
+
it 'forces txt from a non-accepting header' do
|
3611
|
+
get '/meaning_of_life', {}, 'HTTP_ACCEPT' => 'application/json'
|
3612
|
+
expect(last_response.body).to eq({ meaning_of_life: 42 }.to_s)
|
3613
|
+
end
|
3614
|
+
end
|
3615
|
+
context ':json' do
|
3616
|
+
before(:each) do
|
3617
|
+
subject.format :json
|
3618
|
+
subject.content_type :txt, 'text/plain'
|
3619
|
+
subject.get '/meaning_of_life' do
|
3620
|
+
{ meaning_of_life: 42 }
|
3621
|
+
end
|
3622
|
+
end
|
3623
|
+
it 'forces json without an extension' do
|
3624
|
+
get '/meaning_of_life'
|
3625
|
+
expect(last_response.body).to eq({ meaning_of_life: 42 }.to_json)
|
3626
|
+
end
|
3627
|
+
it 'does not force json with an extension' do
|
3628
|
+
get '/meaning_of_life.txt'
|
3629
|
+
expect(last_response.body).to eq({ meaning_of_life: 42 }.to_s)
|
3630
|
+
end
|
3631
|
+
it 'forces json from a non-accepting header' do
|
3632
|
+
get '/meaning_of_life', {}, 'HTTP_ACCEPT' => 'text/html'
|
3633
|
+
expect(last_response.body).to eq({ meaning_of_life: 42 }.to_json)
|
3634
|
+
end
|
3635
|
+
it 'can be overwritten with an explicit content type' do
|
3636
|
+
subject.get '/meaning_of_life_with_content_type' do
|
3637
|
+
content_type 'text/plain'
|
3638
|
+
{ meaning_of_life: 42 }.to_s
|
3639
|
+
end
|
3640
|
+
get '/meaning_of_life_with_content_type'
|
3641
|
+
expect(last_response.body).to eq({ meaning_of_life: 42 }.to_s)
|
3642
|
+
end
|
3643
|
+
it 'raised :error from middleware' do
|
3644
|
+
middleware = Class.new(Grape::Middleware::Base) do
|
3645
|
+
def before
|
3646
|
+
throw :error, message: 'Unauthorized', status: 42
|
3647
|
+
end
|
3648
|
+
end
|
3649
|
+
subject.use middleware
|
3650
|
+
subject.get do
|
3651
|
+
end
|
3652
|
+
get '/'
|
3653
|
+
expect(last_response.status).to eq(42)
|
3654
|
+
expect(last_response.body).to eq({ error: 'Unauthorized' }.to_json)
|
3655
|
+
end
|
3656
|
+
end
|
3657
|
+
context ':serializable_hash' do
|
3658
|
+
before(:each) do
|
3659
|
+
class SerializableHashExample
|
3660
|
+
def serializable_hash
|
3661
|
+
{ abc: 'def' }
|
3662
|
+
end
|
3663
|
+
end
|
3664
|
+
subject.format :serializable_hash
|
3665
|
+
end
|
3666
|
+
it 'instance' do
|
3667
|
+
subject.get '/example' do
|
3668
|
+
SerializableHashExample.new
|
3669
|
+
end
|
3670
|
+
get '/example'
|
3671
|
+
expect(last_response.body).to eq('{"abc":"def"}')
|
3672
|
+
end
|
3673
|
+
it 'root' do
|
3674
|
+
subject.get '/example' do
|
3675
|
+
{ 'root' => SerializableHashExample.new }
|
3676
|
+
end
|
3677
|
+
get '/example'
|
3678
|
+
expect(last_response.body).to eq('{"root":{"abc":"def"}}')
|
3679
|
+
end
|
3680
|
+
it 'array' do
|
3681
|
+
subject.get '/examples' do
|
3682
|
+
[SerializableHashExample.new, SerializableHashExample.new]
|
3683
|
+
end
|
3684
|
+
get '/examples'
|
3685
|
+
expect(last_response.body).to eq('[{"abc":"def"},{"abc":"def"}]')
|
3686
|
+
end
|
3687
|
+
end
|
3688
|
+
context ':xml' do
|
3689
|
+
before(:each) do
|
3690
|
+
subject.format :xml
|
3691
|
+
end
|
3692
|
+
it 'string' do
|
3693
|
+
subject.get '/example' do
|
3694
|
+
'example'
|
3695
|
+
end
|
3696
|
+
get '/example'
|
3697
|
+
expect(last_response.status).to eq(500)
|
3698
|
+
expect(last_response.body).to eq <<-XML
|
3699
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
3700
|
+
<error>
|
3701
|
+
<message>cannot convert String to xml</message>
|
3702
|
+
</error>
|
3703
|
+
XML
|
3704
|
+
end
|
3705
|
+
it 'hash' do
|
3706
|
+
subject.get '/example' do
|
3707
|
+
{
|
3708
|
+
example1: 'example1',
|
3709
|
+
example2: 'example2'
|
3710
|
+
}
|
3711
|
+
end
|
3712
|
+
get '/example'
|
3713
|
+
expect(last_response.status).to eq(200)
|
3714
|
+
expect(last_response.body).to eq <<-XML
|
3715
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
3716
|
+
<hash>
|
3717
|
+
<example1>example1</example1>
|
3718
|
+
<example2>example2</example2>
|
3719
|
+
</hash>
|
3720
|
+
XML
|
3721
|
+
end
|
3722
|
+
it 'array' do
|
3723
|
+
subject.get '/example' do
|
3724
|
+
%w[example1 example2]
|
3725
|
+
end
|
3726
|
+
get '/example'
|
3727
|
+
expect(last_response.status).to eq(200)
|
3728
|
+
expect(last_response.body).to eq <<-XML
|
3729
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
3730
|
+
<strings type="array">
|
3731
|
+
<string>example1</string>
|
3732
|
+
<string>example2</string>
|
3733
|
+
</strings>
|
3734
|
+
XML
|
3735
|
+
end
|
3736
|
+
it 'raised :error from middleware' do
|
3737
|
+
middleware = Class.new(Grape::Middleware::Base) do
|
3738
|
+
def before
|
3739
|
+
throw :error, message: 'Unauthorized', status: 42
|
3740
|
+
end
|
3741
|
+
end
|
3742
|
+
subject.use middleware
|
3743
|
+
subject.get do
|
3744
|
+
end
|
3745
|
+
get '/'
|
3746
|
+
expect(last_response.status).to eq(42)
|
3747
|
+
expect(last_response.body).to eq <<-XML
|
3748
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
3749
|
+
<error>
|
3750
|
+
<message>Unauthorized</message>
|
3751
|
+
</error>
|
3752
|
+
XML
|
3753
|
+
end
|
3754
|
+
end
|
3755
|
+
end
|
3756
|
+
|
3757
|
+
describe '.configure' do
|
3758
|
+
context 'when given a block' do
|
3759
|
+
it 'returns self' do
|
3760
|
+
expect(subject.configure {}).to be subject
|
3761
|
+
end
|
3762
|
+
|
3763
|
+
it 'calls the block passing the config' do
|
3764
|
+
call = [false, nil]
|
3765
|
+
subject.configure do |config|
|
3766
|
+
call = [true, config]
|
3767
|
+
end
|
3768
|
+
|
3769
|
+
expect(call[0]).to be true
|
3770
|
+
expect(call[1]).not_to be_nil
|
3771
|
+
end
|
3772
|
+
end
|
3773
|
+
|
3774
|
+
context 'when not given a block' do
|
3775
|
+
it 'returns a configuration object' do
|
3776
|
+
expect(subject.configure).to respond_to(:[], :[]=)
|
3777
|
+
end
|
3778
|
+
end
|
3779
|
+
|
3780
|
+
it 'allows configuring the api' do
|
3781
|
+
subject.configure do |config|
|
3782
|
+
config[:hello] = 'hello'
|
3783
|
+
config[:bread] = 'bread'
|
3784
|
+
end
|
3785
|
+
|
3786
|
+
subject.get '/hello-bread' do
|
3787
|
+
"#{configuration[:hello]} #{configuration[:bread]}"
|
3788
|
+
end
|
3789
|
+
|
3790
|
+
get '/hello-bread'
|
3791
|
+
expect(last_response.body).to eq 'hello bread'
|
3792
|
+
end
|
3793
|
+
end
|
3794
|
+
|
3795
|
+
context 'catch-all' do
|
3796
|
+
before do
|
3797
|
+
api1 = Class.new(Grape::API)
|
3798
|
+
api1.version 'v1', using: :path
|
3799
|
+
api1.get 'hello' do
|
3800
|
+
'v1'
|
3801
|
+
end
|
3802
|
+
api2 = Class.new(Grape::API)
|
3803
|
+
api2.version 'v2', using: :path
|
3804
|
+
api2.get 'hello' do
|
3805
|
+
'v2'
|
3806
|
+
end
|
3807
|
+
subject.mount api1
|
3808
|
+
subject.mount api2
|
3809
|
+
end
|
3810
|
+
[true, false].each do |anchor|
|
3811
|
+
it "anchor=#{anchor}" do
|
3812
|
+
subject.route :any, '*path', anchor: anchor do
|
3813
|
+
error!("Unrecognized request path: #{params[:path]} - #{env['PATH_INFO']}#{env['SCRIPT_NAME']}", 404)
|
3814
|
+
end
|
3815
|
+
get '/v1/hello'
|
3816
|
+
expect(last_response.status).to eq(200)
|
3817
|
+
expect(last_response.body).to eq('v1')
|
3818
|
+
get '/v2/hello'
|
3819
|
+
expect(last_response.status).to eq(200)
|
3820
|
+
expect(last_response.body).to eq('v2')
|
3821
|
+
options '/v2/hello'
|
3822
|
+
expect(last_response.status).to eq(204)
|
3823
|
+
expect(last_response.body).to be_blank
|
3824
|
+
head '/v2/hello'
|
3825
|
+
expect(last_response.status).to eq(200)
|
3826
|
+
expect(last_response.body).to be_blank
|
3827
|
+
get '/foobar'
|
3828
|
+
expect(last_response.status).to eq(404)
|
3829
|
+
expect(last_response.body).to eq('Unrecognized request path: foobar - /foobar')
|
3830
|
+
end
|
3831
|
+
end
|
3832
|
+
end
|
3833
|
+
|
3834
|
+
context 'cascading' do
|
3835
|
+
context 'via version' do
|
3836
|
+
it 'cascades' do
|
3837
|
+
subject.version 'v1', using: :path, cascade: true
|
3838
|
+
get '/v1/hello'
|
3839
|
+
expect(last_response.status).to eq(404)
|
3840
|
+
expect(last_response.headers['X-Cascade']).to eq('pass')
|
3841
|
+
end
|
3842
|
+
it 'does not cascade' do
|
3843
|
+
subject.version 'v2', using: :path, cascade: false
|
3844
|
+
get '/v2/hello'
|
3845
|
+
expect(last_response.status).to eq(404)
|
3846
|
+
expect(last_response.headers.keys).not_to include 'X-Cascade'
|
3847
|
+
end
|
3848
|
+
end
|
3849
|
+
context 'via endpoint' do
|
3850
|
+
it 'cascades' do
|
3851
|
+
subject.cascade true
|
3852
|
+
get '/hello'
|
3853
|
+
expect(last_response.status).to eq(404)
|
3854
|
+
expect(last_response.headers['X-Cascade']).to eq('pass')
|
3855
|
+
end
|
3856
|
+
it 'does not cascade' do
|
3857
|
+
subject.cascade false
|
3858
|
+
get '/hello'
|
3859
|
+
expect(last_response.status).to eq(404)
|
3860
|
+
expect(last_response.headers.keys).not_to include 'X-Cascade'
|
3861
|
+
end
|
3862
|
+
end
|
3863
|
+
end
|
3864
|
+
|
3865
|
+
context 'with json default_error_formatter' do
|
3866
|
+
it 'returns json error' do
|
3867
|
+
subject.content_type :json, 'application/json'
|
3868
|
+
subject.default_error_formatter :json
|
3869
|
+
subject.get '/something' do
|
3870
|
+
'foo'
|
3871
|
+
end
|
3872
|
+
get '/something'
|
3873
|
+
expect(last_response.status).to eq(406)
|
3874
|
+
if ActiveSupport::VERSION::MAJOR == 3
|
3875
|
+
expect(last_response.body).to eq('{"error":"The requested format 'txt' is not supported."}')
|
3876
|
+
else
|
3877
|
+
expect(last_response.body).to eq('{"error":"The requested format 'txt' is not supported."}')
|
3878
|
+
end
|
3879
|
+
end
|
3880
|
+
end
|
3881
|
+
|
3882
|
+
context 'with unsafe HTML format specified' do
|
3883
|
+
it 'escapes the HTML' do
|
3884
|
+
subject.content_type :json, 'application/json'
|
3885
|
+
subject.get '/something' do
|
3886
|
+
'foo'
|
3887
|
+
end
|
3888
|
+
get '/something?format=<script>blah</script>'
|
3889
|
+
expect(last_response.status).to eq(406)
|
3890
|
+
if ActiveSupport::VERSION::MAJOR == 3
|
3891
|
+
expect(last_response.body).to eq('The requested format '<script>blah</script>' is not supported.')
|
3892
|
+
else
|
3893
|
+
expect(last_response.body).to eq('The requested format '<script>blah</script>' is not supported.')
|
3894
|
+
end
|
3895
|
+
end
|
3896
|
+
end
|
3897
|
+
|
3898
|
+
context 'body' do
|
3899
|
+
context 'false' do
|
3900
|
+
before do
|
3901
|
+
subject.get '/blank' do
|
3902
|
+
body false
|
3903
|
+
end
|
3904
|
+
end
|
3905
|
+
it 'returns blank body' do
|
3906
|
+
get '/blank'
|
3907
|
+
expect(last_response.status).to eq(204)
|
3908
|
+
expect(last_response.body).to be_blank
|
3909
|
+
end
|
3910
|
+
end
|
3911
|
+
context 'plain text' do
|
3912
|
+
before do
|
3913
|
+
subject.get '/text' do
|
3914
|
+
content_type 'text/plain'
|
3915
|
+
body 'Hello World'
|
3916
|
+
'ignored'
|
3917
|
+
end
|
3918
|
+
end
|
3919
|
+
it 'returns blank body' do
|
3920
|
+
get '/text'
|
3921
|
+
expect(last_response.status).to eq(200)
|
3922
|
+
expect(last_response.body).to eq 'Hello World'
|
3923
|
+
end
|
3924
|
+
end
|
3925
|
+
end
|
3926
|
+
|
3927
|
+
describe 'normal class methods' do
|
3928
|
+
subject(:grape_api) { Class.new(Grape::API) }
|
3929
|
+
|
3930
|
+
before do
|
3931
|
+
stub_const('MyAPI', grape_api)
|
3932
|
+
end
|
3933
|
+
|
3934
|
+
it 'can find the appropiate name' do
|
3935
|
+
expect(grape_api.name).to eq 'MyAPI'
|
3936
|
+
end
|
3937
|
+
|
3938
|
+
it 'is equal to itself' do
|
3939
|
+
expect(grape_api.itself).to eq grape_api
|
3940
|
+
expect(grape_api).to eq MyAPI
|
3941
|
+
expect(grape_api.eql?(MyAPI))
|
3942
|
+
end
|
3943
|
+
end
|
3944
|
+
|
3945
|
+
describe 'const_missing' do
|
3946
|
+
subject(:grape_api) { Class.new(Grape::API) }
|
3947
|
+
let(:mounted) do
|
3948
|
+
Class.new(Grape::API) do
|
3949
|
+
get '/missing' do
|
3950
|
+
SomeRandomConstant
|
3951
|
+
end
|
3952
|
+
end
|
3953
|
+
end
|
3954
|
+
|
3955
|
+
before { subject.mount mounted => '/const' }
|
3956
|
+
|
3957
|
+
it 'raises an error' do
|
3958
|
+
expect { get '/const/missing' }.to raise_error(NameError).with_message(/SomeRandomConstant/)
|
3959
|
+
end
|
3960
|
+
end
|
3961
|
+
end
|