shopsavvy-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.bundle/config +2 -0
- data/CONTRIBUTING.md +531 -0
- data/LICENSE +21 -0
- data/README.md +574 -0
- data/lib/shopsavvy_data_api/client.rb +310 -0
- data/lib/shopsavvy_data_api/errors.rb +38 -0
- data/lib/shopsavvy_data_api/models.rb +299 -0
- data/lib/shopsavvy_data_api/version.rb +5 -0
- data/lib/shopsavvy_data_api.rb +49 -0
- data/shopsavvy-sdk.gemspec +49 -0
- data/vendor/bundle/ruby/2.6.0/bin/htmldiff +29 -0
- data/vendor/bundle/ruby/2.6.0/bin/ldiff +29 -0
- data/vendor/bundle/ruby/2.6.0/bin/racc +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/rake +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/rspec +27 -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/bin/yard +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/yardoc +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/yri +27 -0
- data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.7.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/ast-2.4.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/base64-0.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.2.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/crack-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.6.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/docile-1.4.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-2.8.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-net_http-3.0.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-retry-2.3.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/hashdiff-1.2.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.7.6.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/parallel-1.24.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/parser-3.3.9.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.1.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/racc-1.8.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rainbow-3.1.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rake-13.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/regexp_parser-2.10.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rexml-3.4.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-3.13.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.13.5.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.13.5.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.13.5.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.13.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rubocop-1.50.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rubocop-ast-1.30.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rubocop-capybara-2.18.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rubocop-rspec-2.20.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/ruby-progressbar-1.13.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/ruby2_keywords-0.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/simplecov-0.22.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/simplecov-html-0.13.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/simplecov_json_formatter-0.1.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/unicode-display_width-2.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/vcr-6.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/webmock-3.25.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/yard-0.9.37.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-24/2.6.0/bigdecimal-3.2.2/bigdecimal.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-24/2.6.0/bigdecimal-3.2.2/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-24/2.6.0/bigdecimal-3.2.2/gem_make.out +653 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-24/2.6.0/bigdecimal-3.2.2/mkmf.log +663 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-24/2.6.0/json-2.7.6/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-24/2.6.0/json-2.7.6/gem_make.out +19 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-24/2.6.0/json-2.7.6/json/ext/generator.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-24/2.6.0/json-2.7.6/json/ext/parser.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-24/2.6.0/json-2.7.6/mkmf.log +136 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-24/2.6.0/racc-1.8.1/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-24/2.6.0/racc-1.8.1/gem_make.out +16 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-24/2.6.0/racc-1.8.1/racc/cparse.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/CHANGELOG.md +301 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/Gemfile +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/LICENSE.txt +202 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/README.md +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/Rakefile +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/addressable.gemspec +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/data/unicode.data +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/lib/addressable/idna/native.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/lib/addressable/idna/pure.rb +505 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/lib/addressable/idna.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/lib/addressable/template.rb +1029 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/lib/addressable/uri.rb +2602 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/lib/addressable/version.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/lib/addressable.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/spec/addressable/idna_spec.rb +302 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/spec/addressable/net_http_compat_spec.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/spec/addressable/security_spec.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/spec/addressable/template_spec.rb +1264 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/spec/addressable/uri_spec.rb +6840 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/spec/spec_helper.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/tasks/clobber.rake +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/tasks/gem.rake +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/tasks/git.rake +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/tasks/metrics.rake +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/tasks/profile.rake +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/tasks/rspec.rake +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/tasks/yard.rake +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.3/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.3/README.YARD.md +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.3/lib/ast/node.rb +268 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.3/lib/ast/processor/mixin.rb +288 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.3/lib/ast/processor.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.3/lib/ast/sexp.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.3/lib/ast.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/base64-0.3.0/BSDL +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/base64-0.3.0/COPYING +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/base64-0.3.0/LEGAL +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/base64-0.3.0/README.md +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/base64-0.3.0/lib/base64.rb +381 -0
- data/vendor/bundle/ruby/2.6.0/gems/base64-0.3.0/sig/base64.rbs +355 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/LICENSE +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/bigdecimal.gemspec +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/Makefile +268 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/bigdecimal.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/bigdecimal.c +7761 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/bigdecimal.h +313 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/bigdecimal.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/bits.h +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/extconf.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/feature.h +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/missing/dtoa.c +3462 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/missing.c +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/missing.h +196 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/missing.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/static_assert.h +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/lib/bigdecimal/jacobian.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/lib/bigdecimal/ludcmp.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/lib/bigdecimal/math.rb +231 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/lib/bigdecimal/newton.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/lib/bigdecimal/util.rb +185 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/lib/bigdecimal.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/lib/bigdecimal.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/sample/linear.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/sample/nlsolve.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/sample/pi.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/crack-1.0.0/History +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/crack-1.0.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/crack-1.0.0/README.md +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/crack-1.0.0/lib/crack/json.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/crack-1.0.0/lib/crack/util.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/crack-1.0.0/lib/crack/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/crack-1.0.0/lib/crack/xml.rb +238 -0
- data/vendor/bundle/ruby/2.6.0/gems/crack-1.0.0/lib/crack.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/.rspec +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/CHANGELOG.md +518 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/CODE_OF_CONDUCT.md +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/CONTRIBUTING.md +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/CONTRIBUTORS.md +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/LICENCE.md +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/Manifest.txt +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/README.md +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/Rakefile +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/SECURITY.md +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/bin/htmldiff +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/bin/ldiff +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/lib/diff/lcs/backports.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/lib/diff/lcs/callbacks.rb +327 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/lib/diff/lcs/change.rb +174 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/lib/diff/lcs/htmldiff.rb +160 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/lib/diff/lcs/hunk.rb +379 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/lib/diff/lcs/internals.rb +308 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/lib/diff/lcs/ldiff.rb +189 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/lib/diff/lcs/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/lib/diff/lcs.rb +742 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/mise.toml +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/change_spec.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/diff_spec.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/123_x +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/456_x +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/aX +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/bXaX +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/empty +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/file1.bin +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/file2.bin +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/four_lines +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/four_lines_with_missing_new_line +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/diff.missing_new_line1-e +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/diff.missing_new_line1-f +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/diff.missing_new_line2-e +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/diff.missing_new_line2-f +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.chef-e +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.chef-f +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.missing_new_line1-e +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.missing_new_line1-f +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.missing_new_line2-e +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.missing_new_line2-f +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff-c +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff-e +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff-f +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff-u +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1 +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1-c +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1-e +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1-f +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1-u +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2 +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2-c +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2-e +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2-f +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2-u +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef-c +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef-e +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef-f +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef-u +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2 +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-c +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-d +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-e +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-f +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-u +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-c +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-e +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-f +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-u +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-c +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-e +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-f +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-u +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context-c +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context-e +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context-f +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context-u +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1 +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1-c +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1-e +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1-f +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1-u +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2 +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2-c +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2-e +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2-f +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2-u +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/new-chef +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/new-chef2 +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/old-chef +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/fixtures/old-chef2 +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/hunk_spec.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/issues_spec.rb +160 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/ldiff_spec.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/patch_spec.rb +416 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/sdiff_spec.rb +216 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/spec_helper.rb +376 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/traverse_balanced_spec.rb +312 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.6.2/spec/traverse_sequences_spec.rb +137 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/.github/dependabot.yml +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/.github/workflows/main.yml +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/.gitignore +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/.rspec +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/.rubocop.yml +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/.yardopts +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/Gemfile +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/HISTORY.md +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/LICENSE +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/README.md +409 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/Rakefile +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/SECURITY.md +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/docile.gemspec +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/lib/docile/backtrace_filter.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/lib/docile/chaining_fallback_context_proxy.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/lib/docile/execution.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/lib/docile/fallback_context_proxy.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/lib/docile/version.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/docile-1.4.1/lib/docile.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/CHANGELOG.md +574 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/LICENSE.md +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/README.md +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/Rakefile +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/examples/client_spec.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/examples/client_test.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/adapter/test.rb +311 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/adapter.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/adapter_registry.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/connection.rb +555 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/encoders/flat_params_encoder.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/encoders/nested_params_encoder.rb +183 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/error.rb +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/logging/formatter.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/methods.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/middleware.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/middleware_registry.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/options/connection_options.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/options/env.rb +204 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/options/proxy_options.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/options/request_options.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/options/ssl_options.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/options.rb +219 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/parameters.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/rack_builder.rb +252 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/request/authorization.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/request/instrumentation.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/request/json.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/request/url_encoded.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/request.rb +139 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/response/json.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/response/logger.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/response/raise_error.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/response.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/utils/headers.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/utils/params_hash.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/utils.rb +122 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/lib/faraday.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/external_adapters/faraday_specs_setup.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/adapter/test_spec.rb +442 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/adapter_registry_spec.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/adapter_spec.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/connection_spec.rb +808 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/error_spec.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/middleware_registry_spec.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/middleware_spec.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/options/env_spec.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/options/options_spec.rb +297 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/options/proxy_options_spec.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/options/request_options_spec.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/params_encoders/flat_spec.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/params_encoders/nested_spec.rb +150 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/rack_builder_spec.rb +317 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/request/authorization_spec.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/request/instrumentation_spec.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/request/json_spec.rb +199 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/request/url_encoded_spec.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/request_spec.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/response/json_spec.rb +189 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/response/logger_spec.rb +258 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/response/raise_error_spec.rb +211 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/response_spec.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/utils/headers_spec.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday/utils_spec.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/faraday_spec.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/spec_helper.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/support/disabling_stub.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/support/fake_safe_buffer.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/support/helper_methods.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/support/shared_examples/adapter.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/support/shared_examples/params_encoder.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/support/shared_examples/request_method.rb +263 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-2.8.1/spec/support/streaming_response_checker.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http-3.0.2/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http-3.0.2/README.md +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http-3.0.2/lib/faraday/adapter/net_http.rb +208 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http-3.0.2/lib/faraday/net_http/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http-3.0.2/lib/faraday/net_http.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-retry-2.3.2/CHANGELOG.md +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-retry-2.3.2/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-retry-2.3.2/README.md +207 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-retry-2.3.2/lib/faraday/retriable_response.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-retry-2.3.2/lib/faraday/retry/middleware.rb +263 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-retry-2.3.2/lib/faraday/retry/retryable.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-retry-2.3.2/lib/faraday/retry/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-retry-2.3.2/lib/faraday/retry.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/.github/workflows/ci.yml +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/.gitignore +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/.rspec +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/.rubocop.yml +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/.travis.yml +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/.yardopts +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/Gemfile +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/LICENSE +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/README.md +323 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/Rakefile +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/changelog.md +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/hashdiff.gemspec +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/lib/hashdiff/compare_hashes.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/lib/hashdiff/diff.rb +185 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/lib/hashdiff/lcs.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/lib/hashdiff/lcs_compare_arrays.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/lib/hashdiff/linear_compare_array.rb +159 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/lib/hashdiff/patch.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/lib/hashdiff/util.rb +155 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/lib/hashdiff/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/lib/hashdiff.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/BSDL +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/CHANGES.md +540 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/COPYING +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/LEGAL +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/README.md +264 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/fbuffer/fbuffer.h +150 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/Makefile +267 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/extconf.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/generator.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/generator.c +1540 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/generator.h +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/Makefile +267 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/extconf.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/parser.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/parser.c +2237 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/parser.h +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/parser.rl +997 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/json.gemspec +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/add/bigdecimal.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/add/complex.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/add/core.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/add/date.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/add/date_time.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/add/exception.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/add/ostruct.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/add/range.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/add/rational.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/add/regexp.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/add/set.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/add/struct.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/add/symbol.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/add/time.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/common.rb +734 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/ext/generator/state.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/ext/generator.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/ext/parser.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/ext.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/generic_object.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/pure/generator.rb +599 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/pure/parser.rb +331 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/pure.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/lib/json.rb +592 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.24.0/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.24.0/lib/parallel/version.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.24.0/lib/parallel.rb +676 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/LICENSE.txt +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/bin/ruby-parse +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/bin/ruby-rewrite +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/gauntlet_parser.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/all.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/ast/node.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/ast/processor.rb +293 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/base.rb +294 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/builders/default.rb +2351 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/clobbering_error.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/color.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/context.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/current.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/current_arg_stack.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/deprecation.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/diagnostic/engine.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/diagnostic.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/lexer/dedenter.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/lexer/explanation.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/lexer/literal.rb +284 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/lexer/stack_state.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/lexer-F0.rb +12931 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/lexer-F1.rb +14884 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/lexer-strings.rb +5433 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/macruby.rb +9634 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/max_numparam_stack.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/messages.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/meta.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/rewriter.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/ruby18.rb +9272 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/ruby19.rb +9558 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/ruby20.rb +10229 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/ruby21.rb +10203 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/ruby22.rb +10302 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/ruby23.rb +10322 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/ruby24.rb +10454 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/ruby25.rb +10374 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/ruby26.rb +10352 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/ruby27.rb +11948 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/ruby30.rb +12244 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/ruby31.rb +12717 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/ruby32.rb +12705 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/ruby33.rb +12590 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/ruby34.rb +12597 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/rubymotion.rb +9515 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/runner/ruby_parse.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/runner/ruby_rewrite.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/runner.rb +299 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/buffer.rb +369 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/comment/associator.rb +233 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/comment.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/map/collection.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/map/condition.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/map/constant.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/map/definition.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/map/for.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/map/heredoc.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/map/index.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/map/keyword.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/map/method_definition.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/map/objc_kwarg.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/map/operator.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/map/rescue_body.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/map/send.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/map/ternary.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/map/variable.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/map.rb +186 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/range.rb +326 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/rewriter/action.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/rewriter.rb +513 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/tree_rewriter/action.rb +243 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/source/tree_rewriter.rb +431 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/static_environment.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/syntax_error.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/tree_rewriter.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/unknown_encoding_in_magic_comment_error.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/variables_stack.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/lib/parser.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.3.9.0/parser.gemspec +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.1.1/.yardopts +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.1.1/2.0-Upgrade.md +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.1.1/CHANGELOG.md +462 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.1.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.1.1/README.md +224 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.1.1/SECURITY.md +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.1.1/data/list.txt +15697 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.1.1/lib/public_suffix/domain.rb +235 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.1.1/lib/public_suffix/errors.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.1.1/lib/public_suffix/list.rb +247 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.1.1/lib/public_suffix/rule.rb +350 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.1.1/lib/public_suffix/version.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.1.1/lib/public_suffix.rb +177 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/BSDL +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/COPYING +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/ChangeLog +846 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/README.ja.rdoc +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/README.rdoc +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/TODO +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/bin/racc +320 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/doc/en/grammar.en.rdoc +218 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/doc/en/grammar2.en.rdoc +219 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/doc/ja/command.ja.html +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/doc/ja/debug.ja.rdoc +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/doc/ja/grammar.ja.rdoc +348 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/doc/ja/index.ja.html +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/doc/ja/parser.ja.rdoc +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/doc/ja/usage.ja.html +414 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/ext/racc/cparse/.sitearchdir.-.racc.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/ext/racc/cparse/Makefile +267 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/ext/racc/cparse/cparse.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/ext/racc/cparse/cparse.c +840 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/ext/racc/cparse/cparse.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/ext/racc/cparse/extconf.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/lib/racc/compat.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/lib/racc/cparse.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/lib/racc/debugflags.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/lib/racc/exception.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/lib/racc/grammar.rb +1191 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/lib/racc/grammarfileparser.rb +667 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/lib/racc/info.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/lib/racc/iset.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/lib/racc/logfilegenerator.rb +212 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/lib/racc/parser-text.rb +644 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/lib/racc/parser.rb +630 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/lib/racc/parserfilegenerator.rb +473 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/lib/racc/sourcetext.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/lib/racc/state.rb +976 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb +311 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/lib/racc/static.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/racc-1.8.1/lib/racc.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.1.1/Changelog.md +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.1.1/LICENSE +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.1.1/README.markdown +227 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/color.rb +150 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/ext/string.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/global.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/null_presenter.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/presenter.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/string_utils.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/wrapper.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/x11_color_names.rb +153 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/History.rdoc +2454 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/README.rdoc +155 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/exe/rake +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/application.rb +854 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/backtrace.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/cpu_counter.rb +122 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/dsl_definition.rb +196 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/file_task.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/file_utils.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/file_utils_ext.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/packagetask.rb +222 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/task.rb +434 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/task_arguments.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/task_manager.rb +331 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/testtask.rb +189 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/lib/rake.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.3.0/rake.gemspec +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/Gemfile +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/LICENSE +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/Rakefile +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/error.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/base.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/classes/alternation.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/classes/anchor.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/classes/backreference.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/classes/character_set/intersection.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/classes/character_set/range.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/classes/character_set.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/classes/character_type.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/classes/conditional.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/classes/escape_sequence.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/classes/free_space.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/classes/group.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/classes/keep.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/classes/literal.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/classes/posix_class.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/classes/root.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/classes/unicode_property.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/methods/construct.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/methods/escape_sequence_char.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/methods/human_name.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/methods/match.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/methods/match_length.rb +176 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/methods/negative.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/methods/options.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/methods/parts.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/methods/printing.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/methods/referenced_expressions.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/methods/strfregexp.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/methods/tests.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/methods/traverse.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/quantifier.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/sequence.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/sequence_operation.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/shared.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression/subexpression.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/expression.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/lexer.rb +169 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/parser.rb +599 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/scanner/char_type.rl +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/scanner/errors/premature_end_error.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/scanner/errors/scanner_error.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/scanner/errors/validation_error.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/scanner/properties/long.csv +651 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/scanner/properties/short.csv +249 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/scanner/property.rl +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/scanner/scanner.rl +828 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/scanner.rb +2471 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/any.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/base.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/token/anchor.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/token/assertion.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/token/backreference.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/token/character_set.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/token/character_type.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/token/conditional.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/token/escape.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/token/group.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/token/keep.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/token/meta.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/token/posix_class.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/token/quantifier.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/token/unicode_property.rb +751 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/token/virtual.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/token.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/version_lookup.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/versions/1.8.6.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/versions/1.9.1.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/versions/1.9.3.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/versions/2.0.0.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/versions/2.2.0.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/versions/2.3.0.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/versions/2.4.0.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/versions/2.4.1.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/versions/2.5.0.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/versions/2.6.0.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/versions/2.6.2.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/versions/2.6.3.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/versions/3.1.0.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/versions/3.2.0.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax/versions.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/syntax.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/token.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/lib/regexp_parser.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.10.0/regexp_parser.gemspec +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/NEWS.md +699 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/README.md +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/doc/rexml/context.rdoc +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/doc/rexml/tasks/rdoc/child.rdoc +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/doc/rexml/tasks/rdoc/document.rdoc +276 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/doc/rexml/tasks/rdoc/element.rdoc +602 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/doc/rexml/tasks/rdoc/node.rdoc +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/doc/rexml/tasks/rdoc/parent.rdoc +267 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/doc/rexml/tasks/tocs/child_toc.rdoc +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/doc/rexml/tasks/tocs/document_toc.rdoc +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/doc/rexml/tasks/tocs/element_toc.rdoc +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/doc/rexml/tasks/tocs/master_toc.rdoc +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/doc/rexml/tasks/tocs/node_toc.rdoc +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/doc/rexml/tasks/tocs/parent_toc.rdoc +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/doc/rexml/tutorial.rdoc +1358 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/attlistdecl.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/attribute.rb +211 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/cdata.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/child.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/comment.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/doctype.rb +311 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/document.rb +455 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/dtd/attlistdecl.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/dtd/dtd.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/dtd/elementdecl.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/dtd/entitydecl.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/dtd/notationdecl.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/element.rb +2584 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/encoding.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/entity.rb +142 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/formatters/default.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/formatters/pretty.rb +142 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/formatters/transitive.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/functions.rb +446 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/instruction.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/light/node.rb +188 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/namespace.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/node.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/output.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/parent.rb +166 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/parseexception.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/parsers/baseparser.rb +887 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/parsers/lightparser.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/parsers/pullparser.rb +213 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/parsers/sax2parser.rb +270 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/parsers/streamparser.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/parsers/treeparser.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/parsers/ultralightparser.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/parsers/xpathparser.rb +739 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/quickpath.rb +266 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/rexml.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/sax2listener.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/security.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/source.rb +383 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/streamlistener.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/text.rb +423 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/undefinednamespaceexception.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/validation/relaxng.rb +539 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/validation/validation.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/validation/validationexception.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/xmldecl.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/xmltokens.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/xpath.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml/xpath_parser.rb +978 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.4.1/lib/rexml.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-3.13.1/LICENSE.md +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-3.13.1/README.md +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-3.13.1/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-3.13.1/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/.document +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/.yardopts +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/Changelog.md +2439 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/LICENSE.md +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/README.md +389 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/exe/rspec +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/bisect/fork_runner.rb +140 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/bisect/server.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/bisect/utilities.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/configuration.rb +2419 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/configuration_options.rb +240 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/did_you_mean.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/drb.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/example.rb +666 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/example_group.rb +912 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/console_codes.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/exception_presenter.rb +553 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/helpers.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/html_printer.rb +412 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/html_snippet_extractor.rb +122 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/json_formatter.rb +103 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/formatters.rb +279 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/hooks.rb +646 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/invocations.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/memoized_helpers.rb +580 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/metadata.rb +498 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/notifications.rb +523 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/option_parser.rb +325 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/ordering.rb +208 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/pending.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/profiler.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/project_initializer/.rspec +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/project_initializer/spec/spec_helper.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/rake_task.rb +190 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/reporter.rb +266 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/runner.rb +216 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/shared_example_group.rb +271 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core/world.rb +287 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.13.5/lib/rspec/core.rb +212 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/.document +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/.yardopts +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/Changelog.md +1366 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/README.md +326 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb +255 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/configuration.rb +244 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/expectation_target.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/failure_aggregator.rb +236 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/handler.rb +181 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/all.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/base_matcher.rb +225 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/change.rb +452 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/compound.rb +293 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/contain_exactly.rb +312 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/count_expectation.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/eq.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/eql.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/has.rb +194 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/include.rb +218 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/match.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/output.rb +207 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/raise_error.rb +275 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/respond_to.rb +200 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/satisfy.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/throw_symbol.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/yield.rb +375 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/composable.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/dsl.rb +546 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/english_phrasing.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/matcher_delegator.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/matcher_protocol.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/multi_matcher_diff.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers.rb +1046 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/.document +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/.yardopts +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/Changelog.md +1329 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/README.md +465 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/any_instance/chain.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/any_instance/proxy.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/any_instance/recorder.rb +299 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/argument_list_matcher.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/argument_matchers.rb +366 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/error_generator.rb +390 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/matchers/receive.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/message_expectation.rb +856 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/method_double.rb +316 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/method_reference.rb +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/proxy.rb +517 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/test_double.rb +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/verifying_double.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/verifying_message_expectation.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/verifying_proxy.rb +221 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.13.5/lib/rspec/mocks.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/Changelog.md +420 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/README.md +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/caller_filter.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/comparable_version.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/differ.rb +217 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/directory_maker.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/encoded_string.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/fuzzy_matcher.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/hunk_generator.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/matcher_definition.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/method_signature_verifier.rb +442 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/mutex.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/object_formatter.rb +279 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/recursive_const_methods.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/reentrant_mutex.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/ruby_features.rb +221 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/source/location.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/source/node.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/source/token.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/source.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/spec/deprecation_helpers.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/spec/diff_helpers.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/spec/formatting_support.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/spec/in_sub_process.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/spec/library_wide_checks.rb +152 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/spec/shell_out.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/spec/stderr_splitter.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/spec/string_matcher.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/spec/with_isolated_directory.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/spec/with_isolated_stderr.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/spec.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/version.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/warnings.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support/with_keywords_when_needed.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.13.4/lib/rspec/support.rb +162 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/README.md +250 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/assets/logo.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/assets/output.html.erb +261 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/config/default.yml +5533 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/config/obsoletion.yml +233 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/exe/rubocop +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/arguments_env.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/arguments_file.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/ast_aliases.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cache_config.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cached_data.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cli/command/auto_generate_config.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cli/command/base.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cli/command/execute_runner.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cli/command/init_dotfile.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cli/command/show_cops.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cli/command/show_docs_url.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cli/command/suggest_extensions.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cli/command/version.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cli/command.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cli/environment.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cli.rb +200 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/comment_config.rb +216 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/config.rb +326 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/config_finder.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/config_loader.rb +259 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/config_loader_resolver.rb +280 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/config_obsoletion/changed_enforced_styles.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/config_obsoletion/changed_parameter.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/config_obsoletion/cop_rule.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/config_obsoletion/extracted_cop.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/config_obsoletion/parameter_rule.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/config_obsoletion/removed_cop.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/config_obsoletion/renamed_cop.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/config_obsoletion/rule.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/config_obsoletion/split_cop.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/config_obsoletion.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/config_regeneration.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/config_store.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/config_validator.rb +272 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/autocorrect_logic.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/badge.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/base.rb +482 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/bundler/duplicated_gem.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/bundler/gem_comment.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/bundler/gem_filename.rb +103 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/bundler/gem_version.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/bundler/insecure_protocol_source.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/bundler/ordered_gems.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/commissioner.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/cop.rb +166 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/corrector.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/correctors/alignment_corrector.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/correctors/condition_corrector.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/correctors/each_to_for_corrector.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/correctors/empty_line_corrector.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/correctors/for_to_each_corrector.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/correctors/if_then_corrector.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/correctors/line_break_corrector.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/correctors/parentheses_corrector.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/correctors/percent_literal_corrector.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/correctors/punctuation_corrector.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/correctors/require_library_corrector.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/correctors/space_corrector.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/correctors/string_literal_corrector.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/correctors/unused_arg_corrector.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/documentation.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/exclude_limit.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/force.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/gemspec/dependency_version.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/gemspec/development_dependencies.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/gemspec/duplicated_assignment.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/gemspec/ordered_dependencies.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/gemspec/require_mfa.rb +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/gemspec/required_ruby_version.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/generator/configuration_injector.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/generator/require_file_injector.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/generator.rb +217 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/ignored_node.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/cop_description.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/create_empty_file.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/empty_line_between_expect_offense_and_correction.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/example_description.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/example_heredoc_delimiter.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/inherit_deprecated_cop_class.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/lambda_or_proc.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/location_expression.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/location_line_equality_comparison.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/method_name_end_with.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/method_name_equal.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/node_destructuring.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/node_matcher_directive.rb +147 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/numblock_handler.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/processed_source_buffer_name.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/redundant_context_config_parameter.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/redundant_described_class_as_subject.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/redundant_let_rubocop_config_new.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/redundant_method_dispatch_node.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/redundant_source_range.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/single_line_comparison.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/style_detected_api_use.rb +148 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/undefined_config.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs/useless_restrict_on_send.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/internal_affairs.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/access_modifier_indentation.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/argument_alignment.rb +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/array_alignment.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/assignment_indentation.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/begin_end_alignment.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/block_alignment.rb +240 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/block_end_newline.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/case_indentation.rb +219 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/class_structure.rb +339 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +193 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/comment_indentation.rb +168 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/condition_position.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/def_end_alignment.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/dot_position.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/else_alignment.rb +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/empty_comment.rb +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +181 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/empty_line_between_defs.rb +273 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/empty_lines.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +211 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +103 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb +139 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/end_alignment.rb +198 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/end_of_line.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/extra_spacing.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/first_argument_indentation.rb +287 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/first_array_element_indentation.rb +180 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/first_array_element_line_break.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/first_hash_element_indentation.rb +239 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/first_hash_element_line_break.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/first_method_argument_line_break.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/first_parameter_indentation.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/hash_alignment.rb +396 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb +311 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/heredoc_indentation.rb +162 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/indentation_consistency.rb +205 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/indentation_style.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/indentation_width.rb +389 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/initial_indentation.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/leading_comment_space.rb +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/leading_empty_lines.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/line_continuation_leading_space.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/line_continuation_spacing.rb +140 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/line_length.rb +276 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/multiline_array_line_breaks.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/multiline_assignment_layout.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/multiline_block_layout.rb +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +131 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +248 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/multiline_operation_indentation.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/parameter_alignment.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/redundant_line_break.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +211 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/single_line_block_chain.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_after_colon.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_after_comma.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_after_method_name.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_after_not.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_after_semicolon.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_around_block_parameters.rb +162 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_around_keyword.rb +268 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_around_method_call_operator.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_around_operators.rb +258 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_before_block_braces.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_before_brackets.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_before_comma.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_before_comment.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_before_first_arg.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_before_semicolon.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_in_lambda_literal.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +224 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_inside_block_braces.rb +261 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +208 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_inside_parens.rb +176 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_inside_range_literal.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/trailing_empty_lines.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/layout/trailing_whitespace.rb +131 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/legacy/corrections_proxy.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/legacy/corrector.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/ambiguous_assignment.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/ambiguous_block_association.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/ambiguous_operator.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/ambiguous_operator_precedence.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/ambiguous_range.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/assignment_in_condition.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/boolean_symbol.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/constant_definition_in_block.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/constant_overwritten_in_rescue.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/constant_resolution.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/debugger.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/deprecated_class_methods.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/deprecated_constants.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/duplicate_branch.rb +153 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/duplicate_case_condition.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/duplicate_elsif_condition.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/duplicate_hash_key.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/duplicate_magic_comment.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/duplicate_match_pattern.rb +122 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/duplicate_methods.rb +268 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/duplicate_require.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/duplicate_rescue_exception.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/each_with_object_argument.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/else_layout.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/empty_block.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/empty_class.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/empty_conditional_body.rb +177 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/empty_ensure.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/empty_expression.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/empty_file.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/empty_in_pattern.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/empty_interpolation.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/empty_when.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/ensure_return.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/erb_new_arguments.rb +162 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/flip_flop.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/float_comparison.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/float_out_of_range.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/format_parameter_mismatch.rb +201 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/hash_compare_by_identity.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/heredoc_method_call_position.rb +152 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/identity_comparison.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/ineffective_access_modifier.rb +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/inherit_exception.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/interpolation_check.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/lambda_without_literal_block.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/literal_as_condition.rb +164 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/literal_in_interpolation.rb +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/loop.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/missing_super.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/mixed_regexp_capture_types.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/multiple_comparison.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/nested_method_definition.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/nested_percent_literal.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/next_without_accumulator.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/non_atomic_file_operation.rb +162 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/non_deterministic_require_order.rb +185 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/number_conversion.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/numbered_parameter_assignment.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/or_assignment_to_constant.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/ordered_magic_comments.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/percent_string_array.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/percent_symbol_array.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/raise_exception.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/rand_one.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb +330 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/redundant_dir_glob_sort.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/redundant_require_statement.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/redundant_safe_navigation.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/redundant_splat_expansion.rb +209 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/redundant_string_coercion.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/redundant_with_index.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/redundant_with_object.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/refinement_import_methods.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/regexp_as_condition.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/require_range_parentheses.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/require_relative_self_path.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/rescue_exception.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/rescue_type.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/return_in_void_context.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/safe_navigation_chain.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/safe_navigation_consistency.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/script_permission.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/self_assignment.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/send_with_mixin_argument.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/shadowed_argument.rb +176 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/shadowed_exception.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/struct_new_override.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/suppressed_exception.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/symbol_conversion.rb +179 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/syntax.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/to_enum_arguments.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/to_json.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/top_level_return_with_argument.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/triple_quotes.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/unexpected_block_arity.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/unified_integer.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb +204 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/unreachable_code.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/unreachable_loop.rb +202 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/unused_block_argument.rb +172 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/unused_method_argument.rb +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/uri_escape_unescape.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/uri_regexp.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/useless_access_modifier.rb +295 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/useless_assignment.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/useless_else_without_rescue.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/useless_method_definition.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/useless_rescue.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/useless_ruby2_keywords.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/useless_setter_call.rb +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/useless_times.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/lint/void.rb +155 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/message_annotator.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/metrics/abc_size.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/metrics/block_length.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/metrics/block_nesting.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/metrics/class_length.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/metrics/collection_literal_length.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/metrics/method_length.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/metrics/module_length.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/metrics/parameter_lists.rb +147 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/metrics/perceived_complexity.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/metrics/utils/code_length_calculator.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/metrics/utils/iterating_block.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/migration/department_name.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/alignment.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/allowed_identifiers.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/allowed_methods.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/allowed_pattern.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/annotation_comment.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/array_min_size.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/auto_corrector.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/check_line_breakable.rb +227 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/code_length.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/comments_help.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/configurable_enforced_style.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/configurable_formatting.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/configurable_max.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/configurable_numbering.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/def_node.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/documentation_comment.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/duplication.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/empty_parameter.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/end_keyword_alignment.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/enforce_superclass.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/first_element_line_break.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/frozen_string_literal.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/gem_declaration.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/gemspec_help.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/hash_alignment_styles.rb +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb +226 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/hash_transform_method.rb +192 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/heredoc.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/integer_node.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/interpolation.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/line_length_help.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/match_range.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/method_complexity.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/method_preference.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/min_branches_count.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/multiline_element_indentation.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/multiline_element_line_breaks.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +227 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/negative_conditional.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/nil_methods.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/ordered_gem_node.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/parentheses.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/percent_array.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/percent_literal.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/preceding_following_alignment.rb +183 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/preferred_delimiters.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/range_help.rb +149 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/rational_literal.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/require_library.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/rescue_node.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/safe_assignment.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/space_after_punctuation.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/statement_modifier.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/string_help.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/string_literals_help.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/surrounding_space.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/symbol_help.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/target_ruby_version.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/trailing_body.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/trailing_comma.rb +209 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/uncommunicative_name.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/unused_argument.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/mixin/visibility_help.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/accessor_method_name.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/ascii_identifiers.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/block_forwarding.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/block_parameter_name.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/class_and_module_camel_case.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/constant_name.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/file_name.rb +247 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/inclusive_language.rb +289 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +280 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/method_name.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/method_parameter_name.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/predicate_name.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/variable_name.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/naming/variable_number.rb +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/offense.rb +239 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/registry.rb +315 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/security/compound_hash.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/security/eval.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/security/io_methods.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/security/json_load.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/security/marshal_load.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/security/open.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/security/yaml_load.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/severity.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/access_modifier_declarations.rb +225 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/accessor_grouping.rb +176 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/alias.rb +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/and_or.rb +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/arguments_forwarding.rb +155 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/array_coercion.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/array_intersect.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/array_join.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/ascii_comments.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/attr.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/auto_resource_cleanup.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/bare_percent_literals.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/begin_block.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/bisected_attr_accessor.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/block_comments.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/block_delimiters.rb +471 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/case_equality.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/case_like_if.rb +280 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/character_literal.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/class_and_module_children.rb +186 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/class_check.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/class_equality_comparison.rb +149 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/class_methods.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/class_methods_definitions.rb +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/class_vars.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/collection_compact.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/collection_methods.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/colon_method_call.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/combinable_loops.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/command_literal.rb +181 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/comment_annotation.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/commented_keyword.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/comparable_clamp.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/concat_array_literals.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/conditional_assignment.rb +661 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/constant_visibility.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/copyright.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/data_inheritance.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/date_time.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/def_with_parentheses.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/dir.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/dir_empty.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/document_dynamic_eval_definition.rb +169 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/documentation.rb +198 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/documentation_method.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/double_cop_disable_directive.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/double_negation.rb +159 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/each_for_simple_loop.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/each_with_object.rb +139 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/empty_block_parameter.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/empty_case_condition.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/empty_else.rb +204 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/empty_heredoc.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/empty_lambda_parameter.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/empty_literal.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/empty_method.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/encoding.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/end_block.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/endless_method.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/env_home.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/eval_with_location.rb +237 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/even_odd.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/expand_path_arguments.rb +196 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/explicit_block_argument.rb +153 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/exponential_notation.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/fetch_env_var.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/file_empty.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/file_read.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/file_write.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/float_division.rb +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/for.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/format_string.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/format_string_token.rb +228 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/frozen_string_literal_comment.rb +218 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/global_std_stream.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/global_vars.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/guard_clause.rb +275 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/hash_as_last_array_item.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/hash_conversion.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/hash_each_methods.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/hash_except.rb +177 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/hash_like_case.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/hash_syntax.rb +279 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/hash_transform_keys.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/hash_transform_values.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/identical_conditional_branches.rb +225 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/if_inside_else.rb +150 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/if_unless_modifier.rb +292 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/if_with_semicolon.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/implicit_runtime_error.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/in_pattern_then.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/infinite_loop.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/inline_comment.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/inverse_methods.rb +196 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/invertible_unless_condition.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/ip_addresses.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/keyword_parameters_order.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/lambda.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/lambda_call.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/line_end_concatenation.rb +137 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/magic_comment_format.rb +307 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/map_compact_with_conditional_block.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/map_to_hash.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/map_to_set.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb +226 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +248 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +103 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/method_called_on_do_end_block.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/method_def_parentheses.rb +180 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/min_max.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/min_max_comparison.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/missing_else.rb +187 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/missing_respond_to_missing.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/mixin_grouping.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/mixin_usage.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/module_function.rb +170 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/multiline_block_chain.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/multiline_if_modifier.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/multiline_if_then.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/multiline_in_pattern_then.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/multiline_memoization.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/multiline_method_signature.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/multiline_ternary_operator.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/multiline_when_then.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/multiple_comparison.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/mutable_constant.rb +247 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/negated_if.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/negated_if_else_condition.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/negated_unless.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/negated_while.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/nested_file_dirname.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/nested_modifier.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/nested_parenthesized_calls.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/nested_ternary_operator.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/next.rb +233 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/nil_comparison.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/nil_lambda.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/non_nil_check.rb +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/not.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/numbered_parameters.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/numbered_parameters_limit.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/numeric_literal_prefix.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/numeric_literals.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/numeric_predicate.rb +177 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/object_then.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/one_line_conditional.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/open_struct_use.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/operator_method_call.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/option_hash.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/optional_arguments.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/optional_boolean_parameter.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/or_assignment.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/parallel_assignment.rb +300 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/parentheses_around_condition.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/percent_literal_delimiters.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/percent_q_literals.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/perl_backrefs.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/preferred_hash_methods.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/proc.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/quoted_symbols.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/raise_args.rb +155 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/random_with_offset.rb +153 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_argument.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_assignment.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_begin.rb +192 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_capital_w.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_condition.rb +270 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_conditional.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_constant_base.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_each.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_exception.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_fetch_block.rb +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_file_extension_in_require.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_freeze.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_heredoc_delimiter_quotes.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_initialize.rb +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_interpolation.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_line_continuation.rb +179 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_parentheses.rb +242 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_percent_q.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_regexp_character_class.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_regexp_escape.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_return.rb +178 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_self.rb +203 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_self_assignment.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_self_assignment_branch.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_sort.rb +208 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_sort_by.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/redundant_string_escape.rb +183 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/regexp_literal.rb +222 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/require_order.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/rescue_modifier.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/rescue_standard_error.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/return_nil.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/safe_navigation.rb +326 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/sample.rb +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/select_by_regexp.rb +152 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/self_assignment.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/semicolon.rb +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/send.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/signal_exception.rb +218 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/single_argument_dig.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/single_line_block_params.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/single_line_methods.rb +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/slicing_with_range.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/sole_nested_conditional.rb +248 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/special_global_vars.rb +261 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/static_class.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/stderr_puts.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/string_chars.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/string_concatenation.rb +178 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/string_hash_keys.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/string_literals.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/string_literals_in_interpolation.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/string_methods.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/strip.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/struct_inheritance.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/swap_values.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/symbol_array.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/symbol_literal.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/symbol_proc.rb +210 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/ternary_parentheses.rb +219 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/top_level_method_definition.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/trailing_body_on_class.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/trailing_body_on_module.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/trailing_comma_in_block_args.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/trailing_method_end_statement.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/trailing_underscore_variable.rb +152 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/trivial_accessors.rb +254 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/unless_else.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/unless_logical_operators.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/unpack_first.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/variable_interpolation.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/when_then.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/while_until_do.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/while_until_modifier.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/word_array.rb +155 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/yoda_condition.rb +179 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/yoda_expression.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/style/zero_length_predicate.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/team.rb +266 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/util.rb +203 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/utils/format_string.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/variable_force/assignment.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/variable_force/branch.rb +331 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/variable_force/branchable.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/variable_force/reference.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/variable_force/scope.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/variable_force/variable.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/variable_force/variable_table.rb +131 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cop/variable_force.rb +438 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/cops_documentation_generator.rb +329 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/core_ext/string.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/directive_comment.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/error.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/ext/comment.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/ext/processed_source.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/ext/range.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/ext/regexp_node.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/ext/regexp_parser.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/feature_loader.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/file_finder.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/file_patterns.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/auto_gen_config_formatter.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/base_formatter.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/clang_style_formatter.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/colorizable.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/disabled_config_formatter.rb +267 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/emacs_style_formatter.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/file_list_formatter.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/formatter_set.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/git_hub_actions_formatter.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/html_formatter.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/json_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/junit_formatter.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/markdown_formatter.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/offense_count_formatter.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/pacman_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/progress_formatter.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/quiet_formatter.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/simple_text_formatter.rb +172 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/tap_formatter.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/text_util.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter/worst_offenders_formatter.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/formatter.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/lockfile.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/magic_comment.rb +298 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/name_similarity.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/options.rb +631 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/path_util.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/platform.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/rake_task.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/remote_config.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/result_cache.rb +237 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/rspec/cop_helper.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/rspec/expect_offense.rb +335 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/rspec/parallel_formatter.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/rspec/shared_contexts.rb +178 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/rspec/support.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/runner.rb +496 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server/cache.rb +155 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server/cli.rb +147 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server/client_command/base.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server/client_command/exec.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server/client_command/restart.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server/client_command/start.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server/client_command/status.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server/client_command/stop.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server/client_command.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server/core.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server/errors.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server/helper.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server/server_command/base.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server/server_command/exec.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server/server_command/stop.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server/server_command.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server/socket_reader.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/server.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/string_interpreter.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/target_finder.rb +206 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/target_ruby.rb +271 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/util.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/version.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/warning.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop/yaml_duplication_checker.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-1.50.2/lib/rubocop.rb +752 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/README.md +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/builder.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/ext/range.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/ext/range_min_max.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/alias_node.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/and_asgn_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/and_node.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/arg_node.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/args_node.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/array_node.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/asgn_node.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/block_node.rb +167 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/break_node.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/case_match_node.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/case_node.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/casgn_node.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/class_node.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/const_node.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/csend_node.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/def_node.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/defined_node.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/dstr_node.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/ensure_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/float_node.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/for_node.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/forward_args_node.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/hash_node.rb +122 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/if_node.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/in_pattern_node.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/index_node.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/indexasgn_node.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/int_node.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/keyword_splat_node.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/lambda_node.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/mixin/collection_node.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/mixin/descendence.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +288 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +219 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/mixin/numeric_node.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/mixin/parameterized_node.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/module_node.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/next_node.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/op_asgn_node.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/or_asgn_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/or_node.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/pair_node.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/procarg0_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/range_node.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/regexp_node.rb +103 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/resbody_node.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/rescue_node.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/return_node.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/self_class_node.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/send_node.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/str_node.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/super_node.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/symbol_node.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/until_node.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/when_node.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/while_node.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node/yield_node.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node.rb +676 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/builder.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/comment.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/compiler/binding.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/compiler/debug.rb +168 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb +420 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/compiler/subcompiler.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/compiler.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/lexer.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/lexer.rex +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/lexer.rex.rb +185 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/method_definer.rb +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/node.rb +264 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/parser.racc.rb +472 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/parser.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/parser.y +103 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/sets.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern/with_meta.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/node_pattern.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/processed_source.rb +314 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/rubocop_compatibility.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/sexp.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/token.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/traversal.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast/version.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop/ast.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.30.0/lib/rubocop-ast.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/CHANGELOG.md +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/CODE_OF_CONDUCT.md +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/README.md +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/config/default.yml +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/lib/rubocop/capybara/config_formatter.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/lib/rubocop/capybara/description_extractor.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/lib/rubocop/capybara/version.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/current_path_expectation.rb +148 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/match_style.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/mixin/capybara_help.rb +131 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/mixin/css_selector.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/negation_matcher.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/specific_actions.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/specific_finders.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/specific_matcher.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/visibility_matcher.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara_cops.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-capybara-2.18.0/lib/rubocop-capybara.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/CHANGELOG.md +866 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/CODE_OF_CONDUCT.md +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/README.md +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/config/default.yml +1103 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/config/obsoletion.yml +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/align_left_let_brace.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/align_right_let_brace.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/any_instance.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/around_block.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/base.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/be.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/be_empty.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/be_eq.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/be_eql.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/be_nil.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/before_after_all.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/capybara/current_path_expectation.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/capybara/feature_methods.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/capybara/match_style.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/capybara/negation_matcher.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/capybara/specific_actions.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/capybara/specific_finders.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/capybara/specific_matcher.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/capybara/visibility_matcher.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/change_by_zero.rb +148 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/class_check.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/contain_exactly.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/context_method.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/context_wording.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/describe_class.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/describe_method.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/describe_symbol.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/described_class.rb +209 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/described_class_module_wrapping.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/dialect.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/duplicated_metadata.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/empty_example_group.rb +184 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/empty_hook.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/empty_line_after_example.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/empty_line_after_example_group.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/empty_line_after_final_let.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/empty_line_after_hook.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/empty_line_after_subject.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/example_length.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/example_without_description.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/example_wording.rb +150 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/excessive_docstring_spacing.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/expect_actual.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/expect_change.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/expect_in_hook.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/expect_output.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/factory_bot/attribute_defined_statically.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/factory_bot/consistent_parentheses_style.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/factory_bot/create_list.rb +260 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/factory_bot/factory_class_name.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/factory_bot/factory_name_style.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/factory_bot/syntax_methods.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/file_path.rb +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/focus.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/hook_argument.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/hooks_before_examples.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/identical_equality_assertion.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/implicit_block_expectation.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/implicit_expect.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/implicit_subject.rb +167 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/indexed_let.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/instance_spy.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/instance_variable.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/it_behaves_like.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/iterated_expectation.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/leading_subject.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/leaky_constant_declaration.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/let_before_examples.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/let_setup.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/match_array.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/message_chain.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/message_expectation.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/message_spies.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/missing_example_group_argument.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/mixin/comments_help.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/mixin/empty_line_separation.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/mixin/final_end_location.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/mixin/inside_example_group.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/mixin/location_help.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/mixin/metadata.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/mixin/namespace.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/mixin/skip_or_pending.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/mixin/top_level_group.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/mixin/variable.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/multiple_describes.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/multiple_expectations.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb +148 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/multiple_subjects.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/named_subject.rb +153 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/nested_groups.rb +162 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/no_expectation_example.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/not_to_not.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/overwriting_setup.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/pending.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/pending_without_reason.rb +159 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/predicate_matcher.rb +337 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/rails/avoid_setup_hook.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/rails/have_http_status.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/rails/http_status.rb +203 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/rails/inferred_spec_type.rb +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/rails/minitest_assertions.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/rails/travel_around.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/receive_counts.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/receive_never.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/redundant_around.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/repeated_description.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/repeated_example.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/repeated_example_group_body.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/repeated_example_group_description.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/repeated_include_example.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/return_from_stub.rb +169 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/scattered_let.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/scattered_setup.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/shared_context.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/shared_examples.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/single_argument_message_chain.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/skip_block_inside_example.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/sort_metadata.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/stubbed_mock.rb +174 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/subject_declaration.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/subject_stub.rb +155 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/unspecified_exception.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/variable_definition.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/variable_name.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/verified_double_reference.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/verified_doubles.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/void_expect.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec/yield.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/cop/rspec_cops.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec/align_let_brace.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec/concept.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec/config_formatter.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec/corrector/move_node.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec/description_extractor.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec/example.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec/example_group.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec/factory_bot/language.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec/factory_bot.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec/hook.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec/inject.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec/language/node_pattern.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec/language.rb +217 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec/node.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec/shared_contexts/default_rspec_language_config_context.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec/version.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec/wording.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop/rspec.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.20.0/lib/rubocop-rspec.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/README.md +131 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/Rakefile +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/base.rb +234 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/calculators/length.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/bar.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/percentage.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/rate.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/time.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/title.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/formatter.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/molecule.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/string.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/output.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/null.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/tty.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/progress.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projector.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projectors/smoothed_average.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements/progress_enumerator.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/throttle.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/time.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/timer.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/ChangeLog +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/LICENSE +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/README.md +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/lib/ruby2_keywords.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/logs/ChangeLog-0.0.0 +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/logs/ChangeLog-0.0.1 +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/logs/ChangeLog-0.0.2 +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/logs/ChangeLog-0.0.3 +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/logs/ChangeLog-0.0.4 +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/CHANGELOG.md +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/README.md +974 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/doc/alternate-formatters.md +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/doc/commercial-services.md +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/doc/editor-integration.md +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/minitest/simplecov_plugin.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/combine/branches_combiner.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/combine/files_combiner.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/combine/lines_combiner.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/combine/results_combiner.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/combine.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/command_guesser.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/configuration.rb +500 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/coverage_statistics.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/default_formatter.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/defaults.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/exit_codes/exit_code_handling.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/exit_codes/maximum_coverage_drop_check.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/exit_codes/minimum_overall_coverage_check.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/exit_codes.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/file_list.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/filter.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/formatter/multi_formatter.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/formatter/simple_formatter.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/formatter.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/last_run.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/lines_classifier.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/load_global_config.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/no_defaults.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/process.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/profiles/bundler_filter.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/profiles/hidden_filter.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/profiles/rails.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/profiles/root_filter.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/profiles/test_frameworks.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/profiles.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/result.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/result_adapter.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/result_merger.rb +194 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/simulate_coverage.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/source_file/branch.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/source_file/line.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/source_file.rb +355 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/useless_results_remover.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-0.22.0/lib/simplecov.rb +470 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/.document +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/CHANGELOG.md +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/LICENSE +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/README.md +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/Rakefile +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/lib/simplecov-html/version.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/lib/simplecov-html.rb +165 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/DataTables-1.10.20/images/sort_asc.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/DataTables-1.10.20/images/sort_both.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/DataTables-1.10.20/images/sort_desc.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/application.css +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/application.js +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/colorbox/border.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/colorbox/controls.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/colorbox/loading.gif +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/colorbox/loading_background.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/favicon_green.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/favicon_red.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/favicon_yellow.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/images/ui-icons_888888_256x240.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/loading.gif +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/public/magnify.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/views/covered_percent.erb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/views/file_list.erb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/views/layout.erb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.13.2/views/source_file.erb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/CHANGELOG.md +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/README.md +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/result_exporter.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/result_hash_formatter.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/source_file_formatter.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-2.6.0/CHANGELOG.md +200 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-2.6.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-2.6.0/README.md +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-2.6.0/data/display_width.marshal.gz +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-2.6.0/lib/unicode/display_width/constants.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-2.6.0/lib/unicode/display_width/index.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-2.6.0/lib/unicode/display_width/no_string_ext.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-2.6.0/lib/unicode/display_width/string_ext.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-2.6.0/lib/unicode/display_width.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/cassette/erb_renderer.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/cassette/http_interaction_list.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/cassette/migrator.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/cassette/persisters/file_system.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/cassette/persisters.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/cassette/serializers/compressed.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/cassette/serializers/json.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/cassette/serializers/psych.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/cassette/serializers/syck.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/cassette/serializers/yaml.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/cassette/serializers.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/cassette.rb +333 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/configuration.rb +588 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/deprecations.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/errors.rb +320 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/library_hooks/excon.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/library_hooks/faraday.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/library_hooks/typhoeus.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/library_hooks/webmock.rb +172 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/library_hooks.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/linked_cassette.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/middleware/excon/legacy_methods.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/middleware/excon.rb +221 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/middleware/faraday.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/middleware/rack.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/request_handler.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/request_ignorer.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/request_matcher_registry.rb +149 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/structs.rb +594 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/tasks/vcr.rake +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/test_frameworks/cucumber.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/test_frameworks/rspec.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/util/hooks.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/util/internet_connection.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/util/logger.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/util/variable_args_block_caller.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/util/version_checker.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr/version.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/vcr-6.1.0/lib/vcr.rb +480 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/CHANGELOG.md +2116 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/LICENSE +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/README.md +1224 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/api.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/assertion_failure.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/callback_registry.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/config.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/cucumber.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/deprecation.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/errors.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/async_http_client_adapter.rb +228 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/curb_adapter.rb +353 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/em_http_request_adapter.rb +241 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/excon_adapter.rb +167 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/http_lib_adapter.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/http_rb/client.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/http_rb/request.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/http_rb/response.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/http_rb/streamer.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/http_rb/webmock.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/http_rb_adapter.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/httpclient_adapter.rb +260 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/manticore_adapter.rb +147 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/net_http.rb +310 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/net_http_response.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/patron_adapter.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/http_lib_adapters/typhoeus_hydra_adapter.rb +190 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/matchers/any_arg_matcher.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/matchers/hash_argument_matcher.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/matchers/hash_excluding_matcher.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/matchers/hash_including_matcher.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/minitest.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/rack_response.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/request_body_diff.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/request_execution_verifier.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/request_pattern.rb +428 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/request_registry.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/request_signature.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/request_signature_snippet.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/request_stub.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/response.rb +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/responses_sequence.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/rspec/matchers/request_pattern_matcher.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/rspec/matchers/webmock_matcher.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/rspec/matchers.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/rspec.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/stub_registry.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/stub_request_snippet.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/test_unit.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/util/hash_counter.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/util/hash_keys_stringifier.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/util/hash_validator.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/util/headers.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/util/parsers/json.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/util/parsers/parse_error.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/util/parsers/xml.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/util/query_mapper.rb +283 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/util/uri.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/util/values_stringifier.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/util/version_checker.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock/webmock.rb +175 -0
- data/vendor/bundle/ruby/2.6.0/gems/webmock-3.25.1/lib/webmock.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/.yardopts +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/.yardopts_guide +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/.yardopts_i18n +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/CHANGELOG.md +907 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/LEGAL +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/LICENSE +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/README.md +332 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/bin/yard +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/bin/yardoc +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/bin/yri +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/CodeObjects.md +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/GettingStarted.md +679 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/Handlers.md +152 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/Overview.md +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/Parser.md +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/Tags.md +283 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/TagsArch.md +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/Templates.md +496 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/WhatsNew.md +1245 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/images/code-objects-class-diagram.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/images/handlers-class-diagram.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/images/overview-class-diagram.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/images/parser-class-diagram.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/images/tags-class-diagram.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/templates/default/fulldoc/html/full_list_tag.erb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/templates/default/fulldoc/html/setup.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/templates/default/layout/html/setup.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/templates/default/layout/html/tag_list.erb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/templates/default/yard_tags/html/list.erb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/templates/default/yard_tags/html/setup.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/docs/templates/plugin.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/rubygems_plugin.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/autoload.rb +310 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/cli/command.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/cli/command_parser.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/cli/config.rb +198 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/cli/diff.rb +273 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/cli/display.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/cli/gems.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/cli/graph.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/cli/help.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/cli/i18n.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/cli/list.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/cli/markup_types.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/cli/server.rb +266 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/cli/stats.rb +234 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/cli/yardoc.rb +791 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/cli/yardopts_command.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/cli/yri.rb +215 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/code_objects/base.rb +626 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/code_objects/class_object.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/code_objects/class_variable_object.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/code_objects/constant_object.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/code_objects/extended_method_object.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/code_objects/extra_file_object.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/code_objects/macro_object.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/code_objects/method_object.rb +196 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/code_objects/module_object.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/code_objects/namespace_mapper.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/code_objects/namespace_object.rb +200 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/code_objects/proxy.rb +245 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/code_objects/root_object.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/config.rb +274 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/core_ext/array.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/core_ext/file.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/core_ext/hash.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/core_ext/insertion.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/core_ext/module.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/core_ext/string.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/core_ext/symbol_hash.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/docstring.rb +386 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/docstring_parser.rb +344 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/gem_index.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/globals.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/base.rb +595 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/c/alias_handler.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/c/attribute_handler.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/c/base.rb +164 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/c/class_handler.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/c/constant_handler.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/c/handler_methods.rb +212 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/c/init_handler.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/c/method_handler.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/c/mixin_handler.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/c/module_handler.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/c/override_comment_handler.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/c/path_handler.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/c/struct_handler.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/c/symbol_handler.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/common/method_handler.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/processor.rb +199 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/alias_handler.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/attribute_handler.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/base.rb +165 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/class_condition_handler.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/class_handler.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/class_variable_handler.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/comment_handler.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/constant_handler.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/decorator_handler_methods.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/dsl_handler.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/dsl_handler_methods.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/exception_handler.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/extend_handler.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/alias_handler.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/attribute_handler.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/base.rb +245 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/class_condition_handler.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/class_handler.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/class_variable_handler.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/comment_handler.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/constant_handler.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/dsl_handler.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/exception_handler.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/extend_handler.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/method_handler.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/mixin_handler.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/module_function_handler.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/module_handler.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/private_class_method_handler.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/private_constant_handler.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/visibility_handler.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/legacy/yield_handler.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/method_condition_handler.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/method_handler.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/mixin_handler.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/module_function_handler.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/module_handler.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/private_class_method_handler.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/private_constant_handler.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/public_class_method_handler.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/struct_handler_methods.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/visibility_handler.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/handlers/ruby/yield_handler.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/i18n/locale.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/i18n/message.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/i18n/messages.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/i18n/po_parser.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/i18n/pot_generator.rb +290 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/i18n/text.rb +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/logging.rb +260 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/open_struct.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/options.rb +217 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/parser/base.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/parser/c/c_parser.rb +235 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/parser/c/comment_parser.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/parser/c/statement.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/parser/ruby/ast_node.rb +558 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/parser/ruby/legacy/irb/slex.rb +276 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/parser/ruby/legacy/ruby_lex.rb +1360 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/parser/ruby/legacy/ruby_parser.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/parser/ruby/legacy/statement.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/parser/ruby/legacy/statement_list.rb +394 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/parser/ruby/legacy/token_list.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/parser/ruby/ruby_parser.rb +707 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/parser/ruby/token_resolver.rb +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/parser/source_parser.rb +525 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/rake/yardoc_task.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/registry.rb +439 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/registry_resolver.rb +218 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/registry_store.rb +342 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/rubygems/backports/LICENSE.txt +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/rubygems/backports/MIT.txt +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/rubygems/backports/gem.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/rubygems/backports/source_index.rb +365 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/rubygems/backports.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/rubygems/doc_manager.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/rubygems/hook.rb +197 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/rubygems/specification.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/serializers/base.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/serializers/file_system_serializer.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/serializers/process_serializer.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/serializers/stdout_serializer.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/serializers/yardoc_serializer.rb +152 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/adapter.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/commands/base.rb +209 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/commands/display_file_command.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/commands/display_object_command.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/commands/frames_command.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/commands/library_command.rb +187 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/commands/library_index_command.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/commands/list_command.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/commands/root_request_command.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/commands/search_command.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/commands/static_file_command.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/commands/static_file_helpers.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/doc_server_helper.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/doc_server_serializer.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/http_utils.rb +512 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/library_version.rb +277 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/rack_adapter.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/router.rb +187 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/static_caching.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/templates/default/fulldoc/html/css/custom.css +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/templates/default/fulldoc/html/images/processing.gif +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/templates/default/layout/html/breadcrumb.erb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/templates/default/layout/html/script_setup.erb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/templates/default/layout/html/setup.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/templates/default/method_details/html/permalink.erb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/templates/default/method_details/html/setup.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/templates/doc_server/library_list/html/headers.erb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/templates/doc_server/library_list/html/library_list.erb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/templates/doc_server/library_list/html/listing.erb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/templates/doc_server/library_list/html/setup.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/templates/doc_server/library_list/html/title.erb +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/templates/doc_server/processing/html/processing.erb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/templates/doc_server/processing/html/setup.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/templates/doc_server/search/html/search.erb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/templates/doc_server/search/html/setup.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server/webrick_adapter.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/server.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/tags/default_factory.rb +192 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/tags/default_tag.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/tags/directives.rb +624 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/tags/library.rb +633 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/tags/option_tag.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/tags/overload_tag.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/tags/ref_tag.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/tags/ref_tag_list.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/tags/tag.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/tags/tag_format_error.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/tags/types_explainer.rb +162 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/templates/engine.rb +185 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/templates/erb_cache.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/templates/helpers/base_helper.rb +215 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/templates/helpers/filter_helper.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/templates/helpers/html_helper.rb +673 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/templates/helpers/html_syntax_highlight_helper.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/templates/helpers/markup/rdoc_markdown.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/templates/helpers/markup/rdoc_markup.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/templates/helpers/markup_helper.rb +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/templates/helpers/method_helper.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/templates/helpers/module_helper.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/templates/helpers/text_helper.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/templates/helpers/uml_helper.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/templates/section.rb +103 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/templates/template.rb +420 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/templates/template_options.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/verifier.rb +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard/version.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/lib/yard.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/po/ja.po +31108 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/class/dot/setup.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/class/dot/superklass.erb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/class/html/constructor_details.erb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/class/html/setup.rb +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/class/html/subclasses.erb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/class/setup.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/class/text/setup.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/class/text/subclasses.erb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/constant/text/header.erb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/constant/text/setup.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/docstring/html/abstract.erb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/docstring/html/deprecated.erb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/docstring/html/index.erb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/docstring/html/note.erb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/docstring/html/private.erb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/docstring/html/returns_void.erb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/docstring/html/text.erb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/docstring/html/todo.erb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/docstring/setup.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/docstring/text/abstract.erb +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/docstring/text/deprecated.erb +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/docstring/text/index.erb +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/docstring/text/note.erb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/docstring/text/private.erb +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/docstring/text/returns_void.erb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/docstring/text/text.erb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/docstring/text/todo.erb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/fulldoc/html/css/common.css +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/fulldoc/html/css/full_list.css +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/fulldoc/html/css/style.css +503 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/fulldoc/html/frames.erb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/fulldoc/html/full_list.erb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/fulldoc/html/full_list_class.erb +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/fulldoc/html/full_list_file.erb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/fulldoc/html/full_list_method.erb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/fulldoc/html/js/app.js +344 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/fulldoc/html/js/full_list.js +242 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/fulldoc/html/js/jquery.js +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/fulldoc/html/setup.rb +249 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/layout/dot/header.erb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/layout/dot/setup.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/layout/html/breadcrumb.erb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/layout/html/files.erb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/layout/html/footer.erb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/layout/html/headers.erb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/layout/html/index.erb +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/layout/html/layout.erb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/layout/html/listing.erb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/layout/html/objects.erb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/layout/html/script_setup.erb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/layout/html/search.erb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/layout/html/setup.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/method/html/header.erb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/method/setup.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/method/text/header.erb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/method_details/html/header.erb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/method_details/html/method_signature.erb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/method_details/html/source.erb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/method_details/setup.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/method_details/text/header.erb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/method_details/text/method_signature.erb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/method_details/text/setup.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/dot/child.erb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/dot/dependencies.erb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/dot/header.erb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/dot/info.erb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/dot/setup.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/html/attribute_details.erb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/html/attribute_summary.erb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/html/box_info.erb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/html/children.erb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/html/constant_summary.erb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/html/defines.erb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/html/header.erb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/html/inherited_attributes.erb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/html/inherited_constants.erb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/html/inherited_methods.erb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/html/item_summary.erb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/html/method_details_list.erb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/html/method_summary.erb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/html/methodmissing.erb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/html/pre_docstring.erb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/setup.rb +167 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/text/children.erb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/text/class_meths_list.erb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/text/extends.erb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/text/header.erb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/text/includes.erb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/text/instance_meths_list.erb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/module/text/setup.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/onefile/html/files.erb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/onefile/html/headers.erb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/onefile/html/layout.erb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/onefile/html/readme.erb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/onefile/html/setup.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/root/dot/child.erb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/root/dot/setup.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/root/html/setup.rb +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/tags/html/example.erb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/tags/html/index.erb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/tags/html/option.erb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/tags/html/overload.erb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/tags/html/see.erb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/tags/html/tag.erb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/tags/setup.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/tags/text/example.erb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/tags/text/index.erb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/tags/text/option.erb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/tags/text/overload.erb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/tags/text/see.erb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/default/tags/text/tag.erb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/guide/class/html/setup.rb +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/guide/docstring/html/setup.rb +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/guide/fulldoc/html/css/style.css +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/guide/fulldoc/html/js/app.js +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/guide/fulldoc/html/setup.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/guide/layout/html/layout.erb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/guide/layout/html/setup.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/guide/method/html/header.erb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/guide/method/html/setup.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/guide/module/html/header.erb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/guide/module/html/method_list.erb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/guide/module/html/setup.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/guide/onefile/html/files.erb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/guide/onefile/html/setup.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/guide/onefile/html/toc.erb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/yard-0.9.37/templates/guide/tags/html/setup.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/specifications/addressable-2.8.7.gemspec +40 -0
- data/vendor/bundle/ruby/2.6.0/specifications/ast-2.4.3.gemspec +47 -0
- data/vendor/bundle/ruby/2.6.0/specifications/base64-0.3.0.gemspec +23 -0
- data/vendor/bundle/ruby/2.6.0/specifications/bigdecimal-3.2.2.gemspec +25 -0
- data/vendor/bundle/ruby/2.6.0/specifications/crack-1.0.0.gemspec +37 -0
- data/vendor/bundle/ruby/2.6.0/specifications/diff-lcs-1.6.2.gemspec +53 -0
- data/vendor/bundle/ruby/2.6.0/specifications/docile-1.4.1.gemspec +22 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-2.8.1.gemspec +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-net_http-3.0.2.gemspec +34 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-retry-2.3.2.gemspec +58 -0
- data/vendor/bundle/ruby/2.6.0/specifications/hashdiff-1.2.0.gemspec +46 -0
- data/vendor/bundle/ruby/2.6.0/specifications/json-2.7.6.gemspec +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/parallel-1.24.0.gemspec +21 -0
- data/vendor/bundle/ruby/2.6.0/specifications/parser-3.3.9.0.gemspec +63 -0
- data/vendor/bundle/ruby/2.6.0/specifications/public_suffix-5.1.1.gemspec +24 -0
- data/vendor/bundle/ruby/2.6.0/specifications/racc-1.8.1.gemspec +28 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rainbow-3.1.1.gemspec +33 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rake-13.3.0.gemspec +26 -0
- data/vendor/bundle/ruby/2.6.0/specifications/regexp_parser-2.10.0.gemspec +22 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rexml-3.4.1.gemspec +25 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-3.13.1.gemspec +43 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-core-3.13.5.gemspec +39 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-expectations-3.13.5.gemspec +39 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-mocks-3.13.5.gemspec +39 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-support-3.13.4.gemspec +39 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rubocop-1.50.2.gemspec +62 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rubocop-ast-1.30.0.gemspec +36 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rubocop-capybara-2.18.0.gemspec +35 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rubocop-rspec-2.20.0.gemspec +39 -0
- data/vendor/bundle/ruby/2.6.0/specifications/ruby-progressbar-1.13.0.gemspec +43 -0
- data/vendor/bundle/ruby/2.6.0/specifications/ruby2_keywords-0.0.5.gemspec +22 -0
- data/vendor/bundle/ruby/2.6.0/specifications/simplecov-0.22.0.gemspec +40 -0
- data/vendor/bundle/ruby/2.6.0/specifications/simplecov-html-0.13.2.gemspec +22 -0
- data/vendor/bundle/ruby/2.6.0/specifications/simplecov_json_formatter-0.1.4.gemspec +21 -0
- data/vendor/bundle/ruby/2.6.0/specifications/unicode-display_width-2.6.0.gemspec +39 -0
- data/vendor/bundle/ruby/2.6.0/specifications/vcr-6.1.0.gemspec +93 -0
- data/vendor/bundle/ruby/2.6.0/specifications/webmock-3.25.1.gemspec +91 -0
- data/vendor/bundle/ruby/2.6.0/specifications/yard-0.9.37.gemspec +23 -0
- metadata +2949 -0
@@ -0,0 +1,2602 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
#--
|
4
|
+
# Copyright (C) Bob Aman
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#++
|
18
|
+
|
19
|
+
|
20
|
+
require "addressable/version"
|
21
|
+
require "addressable/idna"
|
22
|
+
require "public_suffix"
|
23
|
+
|
24
|
+
##
|
25
|
+
# Addressable is a library for processing links and URIs.
|
26
|
+
module Addressable
|
27
|
+
##
|
28
|
+
# This is an implementation of a URI parser based on
|
29
|
+
# <a href="http://www.ietf.org/rfc/rfc3986.txt">RFC 3986</a>,
|
30
|
+
# <a href="http://www.ietf.org/rfc/rfc3987.txt">RFC 3987</a>.
|
31
|
+
class URI
|
32
|
+
##
|
33
|
+
# Raised if something other than a uri is supplied.
|
34
|
+
class InvalidURIError < StandardError
|
35
|
+
end
|
36
|
+
|
37
|
+
##
|
38
|
+
# Container for the character classes specified in
|
39
|
+
# <a href="http://www.ietf.org/rfc/rfc3986.txt">RFC 3986</a>.
|
40
|
+
#
|
41
|
+
# Note: Concatenated and interpolated `String`s are not affected by the
|
42
|
+
# `frozen_string_literal` directive and must be frozen explicitly.
|
43
|
+
#
|
44
|
+
# Interpolated `String`s *were* frozen this way before Ruby 3.0:
|
45
|
+
# https://bugs.ruby-lang.org/issues/17104
|
46
|
+
module CharacterClasses
|
47
|
+
ALPHA = "a-zA-Z"
|
48
|
+
DIGIT = "0-9"
|
49
|
+
GEN_DELIMS = "\\:\\/\\?\\#\\[\\]\\@"
|
50
|
+
SUB_DELIMS = "\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\="
|
51
|
+
RESERVED = (GEN_DELIMS + SUB_DELIMS).freeze
|
52
|
+
UNRESERVED = (ALPHA + DIGIT + "\\-\\.\\_\\~").freeze
|
53
|
+
RESERVED_AND_UNRESERVED = RESERVED + UNRESERVED
|
54
|
+
PCHAR = (UNRESERVED + SUB_DELIMS + "\\:\\@").freeze
|
55
|
+
SCHEME = (ALPHA + DIGIT + "\\-\\+\\.").freeze
|
56
|
+
HOST = (UNRESERVED + SUB_DELIMS + "\\[\\:\\]").freeze
|
57
|
+
AUTHORITY = (PCHAR + "\\[\\]").freeze
|
58
|
+
PATH = (PCHAR + "\\/").freeze
|
59
|
+
QUERY = (PCHAR + "\\/\\?").freeze
|
60
|
+
FRAGMENT = (PCHAR + "\\/\\?").freeze
|
61
|
+
end
|
62
|
+
|
63
|
+
module NormalizeCharacterClasses
|
64
|
+
HOST = /[^#{CharacterClasses::HOST}]/
|
65
|
+
UNRESERVED = /[^#{CharacterClasses::UNRESERVED}]/
|
66
|
+
PCHAR = /[^#{CharacterClasses::PCHAR}]/
|
67
|
+
SCHEME = /[^#{CharacterClasses::SCHEME}]/
|
68
|
+
FRAGMENT = /[^#{CharacterClasses::FRAGMENT}]/
|
69
|
+
QUERY = %r{[^a-zA-Z0-9\-\.\_\~\!\$\'\(\)\*\+\,\=\:\@\/\?%]|%(?!2B|2b)}
|
70
|
+
end
|
71
|
+
|
72
|
+
module CharacterClassesRegexps
|
73
|
+
AUTHORITY = /[^#{CharacterClasses::AUTHORITY}]/
|
74
|
+
FRAGMENT = /[^#{CharacterClasses::FRAGMENT}]/
|
75
|
+
HOST = /[^#{CharacterClasses::HOST}]/
|
76
|
+
PATH = /[^#{CharacterClasses::PATH}]/
|
77
|
+
QUERY = /[^#{CharacterClasses::QUERY}]/
|
78
|
+
RESERVED = /[^#{CharacterClasses::RESERVED}]/
|
79
|
+
RESERVED_AND_UNRESERVED = /[^#{CharacterClasses::RESERVED_AND_UNRESERVED}]/
|
80
|
+
SCHEME = /[^#{CharacterClasses::SCHEME}]/
|
81
|
+
UNRESERVED = /[^#{CharacterClasses::UNRESERVED}]/
|
82
|
+
end
|
83
|
+
|
84
|
+
SLASH = '/'
|
85
|
+
EMPTY_STR = ''
|
86
|
+
|
87
|
+
URIREGEX = /^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/
|
88
|
+
|
89
|
+
PORT_MAPPING = {
|
90
|
+
"http" => 80,
|
91
|
+
"https" => 443,
|
92
|
+
"ftp" => 21,
|
93
|
+
"tftp" => 69,
|
94
|
+
"sftp" => 22,
|
95
|
+
"ssh" => 22,
|
96
|
+
"svn+ssh" => 22,
|
97
|
+
"telnet" => 23,
|
98
|
+
"nntp" => 119,
|
99
|
+
"gopher" => 70,
|
100
|
+
"wais" => 210,
|
101
|
+
"ldap" => 389,
|
102
|
+
"prospero" => 1525
|
103
|
+
}.freeze
|
104
|
+
|
105
|
+
##
|
106
|
+
# Returns a URI object based on the parsed string.
|
107
|
+
#
|
108
|
+
# @param [String, Addressable::URI, #to_str] uri
|
109
|
+
# The URI string to parse.
|
110
|
+
# No parsing is performed if the object is already an
|
111
|
+
# <code>Addressable::URI</code>.
|
112
|
+
#
|
113
|
+
# @return [Addressable::URI] The parsed URI.
|
114
|
+
def self.parse(uri)
|
115
|
+
# If we were given nil, return nil.
|
116
|
+
return nil unless uri
|
117
|
+
# If a URI object is passed, just return itself.
|
118
|
+
return uri.dup if uri.kind_of?(self)
|
119
|
+
|
120
|
+
# If a URI object of the Ruby standard library variety is passed,
|
121
|
+
# convert it to a string, then parse the string.
|
122
|
+
# We do the check this way because we don't want to accidentally
|
123
|
+
# cause a missing constant exception to be thrown.
|
124
|
+
if uri.class.name =~ /^URI\b/
|
125
|
+
uri = uri.to_s
|
126
|
+
end
|
127
|
+
|
128
|
+
# Otherwise, convert to a String
|
129
|
+
begin
|
130
|
+
uri = uri.to_str
|
131
|
+
rescue TypeError, NoMethodError
|
132
|
+
raise TypeError, "Can't convert #{uri.class} into String."
|
133
|
+
end unless uri.is_a?(String)
|
134
|
+
|
135
|
+
# This Regexp supplied as an example in RFC 3986, and it works great.
|
136
|
+
scan = uri.scan(URIREGEX)
|
137
|
+
fragments = scan[0]
|
138
|
+
scheme = fragments[1]
|
139
|
+
authority = fragments[3]
|
140
|
+
path = fragments[4]
|
141
|
+
query = fragments[6]
|
142
|
+
fragment = fragments[8]
|
143
|
+
user = nil
|
144
|
+
password = nil
|
145
|
+
host = nil
|
146
|
+
port = nil
|
147
|
+
if authority != nil
|
148
|
+
# The Regexp above doesn't split apart the authority.
|
149
|
+
userinfo = authority[/^([^\[\]]*)@/, 1]
|
150
|
+
if userinfo != nil
|
151
|
+
user = userinfo.strip[/^([^:]*):?/, 1]
|
152
|
+
password = userinfo.strip[/:(.*)$/, 1]
|
153
|
+
end
|
154
|
+
|
155
|
+
host = authority.sub(
|
156
|
+
/^([^\[\]]*)@/, EMPTY_STR
|
157
|
+
).sub(
|
158
|
+
/:([^:@\[\]]*?)$/, EMPTY_STR
|
159
|
+
)
|
160
|
+
|
161
|
+
port = authority[/:([^:@\[\]]*?)$/, 1]
|
162
|
+
port = nil if port == EMPTY_STR
|
163
|
+
end
|
164
|
+
|
165
|
+
return new(
|
166
|
+
:scheme => scheme,
|
167
|
+
:user => user,
|
168
|
+
:password => password,
|
169
|
+
:host => host,
|
170
|
+
:port => port,
|
171
|
+
:path => path,
|
172
|
+
:query => query,
|
173
|
+
:fragment => fragment
|
174
|
+
)
|
175
|
+
end
|
176
|
+
|
177
|
+
##
|
178
|
+
# Converts an input to a URI. The input does not have to be a valid
|
179
|
+
# URI — the method will use heuristics to guess what URI was intended.
|
180
|
+
# This is not standards-compliant, merely user-friendly.
|
181
|
+
#
|
182
|
+
# @param [String, Addressable::URI, #to_str] uri
|
183
|
+
# The URI string to parse.
|
184
|
+
# No parsing is performed if the object is already an
|
185
|
+
# <code>Addressable::URI</code>.
|
186
|
+
# @param [Hash] hints
|
187
|
+
# A <code>Hash</code> of hints to the heuristic parser.
|
188
|
+
# Defaults to <code>{:scheme => "http"}</code>.
|
189
|
+
#
|
190
|
+
# @return [Addressable::URI] The parsed URI.
|
191
|
+
def self.heuristic_parse(uri, hints={})
|
192
|
+
# If we were given nil, return nil.
|
193
|
+
return nil unless uri
|
194
|
+
# If a URI object is passed, just return itself.
|
195
|
+
return uri.dup if uri.kind_of?(self)
|
196
|
+
|
197
|
+
# If a URI object of the Ruby standard library variety is passed,
|
198
|
+
# convert it to a string, then parse the string.
|
199
|
+
# We do the check this way because we don't want to accidentally
|
200
|
+
# cause a missing constant exception to be thrown.
|
201
|
+
if uri.class.name =~ /^URI\b/
|
202
|
+
uri = uri.to_s
|
203
|
+
end
|
204
|
+
|
205
|
+
unless uri.respond_to?(:to_str)
|
206
|
+
raise TypeError, "Can't convert #{uri.class} into String."
|
207
|
+
end
|
208
|
+
# Otherwise, convert to a String
|
209
|
+
uri = uri.to_str.dup.strip
|
210
|
+
hints = {
|
211
|
+
:scheme => "http"
|
212
|
+
}.merge(hints)
|
213
|
+
case uri
|
214
|
+
when /^http:\//i
|
215
|
+
uri.sub!(/^http:\/+/i, "http://")
|
216
|
+
when /^https:\//i
|
217
|
+
uri.sub!(/^https:\/+/i, "https://")
|
218
|
+
when /^feed:\/+http:\//i
|
219
|
+
uri.sub!(/^feed:\/+http:\/+/i, "feed:http://")
|
220
|
+
when /^feed:\//i
|
221
|
+
uri.sub!(/^feed:\/+/i, "feed://")
|
222
|
+
when %r[^file:/{4}]i
|
223
|
+
uri.sub!(%r[^file:/+]i, "file:////")
|
224
|
+
when %r[^file://localhost/]i
|
225
|
+
uri.sub!(%r[^file://localhost/+]i, "file:///")
|
226
|
+
when %r[^file:/+]i
|
227
|
+
uri.sub!(%r[^file:/+]i, "file:///")
|
228
|
+
when /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/
|
229
|
+
uri.sub!(/^/, hints[:scheme] + "://")
|
230
|
+
when /\A\d+\..*:\d+\z/
|
231
|
+
uri = "#{hints[:scheme]}://#{uri}"
|
232
|
+
end
|
233
|
+
match = uri.match(URIREGEX)
|
234
|
+
fragments = match.captures
|
235
|
+
authority = fragments[3]
|
236
|
+
if authority && authority.length > 0
|
237
|
+
new_authority = authority.tr("\\", "/").gsub(" ", "%20")
|
238
|
+
# NOTE: We want offset 4, not 3!
|
239
|
+
offset = match.offset(4)
|
240
|
+
uri = uri.dup
|
241
|
+
uri[offset[0]...offset[1]] = new_authority
|
242
|
+
end
|
243
|
+
parsed = self.parse(uri)
|
244
|
+
if parsed.scheme =~ /^[^\/?#\.]+\.[^\/?#]+$/
|
245
|
+
parsed = self.parse(hints[:scheme] + "://" + uri)
|
246
|
+
end
|
247
|
+
if parsed.path.include?(".")
|
248
|
+
if parsed.path[/\b@\b/]
|
249
|
+
parsed.scheme = "mailto" unless parsed.scheme
|
250
|
+
elsif new_host = parsed.path[/^([^\/]+\.[^\/]*)/, 1]
|
251
|
+
parsed.defer_validation do
|
252
|
+
new_path = parsed.path.sub(
|
253
|
+
Regexp.new("^" + Regexp.escape(new_host)), EMPTY_STR)
|
254
|
+
parsed.host = new_host
|
255
|
+
parsed.path = new_path
|
256
|
+
parsed.scheme = hints[:scheme] unless parsed.scheme
|
257
|
+
end
|
258
|
+
end
|
259
|
+
end
|
260
|
+
return parsed
|
261
|
+
end
|
262
|
+
|
263
|
+
##
|
264
|
+
# Converts a path to a file scheme URI. If the path supplied is
|
265
|
+
# relative, it will be returned as a relative URI. If the path supplied
|
266
|
+
# is actually a non-file URI, it will parse the URI as if it had been
|
267
|
+
# parsed with <code>Addressable::URI.parse</code>. Handles all of the
|
268
|
+
# various Microsoft-specific formats for specifying paths.
|
269
|
+
#
|
270
|
+
# @param [String, Addressable::URI, #to_str] path
|
271
|
+
# Typically a <code>String</code> path to a file or directory, but
|
272
|
+
# will return a sensible return value if an absolute URI is supplied
|
273
|
+
# instead.
|
274
|
+
#
|
275
|
+
# @return [Addressable::URI]
|
276
|
+
# The parsed file scheme URI or the original URI if some other URI
|
277
|
+
# scheme was provided.
|
278
|
+
#
|
279
|
+
# @example
|
280
|
+
# base = Addressable::URI.convert_path("/absolute/path/")
|
281
|
+
# uri = Addressable::URI.convert_path("relative/path")
|
282
|
+
# (base + uri).to_s
|
283
|
+
# #=> "file:///absolute/path/relative/path"
|
284
|
+
#
|
285
|
+
# Addressable::URI.convert_path(
|
286
|
+
# "c:\\windows\\My Documents 100%20\\foo.txt"
|
287
|
+
# ).to_s
|
288
|
+
# #=> "file:///c:/windows/My%20Documents%20100%20/foo.txt"
|
289
|
+
#
|
290
|
+
# Addressable::URI.convert_path("http://example.com/").to_s
|
291
|
+
# #=> "http://example.com/"
|
292
|
+
def self.convert_path(path)
|
293
|
+
# If we were given nil, return nil.
|
294
|
+
return nil unless path
|
295
|
+
# If a URI object is passed, just return itself.
|
296
|
+
return path if path.kind_of?(self)
|
297
|
+
unless path.respond_to?(:to_str)
|
298
|
+
raise TypeError, "Can't convert #{path.class} into String."
|
299
|
+
end
|
300
|
+
# Otherwise, convert to a String
|
301
|
+
path = path.to_str.strip
|
302
|
+
|
303
|
+
path.sub!(/^file:\/?\/?/, EMPTY_STR) if path =~ /^file:\/?\/?/
|
304
|
+
path = SLASH + path if path =~ /^([a-zA-Z])[\|:]/
|
305
|
+
uri = self.parse(path)
|
306
|
+
|
307
|
+
if uri.scheme == nil
|
308
|
+
# Adjust windows-style uris
|
309
|
+
uri.path.sub!(/^\/?([a-zA-Z])[\|:][\\\/]/) do
|
310
|
+
"/#{$1.downcase}:/"
|
311
|
+
end
|
312
|
+
uri.path.tr!("\\", SLASH)
|
313
|
+
if File.exist?(uri.path) &&
|
314
|
+
File.stat(uri.path).directory?
|
315
|
+
uri.path.chomp!(SLASH)
|
316
|
+
uri.path = uri.path + '/'
|
317
|
+
end
|
318
|
+
|
319
|
+
# If the path is absolute, set the scheme and host.
|
320
|
+
if uri.path.start_with?(SLASH)
|
321
|
+
uri.scheme = "file"
|
322
|
+
uri.host = EMPTY_STR
|
323
|
+
end
|
324
|
+
uri.normalize!
|
325
|
+
end
|
326
|
+
|
327
|
+
return uri
|
328
|
+
end
|
329
|
+
|
330
|
+
##
|
331
|
+
# Joins several URIs together.
|
332
|
+
#
|
333
|
+
# @param [String, Addressable::URI, #to_str] *uris
|
334
|
+
# The URIs to join.
|
335
|
+
#
|
336
|
+
# @return [Addressable::URI] The joined URI.
|
337
|
+
#
|
338
|
+
# @example
|
339
|
+
# base = "http://example.com/"
|
340
|
+
# uri = Addressable::URI.parse("relative/path")
|
341
|
+
# Addressable::URI.join(base, uri)
|
342
|
+
# #=> #<Addressable::URI:0xcab390 URI:http://example.com/relative/path>
|
343
|
+
def self.join(*uris)
|
344
|
+
uri_objects = uris.collect do |uri|
|
345
|
+
unless uri.respond_to?(:to_str)
|
346
|
+
raise TypeError, "Can't convert #{uri.class} into String."
|
347
|
+
end
|
348
|
+
uri.kind_of?(self) ? uri : self.parse(uri.to_str)
|
349
|
+
end
|
350
|
+
result = uri_objects.shift.dup
|
351
|
+
uri_objects.each do |uri|
|
352
|
+
result.join!(uri)
|
353
|
+
end
|
354
|
+
return result
|
355
|
+
end
|
356
|
+
|
357
|
+
##
|
358
|
+
# Tables used to optimize encoding operations in `self.encode_component`
|
359
|
+
# and `self.normalize_component`
|
360
|
+
SEQUENCE_ENCODING_TABLE = (0..255).map do |byte|
|
361
|
+
format("%02x", byte).freeze
|
362
|
+
end.freeze
|
363
|
+
|
364
|
+
SEQUENCE_UPCASED_PERCENT_ENCODING_TABLE = (0..255).map do |byte|
|
365
|
+
format("%%%02X", byte).freeze
|
366
|
+
end.freeze
|
367
|
+
|
368
|
+
##
|
369
|
+
# Percent encodes a URI component.
|
370
|
+
#
|
371
|
+
# @param [String, #to_str] component The URI component to encode.
|
372
|
+
#
|
373
|
+
# @param [String, Regexp] character_class
|
374
|
+
# The characters which are not percent encoded. If a <code>String</code>
|
375
|
+
# is passed, the <code>String</code> must be formatted as a regular
|
376
|
+
# expression character class. (Do not include the surrounding square
|
377
|
+
# brackets.) For example, <code>"b-zB-Z0-9"</code> would cause
|
378
|
+
# everything but the letters 'b' through 'z' and the numbers '0' through
|
379
|
+
# '9' to be percent encoded. If a <code>Regexp</code> is passed, the
|
380
|
+
# value <code>/[^b-zB-Z0-9]/</code> would have the same effect. A set of
|
381
|
+
# useful <code>String</code> values may be found in the
|
382
|
+
# <code>Addressable::URI::CharacterClasses</code> module. The default
|
383
|
+
# value is the reserved plus unreserved character classes specified in
|
384
|
+
# <a href="http://www.ietf.org/rfc/rfc3986.txt">RFC 3986</a>.
|
385
|
+
#
|
386
|
+
# @param [Regexp] upcase_encoded
|
387
|
+
# A string of characters that may already be percent encoded, and whose
|
388
|
+
# encodings should be upcased. This allows normalization of percent
|
389
|
+
# encodings for characters not included in the
|
390
|
+
# <code>character_class</code>.
|
391
|
+
#
|
392
|
+
# @return [String] The encoded component.
|
393
|
+
#
|
394
|
+
# @example
|
395
|
+
# Addressable::URI.encode_component("simple/example", "b-zB-Z0-9")
|
396
|
+
# => "simple%2Fex%61mple"
|
397
|
+
# Addressable::URI.encode_component("simple/example", /[^b-zB-Z0-9]/)
|
398
|
+
# => "simple%2Fex%61mple"
|
399
|
+
# Addressable::URI.encode_component(
|
400
|
+
# "simple/example", Addressable::URI::CharacterClasses::UNRESERVED
|
401
|
+
# )
|
402
|
+
# => "simple%2Fexample"
|
403
|
+
def self.encode_component(component, character_class=CharacterClassesRegexps::RESERVED_AND_UNRESERVED, upcase_encoded='')
|
404
|
+
return nil if component.nil?
|
405
|
+
|
406
|
+
begin
|
407
|
+
if component.kind_of?(Symbol) ||
|
408
|
+
component.kind_of?(Numeric) ||
|
409
|
+
component.kind_of?(TrueClass) ||
|
410
|
+
component.kind_of?(FalseClass)
|
411
|
+
component = component.to_s
|
412
|
+
else
|
413
|
+
component = component.to_str
|
414
|
+
end
|
415
|
+
rescue TypeError, NoMethodError
|
416
|
+
raise TypeError, "Can't convert #{component.class} into String."
|
417
|
+
end if !component.is_a? String
|
418
|
+
|
419
|
+
if ![String, Regexp].include?(character_class.class)
|
420
|
+
raise TypeError,
|
421
|
+
"Expected String or Regexp, got #{character_class.inspect}"
|
422
|
+
end
|
423
|
+
if character_class.kind_of?(String)
|
424
|
+
character_class = /[^#{character_class}]/
|
425
|
+
end
|
426
|
+
# We can't perform regexps on invalid UTF sequences, but
|
427
|
+
# here we need to, so switch to ASCII.
|
428
|
+
component = component.dup
|
429
|
+
component.force_encoding(Encoding::ASCII_8BIT)
|
430
|
+
# Avoiding gsub! because there are edge cases with frozen strings
|
431
|
+
component = component.gsub(character_class) do |char|
|
432
|
+
SEQUENCE_UPCASED_PERCENT_ENCODING_TABLE[char.ord]
|
433
|
+
end
|
434
|
+
if upcase_encoded.length > 0
|
435
|
+
upcase_encoded_chars = upcase_encoded.bytes.map do |byte|
|
436
|
+
SEQUENCE_ENCODING_TABLE[byte]
|
437
|
+
end
|
438
|
+
component = component.gsub(/%(#{upcase_encoded_chars.join('|')})/,
|
439
|
+
&:upcase)
|
440
|
+
end
|
441
|
+
|
442
|
+
return component
|
443
|
+
end
|
444
|
+
|
445
|
+
class << self
|
446
|
+
alias_method :escape_component, :encode_component
|
447
|
+
end
|
448
|
+
|
449
|
+
##
|
450
|
+
# Unencodes any percent encoded characters within a URI component.
|
451
|
+
# This method may be used for unencoding either components or full URIs,
|
452
|
+
# however, it is recommended to use the <code>unencode_component</code>
|
453
|
+
# alias when unencoding components.
|
454
|
+
#
|
455
|
+
# @param [String, Addressable::URI, #to_str] uri
|
456
|
+
# The URI or component to unencode.
|
457
|
+
#
|
458
|
+
# @param [Class] return_type
|
459
|
+
# The type of object to return.
|
460
|
+
# This value may only be set to <code>String</code> or
|
461
|
+
# <code>Addressable::URI</code>. All other values are invalid. Defaults
|
462
|
+
# to <code>String</code>.
|
463
|
+
#
|
464
|
+
# @param [String] leave_encoded
|
465
|
+
# A string of characters to leave encoded. If a percent encoded character
|
466
|
+
# in this list is encountered then it will remain percent encoded.
|
467
|
+
#
|
468
|
+
# @return [String, Addressable::URI]
|
469
|
+
# The unencoded component or URI.
|
470
|
+
# The return type is determined by the <code>return_type</code>
|
471
|
+
# parameter.
|
472
|
+
def self.unencode(uri, return_type=String, leave_encoded='')
|
473
|
+
return nil if uri.nil?
|
474
|
+
|
475
|
+
begin
|
476
|
+
uri = uri.to_str
|
477
|
+
rescue NoMethodError, TypeError
|
478
|
+
raise TypeError, "Can't convert #{uri.class} into String."
|
479
|
+
end if !uri.is_a? String
|
480
|
+
if ![String, ::Addressable::URI].include?(return_type)
|
481
|
+
raise TypeError,
|
482
|
+
"Expected Class (String or Addressable::URI), " +
|
483
|
+
"got #{return_type.inspect}"
|
484
|
+
end
|
485
|
+
|
486
|
+
result = uri.gsub(/%[0-9a-f]{2}/i) do |sequence|
|
487
|
+
c = sequence[1..3].to_i(16).chr
|
488
|
+
c.force_encoding(sequence.encoding)
|
489
|
+
leave_encoded.include?(c) ? sequence : c
|
490
|
+
end
|
491
|
+
|
492
|
+
result.force_encoding(Encoding::UTF_8)
|
493
|
+
if return_type == String
|
494
|
+
return result
|
495
|
+
elsif return_type == ::Addressable::URI
|
496
|
+
return ::Addressable::URI.parse(result)
|
497
|
+
end
|
498
|
+
end
|
499
|
+
|
500
|
+
class << self
|
501
|
+
alias_method :unescape, :unencode
|
502
|
+
alias_method :unencode_component, :unencode
|
503
|
+
alias_method :unescape_component, :unencode
|
504
|
+
end
|
505
|
+
|
506
|
+
|
507
|
+
##
|
508
|
+
# Normalizes the encoding of a URI component.
|
509
|
+
#
|
510
|
+
# @param [String, #to_str] component The URI component to encode.
|
511
|
+
#
|
512
|
+
# @param [String, Regexp] character_class
|
513
|
+
# The characters which are not percent encoded. If a <code>String</code>
|
514
|
+
# is passed, the <code>String</code> must be formatted as a regular
|
515
|
+
# expression character class. (Do not include the surrounding square
|
516
|
+
# brackets.) For example, <code>"b-zB-Z0-9"</code> would cause
|
517
|
+
# everything but the letters 'b' through 'z' and the numbers '0'
|
518
|
+
# through '9' to be percent encoded. If a <code>Regexp</code> is passed,
|
519
|
+
# the value <code>/[^b-zB-Z0-9]/</code> would have the same effect. A
|
520
|
+
# set of useful <code>String</code> values may be found in the
|
521
|
+
# <code>Addressable::URI::CharacterClasses</code> module. The default
|
522
|
+
# value is the reserved plus unreserved character classes specified in
|
523
|
+
# <a href="http://www.ietf.org/rfc/rfc3986.txt">RFC 3986</a>.
|
524
|
+
#
|
525
|
+
# @param [String] leave_encoded
|
526
|
+
# When <code>character_class</code> is a <code>String</code> then
|
527
|
+
# <code>leave_encoded</code> is a string of characters that should remain
|
528
|
+
# percent encoded while normalizing the component; if they appear percent
|
529
|
+
# encoded in the original component, then they will be upcased ("%2f"
|
530
|
+
# normalized to "%2F") but otherwise left alone.
|
531
|
+
#
|
532
|
+
# @return [String] The normalized component.
|
533
|
+
#
|
534
|
+
# @example
|
535
|
+
# Addressable::URI.normalize_component("simpl%65/%65xampl%65", "b-zB-Z")
|
536
|
+
# => "simple%2Fex%61mple"
|
537
|
+
# Addressable::URI.normalize_component(
|
538
|
+
# "simpl%65/%65xampl%65", /[^b-zB-Z]/
|
539
|
+
# )
|
540
|
+
# => "simple%2Fex%61mple"
|
541
|
+
# Addressable::URI.normalize_component(
|
542
|
+
# "simpl%65/%65xampl%65",
|
543
|
+
# Addressable::URI::CharacterClasses::UNRESERVED
|
544
|
+
# )
|
545
|
+
# => "simple%2Fexample"
|
546
|
+
# Addressable::URI.normalize_component(
|
547
|
+
# "one%20two%2fthree%26four",
|
548
|
+
# "0-9a-zA-Z &/",
|
549
|
+
# "/"
|
550
|
+
# )
|
551
|
+
# => "one two%2Fthree&four"
|
552
|
+
def self.normalize_component(component, character_class=
|
553
|
+
CharacterClassesRegexps::RESERVED_AND_UNRESERVED,
|
554
|
+
leave_encoded='')
|
555
|
+
return nil if component.nil?
|
556
|
+
|
557
|
+
begin
|
558
|
+
component = component.to_str
|
559
|
+
rescue NoMethodError, TypeError
|
560
|
+
raise TypeError, "Can't convert #{component.class} into String."
|
561
|
+
end if !component.is_a? String
|
562
|
+
|
563
|
+
if ![String, Regexp].include?(character_class.class)
|
564
|
+
raise TypeError,
|
565
|
+
"Expected String or Regexp, got #{character_class.inspect}"
|
566
|
+
end
|
567
|
+
if character_class.kind_of?(String)
|
568
|
+
leave_re = if leave_encoded.length > 0
|
569
|
+
character_class = "#{character_class}%" unless character_class.include?('%')
|
570
|
+
|
571
|
+
bytes = leave_encoded.bytes
|
572
|
+
leave_encoded_pattern = bytes.map { |b| SEQUENCE_ENCODING_TABLE[b] }.join('|')
|
573
|
+
"|%(?!#{leave_encoded_pattern}|#{leave_encoded_pattern.upcase})"
|
574
|
+
end
|
575
|
+
|
576
|
+
character_class = if leave_re
|
577
|
+
/[^#{character_class}]#{leave_re}/
|
578
|
+
else
|
579
|
+
/[^#{character_class}]/
|
580
|
+
end
|
581
|
+
end
|
582
|
+
# We can't perform regexps on invalid UTF sequences, but
|
583
|
+
# here we need to, so switch to ASCII.
|
584
|
+
component = component.dup
|
585
|
+
component.force_encoding(Encoding::ASCII_8BIT)
|
586
|
+
unencoded = self.unencode_component(component, String, leave_encoded)
|
587
|
+
begin
|
588
|
+
encoded = self.encode_component(
|
589
|
+
unencoded.unicode_normalize(:nfc),
|
590
|
+
character_class,
|
591
|
+
leave_encoded
|
592
|
+
)
|
593
|
+
rescue ArgumentError
|
594
|
+
encoded = self.encode_component(unencoded)
|
595
|
+
end
|
596
|
+
encoded.force_encoding(Encoding::UTF_8)
|
597
|
+
return encoded
|
598
|
+
end
|
599
|
+
|
600
|
+
##
|
601
|
+
# Percent encodes any special characters in the URI.
|
602
|
+
#
|
603
|
+
# @param [String, Addressable::URI, #to_str] uri
|
604
|
+
# The URI to encode.
|
605
|
+
#
|
606
|
+
# @param [Class] return_type
|
607
|
+
# The type of object to return.
|
608
|
+
# This value may only be set to <code>String</code> or
|
609
|
+
# <code>Addressable::URI</code>. All other values are invalid. Defaults
|
610
|
+
# to <code>String</code>.
|
611
|
+
#
|
612
|
+
# @return [String, Addressable::URI]
|
613
|
+
# The encoded URI.
|
614
|
+
# The return type is determined by the <code>return_type</code>
|
615
|
+
# parameter.
|
616
|
+
def self.encode(uri, return_type=String)
|
617
|
+
return nil if uri.nil?
|
618
|
+
|
619
|
+
begin
|
620
|
+
uri = uri.to_str
|
621
|
+
rescue NoMethodError, TypeError
|
622
|
+
raise TypeError, "Can't convert #{uri.class} into String."
|
623
|
+
end if !uri.is_a? String
|
624
|
+
|
625
|
+
if ![String, ::Addressable::URI].include?(return_type)
|
626
|
+
raise TypeError,
|
627
|
+
"Expected Class (String or Addressable::URI), " +
|
628
|
+
"got #{return_type.inspect}"
|
629
|
+
end
|
630
|
+
uri_object = uri.kind_of?(self) ? uri : self.parse(uri)
|
631
|
+
encoded_uri = Addressable::URI.new(
|
632
|
+
:scheme => self.encode_component(uri_object.scheme,
|
633
|
+
Addressable::URI::CharacterClassesRegexps::SCHEME),
|
634
|
+
:authority => self.encode_component(uri_object.authority,
|
635
|
+
Addressable::URI::CharacterClassesRegexps::AUTHORITY),
|
636
|
+
:path => self.encode_component(uri_object.path,
|
637
|
+
Addressable::URI::CharacterClassesRegexps::PATH),
|
638
|
+
:query => self.encode_component(uri_object.query,
|
639
|
+
Addressable::URI::CharacterClassesRegexps::QUERY),
|
640
|
+
:fragment => self.encode_component(uri_object.fragment,
|
641
|
+
Addressable::URI::CharacterClassesRegexps::FRAGMENT)
|
642
|
+
)
|
643
|
+
if return_type == String
|
644
|
+
return encoded_uri.to_s
|
645
|
+
elsif return_type == ::Addressable::URI
|
646
|
+
return encoded_uri
|
647
|
+
end
|
648
|
+
end
|
649
|
+
|
650
|
+
class << self
|
651
|
+
alias_method :escape, :encode
|
652
|
+
end
|
653
|
+
|
654
|
+
##
|
655
|
+
# Normalizes the encoding of a URI. Characters within a hostname are
|
656
|
+
# not percent encoded to allow for internationalized domain names.
|
657
|
+
#
|
658
|
+
# @param [String, Addressable::URI, #to_str] uri
|
659
|
+
# The URI to encode.
|
660
|
+
#
|
661
|
+
# @param [Class] return_type
|
662
|
+
# The type of object to return.
|
663
|
+
# This value may only be set to <code>String</code> or
|
664
|
+
# <code>Addressable::URI</code>. All other values are invalid. Defaults
|
665
|
+
# to <code>String</code>.
|
666
|
+
#
|
667
|
+
# @return [String, Addressable::URI]
|
668
|
+
# The encoded URI.
|
669
|
+
# The return type is determined by the <code>return_type</code>
|
670
|
+
# parameter.
|
671
|
+
def self.normalized_encode(uri, return_type=String)
|
672
|
+
begin
|
673
|
+
uri = uri.to_str
|
674
|
+
rescue NoMethodError, TypeError
|
675
|
+
raise TypeError, "Can't convert #{uri.class} into String."
|
676
|
+
end if !uri.is_a? String
|
677
|
+
|
678
|
+
if ![String, ::Addressable::URI].include?(return_type)
|
679
|
+
raise TypeError,
|
680
|
+
"Expected Class (String or Addressable::URI), " +
|
681
|
+
"got #{return_type.inspect}"
|
682
|
+
end
|
683
|
+
uri_object = uri.kind_of?(self) ? uri : self.parse(uri)
|
684
|
+
components = {
|
685
|
+
:scheme => self.unencode_component(uri_object.scheme),
|
686
|
+
:user => self.unencode_component(uri_object.user),
|
687
|
+
:password => self.unencode_component(uri_object.password),
|
688
|
+
:host => self.unencode_component(uri_object.host),
|
689
|
+
:port => (uri_object.port.nil? ? nil : uri_object.port.to_s),
|
690
|
+
:path => self.unencode_component(uri_object.path),
|
691
|
+
:query => self.unencode_component(uri_object.query),
|
692
|
+
:fragment => self.unencode_component(uri_object.fragment)
|
693
|
+
}
|
694
|
+
components.each do |key, value|
|
695
|
+
if value != nil
|
696
|
+
begin
|
697
|
+
components[key] = value.to_str.unicode_normalize(:nfc)
|
698
|
+
rescue ArgumentError
|
699
|
+
# Likely a malformed UTF-8 character, skip unicode normalization
|
700
|
+
components[key] = value.to_str
|
701
|
+
end
|
702
|
+
end
|
703
|
+
end
|
704
|
+
encoded_uri = Addressable::URI.new(
|
705
|
+
:scheme => self.encode_component(components[:scheme],
|
706
|
+
Addressable::URI::CharacterClassesRegexps::SCHEME),
|
707
|
+
:user => self.encode_component(components[:user],
|
708
|
+
Addressable::URI::CharacterClassesRegexps::UNRESERVED),
|
709
|
+
:password => self.encode_component(components[:password],
|
710
|
+
Addressable::URI::CharacterClassesRegexps::UNRESERVED),
|
711
|
+
:host => components[:host],
|
712
|
+
:port => components[:port],
|
713
|
+
:path => self.encode_component(components[:path],
|
714
|
+
Addressable::URI::CharacterClassesRegexps::PATH),
|
715
|
+
:query => self.encode_component(components[:query],
|
716
|
+
Addressable::URI::CharacterClassesRegexps::QUERY),
|
717
|
+
:fragment => self.encode_component(components[:fragment],
|
718
|
+
Addressable::URI::CharacterClassesRegexps::FRAGMENT)
|
719
|
+
)
|
720
|
+
if return_type == String
|
721
|
+
return encoded_uri.to_s
|
722
|
+
elsif return_type == ::Addressable::URI
|
723
|
+
return encoded_uri
|
724
|
+
end
|
725
|
+
end
|
726
|
+
|
727
|
+
##
|
728
|
+
# Encodes a set of key/value pairs according to the rules for the
|
729
|
+
# <code>application/x-www-form-urlencoded</code> MIME type.
|
730
|
+
#
|
731
|
+
# @param [#to_hash, #to_ary] form_values
|
732
|
+
# The form values to encode.
|
733
|
+
#
|
734
|
+
# @param [TrueClass, FalseClass] sort
|
735
|
+
# Sort the key/value pairs prior to encoding.
|
736
|
+
# Defaults to <code>false</code>.
|
737
|
+
#
|
738
|
+
# @return [String]
|
739
|
+
# The encoded value.
|
740
|
+
def self.form_encode(form_values, sort=false)
|
741
|
+
if form_values.respond_to?(:to_hash)
|
742
|
+
form_values = form_values.to_hash.to_a
|
743
|
+
elsif form_values.respond_to?(:to_ary)
|
744
|
+
form_values = form_values.to_ary
|
745
|
+
else
|
746
|
+
raise TypeError, "Can't convert #{form_values.class} into Array."
|
747
|
+
end
|
748
|
+
|
749
|
+
form_values = form_values.inject([]) do |accu, (key, value)|
|
750
|
+
if value.kind_of?(Array)
|
751
|
+
value.each do |v|
|
752
|
+
accu << [key.to_s, v.to_s]
|
753
|
+
end
|
754
|
+
else
|
755
|
+
accu << [key.to_s, value.to_s]
|
756
|
+
end
|
757
|
+
accu
|
758
|
+
end
|
759
|
+
|
760
|
+
if sort
|
761
|
+
# Useful for OAuth and optimizing caching systems
|
762
|
+
form_values = form_values.sort
|
763
|
+
end
|
764
|
+
escaped_form_values = form_values.map do |(key, value)|
|
765
|
+
# Line breaks are CRLF pairs
|
766
|
+
[
|
767
|
+
self.encode_component(
|
768
|
+
key.gsub(/(\r\n|\n|\r)/, "\r\n"),
|
769
|
+
CharacterClassesRegexps::UNRESERVED
|
770
|
+
).gsub("%20", "+"),
|
771
|
+
self.encode_component(
|
772
|
+
value.gsub(/(\r\n|\n|\r)/, "\r\n"),
|
773
|
+
CharacterClassesRegexps::UNRESERVED
|
774
|
+
).gsub("%20", "+")
|
775
|
+
]
|
776
|
+
end
|
777
|
+
return escaped_form_values.map do |(key, value)|
|
778
|
+
"#{key}=#{value}"
|
779
|
+
end.join("&")
|
780
|
+
end
|
781
|
+
|
782
|
+
##
|
783
|
+
# Decodes a <code>String</code> according to the rules for the
|
784
|
+
# <code>application/x-www-form-urlencoded</code> MIME type.
|
785
|
+
#
|
786
|
+
# @param [String, #to_str] encoded_value
|
787
|
+
# The form values to decode.
|
788
|
+
#
|
789
|
+
# @return [Array]
|
790
|
+
# The decoded values.
|
791
|
+
# This is not a <code>Hash</code> because of the possibility for
|
792
|
+
# duplicate keys.
|
793
|
+
def self.form_unencode(encoded_value)
|
794
|
+
if !encoded_value.respond_to?(:to_str)
|
795
|
+
raise TypeError, "Can't convert #{encoded_value.class} into String."
|
796
|
+
end
|
797
|
+
encoded_value = encoded_value.to_str
|
798
|
+
split_values = encoded_value.split("&").map do |pair|
|
799
|
+
pair.split("=", 2)
|
800
|
+
end
|
801
|
+
return split_values.map do |(key, value)|
|
802
|
+
[
|
803
|
+
key ? self.unencode_component(
|
804
|
+
key.gsub("+", "%20")).gsub(/(\r\n|\n|\r)/, "\n") : nil,
|
805
|
+
value ? (self.unencode_component(
|
806
|
+
value.gsub("+", "%20")).gsub(/(\r\n|\n|\r)/, "\n")) : nil
|
807
|
+
]
|
808
|
+
end
|
809
|
+
end
|
810
|
+
|
811
|
+
##
|
812
|
+
# Creates a new uri object from component parts.
|
813
|
+
#
|
814
|
+
# @option [String, #to_str] scheme The scheme component.
|
815
|
+
# @option [String, #to_str] user The user component.
|
816
|
+
# @option [String, #to_str] password The password component.
|
817
|
+
# @option [String, #to_str] userinfo
|
818
|
+
# The userinfo component. If this is supplied, the user and password
|
819
|
+
# components must be omitted.
|
820
|
+
# @option [String, #to_str] host The host component.
|
821
|
+
# @option [String, #to_str] port The port component.
|
822
|
+
# @option [String, #to_str] authority
|
823
|
+
# The authority component. If this is supplied, the user, password,
|
824
|
+
# userinfo, host, and port components must be omitted.
|
825
|
+
# @option [String, #to_str] path The path component.
|
826
|
+
# @option [String, #to_str] query The query component.
|
827
|
+
# @option [String, #to_str] fragment The fragment component.
|
828
|
+
#
|
829
|
+
# @return [Addressable::URI] The constructed URI object.
|
830
|
+
def initialize(options={})
|
831
|
+
if options.has_key?(:authority)
|
832
|
+
if (options.keys & [:userinfo, :user, :password, :host, :port]).any?
|
833
|
+
raise ArgumentError,
|
834
|
+
"Cannot specify both an authority and any of the components " +
|
835
|
+
"within the authority."
|
836
|
+
end
|
837
|
+
end
|
838
|
+
if options.has_key?(:userinfo)
|
839
|
+
if (options.keys & [:user, :password]).any?
|
840
|
+
raise ArgumentError,
|
841
|
+
"Cannot specify both a userinfo and either the user or password."
|
842
|
+
end
|
843
|
+
end
|
844
|
+
|
845
|
+
reset_ivs
|
846
|
+
|
847
|
+
defer_validation do
|
848
|
+
# Bunch of crazy logic required because of the composite components
|
849
|
+
# like userinfo and authority.
|
850
|
+
self.scheme = options[:scheme] if options[:scheme]
|
851
|
+
self.user = options[:user] if options[:user]
|
852
|
+
self.password = options[:password] if options[:password]
|
853
|
+
self.userinfo = options[:userinfo] if options[:userinfo]
|
854
|
+
self.host = options[:host] if options[:host]
|
855
|
+
self.port = options[:port] if options[:port]
|
856
|
+
self.authority = options[:authority] if options[:authority]
|
857
|
+
self.path = options[:path] if options[:path]
|
858
|
+
self.query = options[:query] if options[:query]
|
859
|
+
self.query_values = options[:query_values] if options[:query_values]
|
860
|
+
self.fragment = options[:fragment] if options[:fragment]
|
861
|
+
end
|
862
|
+
|
863
|
+
to_s # force path validation
|
864
|
+
end
|
865
|
+
|
866
|
+
##
|
867
|
+
# Freeze URI, initializing instance variables.
|
868
|
+
#
|
869
|
+
# @return [Addressable::URI] The frozen URI object.
|
870
|
+
def freeze
|
871
|
+
self.normalized_scheme
|
872
|
+
self.normalized_user
|
873
|
+
self.normalized_password
|
874
|
+
self.normalized_userinfo
|
875
|
+
self.normalized_host
|
876
|
+
self.normalized_port
|
877
|
+
self.normalized_authority
|
878
|
+
self.normalized_site
|
879
|
+
self.normalized_path
|
880
|
+
self.normalized_query
|
881
|
+
self.normalized_fragment
|
882
|
+
self.hash
|
883
|
+
super
|
884
|
+
end
|
885
|
+
|
886
|
+
##
|
887
|
+
# The scheme component for this URI.
|
888
|
+
#
|
889
|
+
# @return [String] The scheme component.
|
890
|
+
attr_reader :scheme
|
891
|
+
|
892
|
+
##
|
893
|
+
# The scheme component for this URI, normalized.
|
894
|
+
#
|
895
|
+
# @return [String] The scheme component, normalized.
|
896
|
+
def normalized_scheme
|
897
|
+
return nil unless self.scheme
|
898
|
+
if @normalized_scheme == NONE
|
899
|
+
@normalized_scheme = if self.scheme =~ /^\s*ssh\+svn\s*$/i
|
900
|
+
"svn+ssh".dup
|
901
|
+
else
|
902
|
+
Addressable::URI.normalize_component(
|
903
|
+
self.scheme.strip.downcase,
|
904
|
+
Addressable::URI::NormalizeCharacterClasses::SCHEME
|
905
|
+
)
|
906
|
+
end
|
907
|
+
end
|
908
|
+
# All normalized values should be UTF-8
|
909
|
+
force_utf8_encoding_if_needed(@normalized_scheme)
|
910
|
+
@normalized_scheme
|
911
|
+
end
|
912
|
+
|
913
|
+
##
|
914
|
+
# Sets the scheme component for this URI.
|
915
|
+
#
|
916
|
+
# @param [String, #to_str] new_scheme The new scheme component.
|
917
|
+
def scheme=(new_scheme)
|
918
|
+
if new_scheme && !new_scheme.respond_to?(:to_str)
|
919
|
+
raise TypeError, "Can't convert #{new_scheme.class} into String."
|
920
|
+
elsif new_scheme
|
921
|
+
new_scheme = new_scheme.to_str
|
922
|
+
end
|
923
|
+
if new_scheme && new_scheme !~ /\A[a-z][a-z0-9\.\+\-]*\z/i
|
924
|
+
raise InvalidURIError, "Invalid scheme format: '#{new_scheme}'"
|
925
|
+
end
|
926
|
+
@scheme = new_scheme
|
927
|
+
@scheme = nil if @scheme.to_s.strip.empty?
|
928
|
+
|
929
|
+
# Reset dependent values
|
930
|
+
@normalized_scheme = NONE
|
931
|
+
remove_composite_values
|
932
|
+
|
933
|
+
# Ensure we haven't created an invalid URI
|
934
|
+
validate()
|
935
|
+
end
|
936
|
+
|
937
|
+
##
|
938
|
+
# The user component for this URI.
|
939
|
+
#
|
940
|
+
# @return [String] The user component.
|
941
|
+
attr_reader :user
|
942
|
+
|
943
|
+
##
|
944
|
+
# The user component for this URI, normalized.
|
945
|
+
#
|
946
|
+
# @return [String] The user component, normalized.
|
947
|
+
def normalized_user
|
948
|
+
return nil unless self.user
|
949
|
+
return @normalized_user unless @normalized_user == NONE
|
950
|
+
@normalized_user = begin
|
951
|
+
if normalized_scheme =~ /https?/ && self.user.strip.empty? &&
|
952
|
+
(!self.password || self.password.strip.empty?)
|
953
|
+
nil
|
954
|
+
else
|
955
|
+
Addressable::URI.normalize_component(
|
956
|
+
self.user.strip,
|
957
|
+
Addressable::URI::NormalizeCharacterClasses::UNRESERVED
|
958
|
+
)
|
959
|
+
end
|
960
|
+
end
|
961
|
+
# All normalized values should be UTF-8
|
962
|
+
force_utf8_encoding_if_needed(@normalized_user)
|
963
|
+
@normalized_user
|
964
|
+
end
|
965
|
+
|
966
|
+
##
|
967
|
+
# Sets the user component for this URI.
|
968
|
+
#
|
969
|
+
# @param [String, #to_str] new_user The new user component.
|
970
|
+
def user=(new_user)
|
971
|
+
if new_user && !new_user.respond_to?(:to_str)
|
972
|
+
raise TypeError, "Can't convert #{new_user.class} into String."
|
973
|
+
end
|
974
|
+
@user = new_user ? new_user.to_str : nil
|
975
|
+
|
976
|
+
# You can't have a nil user with a non-nil password
|
977
|
+
if password != nil
|
978
|
+
@user = EMPTY_STR unless user
|
979
|
+
end
|
980
|
+
|
981
|
+
# Reset dependent values
|
982
|
+
@userinfo = nil
|
983
|
+
@normalized_userinfo = NONE
|
984
|
+
@authority = nil
|
985
|
+
@normalized_user = NONE
|
986
|
+
remove_composite_values
|
987
|
+
|
988
|
+
# Ensure we haven't created an invalid URI
|
989
|
+
validate()
|
990
|
+
end
|
991
|
+
|
992
|
+
##
|
993
|
+
# The password component for this URI.
|
994
|
+
#
|
995
|
+
# @return [String] The password component.
|
996
|
+
attr_reader :password
|
997
|
+
|
998
|
+
##
|
999
|
+
# The password component for this URI, normalized.
|
1000
|
+
#
|
1001
|
+
# @return [String] The password component, normalized.
|
1002
|
+
def normalized_password
|
1003
|
+
return nil unless self.password
|
1004
|
+
return @normalized_password unless @normalized_password == NONE
|
1005
|
+
@normalized_password = begin
|
1006
|
+
if self.normalized_scheme =~ /https?/ && self.password.strip.empty? &&
|
1007
|
+
(!self.user || self.user.strip.empty?)
|
1008
|
+
nil
|
1009
|
+
else
|
1010
|
+
Addressable::URI.normalize_component(
|
1011
|
+
self.password.strip,
|
1012
|
+
Addressable::URI::NormalizeCharacterClasses::UNRESERVED
|
1013
|
+
)
|
1014
|
+
end
|
1015
|
+
end
|
1016
|
+
# All normalized values should be UTF-8
|
1017
|
+
force_utf8_encoding_if_needed(@normalized_password)
|
1018
|
+
@normalized_password
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
##
|
1022
|
+
# Sets the password component for this URI.
|
1023
|
+
#
|
1024
|
+
# @param [String, #to_str] new_password The new password component.
|
1025
|
+
def password=(new_password)
|
1026
|
+
if new_password && !new_password.respond_to?(:to_str)
|
1027
|
+
raise TypeError, "Can't convert #{new_password.class} into String."
|
1028
|
+
end
|
1029
|
+
@password = new_password ? new_password.to_str : nil
|
1030
|
+
|
1031
|
+
# You can't have a nil user with a non-nil password
|
1032
|
+
if @password != nil
|
1033
|
+
self.user = EMPTY_STR if user.nil?
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
# Reset dependent values
|
1037
|
+
@userinfo = nil
|
1038
|
+
@normalized_userinfo = NONE
|
1039
|
+
@authority = nil
|
1040
|
+
@normalized_password = NONE
|
1041
|
+
remove_composite_values
|
1042
|
+
|
1043
|
+
# Ensure we haven't created an invalid URI
|
1044
|
+
validate()
|
1045
|
+
end
|
1046
|
+
|
1047
|
+
##
|
1048
|
+
# The userinfo component for this URI.
|
1049
|
+
# Combines the user and password components.
|
1050
|
+
#
|
1051
|
+
# @return [String] The userinfo component.
|
1052
|
+
def userinfo
|
1053
|
+
current_user = self.user
|
1054
|
+
current_password = self.password
|
1055
|
+
(current_user || current_password) && @userinfo ||= begin
|
1056
|
+
if current_user && current_password
|
1057
|
+
"#{current_user}:#{current_password}"
|
1058
|
+
elsif current_user && !current_password
|
1059
|
+
"#{current_user}"
|
1060
|
+
end
|
1061
|
+
end
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
##
|
1065
|
+
# The userinfo component for this URI, normalized.
|
1066
|
+
#
|
1067
|
+
# @return [String] The userinfo component, normalized.
|
1068
|
+
def normalized_userinfo
|
1069
|
+
return nil unless self.userinfo
|
1070
|
+
return @normalized_userinfo unless @normalized_userinfo == NONE
|
1071
|
+
@normalized_userinfo = begin
|
1072
|
+
current_user = self.normalized_user
|
1073
|
+
current_password = self.normalized_password
|
1074
|
+
if !current_user && !current_password
|
1075
|
+
nil
|
1076
|
+
elsif current_user && current_password
|
1077
|
+
"#{current_user}:#{current_password}".dup
|
1078
|
+
elsif current_user && !current_password
|
1079
|
+
"#{current_user}".dup
|
1080
|
+
end
|
1081
|
+
end
|
1082
|
+
# All normalized values should be UTF-8
|
1083
|
+
force_utf8_encoding_if_needed(@normalized_userinfo)
|
1084
|
+
@normalized_userinfo
|
1085
|
+
end
|
1086
|
+
|
1087
|
+
##
|
1088
|
+
# Sets the userinfo component for this URI.
|
1089
|
+
#
|
1090
|
+
# @param [String, #to_str] new_userinfo The new userinfo component.
|
1091
|
+
def userinfo=(new_userinfo)
|
1092
|
+
if new_userinfo && !new_userinfo.respond_to?(:to_str)
|
1093
|
+
raise TypeError, "Can't convert #{new_userinfo.class} into String."
|
1094
|
+
end
|
1095
|
+
new_user, new_password = if new_userinfo
|
1096
|
+
[
|
1097
|
+
new_userinfo.to_str.strip[/^(.*):/, 1],
|
1098
|
+
new_userinfo.to_str.strip[/:(.*)$/, 1]
|
1099
|
+
]
|
1100
|
+
else
|
1101
|
+
[nil, nil]
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
# Password assigned first to ensure validity in case of nil
|
1105
|
+
self.password = new_password
|
1106
|
+
self.user = new_user
|
1107
|
+
|
1108
|
+
# Reset dependent values
|
1109
|
+
@authority = nil
|
1110
|
+
remove_composite_values
|
1111
|
+
|
1112
|
+
# Ensure we haven't created an invalid URI
|
1113
|
+
validate()
|
1114
|
+
end
|
1115
|
+
|
1116
|
+
##
|
1117
|
+
# The host component for this URI.
|
1118
|
+
#
|
1119
|
+
# @return [String] The host component.
|
1120
|
+
attr_reader :host
|
1121
|
+
|
1122
|
+
##
|
1123
|
+
# The host component for this URI, normalized.
|
1124
|
+
#
|
1125
|
+
# @return [String] The host component, normalized.
|
1126
|
+
def normalized_host
|
1127
|
+
return nil unless self.host
|
1128
|
+
|
1129
|
+
@normalized_host ||= begin
|
1130
|
+
if !self.host.strip.empty?
|
1131
|
+
result = ::Addressable::IDNA.to_ascii(
|
1132
|
+
URI.unencode_component(self.host.strip.downcase)
|
1133
|
+
)
|
1134
|
+
if result =~ /[^\.]\.$/
|
1135
|
+
# Single trailing dots are unnecessary.
|
1136
|
+
result = result[0...-1]
|
1137
|
+
end
|
1138
|
+
result = Addressable::URI.normalize_component(
|
1139
|
+
result,
|
1140
|
+
NormalizeCharacterClasses::HOST
|
1141
|
+
)
|
1142
|
+
result
|
1143
|
+
else
|
1144
|
+
EMPTY_STR.dup
|
1145
|
+
end
|
1146
|
+
end
|
1147
|
+
# All normalized values should be UTF-8
|
1148
|
+
force_utf8_encoding_if_needed(@normalized_host)
|
1149
|
+
@normalized_host
|
1150
|
+
end
|
1151
|
+
|
1152
|
+
##
|
1153
|
+
# Sets the host component for this URI.
|
1154
|
+
#
|
1155
|
+
# @param [String, #to_str] new_host The new host component.
|
1156
|
+
def host=(new_host)
|
1157
|
+
if new_host && !new_host.respond_to?(:to_str)
|
1158
|
+
raise TypeError, "Can't convert #{new_host.class} into String."
|
1159
|
+
end
|
1160
|
+
@host = new_host ? new_host.to_str : nil
|
1161
|
+
|
1162
|
+
# Reset dependent values
|
1163
|
+
@authority = nil
|
1164
|
+
@normalized_host = nil
|
1165
|
+
remove_composite_values
|
1166
|
+
|
1167
|
+
# Ensure we haven't created an invalid URI
|
1168
|
+
validate()
|
1169
|
+
end
|
1170
|
+
|
1171
|
+
##
|
1172
|
+
# This method is same as URI::Generic#host except
|
1173
|
+
# brackets for IPv6 (and 'IPvFuture') addresses are removed.
|
1174
|
+
#
|
1175
|
+
# @see Addressable::URI#host
|
1176
|
+
#
|
1177
|
+
# @return [String] The hostname for this URI.
|
1178
|
+
def hostname
|
1179
|
+
v = self.host
|
1180
|
+
/\A\[(.*)\]\z/ =~ v ? $1 : v
|
1181
|
+
end
|
1182
|
+
|
1183
|
+
##
|
1184
|
+
# This method is same as URI::Generic#host= except
|
1185
|
+
# the argument can be a bare IPv6 address (or 'IPvFuture').
|
1186
|
+
#
|
1187
|
+
# @see Addressable::URI#host=
|
1188
|
+
#
|
1189
|
+
# @param [String, #to_str] new_hostname The new hostname for this URI.
|
1190
|
+
def hostname=(new_hostname)
|
1191
|
+
if new_hostname &&
|
1192
|
+
(new_hostname.respond_to?(:ipv4?) || new_hostname.respond_to?(:ipv6?))
|
1193
|
+
new_hostname = new_hostname.to_s
|
1194
|
+
elsif new_hostname && !new_hostname.respond_to?(:to_str)
|
1195
|
+
raise TypeError, "Can't convert #{new_hostname.class} into String."
|
1196
|
+
end
|
1197
|
+
v = new_hostname ? new_hostname.to_str : nil
|
1198
|
+
v = "[#{v}]" if /\A\[.*\]\z/ !~ v && /:/ =~ v
|
1199
|
+
self.host = v
|
1200
|
+
end
|
1201
|
+
|
1202
|
+
##
|
1203
|
+
# Returns the top-level domain for this host.
|
1204
|
+
#
|
1205
|
+
# @example
|
1206
|
+
# Addressable::URI.parse("http://www.example.co.uk").tld # => "co.uk"
|
1207
|
+
def tld
|
1208
|
+
PublicSuffix.parse(self.host, ignore_private: true).tld
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
##
|
1212
|
+
# Sets the top-level domain for this URI.
|
1213
|
+
#
|
1214
|
+
# @param [String, #to_str] new_tld The new top-level domain.
|
1215
|
+
def tld=(new_tld)
|
1216
|
+
replaced_tld = host.sub(/#{tld}\z/, new_tld)
|
1217
|
+
self.host = PublicSuffix::Domain.new(replaced_tld).to_s
|
1218
|
+
end
|
1219
|
+
|
1220
|
+
##
|
1221
|
+
# Returns the public suffix domain for this host.
|
1222
|
+
#
|
1223
|
+
# @example
|
1224
|
+
# Addressable::URI.parse("http://www.example.co.uk").domain # => "example.co.uk"
|
1225
|
+
def domain
|
1226
|
+
PublicSuffix.domain(self.host, ignore_private: true)
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
##
|
1230
|
+
# The authority component for this URI.
|
1231
|
+
# Combines the user, password, host, and port components.
|
1232
|
+
#
|
1233
|
+
# @return [String] The authority component.
|
1234
|
+
def authority
|
1235
|
+
self.host && @authority ||= begin
|
1236
|
+
authority = String.new
|
1237
|
+
if self.userinfo != nil
|
1238
|
+
authority << "#{self.userinfo}@"
|
1239
|
+
end
|
1240
|
+
authority << self.host
|
1241
|
+
if self.port != nil
|
1242
|
+
authority << ":#{self.port}"
|
1243
|
+
end
|
1244
|
+
authority
|
1245
|
+
end
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
##
|
1249
|
+
# The authority component for this URI, normalized.
|
1250
|
+
#
|
1251
|
+
# @return [String] The authority component, normalized.
|
1252
|
+
def normalized_authority
|
1253
|
+
return nil unless self.authority
|
1254
|
+
@normalized_authority ||= begin
|
1255
|
+
authority = String.new
|
1256
|
+
if self.normalized_userinfo != nil
|
1257
|
+
authority << "#{self.normalized_userinfo}@"
|
1258
|
+
end
|
1259
|
+
authority << self.normalized_host
|
1260
|
+
if self.normalized_port != nil
|
1261
|
+
authority << ":#{self.normalized_port}"
|
1262
|
+
end
|
1263
|
+
authority
|
1264
|
+
end
|
1265
|
+
# All normalized values should be UTF-8
|
1266
|
+
force_utf8_encoding_if_needed(@normalized_authority)
|
1267
|
+
@normalized_authority
|
1268
|
+
end
|
1269
|
+
|
1270
|
+
##
|
1271
|
+
# Sets the authority component for this URI.
|
1272
|
+
#
|
1273
|
+
# @param [String, #to_str] new_authority The new authority component.
|
1274
|
+
def authority=(new_authority)
|
1275
|
+
if new_authority
|
1276
|
+
if !new_authority.respond_to?(:to_str)
|
1277
|
+
raise TypeError, "Can't convert #{new_authority.class} into String."
|
1278
|
+
end
|
1279
|
+
new_authority = new_authority.to_str
|
1280
|
+
new_userinfo = new_authority[/^([^\[\]]*)@/, 1]
|
1281
|
+
if new_userinfo
|
1282
|
+
new_user = new_userinfo.strip[/^([^:]*):?/, 1]
|
1283
|
+
new_password = new_userinfo.strip[/:(.*)$/, 1]
|
1284
|
+
end
|
1285
|
+
new_host = new_authority.sub(
|
1286
|
+
/^([^\[\]]*)@/, EMPTY_STR
|
1287
|
+
).sub(
|
1288
|
+
/:([^:@\[\]]*?)$/, EMPTY_STR
|
1289
|
+
)
|
1290
|
+
new_port =
|
1291
|
+
new_authority[/:([^:@\[\]]*?)$/, 1]
|
1292
|
+
end
|
1293
|
+
|
1294
|
+
# Password assigned first to ensure validity in case of nil
|
1295
|
+
self.password = new_password
|
1296
|
+
self.user = new_user
|
1297
|
+
self.host = new_host
|
1298
|
+
self.port = new_port
|
1299
|
+
|
1300
|
+
# Reset dependent values
|
1301
|
+
@userinfo = nil
|
1302
|
+
@normalized_userinfo = NONE
|
1303
|
+
remove_composite_values
|
1304
|
+
|
1305
|
+
# Ensure we haven't created an invalid URI
|
1306
|
+
validate()
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
##
|
1310
|
+
# The origin for this URI, serialized to ASCII, as per
|
1311
|
+
# RFC 6454, section 6.2.
|
1312
|
+
#
|
1313
|
+
# @return [String] The serialized origin.
|
1314
|
+
def origin
|
1315
|
+
if self.scheme && self.authority
|
1316
|
+
if self.normalized_port
|
1317
|
+
"#{self.normalized_scheme}://#{self.normalized_host}" +
|
1318
|
+
":#{self.normalized_port}"
|
1319
|
+
else
|
1320
|
+
"#{self.normalized_scheme}://#{self.normalized_host}"
|
1321
|
+
end
|
1322
|
+
else
|
1323
|
+
"null"
|
1324
|
+
end
|
1325
|
+
end
|
1326
|
+
|
1327
|
+
##
|
1328
|
+
# Sets the origin for this URI, serialized to ASCII, as per
|
1329
|
+
# RFC 6454, section 6.2. This assignment will reset the `userinfo`
|
1330
|
+
# component.
|
1331
|
+
#
|
1332
|
+
# @param [String, #to_str] new_origin The new origin component.
|
1333
|
+
def origin=(new_origin)
|
1334
|
+
if new_origin
|
1335
|
+
if !new_origin.respond_to?(:to_str)
|
1336
|
+
raise TypeError, "Can't convert #{new_origin.class} into String."
|
1337
|
+
end
|
1338
|
+
new_origin = new_origin.to_str
|
1339
|
+
new_scheme = new_origin[/^([^:\/?#]+):\/\//, 1]
|
1340
|
+
unless new_scheme
|
1341
|
+
raise InvalidURIError, 'An origin cannot omit the scheme.'
|
1342
|
+
end
|
1343
|
+
new_host = new_origin[/:\/\/([^\/?#:]+)/, 1]
|
1344
|
+
unless new_host
|
1345
|
+
raise InvalidURIError, 'An origin cannot omit the host.'
|
1346
|
+
end
|
1347
|
+
new_port = new_origin[/:([^:@\[\]\/]*?)$/, 1]
|
1348
|
+
end
|
1349
|
+
|
1350
|
+
self.scheme = new_scheme
|
1351
|
+
self.host = new_host
|
1352
|
+
self.port = new_port
|
1353
|
+
self.userinfo = nil
|
1354
|
+
|
1355
|
+
# Reset dependent values
|
1356
|
+
@userinfo = nil
|
1357
|
+
@normalized_userinfo = NONE
|
1358
|
+
@authority = nil
|
1359
|
+
@normalized_authority = nil
|
1360
|
+
remove_composite_values
|
1361
|
+
|
1362
|
+
# Ensure we haven't created an invalid URI
|
1363
|
+
validate()
|
1364
|
+
end
|
1365
|
+
|
1366
|
+
# Returns an array of known ip-based schemes. These schemes typically
|
1367
|
+
# use a similar URI form:
|
1368
|
+
# <code>//<user>:<password>@<host>:<port>/<url-path></code>
|
1369
|
+
def self.ip_based_schemes
|
1370
|
+
return self.port_mapping.keys
|
1371
|
+
end
|
1372
|
+
|
1373
|
+
# Returns a hash of common IP-based schemes and their default port
|
1374
|
+
# numbers. Adding new schemes to this hash, as necessary, will allow
|
1375
|
+
# for better URI normalization.
|
1376
|
+
def self.port_mapping
|
1377
|
+
PORT_MAPPING
|
1378
|
+
end
|
1379
|
+
|
1380
|
+
##
|
1381
|
+
# The port component for this URI.
|
1382
|
+
# This is the port number actually given in the URI. This does not
|
1383
|
+
# infer port numbers from default values.
|
1384
|
+
#
|
1385
|
+
# @return [Integer] The port component.
|
1386
|
+
attr_reader :port
|
1387
|
+
|
1388
|
+
##
|
1389
|
+
# The port component for this URI, normalized.
|
1390
|
+
#
|
1391
|
+
# @return [Integer] The port component, normalized.
|
1392
|
+
def normalized_port
|
1393
|
+
return nil unless self.port
|
1394
|
+
return @normalized_port unless @normalized_port == NONE
|
1395
|
+
@normalized_port = begin
|
1396
|
+
if URI.port_mapping[self.normalized_scheme] == self.port
|
1397
|
+
nil
|
1398
|
+
else
|
1399
|
+
self.port
|
1400
|
+
end
|
1401
|
+
end
|
1402
|
+
end
|
1403
|
+
|
1404
|
+
##
|
1405
|
+
# Sets the port component for this URI.
|
1406
|
+
#
|
1407
|
+
# @param [String, Integer, #to_s] new_port The new port component.
|
1408
|
+
def port=(new_port)
|
1409
|
+
if new_port != nil && new_port.respond_to?(:to_str)
|
1410
|
+
new_port = Addressable::URI.unencode_component(new_port.to_str)
|
1411
|
+
end
|
1412
|
+
|
1413
|
+
if new_port.respond_to?(:valid_encoding?) && !new_port.valid_encoding?
|
1414
|
+
raise InvalidURIError, "Invalid encoding in port"
|
1415
|
+
end
|
1416
|
+
|
1417
|
+
if new_port != nil && !(new_port.to_s =~ /^\d+$/)
|
1418
|
+
raise InvalidURIError,
|
1419
|
+
"Invalid port number: #{new_port.inspect}"
|
1420
|
+
end
|
1421
|
+
|
1422
|
+
@port = new_port.to_s.to_i
|
1423
|
+
@port = nil if @port == 0
|
1424
|
+
|
1425
|
+
# Reset dependent values
|
1426
|
+
@authority = nil
|
1427
|
+
@normalized_port = NONE
|
1428
|
+
remove_composite_values
|
1429
|
+
|
1430
|
+
# Ensure we haven't created an invalid URI
|
1431
|
+
validate()
|
1432
|
+
end
|
1433
|
+
|
1434
|
+
##
|
1435
|
+
# The inferred port component for this URI.
|
1436
|
+
# This method will normalize to the default port for the URI's scheme if
|
1437
|
+
# the port isn't explicitly specified in the URI.
|
1438
|
+
#
|
1439
|
+
# @return [Integer] The inferred port component.
|
1440
|
+
def inferred_port
|
1441
|
+
if self.port.to_i == 0
|
1442
|
+
self.default_port
|
1443
|
+
else
|
1444
|
+
self.port.to_i
|
1445
|
+
end
|
1446
|
+
end
|
1447
|
+
|
1448
|
+
##
|
1449
|
+
# The default port for this URI's scheme.
|
1450
|
+
# This method will always returns the default port for the URI's scheme
|
1451
|
+
# regardless of the presence of an explicit port in the URI.
|
1452
|
+
#
|
1453
|
+
# @return [Integer] The default port.
|
1454
|
+
def default_port
|
1455
|
+
URI.port_mapping[self.scheme.strip.downcase] if self.scheme
|
1456
|
+
end
|
1457
|
+
|
1458
|
+
##
|
1459
|
+
# The combination of components that represent a site.
|
1460
|
+
# Combines the scheme, user, password, host, and port components.
|
1461
|
+
# Primarily useful for HTTP and HTTPS.
|
1462
|
+
#
|
1463
|
+
# For example, <code>"http://example.com/path?query"</code> would have a
|
1464
|
+
# <code>site</code> value of <code>"http://example.com"</code>.
|
1465
|
+
#
|
1466
|
+
# @return [String] The components that identify a site.
|
1467
|
+
def site
|
1468
|
+
(self.scheme || self.authority) && @site ||= begin
|
1469
|
+
site_string = "".dup
|
1470
|
+
site_string << "#{self.scheme}:" if self.scheme != nil
|
1471
|
+
site_string << "//#{self.authority}" if self.authority != nil
|
1472
|
+
site_string
|
1473
|
+
end
|
1474
|
+
end
|
1475
|
+
|
1476
|
+
##
|
1477
|
+
# The normalized combination of components that represent a site.
|
1478
|
+
# Combines the scheme, user, password, host, and port components.
|
1479
|
+
# Primarily useful for HTTP and HTTPS.
|
1480
|
+
#
|
1481
|
+
# For example, <code>"http://example.com/path?query"</code> would have a
|
1482
|
+
# <code>site</code> value of <code>"http://example.com"</code>.
|
1483
|
+
#
|
1484
|
+
# @return [String] The normalized components that identify a site.
|
1485
|
+
def normalized_site
|
1486
|
+
return nil unless self.site
|
1487
|
+
@normalized_site ||= begin
|
1488
|
+
site_string = "".dup
|
1489
|
+
if self.normalized_scheme != nil
|
1490
|
+
site_string << "#{self.normalized_scheme}:"
|
1491
|
+
end
|
1492
|
+
if self.normalized_authority != nil
|
1493
|
+
site_string << "//#{self.normalized_authority}"
|
1494
|
+
end
|
1495
|
+
site_string
|
1496
|
+
end
|
1497
|
+
# All normalized values should be UTF-8
|
1498
|
+
force_utf8_encoding_if_needed(@normalized_site)
|
1499
|
+
@normalized_site
|
1500
|
+
end
|
1501
|
+
|
1502
|
+
##
|
1503
|
+
# Sets the site value for this URI.
|
1504
|
+
#
|
1505
|
+
# @param [String, #to_str] new_site The new site value.
|
1506
|
+
def site=(new_site)
|
1507
|
+
if new_site
|
1508
|
+
if !new_site.respond_to?(:to_str)
|
1509
|
+
raise TypeError, "Can't convert #{new_site.class} into String."
|
1510
|
+
end
|
1511
|
+
new_site = new_site.to_str
|
1512
|
+
# These two regular expressions derived from the primary parsing
|
1513
|
+
# expression
|
1514
|
+
self.scheme = new_site[/^(?:([^:\/?#]+):)?(?:\/\/(?:[^\/?#]*))?$/, 1]
|
1515
|
+
self.authority = new_site[
|
1516
|
+
/^(?:(?:[^:\/?#]+):)?(?:\/\/([^\/?#]*))?$/, 1
|
1517
|
+
]
|
1518
|
+
else
|
1519
|
+
self.scheme = nil
|
1520
|
+
self.authority = nil
|
1521
|
+
end
|
1522
|
+
end
|
1523
|
+
|
1524
|
+
##
|
1525
|
+
# The path component for this URI.
|
1526
|
+
#
|
1527
|
+
# @return [String] The path component.
|
1528
|
+
attr_reader :path
|
1529
|
+
|
1530
|
+
NORMPATH = /^(?!\/)[^\/:]*:.*$/
|
1531
|
+
##
|
1532
|
+
# The path component for this URI, normalized.
|
1533
|
+
#
|
1534
|
+
# @return [String] The path component, normalized.
|
1535
|
+
def normalized_path
|
1536
|
+
@normalized_path ||= begin
|
1537
|
+
path = self.path.to_s
|
1538
|
+
if self.scheme == nil && path =~ NORMPATH
|
1539
|
+
# Relative paths with colons in the first segment are ambiguous.
|
1540
|
+
path = path.sub(":", "%2F")
|
1541
|
+
end
|
1542
|
+
# String#split(delimiter, -1) uses the more strict splitting behavior
|
1543
|
+
# found by default in Python.
|
1544
|
+
result = path.strip.split(SLASH, -1).map do |segment|
|
1545
|
+
Addressable::URI.normalize_component(
|
1546
|
+
segment,
|
1547
|
+
Addressable::URI::NormalizeCharacterClasses::PCHAR
|
1548
|
+
)
|
1549
|
+
end.join(SLASH)
|
1550
|
+
|
1551
|
+
result = URI.normalize_path(result)
|
1552
|
+
if result.empty? &&
|
1553
|
+
["http", "https", "ftp", "tftp"].include?(self.normalized_scheme)
|
1554
|
+
result = SLASH.dup
|
1555
|
+
end
|
1556
|
+
result
|
1557
|
+
end
|
1558
|
+
# All normalized values should be UTF-8
|
1559
|
+
force_utf8_encoding_if_needed(@normalized_path)
|
1560
|
+
@normalized_path
|
1561
|
+
end
|
1562
|
+
|
1563
|
+
##
|
1564
|
+
# Sets the path component for this URI.
|
1565
|
+
#
|
1566
|
+
# @param [String, #to_str] new_path The new path component.
|
1567
|
+
def path=(new_path)
|
1568
|
+
if new_path && !new_path.respond_to?(:to_str)
|
1569
|
+
raise TypeError, "Can't convert #{new_path.class} into String."
|
1570
|
+
end
|
1571
|
+
@path = (new_path || EMPTY_STR).to_str
|
1572
|
+
if !@path.empty? && @path[0..0] != SLASH && host != nil
|
1573
|
+
@path = "/#{@path}"
|
1574
|
+
end
|
1575
|
+
|
1576
|
+
# Reset dependent values
|
1577
|
+
@normalized_path = nil
|
1578
|
+
remove_composite_values
|
1579
|
+
|
1580
|
+
# Ensure we haven't created an invalid URI
|
1581
|
+
validate()
|
1582
|
+
end
|
1583
|
+
|
1584
|
+
##
|
1585
|
+
# The basename, if any, of the file in the path component.
|
1586
|
+
#
|
1587
|
+
# @return [String] The path's basename.
|
1588
|
+
def basename
|
1589
|
+
# Path cannot be nil
|
1590
|
+
return File.basename(self.path).sub(/;[^\/]*$/, EMPTY_STR)
|
1591
|
+
end
|
1592
|
+
|
1593
|
+
##
|
1594
|
+
# The extname, if any, of the file in the path component.
|
1595
|
+
# Empty string if there is no extension.
|
1596
|
+
#
|
1597
|
+
# @return [String] The path's extname.
|
1598
|
+
def extname
|
1599
|
+
return nil unless self.path
|
1600
|
+
return File.extname(self.basename)
|
1601
|
+
end
|
1602
|
+
|
1603
|
+
##
|
1604
|
+
# The query component for this URI.
|
1605
|
+
#
|
1606
|
+
# @return [String] The query component.
|
1607
|
+
attr_reader :query
|
1608
|
+
|
1609
|
+
##
|
1610
|
+
# The query component for this URI, normalized.
|
1611
|
+
#
|
1612
|
+
# @return [String] The query component, normalized.
|
1613
|
+
def normalized_query(*flags)
|
1614
|
+
return nil unless self.query
|
1615
|
+
return @normalized_query unless @normalized_query == NONE
|
1616
|
+
@normalized_query = begin
|
1617
|
+
modified_query_class = Addressable::URI::CharacterClasses::QUERY.dup
|
1618
|
+
# Make sure possible key-value pair delimiters are escaped.
|
1619
|
+
modified_query_class.sub!("\\&", "").sub!("\\;", "")
|
1620
|
+
pairs = (query || "").split("&", -1)
|
1621
|
+
pairs.delete_if(&:empty?).uniq! if flags.include?(:compacted)
|
1622
|
+
pairs.sort! if flags.include?(:sorted)
|
1623
|
+
component = pairs.map do |pair|
|
1624
|
+
Addressable::URI.normalize_component(
|
1625
|
+
pair,
|
1626
|
+
Addressable::URI::NormalizeCharacterClasses::QUERY,
|
1627
|
+
"+"
|
1628
|
+
)
|
1629
|
+
end.join("&")
|
1630
|
+
component == "" ? nil : component
|
1631
|
+
end
|
1632
|
+
# All normalized values should be UTF-8
|
1633
|
+
force_utf8_encoding_if_needed(@normalized_query)
|
1634
|
+
@normalized_query
|
1635
|
+
end
|
1636
|
+
|
1637
|
+
##
|
1638
|
+
# Sets the query component for this URI.
|
1639
|
+
#
|
1640
|
+
# @param [String, #to_str] new_query The new query component.
|
1641
|
+
def query=(new_query)
|
1642
|
+
if new_query && !new_query.respond_to?(:to_str)
|
1643
|
+
raise TypeError, "Can't convert #{new_query.class} into String."
|
1644
|
+
end
|
1645
|
+
@query = new_query ? new_query.to_str : nil
|
1646
|
+
|
1647
|
+
# Reset dependent values
|
1648
|
+
@normalized_query = NONE
|
1649
|
+
remove_composite_values
|
1650
|
+
end
|
1651
|
+
|
1652
|
+
##
|
1653
|
+
# Converts the query component to a Hash value.
|
1654
|
+
#
|
1655
|
+
# @param [Class] return_type The return type desired. Value must be either
|
1656
|
+
# `Hash` or `Array`.
|
1657
|
+
#
|
1658
|
+
# @return [Hash, Array, nil] The query string parsed as a Hash or Array
|
1659
|
+
# or nil if the query string is blank.
|
1660
|
+
#
|
1661
|
+
# @example
|
1662
|
+
# Addressable::URI.parse("?one=1&two=2&three=3").query_values
|
1663
|
+
# #=> {"one" => "1", "two" => "2", "three" => "3"}
|
1664
|
+
# Addressable::URI.parse("?one=two&one=three").query_values(Array)
|
1665
|
+
# #=> [["one", "two"], ["one", "three"]]
|
1666
|
+
# Addressable::URI.parse("?one=two&one=three").query_values(Hash)
|
1667
|
+
# #=> {"one" => "three"}
|
1668
|
+
# Addressable::URI.parse("?").query_values
|
1669
|
+
# #=> {}
|
1670
|
+
# Addressable::URI.parse("").query_values
|
1671
|
+
# #=> nil
|
1672
|
+
def query_values(return_type=Hash)
|
1673
|
+
empty_accumulator = Array == return_type ? [] : {}
|
1674
|
+
if return_type != Hash && return_type != Array
|
1675
|
+
raise ArgumentError, "Invalid return type. Must be Hash or Array."
|
1676
|
+
end
|
1677
|
+
return nil if self.query == nil
|
1678
|
+
split_query = self.query.split("&").map do |pair|
|
1679
|
+
pair.split("=", 2) if pair && !pair.empty?
|
1680
|
+
end.compact
|
1681
|
+
return split_query.inject(empty_accumulator.dup) do |accu, pair|
|
1682
|
+
# I'd rather use key/value identifiers instead of array lookups,
|
1683
|
+
# but in this case I really want to maintain the exact pair structure,
|
1684
|
+
# so it's best to make all changes in-place.
|
1685
|
+
pair[0] = URI.unencode_component(pair[0])
|
1686
|
+
if pair[1].respond_to?(:to_str)
|
1687
|
+
value = pair[1].to_str
|
1688
|
+
# I loathe the fact that I have to do this. Stupid HTML 4.01.
|
1689
|
+
# Treating '+' as a space was just an unbelievably bad idea.
|
1690
|
+
# There was nothing wrong with '%20'!
|
1691
|
+
# If it ain't broke, don't fix it!
|
1692
|
+
value = value.tr("+", " ") if ["http", "https", nil].include?(scheme)
|
1693
|
+
pair[1] = URI.unencode_component(value)
|
1694
|
+
end
|
1695
|
+
if return_type == Hash
|
1696
|
+
accu[pair[0]] = pair[1]
|
1697
|
+
else
|
1698
|
+
accu << pair
|
1699
|
+
end
|
1700
|
+
accu
|
1701
|
+
end
|
1702
|
+
end
|
1703
|
+
|
1704
|
+
##
|
1705
|
+
# Sets the query component for this URI from a Hash object.
|
1706
|
+
# An empty Hash or Array will result in an empty query string.
|
1707
|
+
#
|
1708
|
+
# @param [Hash, #to_hash, Array] new_query_values The new query values.
|
1709
|
+
#
|
1710
|
+
# @example
|
1711
|
+
# uri.query_values = {:a => "a", :b => ["c", "d", "e"]}
|
1712
|
+
# uri.query
|
1713
|
+
# # => "a=a&b=c&b=d&b=e"
|
1714
|
+
# uri.query_values = [['a', 'a'], ['b', 'c'], ['b', 'd'], ['b', 'e']]
|
1715
|
+
# uri.query
|
1716
|
+
# # => "a=a&b=c&b=d&b=e"
|
1717
|
+
# uri.query_values = [['a', 'a'], ['b', ['c', 'd', 'e']]]
|
1718
|
+
# uri.query
|
1719
|
+
# # => "a=a&b=c&b=d&b=e"
|
1720
|
+
# uri.query_values = [['flag'], ['key', 'value']]
|
1721
|
+
# uri.query
|
1722
|
+
# # => "flag&key=value"
|
1723
|
+
def query_values=(new_query_values)
|
1724
|
+
if new_query_values == nil
|
1725
|
+
self.query = nil
|
1726
|
+
return nil
|
1727
|
+
end
|
1728
|
+
|
1729
|
+
if !new_query_values.is_a?(Array)
|
1730
|
+
if !new_query_values.respond_to?(:to_hash)
|
1731
|
+
raise TypeError,
|
1732
|
+
"Can't convert #{new_query_values.class} into Hash."
|
1733
|
+
end
|
1734
|
+
new_query_values = new_query_values.to_hash
|
1735
|
+
new_query_values = new_query_values.map do |key, value|
|
1736
|
+
key = key.to_s if key.kind_of?(Symbol)
|
1737
|
+
[key, value]
|
1738
|
+
end
|
1739
|
+
# Useful default for OAuth and caching.
|
1740
|
+
# Only to be used for non-Array inputs. Arrays should preserve order.
|
1741
|
+
new_query_values.sort!
|
1742
|
+
end
|
1743
|
+
|
1744
|
+
# new_query_values have form [['key1', 'value1'], ['key2', 'value2']]
|
1745
|
+
buffer = "".dup
|
1746
|
+
new_query_values.each do |key, value|
|
1747
|
+
encoded_key = URI.encode_component(
|
1748
|
+
key, CharacterClassesRegexps::UNRESERVED
|
1749
|
+
)
|
1750
|
+
if value == nil
|
1751
|
+
buffer << "#{encoded_key}&"
|
1752
|
+
elsif value.kind_of?(Array)
|
1753
|
+
value.each do |sub_value|
|
1754
|
+
encoded_value = URI.encode_component(
|
1755
|
+
sub_value, CharacterClassesRegexps::UNRESERVED
|
1756
|
+
)
|
1757
|
+
buffer << "#{encoded_key}=#{encoded_value}&"
|
1758
|
+
end
|
1759
|
+
else
|
1760
|
+
encoded_value = URI.encode_component(
|
1761
|
+
value, CharacterClassesRegexps::UNRESERVED
|
1762
|
+
)
|
1763
|
+
buffer << "#{encoded_key}=#{encoded_value}&"
|
1764
|
+
end
|
1765
|
+
end
|
1766
|
+
self.query = buffer.chop
|
1767
|
+
end
|
1768
|
+
|
1769
|
+
##
|
1770
|
+
# The HTTP request URI for this URI. This is the path and the
|
1771
|
+
# query string.
|
1772
|
+
#
|
1773
|
+
# @return [String] The request URI required for an HTTP request.
|
1774
|
+
def request_uri
|
1775
|
+
return nil if self.absolute? && self.scheme !~ /^https?$/i
|
1776
|
+
return (
|
1777
|
+
(!self.path.empty? ? self.path : SLASH) +
|
1778
|
+
(self.query ? "?#{self.query}" : EMPTY_STR)
|
1779
|
+
)
|
1780
|
+
end
|
1781
|
+
|
1782
|
+
##
|
1783
|
+
# Sets the HTTP request URI for this URI.
|
1784
|
+
#
|
1785
|
+
# @param [String, #to_str] new_request_uri The new HTTP request URI.
|
1786
|
+
def request_uri=(new_request_uri)
|
1787
|
+
if !new_request_uri.respond_to?(:to_str)
|
1788
|
+
raise TypeError, "Can't convert #{new_request_uri.class} into String."
|
1789
|
+
end
|
1790
|
+
if self.absolute? && self.scheme !~ /^https?$/i
|
1791
|
+
raise InvalidURIError,
|
1792
|
+
"Cannot set an HTTP request URI for a non-HTTP URI."
|
1793
|
+
end
|
1794
|
+
new_request_uri = new_request_uri.to_str
|
1795
|
+
path_component = new_request_uri[/^([^\?]*)\??(?:.*)$/, 1]
|
1796
|
+
query_component = new_request_uri[/^(?:[^\?]*)\?(.*)$/, 1]
|
1797
|
+
path_component = path_component.to_s
|
1798
|
+
path_component = (!path_component.empty? ? path_component : SLASH)
|
1799
|
+
self.path = path_component
|
1800
|
+
self.query = query_component
|
1801
|
+
|
1802
|
+
# Reset dependent values
|
1803
|
+
remove_composite_values
|
1804
|
+
end
|
1805
|
+
|
1806
|
+
##
|
1807
|
+
# The fragment component for this URI.
|
1808
|
+
#
|
1809
|
+
# @return [String] The fragment component.
|
1810
|
+
attr_reader :fragment
|
1811
|
+
|
1812
|
+
##
|
1813
|
+
# The fragment component for this URI, normalized.
|
1814
|
+
#
|
1815
|
+
# @return [String] The fragment component, normalized.
|
1816
|
+
def normalized_fragment
|
1817
|
+
return nil unless self.fragment
|
1818
|
+
return @normalized_fragment unless @normalized_fragment == NONE
|
1819
|
+
@normalized_fragment = begin
|
1820
|
+
component = Addressable::URI.normalize_component(
|
1821
|
+
self.fragment,
|
1822
|
+
Addressable::URI::NormalizeCharacterClasses::FRAGMENT
|
1823
|
+
)
|
1824
|
+
component == "" ? nil : component
|
1825
|
+
end
|
1826
|
+
# All normalized values should be UTF-8
|
1827
|
+
force_utf8_encoding_if_needed(@normalized_fragment)
|
1828
|
+
@normalized_fragment
|
1829
|
+
end
|
1830
|
+
|
1831
|
+
##
|
1832
|
+
# Sets the fragment component for this URI.
|
1833
|
+
#
|
1834
|
+
# @param [String, #to_str] new_fragment The new fragment component.
|
1835
|
+
def fragment=(new_fragment)
|
1836
|
+
if new_fragment && !new_fragment.respond_to?(:to_str)
|
1837
|
+
raise TypeError, "Can't convert #{new_fragment.class} into String."
|
1838
|
+
end
|
1839
|
+
@fragment = new_fragment ? new_fragment.to_str : nil
|
1840
|
+
|
1841
|
+
# Reset dependent values
|
1842
|
+
@normalized_fragment = NONE
|
1843
|
+
remove_composite_values
|
1844
|
+
|
1845
|
+
# Ensure we haven't created an invalid URI
|
1846
|
+
validate()
|
1847
|
+
end
|
1848
|
+
|
1849
|
+
##
|
1850
|
+
# Determines if the scheme indicates an IP-based protocol.
|
1851
|
+
#
|
1852
|
+
# @return [TrueClass, FalseClass]
|
1853
|
+
# <code>true</code> if the scheme indicates an IP-based protocol.
|
1854
|
+
# <code>false</code> otherwise.
|
1855
|
+
def ip_based?
|
1856
|
+
if self.scheme
|
1857
|
+
return URI.ip_based_schemes.include?(
|
1858
|
+
self.scheme.strip.downcase)
|
1859
|
+
end
|
1860
|
+
return false
|
1861
|
+
end
|
1862
|
+
|
1863
|
+
##
|
1864
|
+
# Determines if the URI is relative.
|
1865
|
+
#
|
1866
|
+
# @return [TrueClass, FalseClass]
|
1867
|
+
# <code>true</code> if the URI is relative. <code>false</code>
|
1868
|
+
# otherwise.
|
1869
|
+
def relative?
|
1870
|
+
return self.scheme.nil?
|
1871
|
+
end
|
1872
|
+
|
1873
|
+
##
|
1874
|
+
# Determines if the URI is absolute.
|
1875
|
+
#
|
1876
|
+
# @return [TrueClass, FalseClass]
|
1877
|
+
# <code>true</code> if the URI is absolute. <code>false</code>
|
1878
|
+
# otherwise.
|
1879
|
+
def absolute?
|
1880
|
+
return !relative?
|
1881
|
+
end
|
1882
|
+
|
1883
|
+
##
|
1884
|
+
# Joins two URIs together.
|
1885
|
+
#
|
1886
|
+
# @param [String, Addressable::URI, #to_str] The URI to join with.
|
1887
|
+
#
|
1888
|
+
# @return [Addressable::URI] The joined URI.
|
1889
|
+
def join(uri)
|
1890
|
+
if !uri.respond_to?(:to_str)
|
1891
|
+
raise TypeError, "Can't convert #{uri.class} into String."
|
1892
|
+
end
|
1893
|
+
if !uri.kind_of?(URI)
|
1894
|
+
# Otherwise, convert to a String, then parse.
|
1895
|
+
uri = URI.parse(uri.to_str)
|
1896
|
+
end
|
1897
|
+
if uri.to_s.empty?
|
1898
|
+
return self.dup
|
1899
|
+
end
|
1900
|
+
|
1901
|
+
joined_scheme = nil
|
1902
|
+
joined_user = nil
|
1903
|
+
joined_password = nil
|
1904
|
+
joined_host = nil
|
1905
|
+
joined_port = nil
|
1906
|
+
joined_path = nil
|
1907
|
+
joined_query = nil
|
1908
|
+
joined_fragment = nil
|
1909
|
+
|
1910
|
+
# Section 5.2.2 of RFC 3986
|
1911
|
+
if uri.scheme != nil
|
1912
|
+
joined_scheme = uri.scheme
|
1913
|
+
joined_user = uri.user
|
1914
|
+
joined_password = uri.password
|
1915
|
+
joined_host = uri.host
|
1916
|
+
joined_port = uri.port
|
1917
|
+
joined_path = URI.normalize_path(uri.path)
|
1918
|
+
joined_query = uri.query
|
1919
|
+
else
|
1920
|
+
if uri.authority != nil
|
1921
|
+
joined_user = uri.user
|
1922
|
+
joined_password = uri.password
|
1923
|
+
joined_host = uri.host
|
1924
|
+
joined_port = uri.port
|
1925
|
+
joined_path = URI.normalize_path(uri.path)
|
1926
|
+
joined_query = uri.query
|
1927
|
+
else
|
1928
|
+
if uri.path == nil || uri.path.empty?
|
1929
|
+
joined_path = self.path
|
1930
|
+
if uri.query != nil
|
1931
|
+
joined_query = uri.query
|
1932
|
+
else
|
1933
|
+
joined_query = self.query
|
1934
|
+
end
|
1935
|
+
else
|
1936
|
+
if uri.path[0..0] == SLASH
|
1937
|
+
joined_path = URI.normalize_path(uri.path)
|
1938
|
+
else
|
1939
|
+
base_path = self.path.dup
|
1940
|
+
base_path = EMPTY_STR if base_path == nil
|
1941
|
+
base_path = URI.normalize_path(base_path)
|
1942
|
+
|
1943
|
+
# Section 5.2.3 of RFC 3986
|
1944
|
+
#
|
1945
|
+
# Removes the right-most path segment from the base path.
|
1946
|
+
if base_path.include?(SLASH)
|
1947
|
+
base_path.sub!(/\/[^\/]+$/, SLASH)
|
1948
|
+
else
|
1949
|
+
base_path = EMPTY_STR
|
1950
|
+
end
|
1951
|
+
|
1952
|
+
# If the base path is empty and an authority segment has been
|
1953
|
+
# defined, use a base path of SLASH
|
1954
|
+
if base_path.empty? && self.authority != nil
|
1955
|
+
base_path = SLASH
|
1956
|
+
end
|
1957
|
+
|
1958
|
+
joined_path = URI.normalize_path(base_path + uri.path)
|
1959
|
+
end
|
1960
|
+
joined_query = uri.query
|
1961
|
+
end
|
1962
|
+
joined_user = self.user
|
1963
|
+
joined_password = self.password
|
1964
|
+
joined_host = self.host
|
1965
|
+
joined_port = self.port
|
1966
|
+
end
|
1967
|
+
joined_scheme = self.scheme
|
1968
|
+
end
|
1969
|
+
joined_fragment = uri.fragment
|
1970
|
+
|
1971
|
+
return self.class.new(
|
1972
|
+
:scheme => joined_scheme,
|
1973
|
+
:user => joined_user,
|
1974
|
+
:password => joined_password,
|
1975
|
+
:host => joined_host,
|
1976
|
+
:port => joined_port,
|
1977
|
+
:path => joined_path,
|
1978
|
+
:query => joined_query,
|
1979
|
+
:fragment => joined_fragment
|
1980
|
+
)
|
1981
|
+
end
|
1982
|
+
alias_method :+, :join
|
1983
|
+
|
1984
|
+
##
|
1985
|
+
# Destructive form of <code>join</code>.
|
1986
|
+
#
|
1987
|
+
# @param [String, Addressable::URI, #to_str] The URI to join with.
|
1988
|
+
#
|
1989
|
+
# @return [Addressable::URI] The joined URI.
|
1990
|
+
#
|
1991
|
+
# @see Addressable::URI#join
|
1992
|
+
def join!(uri)
|
1993
|
+
replace_self(self.join(uri))
|
1994
|
+
end
|
1995
|
+
|
1996
|
+
##
|
1997
|
+
# Merges a URI with a <code>Hash</code> of components.
|
1998
|
+
# This method has different behavior from <code>join</code>. Any
|
1999
|
+
# components present in the <code>hash</code> parameter will override the
|
2000
|
+
# original components. The path component is not treated specially.
|
2001
|
+
#
|
2002
|
+
# @param [Hash, Addressable::URI, #to_hash] The components to merge with.
|
2003
|
+
#
|
2004
|
+
# @return [Addressable::URI] The merged URI.
|
2005
|
+
#
|
2006
|
+
# @see Hash#merge
|
2007
|
+
def merge(hash)
|
2008
|
+
unless hash.respond_to?(:to_hash)
|
2009
|
+
raise TypeError, "Can't convert #{hash.class} into Hash."
|
2010
|
+
end
|
2011
|
+
hash = hash.to_hash
|
2012
|
+
|
2013
|
+
if hash.has_key?(:authority)
|
2014
|
+
if (hash.keys & [:userinfo, :user, :password, :host, :port]).any?
|
2015
|
+
raise ArgumentError,
|
2016
|
+
"Cannot specify both an authority and any of the components " +
|
2017
|
+
"within the authority."
|
2018
|
+
end
|
2019
|
+
end
|
2020
|
+
if hash.has_key?(:userinfo)
|
2021
|
+
if (hash.keys & [:user, :password]).any?
|
2022
|
+
raise ArgumentError,
|
2023
|
+
"Cannot specify both a userinfo and either the user or password."
|
2024
|
+
end
|
2025
|
+
end
|
2026
|
+
|
2027
|
+
uri = self.class.new
|
2028
|
+
uri.defer_validation do
|
2029
|
+
# Bunch of crazy logic required because of the composite components
|
2030
|
+
# like userinfo and authority.
|
2031
|
+
uri.scheme =
|
2032
|
+
hash.has_key?(:scheme) ? hash[:scheme] : self.scheme
|
2033
|
+
if hash.has_key?(:authority)
|
2034
|
+
uri.authority =
|
2035
|
+
hash.has_key?(:authority) ? hash[:authority] : self.authority
|
2036
|
+
end
|
2037
|
+
if hash.has_key?(:userinfo)
|
2038
|
+
uri.userinfo =
|
2039
|
+
hash.has_key?(:userinfo) ? hash[:userinfo] : self.userinfo
|
2040
|
+
end
|
2041
|
+
if !hash.has_key?(:userinfo) && !hash.has_key?(:authority)
|
2042
|
+
uri.user =
|
2043
|
+
hash.has_key?(:user) ? hash[:user] : self.user
|
2044
|
+
uri.password =
|
2045
|
+
hash.has_key?(:password) ? hash[:password] : self.password
|
2046
|
+
end
|
2047
|
+
if !hash.has_key?(:authority)
|
2048
|
+
uri.host =
|
2049
|
+
hash.has_key?(:host) ? hash[:host] : self.host
|
2050
|
+
uri.port =
|
2051
|
+
hash.has_key?(:port) ? hash[:port] : self.port
|
2052
|
+
end
|
2053
|
+
uri.path =
|
2054
|
+
hash.has_key?(:path) ? hash[:path] : self.path
|
2055
|
+
uri.query =
|
2056
|
+
hash.has_key?(:query) ? hash[:query] : self.query
|
2057
|
+
uri.fragment =
|
2058
|
+
hash.has_key?(:fragment) ? hash[:fragment] : self.fragment
|
2059
|
+
end
|
2060
|
+
|
2061
|
+
return uri
|
2062
|
+
end
|
2063
|
+
|
2064
|
+
##
|
2065
|
+
# Destructive form of <code>merge</code>.
|
2066
|
+
#
|
2067
|
+
# @param [Hash, Addressable::URI, #to_hash] The components to merge with.
|
2068
|
+
#
|
2069
|
+
# @return [Addressable::URI] The merged URI.
|
2070
|
+
#
|
2071
|
+
# @see Addressable::URI#merge
|
2072
|
+
def merge!(uri)
|
2073
|
+
replace_self(self.merge(uri))
|
2074
|
+
end
|
2075
|
+
|
2076
|
+
##
|
2077
|
+
# Returns the shortest normalized relative form of this URI that uses the
|
2078
|
+
# supplied URI as a base for resolution. Returns an absolute URI if
|
2079
|
+
# necessary. This is effectively the opposite of <code>route_to</code>.
|
2080
|
+
#
|
2081
|
+
# @param [String, Addressable::URI, #to_str] uri The URI to route from.
|
2082
|
+
#
|
2083
|
+
# @return [Addressable::URI]
|
2084
|
+
# The normalized relative URI that is equivalent to the original URI.
|
2085
|
+
def route_from(uri)
|
2086
|
+
uri = URI.parse(uri).normalize
|
2087
|
+
normalized_self = self.normalize
|
2088
|
+
if normalized_self.relative?
|
2089
|
+
raise ArgumentError, "Expected absolute URI, got: #{self.to_s}"
|
2090
|
+
end
|
2091
|
+
if uri.relative?
|
2092
|
+
raise ArgumentError, "Expected absolute URI, got: #{uri.to_s}"
|
2093
|
+
end
|
2094
|
+
if normalized_self == uri
|
2095
|
+
return Addressable::URI.parse("##{normalized_self.fragment}")
|
2096
|
+
end
|
2097
|
+
components = normalized_self.to_hash
|
2098
|
+
if normalized_self.scheme == uri.scheme
|
2099
|
+
components[:scheme] = nil
|
2100
|
+
if normalized_self.authority == uri.authority
|
2101
|
+
components[:user] = nil
|
2102
|
+
components[:password] = nil
|
2103
|
+
components[:host] = nil
|
2104
|
+
components[:port] = nil
|
2105
|
+
if normalized_self.path == uri.path
|
2106
|
+
components[:path] = nil
|
2107
|
+
if normalized_self.query == uri.query
|
2108
|
+
components[:query] = nil
|
2109
|
+
end
|
2110
|
+
else
|
2111
|
+
if uri.path != SLASH and components[:path]
|
2112
|
+
self_splitted_path = split_path(components[:path])
|
2113
|
+
uri_splitted_path = split_path(uri.path)
|
2114
|
+
self_dir = self_splitted_path.shift
|
2115
|
+
uri_dir = uri_splitted_path.shift
|
2116
|
+
while !self_splitted_path.empty? && !uri_splitted_path.empty? and self_dir == uri_dir
|
2117
|
+
self_dir = self_splitted_path.shift
|
2118
|
+
uri_dir = uri_splitted_path.shift
|
2119
|
+
end
|
2120
|
+
components[:path] = (uri_splitted_path.fill('..') + [self_dir] + self_splitted_path).join(SLASH)
|
2121
|
+
end
|
2122
|
+
end
|
2123
|
+
end
|
2124
|
+
end
|
2125
|
+
# Avoid network-path references.
|
2126
|
+
if components[:host] != nil
|
2127
|
+
components[:scheme] = normalized_self.scheme
|
2128
|
+
end
|
2129
|
+
return Addressable::URI.new(
|
2130
|
+
:scheme => components[:scheme],
|
2131
|
+
:user => components[:user],
|
2132
|
+
:password => components[:password],
|
2133
|
+
:host => components[:host],
|
2134
|
+
:port => components[:port],
|
2135
|
+
:path => components[:path],
|
2136
|
+
:query => components[:query],
|
2137
|
+
:fragment => components[:fragment]
|
2138
|
+
)
|
2139
|
+
end
|
2140
|
+
|
2141
|
+
##
|
2142
|
+
# Returns the shortest normalized relative form of the supplied URI that
|
2143
|
+
# uses this URI as a base for resolution. Returns an absolute URI if
|
2144
|
+
# necessary. This is effectively the opposite of <code>route_from</code>.
|
2145
|
+
#
|
2146
|
+
# @param [String, Addressable::URI, #to_str] uri The URI to route to.
|
2147
|
+
#
|
2148
|
+
# @return [Addressable::URI]
|
2149
|
+
# The normalized relative URI that is equivalent to the supplied URI.
|
2150
|
+
def route_to(uri)
|
2151
|
+
return URI.parse(uri).route_from(self)
|
2152
|
+
end
|
2153
|
+
|
2154
|
+
##
|
2155
|
+
# Returns a normalized URI object.
|
2156
|
+
#
|
2157
|
+
# NOTE: This method does not attempt to fully conform to specifications.
|
2158
|
+
# It exists largely to correct other people's failures to read the
|
2159
|
+
# specifications, and also to deal with caching issues since several
|
2160
|
+
# different URIs may represent the same resource and should not be
|
2161
|
+
# cached multiple times.
|
2162
|
+
#
|
2163
|
+
# @return [Addressable::URI] The normalized URI.
|
2164
|
+
def normalize
|
2165
|
+
# This is a special exception for the frequently misused feed
|
2166
|
+
# URI scheme.
|
2167
|
+
if normalized_scheme == "feed"
|
2168
|
+
if self.to_s =~ /^feed:\/*http:\/*/
|
2169
|
+
return URI.parse(
|
2170
|
+
self.to_s[/^feed:\/*(http:\/*.*)/, 1]
|
2171
|
+
).normalize
|
2172
|
+
end
|
2173
|
+
end
|
2174
|
+
|
2175
|
+
return self.class.new(
|
2176
|
+
:scheme => normalized_scheme,
|
2177
|
+
:authority => normalized_authority,
|
2178
|
+
:path => normalized_path,
|
2179
|
+
:query => normalized_query,
|
2180
|
+
:fragment => normalized_fragment
|
2181
|
+
)
|
2182
|
+
end
|
2183
|
+
|
2184
|
+
##
|
2185
|
+
# Destructively normalizes this URI object.
|
2186
|
+
#
|
2187
|
+
# @return [Addressable::URI] The normalized URI.
|
2188
|
+
#
|
2189
|
+
# @see Addressable::URI#normalize
|
2190
|
+
def normalize!
|
2191
|
+
replace_self(self.normalize)
|
2192
|
+
end
|
2193
|
+
|
2194
|
+
##
|
2195
|
+
# Creates a URI suitable for display to users. If semantic attacks are
|
2196
|
+
# likely, the application should try to detect these and warn the user.
|
2197
|
+
# See <a href="http://www.ietf.org/rfc/rfc3986.txt">RFC 3986</a>,
|
2198
|
+
# section 7.6 for more information.
|
2199
|
+
#
|
2200
|
+
# @return [Addressable::URI] A URI suitable for display purposes.
|
2201
|
+
def display_uri
|
2202
|
+
display_uri = self.normalize
|
2203
|
+
display_uri.host = ::Addressable::IDNA.to_unicode(display_uri.host)
|
2204
|
+
return display_uri
|
2205
|
+
end
|
2206
|
+
|
2207
|
+
##
|
2208
|
+
# Returns <code>true</code> if the URI objects are equal. This method
|
2209
|
+
# normalizes both URIs before doing the comparison, and allows comparison
|
2210
|
+
# against <code>Strings</code>.
|
2211
|
+
#
|
2212
|
+
# @param [Object] uri The URI to compare.
|
2213
|
+
#
|
2214
|
+
# @return [TrueClass, FalseClass]
|
2215
|
+
# <code>true</code> if the URIs are equivalent, <code>false</code>
|
2216
|
+
# otherwise.
|
2217
|
+
def ===(uri)
|
2218
|
+
if uri.respond_to?(:normalize)
|
2219
|
+
uri_string = uri.normalize.to_s
|
2220
|
+
else
|
2221
|
+
begin
|
2222
|
+
uri_string = ::Addressable::URI.parse(uri).normalize.to_s
|
2223
|
+
rescue InvalidURIError, TypeError
|
2224
|
+
return false
|
2225
|
+
end
|
2226
|
+
end
|
2227
|
+
return self.normalize.to_s == uri_string
|
2228
|
+
end
|
2229
|
+
|
2230
|
+
##
|
2231
|
+
# Returns <code>true</code> if the URI objects are equal. This method
|
2232
|
+
# normalizes both URIs before doing the comparison.
|
2233
|
+
#
|
2234
|
+
# @param [Object] uri The URI to compare.
|
2235
|
+
#
|
2236
|
+
# @return [TrueClass, FalseClass]
|
2237
|
+
# <code>true</code> if the URIs are equivalent, <code>false</code>
|
2238
|
+
# otherwise.
|
2239
|
+
def ==(uri)
|
2240
|
+
return false unless uri.kind_of?(URI)
|
2241
|
+
return self.normalize.to_s == uri.normalize.to_s
|
2242
|
+
end
|
2243
|
+
|
2244
|
+
##
|
2245
|
+
# Returns <code>true</code> if the URI objects are equal. This method
|
2246
|
+
# does NOT normalize either URI before doing the comparison.
|
2247
|
+
#
|
2248
|
+
# @param [Object] uri The URI to compare.
|
2249
|
+
#
|
2250
|
+
# @return [TrueClass, FalseClass]
|
2251
|
+
# <code>true</code> if the URIs are equivalent, <code>false</code>
|
2252
|
+
# otherwise.
|
2253
|
+
def eql?(uri)
|
2254
|
+
return false unless uri.kind_of?(URI)
|
2255
|
+
return self.to_s == uri.to_s
|
2256
|
+
end
|
2257
|
+
|
2258
|
+
##
|
2259
|
+
# A hash value that will make a URI equivalent to its normalized
|
2260
|
+
# form.
|
2261
|
+
#
|
2262
|
+
# @return [Integer] A hash of the URI.
|
2263
|
+
def hash
|
2264
|
+
@hash ||= self.to_s.hash * -1
|
2265
|
+
end
|
2266
|
+
|
2267
|
+
##
|
2268
|
+
# Clones the URI object.
|
2269
|
+
#
|
2270
|
+
# @return [Addressable::URI] The cloned URI.
|
2271
|
+
def dup
|
2272
|
+
duplicated_uri = self.class.new(
|
2273
|
+
:scheme => self.scheme ? self.scheme.dup : nil,
|
2274
|
+
:user => self.user ? self.user.dup : nil,
|
2275
|
+
:password => self.password ? self.password.dup : nil,
|
2276
|
+
:host => self.host ? self.host.dup : nil,
|
2277
|
+
:port => self.port,
|
2278
|
+
:path => self.path ? self.path.dup : nil,
|
2279
|
+
:query => self.query ? self.query.dup : nil,
|
2280
|
+
:fragment => self.fragment ? self.fragment.dup : nil
|
2281
|
+
)
|
2282
|
+
return duplicated_uri
|
2283
|
+
end
|
2284
|
+
|
2285
|
+
##
|
2286
|
+
# Omits components from a URI.
|
2287
|
+
#
|
2288
|
+
# @param [Symbol] *components The components to be omitted.
|
2289
|
+
#
|
2290
|
+
# @return [Addressable::URI] The URI with components omitted.
|
2291
|
+
#
|
2292
|
+
# @example
|
2293
|
+
# uri = Addressable::URI.parse("http://example.com/path?query")
|
2294
|
+
# #=> #<Addressable::URI:0xcc5e7a URI:http://example.com/path?query>
|
2295
|
+
# uri.omit(:scheme, :authority)
|
2296
|
+
# #=> #<Addressable::URI:0xcc4d86 URI:/path?query>
|
2297
|
+
def omit(*components)
|
2298
|
+
invalid_components = components - [
|
2299
|
+
:scheme, :user, :password, :userinfo, :host, :port, :authority,
|
2300
|
+
:path, :query, :fragment
|
2301
|
+
]
|
2302
|
+
unless invalid_components.empty?
|
2303
|
+
raise ArgumentError,
|
2304
|
+
"Invalid component names: #{invalid_components.inspect}."
|
2305
|
+
end
|
2306
|
+
duplicated_uri = self.dup
|
2307
|
+
duplicated_uri.defer_validation do
|
2308
|
+
components.each do |component|
|
2309
|
+
duplicated_uri.send((component.to_s + "=").to_sym, nil)
|
2310
|
+
end
|
2311
|
+
duplicated_uri.user = duplicated_uri.normalized_user
|
2312
|
+
end
|
2313
|
+
duplicated_uri
|
2314
|
+
end
|
2315
|
+
|
2316
|
+
##
|
2317
|
+
# Destructive form of omit.
|
2318
|
+
#
|
2319
|
+
# @param [Symbol] *components The components to be omitted.
|
2320
|
+
#
|
2321
|
+
# @return [Addressable::URI] The URI with components omitted.
|
2322
|
+
#
|
2323
|
+
# @see Addressable::URI#omit
|
2324
|
+
def omit!(*components)
|
2325
|
+
replace_self(self.omit(*components))
|
2326
|
+
end
|
2327
|
+
|
2328
|
+
##
|
2329
|
+
# Determines if the URI is an empty string.
|
2330
|
+
#
|
2331
|
+
# @return [TrueClass, FalseClass]
|
2332
|
+
# Returns <code>true</code> if empty, <code>false</code> otherwise.
|
2333
|
+
def empty?
|
2334
|
+
return self.to_s.empty?
|
2335
|
+
end
|
2336
|
+
|
2337
|
+
##
|
2338
|
+
# Converts the URI to a <code>String</code>.
|
2339
|
+
#
|
2340
|
+
# @return [String] The URI's <code>String</code> representation.
|
2341
|
+
def to_s
|
2342
|
+
if self.scheme == nil && self.path != nil && !self.path.empty? &&
|
2343
|
+
self.path =~ NORMPATH
|
2344
|
+
raise InvalidURIError,
|
2345
|
+
"Cannot assemble URI string with ambiguous path: '#{self.path}'"
|
2346
|
+
end
|
2347
|
+
@uri_string ||= begin
|
2348
|
+
uri_string = String.new
|
2349
|
+
uri_string << "#{self.scheme}:" if self.scheme != nil
|
2350
|
+
uri_string << "//#{self.authority}" if self.authority != nil
|
2351
|
+
uri_string << self.path.to_s
|
2352
|
+
uri_string << "?#{self.query}" if self.query != nil
|
2353
|
+
uri_string << "##{self.fragment}" if self.fragment != nil
|
2354
|
+
uri_string.force_encoding(Encoding::UTF_8)
|
2355
|
+
uri_string
|
2356
|
+
end
|
2357
|
+
end
|
2358
|
+
|
2359
|
+
##
|
2360
|
+
# URI's are glorified <code>Strings</code>. Allow implicit conversion.
|
2361
|
+
alias_method :to_str, :to_s
|
2362
|
+
|
2363
|
+
##
|
2364
|
+
# Returns a Hash of the URI components.
|
2365
|
+
#
|
2366
|
+
# @return [Hash] The URI as a <code>Hash</code> of components.
|
2367
|
+
def to_hash
|
2368
|
+
return {
|
2369
|
+
:scheme => self.scheme,
|
2370
|
+
:user => self.user,
|
2371
|
+
:password => self.password,
|
2372
|
+
:host => self.host,
|
2373
|
+
:port => self.port,
|
2374
|
+
:path => self.path,
|
2375
|
+
:query => self.query,
|
2376
|
+
:fragment => self.fragment
|
2377
|
+
}
|
2378
|
+
end
|
2379
|
+
|
2380
|
+
##
|
2381
|
+
# Returns a <code>String</code> representation of the URI object's state.
|
2382
|
+
#
|
2383
|
+
# @return [String] The URI object's state, as a <code>String</code>.
|
2384
|
+
def inspect
|
2385
|
+
sprintf("#<%s:%#0x URI:%s>", URI.to_s, self.object_id, self.to_s)
|
2386
|
+
end
|
2387
|
+
|
2388
|
+
##
|
2389
|
+
# This method allows you to make several changes to a URI simultaneously,
|
2390
|
+
# which separately would cause validation errors, but in conjunction,
|
2391
|
+
# are valid. The URI will be revalidated as soon as the entire block has
|
2392
|
+
# been executed.
|
2393
|
+
#
|
2394
|
+
# @param [Proc] block
|
2395
|
+
# A set of operations to perform on a given URI.
|
2396
|
+
def defer_validation
|
2397
|
+
raise LocalJumpError, "No block given." unless block_given?
|
2398
|
+
@validation_deferred = true
|
2399
|
+
yield
|
2400
|
+
@validation_deferred = false
|
2401
|
+
validate
|
2402
|
+
ensure
|
2403
|
+
@validation_deferred = false
|
2404
|
+
end
|
2405
|
+
|
2406
|
+
def encode_with(coder)
|
2407
|
+
instance_variables.each do |ivar|
|
2408
|
+
value = instance_variable_get(ivar)
|
2409
|
+
if value != NONE
|
2410
|
+
key = ivar.to_s.slice(1..-1)
|
2411
|
+
coder[key] = value
|
2412
|
+
end
|
2413
|
+
end
|
2414
|
+
nil
|
2415
|
+
end
|
2416
|
+
|
2417
|
+
def init_with(coder)
|
2418
|
+
reset_ivs
|
2419
|
+
coder.map.each do |key, value|
|
2420
|
+
instance_variable_set("@#{key}", value)
|
2421
|
+
end
|
2422
|
+
nil
|
2423
|
+
end
|
2424
|
+
|
2425
|
+
protected
|
2426
|
+
SELF_REF = '.'
|
2427
|
+
PARENT = '..'
|
2428
|
+
|
2429
|
+
RULE_2A = /\/\.\/|\/\.$/
|
2430
|
+
RULE_2B_2C = /\/([^\/]*)\/\.\.\/|\/([^\/]*)\/\.\.$/
|
2431
|
+
RULE_2D = /^\.\.?\/?/
|
2432
|
+
RULE_PREFIXED_PARENT = /^\/\.\.?\/|^(\/\.\.?)+\/?$/
|
2433
|
+
|
2434
|
+
##
|
2435
|
+
# Resolves paths to their simplest form.
|
2436
|
+
#
|
2437
|
+
# @param [String] path The path to normalize.
|
2438
|
+
#
|
2439
|
+
# @return [String] The normalized path.
|
2440
|
+
def self.normalize_path(path)
|
2441
|
+
# Section 5.2.4 of RFC 3986
|
2442
|
+
|
2443
|
+
return if path.nil?
|
2444
|
+
normalized_path = path.dup
|
2445
|
+
loop do
|
2446
|
+
mod ||= normalized_path.gsub!(RULE_2A, SLASH)
|
2447
|
+
|
2448
|
+
pair = normalized_path.match(RULE_2B_2C)
|
2449
|
+
if pair
|
2450
|
+
parent = pair[1]
|
2451
|
+
current = pair[2]
|
2452
|
+
else
|
2453
|
+
parent = nil
|
2454
|
+
current = nil
|
2455
|
+
end
|
2456
|
+
|
2457
|
+
regexp = "/#{Regexp.escape(parent.to_s)}/\\.\\./|"
|
2458
|
+
regexp += "(/#{Regexp.escape(current.to_s)}/\\.\\.$)"
|
2459
|
+
|
2460
|
+
if pair && ((parent != SELF_REF && parent != PARENT) ||
|
2461
|
+
(current != SELF_REF && current != PARENT))
|
2462
|
+
mod ||= normalized_path.gsub!(Regexp.new(regexp), SLASH)
|
2463
|
+
end
|
2464
|
+
|
2465
|
+
mod ||= normalized_path.gsub!(RULE_2D, EMPTY_STR)
|
2466
|
+
# Non-standard, removes prefixed dotted segments from path.
|
2467
|
+
mod ||= normalized_path.gsub!(RULE_PREFIXED_PARENT, SLASH)
|
2468
|
+
break if mod.nil?
|
2469
|
+
end
|
2470
|
+
|
2471
|
+
normalized_path
|
2472
|
+
end
|
2473
|
+
|
2474
|
+
##
|
2475
|
+
# Ensures that the URI is valid.
|
2476
|
+
def validate
|
2477
|
+
return if !!@validation_deferred
|
2478
|
+
if self.scheme != nil && self.ip_based? &&
|
2479
|
+
(self.host == nil || self.host.empty?) &&
|
2480
|
+
(self.path == nil || self.path.empty?)
|
2481
|
+
raise InvalidURIError,
|
2482
|
+
"Absolute URI missing hierarchical segment: '#{self.to_s}'"
|
2483
|
+
end
|
2484
|
+
if self.host == nil
|
2485
|
+
if self.port != nil ||
|
2486
|
+
self.user != nil ||
|
2487
|
+
self.password != nil
|
2488
|
+
raise InvalidURIError, "Hostname not supplied: '#{self.to_s}'"
|
2489
|
+
end
|
2490
|
+
end
|
2491
|
+
if self.path != nil && !self.path.empty? && self.path[0..0] != SLASH &&
|
2492
|
+
self.authority != nil
|
2493
|
+
raise InvalidURIError,
|
2494
|
+
"Cannot have a relative path with an authority set: '#{self.to_s}'"
|
2495
|
+
end
|
2496
|
+
if self.path != nil && !self.path.empty? &&
|
2497
|
+
self.path[0..1] == SLASH + SLASH && self.authority == nil
|
2498
|
+
raise InvalidURIError,
|
2499
|
+
"Cannot have a path with two leading slashes " +
|
2500
|
+
"without an authority set: '#{self.to_s}'"
|
2501
|
+
end
|
2502
|
+
unreserved = CharacterClasses::UNRESERVED
|
2503
|
+
sub_delims = CharacterClasses::SUB_DELIMS
|
2504
|
+
if !self.host.nil? && (self.host =~ /[<>{}\/\\\?\#\@"[[:space:]]]/ ||
|
2505
|
+
(self.host[/^\[(.*)\]$/, 1] != nil && self.host[/^\[(.*)\]$/, 1] !~
|
2506
|
+
Regexp.new("^[#{unreserved}#{sub_delims}:]*$")))
|
2507
|
+
raise InvalidURIError, "Invalid character in host: '#{self.host.to_s}'"
|
2508
|
+
end
|
2509
|
+
return nil
|
2510
|
+
end
|
2511
|
+
|
2512
|
+
##
|
2513
|
+
# Replaces the internal state of self with the specified URI's state.
|
2514
|
+
# Used in destructive operations to avoid massive code repetition.
|
2515
|
+
#
|
2516
|
+
# @param [Addressable::URI] uri The URI to replace <code>self</code> with.
|
2517
|
+
#
|
2518
|
+
# @return [Addressable::URI] <code>self</code>.
|
2519
|
+
def replace_self(uri)
|
2520
|
+
# Reset dependent values
|
2521
|
+
reset_ivs
|
2522
|
+
|
2523
|
+
@scheme = uri.scheme
|
2524
|
+
@user = uri.user
|
2525
|
+
@password = uri.password
|
2526
|
+
@host = uri.host
|
2527
|
+
@port = uri.port
|
2528
|
+
@path = uri.path
|
2529
|
+
@query = uri.query
|
2530
|
+
@fragment = uri.fragment
|
2531
|
+
return self
|
2532
|
+
end
|
2533
|
+
|
2534
|
+
##
|
2535
|
+
# Splits path string with "/" (slash).
|
2536
|
+
# It is considered that there is empty string after last slash when
|
2537
|
+
# path ends with slash.
|
2538
|
+
#
|
2539
|
+
# @param [String] path The path to split.
|
2540
|
+
#
|
2541
|
+
# @return [Array<String>] An array of parts of path.
|
2542
|
+
def split_path(path)
|
2543
|
+
splitted = path.split(SLASH)
|
2544
|
+
splitted << EMPTY_STR if path.end_with? SLASH
|
2545
|
+
splitted
|
2546
|
+
end
|
2547
|
+
|
2548
|
+
##
|
2549
|
+
# Resets composite values for the entire URI
|
2550
|
+
#
|
2551
|
+
# @api private
|
2552
|
+
def remove_composite_values
|
2553
|
+
@uri_string = nil
|
2554
|
+
@hash = nil
|
2555
|
+
end
|
2556
|
+
|
2557
|
+
##
|
2558
|
+
# Converts the string to be UTF-8 if it is not already UTF-8
|
2559
|
+
#
|
2560
|
+
# @api private
|
2561
|
+
def force_utf8_encoding_if_needed(str)
|
2562
|
+
if str && str.encoding != Encoding::UTF_8
|
2563
|
+
str.force_encoding(Encoding::UTF_8)
|
2564
|
+
end
|
2565
|
+
end
|
2566
|
+
|
2567
|
+
private
|
2568
|
+
|
2569
|
+
##
|
2570
|
+
# Resets instance variables
|
2571
|
+
#
|
2572
|
+
# @api private
|
2573
|
+
def reset_ivs
|
2574
|
+
@scheme = nil
|
2575
|
+
@user = nil
|
2576
|
+
@normalized_scheme = NONE
|
2577
|
+
@normalized_user = NONE
|
2578
|
+
@uri_string = nil
|
2579
|
+
@hash = nil
|
2580
|
+
@userinfo = nil
|
2581
|
+
@normalized_userinfo = NONE
|
2582
|
+
@authority = nil
|
2583
|
+
@password = nil
|
2584
|
+
@normalized_authority = nil
|
2585
|
+
@port = nil
|
2586
|
+
@normalized_password = NONE
|
2587
|
+
@host = nil
|
2588
|
+
@normalized_host = nil
|
2589
|
+
@normalized_port = NONE
|
2590
|
+
@path = EMPTY_STR
|
2591
|
+
@normalized_path = nil
|
2592
|
+
@normalized_query = NONE
|
2593
|
+
@fragment = nil
|
2594
|
+
@normalized_fragment = NONE
|
2595
|
+
@query = nil
|
2596
|
+
end
|
2597
|
+
|
2598
|
+
NONE = Module.new.freeze
|
2599
|
+
|
2600
|
+
private_constant :NONE
|
2601
|
+
end
|
2602
|
+
end
|