rails-rfc6570 3.2.0 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/lib/rails/rfc6570/version.rb +1 -1
- data/rails-rfc6570.gemspec +1 -1
- data/spec/dummy/log/test.log +432 -0
- metadata +10 -262
- data/vendor/bundle/ruby/3.3.0/bundler/gems/rubocop-config-943facea9d8f/LICENSE +0 -21
- data/vendor/bundle/ruby/3.3.0/bundler/gems/rubocop-config-943facea9d8f/README.md +0 -23
- data/vendor/bundle/ruby/3.3.0/bundler/gems/rubocop-config-943facea9d8f/rubocop-config.gemspec +0 -31
- data/vendor/bundle/ruby/3.3.0/gems/actionpack-7.2.1/CHANGELOG.md +0 -154
- data/vendor/bundle/ruby/3.3.0/gems/actionpack-7.2.1/MIT-LICENSE +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/actionpack-7.2.1/README.rdoc +0 -57
- data/vendor/bundle/ruby/3.3.0/gems/actionview-7.2.1/CHANGELOG.md +0 -113
- data/vendor/bundle/ruby/3.3.0/gems/actionview-7.2.1/MIT-LICENSE +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/actionview-7.2.1/README.rdoc +0 -40
- data/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.1/CHANGELOG.md +0 -258
- data/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.1/MIT-LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.1/README.rdoc +0 -40
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/CHANGELOG.md +0 -301
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/LICENSE.txt +0 -202
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/README.md +0 -121
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/addressable.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/gems/appraisal-2.5.0/MIT-LICENSE +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/appraisal-2.5.0/README.md +0 -243
- data/vendor/bundle/ruby/3.3.0/gems/appraisal-2.5.0/appraisal.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/LICENSE.MIT +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/README.YARD.md +0 -12
- data/vendor/bundle/ruby/3.3.0/gems/benchmark-ips-2.13.0/LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/benchmark-ips-2.13.0/README.md +0 -279
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-3.1.8/LICENSE +0 -56
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-3.1.8/bigdecimal.gemspec +0 -57
- data/vendor/bundle/ruby/3.3.0/gems/builder-3.3.0/MIT-LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/builder-3.3.0/README.md +0 -258
- data/vendor/bundle/ruby/3.3.0/gems/builder-3.3.0/builder.gemspec +0 -49
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/CHANGELOG.md +0 -934
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/LICENSE +0 -23
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/README.md +0 -199
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/MIT-LICENSE +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/README_INDEX.rdoc +0 -123
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/CHANGELOG.md +0 -593
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/LICENSE.txt +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/README.md +0 -407
- data/vendor/bundle/ruby/3.3.0/gems/connection_pool-2.4.1/LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/connection_pool-2.4.1/README.md +0 -135
- data/vendor/bundle/ruby/3.3.0/gems/connection_pool-2.4.1/connection_pool.gemspec +0 -24
- data/vendor/bundle/ruby/3.3.0/gems/crass-1.0.6/LICENSE +0 -18
- data/vendor/bundle/ruby/3.3.0/gems/crass-1.0.6/README.md +0 -192
- data/vendor/bundle/ruby/3.3.0/gems/crass-1.0.6/crass.gemspec +0 -31
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/README.rdoc +0 -84
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/LICENSE +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/README.md +0 -409
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/docile.gemspec +0 -36
- data/vendor/bundle/ruby/3.3.0/gems/drb-2.2.1/LICENSE.txt +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/drb-2.2.1/drb.gemspec +0 -41
- data/vendor/bundle/ruby/3.3.0/gems/erubi-1.13.0/CHANGELOG +0 -107
- data/vendor/bundle/ruby/3.3.0/gems/erubi-1.13.0/MIT-LICENSE +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/erubi-1.13.0/README.rdoc +0 -151
- data/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.5/MIT-LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.5/README.md +0 -127
- data/vendor/bundle/ruby/3.3.0/gems/io-console-0.7.2/LICENSE.txt +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/io-console-0.7.2/README.md +0 -46
- data/vendor/bundle/ruby/3.3.0/gems/irb-1.14.0/LICENSE.txt +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/irb-1.14.0/README.md +0 -405
- data/vendor/bundle/ruby/3.3.0/gems/irb-1.14.0/irb.gemspec +0 -46
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/LICENSE +0 -56
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/README.md +0 -416
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/json.gemspec +0 -68
- data/vendor/bundle/ruby/3.3.0/gems/language_server-protocol-3.17.0.3/LICENSE.txt +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/language_server-protocol-3.17.0.3/README.md +0 -88
- data/vendor/bundle/ruby/3.3.0/gems/loofah-2.22.0/CHANGELOG.md +0 -566
- data/vendor/bundle/ruby/3.3.0/gems/loofah-2.22.0/MIT-LICENSE.txt +0 -23
- data/vendor/bundle/ruby/3.3.0/gems/loofah-2.22.0/README.md +0 -363
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/CHANGELOG.md +0 -15
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/LICENSE +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/README.markdown +0 -101
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/method_source.gemspec +0 -19
- data/vendor/bundle/ruby/3.3.0/gems/minitest-5.25.1/README.rdoc +0 -835
- data/vendor/bundle/ruby/3.3.0/gems/nokogiri-1.16.7-x86_64-linux/LICENSE-DEPENDENCIES.md +0 -2224
- data/vendor/bundle/ruby/3.3.0/gems/nokogiri-1.16.7-x86_64-linux/LICENSE.md +0 -9
- data/vendor/bundle/ruby/3.3.0/gems/nokogiri-1.16.7-x86_64-linux/README.md +0 -290
- data/vendor/bundle/ruby/3.3.0/gems/parallel-1.26.3/MIT-LICENSE.txt +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.2/LICENSE.txt +0 -25
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.2/parser.gemspec +0 -43
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/CHANGELOG.md +0 -1141
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/LICENSE +0 -25
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/README.md +0 -466
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/slop/LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/CHANGELOG.md +0 -230
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/README.md +0 -189
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.1/CHANGELOG.md +0 -491
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.1/LICENSE.txt +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.1/README.md +0 -222
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/README.ja.rdoc +0 -58
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/README.rdoc +0 -60
- data/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/CHANGELOG.md +0 -994
- data/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/MIT-LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/README.md +0 -328
- data/vendor/bundle/ruby/3.3.0/gems/rack-test-2.1.0/MIT-LICENSE.txt +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/rack-test-2.1.0/README.md +0 -139
- data/vendor/bundle/ruby/3.3.0/gems/rails-dom-testing-2.2.0/MIT-LICENSE +0 -23
- data/vendor/bundle/ruby/3.3.0/gems/rails-dom-testing-2.2.0/README.md +0 -91
- data/vendor/bundle/ruby/3.3.0/gems/rails-html-sanitizer-1.6.0/CHANGELOG.md +0 -201
- data/vendor/bundle/ruby/3.3.0/gems/rails-html-sanitizer-1.6.0/MIT-LICENSE +0 -23
- data/vendor/bundle/ruby/3.3.0/gems/rails-html-sanitizer-1.6.0/README.md +0 -271
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/CHANGELOG.md +0 -361
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/MIT-LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/README.rdoc +0 -39
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/app/templates/README.md.tt +0 -24
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt +0 -28
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/plugin/templates/MIT-LICENSE.tt +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/plugin/templates/README.md.tt +0 -28
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/README.markdown +0 -227
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/MIT-LICENSE +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/README.rdoc +0 -155
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/rake.gemspec +0 -101
- data/vendor/bundle/ruby/3.3.0/gems/rake-release-1.3.0/LICENSE +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/rake-release-1.3.0/README.md +0 -107
- data/vendor/bundle/ruby/3.3.0/gems/rake-release-1.3.0/rake-release.gemspec +0 -23
- data/vendor/bundle/ruby/3.3.0/gems/rdoc-6.7.0/LICENSE.rdoc +0 -57
- data/vendor/bundle/ruby/3.3.0/gems/rdoc-6.7.0/README.rdoc +0 -129
- data/vendor/bundle/ruby/3.3.0/gems/regexp_parser-2.9.2/LICENSE +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/regexp_parser-2.9.2/regexp_parser.gemspec +0 -34
- data/vendor/bundle/ruby/3.3.0/gems/reline-0.5.9/README.md +0 -94
- data/vendor/bundle/ruby/3.3.0/gems/rexml-3.3.6/LICENSE.txt +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/rexml-3.3.6/README.md +0 -57
- data/vendor/bundle/ruby/3.3.0/gems/rspec-3.13.0/LICENSE.md +0 -27
- data/vendor/bundle/ruby/3.3.0/gems/rspec-3.13.0/README.md +0 -47
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/LICENSE.md +0 -26
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/README.md +0 -389
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.2/LICENSE.md +0 -25
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.2/README.md +0 -326
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/LICENSE.md +0 -25
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/README.md +0 -465
- data/vendor/bundle/ruby/3.3.0/gems/rspec-rails-6.1.4/LICENSE.md +0 -25
- data/vendor/bundle/ruby/3.3.0/gems/rspec-rails-6.1.4/README.md +0 -381
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/LICENSE.md +0 -23
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/README.md +0 -40
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-1.65.1/LICENSE.txt +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-1.65.1/README.md +0 -251
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-ast-1.32.1/LICENSE.txt +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-ast-1.32.1/README.md +0 -56
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/CHANGELOG.md +0 -85
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/MIT-LICENSE.md +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/README.md +0 -88
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/CHANGELOG.md +0 -116
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/MIT-LICENSE.md +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/README.md +0 -88
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-performance-1.21.1/LICENSE.txt +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-performance-1.21.1/README.md +0 -97
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.4/CHANGELOG.md +0 -1028
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.4/MIT-LICENSE.md +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.4/README.md +0 -109
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/CHANGELOG.md +0 -84
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/MIT-LICENSE.md +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/README.md +0 -90
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/LICENSE.txt +0 -19
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/README.md +0 -131
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/CHANGELOG.md +0 -191
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/README.md +0 -974
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-cobertura-2.1.0/LICENSE +0 -202
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-cobertura-2.1.0/README.md +0 -62
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-cobertura-2.1.0/simplecov-cobertura.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/CHANGELOG.md +0 -81
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/README.md +0 -30
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/simplecov-html.gemspec +0 -23
- data/vendor/bundle/ruby/3.3.0/gems/simplecov_json_formatter-0.1.4/CHANGELOG.md +0 -13
- data/vendor/bundle/ruby/3.3.0/gems/simplecov_json_formatter-0.1.4/README.md +0 -29
- data/vendor/bundle/ruby/3.3.0/gems/strscan-3.1.0/LICENSE.txt +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/LICENSE.md +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/README.md +0 -45
- data/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/thor.gemspec +0 -33
- data/vendor/bundle/ruby/3.3.0/gems/tzinfo-2.0.6/LICENSE +0 -19
- data/vendor/bundle/ruby/3.3.0/gems/tzinfo-2.0.6/README.md +0 -406
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.5.0/CHANGELOG.md +0 -196
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.5.0/MIT-LICENSE.txt +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.5.0/README.md +0 -171
- data/vendor/bundle/ruby/3.3.0/gems/useragent-0.16.10/LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/useragent-0.16.10/README.md +0 -42
- data/vendor/bundle/ruby/3.3.0/gems/webrick-1.8.1/LICENSE.txt +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/webrick-1.8.1/README.md +0 -61
- data/vendor/bundle/ruby/3.3.0/gems/webrick-1.8.1/webrick.gemspec +0 -70
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.6.17/MIT-LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.6.17/README.md +0 -1494
- data/vendor/bundle/ruby/3.3.0/specifications/actionpack-7.2.1.gemspec +0 -37
- data/vendor/bundle/ruby/3.3.0/specifications/actionview-7.2.1.gemspec +0 -33
- data/vendor/bundle/ruby/3.3.0/specifications/activesupport-7.2.1.gemspec +0 -36
- data/vendor/bundle/ruby/3.3.0/specifications/addressable-2.8.7.gemspec +0 -30
- data/vendor/bundle/ruby/3.3.0/specifications/appraisal-2.5.0.gemspec +0 -31
- data/vendor/bundle/ruby/3.3.0/specifications/ast-2.4.2.gemspec +0 -30
- data/vendor/bundle/ruby/3.3.0/specifications/benchmark-ips-2.13.0.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/bigdecimal-3.1.8.gemspec +0 -25
- data/vendor/bundle/ruby/3.3.0/specifications/builder-3.3.0.gemspec +0 -22
- data/vendor/bundle/ruby/3.3.0/specifications/byebug-11.1.3.gemspec +0 -31
- data/vendor/bundle/ruby/3.3.0/specifications/coderay-1.1.3.gemspec +0 -25
- data/vendor/bundle/ruby/3.3.0/specifications/concurrent-ruby-1.3.4.gemspec +0 -24
- data/vendor/bundle/ruby/3.3.0/specifications/connection_pool-2.4.1.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/crass-1.0.6.gemspec +0 -27
- data/vendor/bundle/ruby/3.3.0/specifications/diff-lcs-1.5.1.gemspec +0 -37
- data/vendor/bundle/ruby/3.3.0/specifications/docile-1.4.1.gemspec +0 -22
- data/vendor/bundle/ruby/3.3.0/specifications/drb-2.2.1.gemspec +0 -22
- data/vendor/bundle/ruby/3.3.0/specifications/erubi-1.13.0.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/specifications/i18n-1.14.5.gemspec +0 -26
- data/vendor/bundle/ruby/3.3.0/specifications/io-console-0.7.2.gemspec +0 -25
- data/vendor/bundle/ruby/3.3.0/specifications/irb-1.14.0.gemspec +0 -30
- data/vendor/bundle/ruby/3.3.0/specifications/json-2.7.2.gemspec +0 -0
- data/vendor/bundle/ruby/3.3.0/specifications/language_server-protocol-3.17.0.3.gemspec +0 -31
- data/vendor/bundle/ruby/3.3.0/specifications/loofah-2.22.0.gemspec +0 -27
- data/vendor/bundle/ruby/3.3.0/specifications/method_source-1.1.0.gemspec +0 -21
- data/vendor/bundle/ruby/3.3.0/specifications/minitest-5.25.1.gemspec +0 -31
- data/vendor/bundle/ruby/3.3.0/specifications/nokogiri-1.16.7-x86_64-linux.gemspec +0 -31
- data/vendor/bundle/ruby/3.3.0/specifications/parallel-1.26.3.gemspec +0 -21
- data/vendor/bundle/ruby/3.3.0/specifications/parser-3.3.4.2.gemspec +0 -37
- data/vendor/bundle/ruby/3.3.0/specifications/pry-0.14.2.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/specifications/pry-byebug-3.10.1.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/public_suffix-6.0.1.gemspec +0 -24
- data/vendor/bundle/ruby/3.3.0/specifications/racc-1.8.1.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/rack-3.1.7.gemspec +0 -31
- data/vendor/bundle/ruby/3.3.0/specifications/rack-session-2.0.0.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/rack-test-2.1.0.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/specifications/rackup-2.1.0.gemspec +0 -31
- data/vendor/bundle/ruby/3.3.0/specifications/rails-dom-testing-2.2.0.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/rails-html-sanitizer-1.6.0.gemspec +0 -27
- data/vendor/bundle/ruby/3.3.0/specifications/railties-7.2.1.gemspec +0 -37
- data/vendor/bundle/ruby/3.3.0/specifications/rainbow-3.1.1.gemspec +0 -25
- data/vendor/bundle/ruby/3.3.0/specifications/rake-13.2.1.gemspec +0 -26
- data/vendor/bundle/ruby/3.3.0/specifications/rake-release-1.3.0.gemspec +0 -26
- data/vendor/bundle/ruby/3.3.0/specifications/rdoc-6.7.0.gemspec +0 -31
- data/vendor/bundle/ruby/3.3.0/specifications/regexp_parser-2.9.2.gemspec +0 -22
- data/vendor/bundle/ruby/3.3.0/specifications/reline-0.5.9.gemspec +0 -26
- data/vendor/bundle/ruby/3.3.0/specifications/rexml-3.3.6.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-3.13.0.gemspec +0 -31
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-core-3.13.0.gemspec +0 -39
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-expectations-3.13.2.gemspec +0 -33
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-mocks-3.13.1.gemspec +0 -33
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-rails-6.1.4.gemspec +0 -37
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-support-3.13.1.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-1.65.1.gemspec +0 -39
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-ast-1.32.1.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-capybara-2.21.0.gemspec +0 -27
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-factory_bot-2.26.1.gemspec +0 -27
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-performance-1.21.1.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-rspec-3.0.4.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-rspec_rails-2.30.0.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/ruby-progressbar-1.13.0.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov-0.22.0.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov-cobertura-2.1.0.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov-html-0.12.3.gemspec +0 -21
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov_json_formatter-0.1.4.gemspec +0 -21
- data/vendor/bundle/ruby/3.3.0/specifications/strscan-3.1.0.gemspec +0 -24
- data/vendor/bundle/ruby/3.3.0/specifications/thor-1.3.1.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/tzinfo-2.0.6.gemspec +0 -30
- data/vendor/bundle/ruby/3.3.0/specifications/unicode-display_width-2.5.0.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/specifications/useragent-0.16.10.gemspec +0 -25
- data/vendor/bundle/ruby/3.3.0/specifications/webrick-1.8.1.gemspec +0 -22
- data/vendor/bundle/ruby/3.3.0/specifications/zeitwerk-2.6.17.gemspec +0 -22
@@ -1,326 +0,0 @@
|
|
1
|
-
# RSpec Expectations [![Build Status](https://github.com/rspec/rspec-expectations/workflows/RSpec%20CI/badge.svg)](https://github.com/rspec/rspec-expectations/actions) [![Code Climate](https://codeclimate.com/github/rspec/rspec-expectations.svg)](https://codeclimate.com/github/rspec/rspec-expectations)
|
2
|
-
|
3
|
-
RSpec::Expectations lets you express expected outcomes on an object in an
|
4
|
-
example.
|
5
|
-
|
6
|
-
```ruby
|
7
|
-
expect(account.balance).to eq(Money.new(37.42, :USD))
|
8
|
-
```
|
9
|
-
|
10
|
-
## Install
|
11
|
-
|
12
|
-
If you want to use rspec-expectations with rspec, just install the rspec gem
|
13
|
-
and RubyGems will also install rspec-expectations for you (along with
|
14
|
-
rspec-core and rspec-mocks):
|
15
|
-
|
16
|
-
```shell
|
17
|
-
gem install rspec
|
18
|
-
```
|
19
|
-
|
20
|
-
Want to run against the `main` branch? You'll need to include the dependent
|
21
|
-
RSpec repos as well. Add the following to your `Gemfile`:
|
22
|
-
|
23
|
-
```ruby
|
24
|
-
%w[rspec-core rspec-expectations rspec-mocks rspec-support].each do |lib|
|
25
|
-
gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => 'main'
|
26
|
-
end
|
27
|
-
```
|
28
|
-
|
29
|
-
If you want to use rspec-expectations with another tool, like Test::Unit,
|
30
|
-
Minitest, or Cucumber, you can install it directly:
|
31
|
-
|
32
|
-
```shell
|
33
|
-
gem install rspec-expectations
|
34
|
-
```
|
35
|
-
|
36
|
-
## Contributing
|
37
|
-
|
38
|
-
Once you've set up the environment, you'll need to cd into the working
|
39
|
-
directory of whichever repo you want to work in. From there you can run the
|
40
|
-
specs and cucumber features, and make patches.
|
41
|
-
|
42
|
-
NOTE: You do not need to use rspec-dev to work on a specific RSpec repo. You
|
43
|
-
can treat each RSpec repo as an independent project.
|
44
|
-
|
45
|
-
- [Build details](BUILD_DETAIL.md)
|
46
|
-
- [Code of Conduct](CODE_OF_CONDUCT.md)
|
47
|
-
- [Detailed contributing guide](CONTRIBUTING.md)
|
48
|
-
- [Development setup guide](DEVELOPMENT.md)
|
49
|
-
|
50
|
-
## Basic usage
|
51
|
-
|
52
|
-
Here's an example using rspec-core:
|
53
|
-
|
54
|
-
```ruby
|
55
|
-
RSpec.describe Order do
|
56
|
-
it "sums the prices of the items in its line items" do
|
57
|
-
order = Order.new
|
58
|
-
order.add_entry(LineItem.new(:item => Item.new(
|
59
|
-
:price => Money.new(1.11, :USD)
|
60
|
-
)))
|
61
|
-
order.add_entry(LineItem.new(:item => Item.new(
|
62
|
-
:price => Money.new(2.22, :USD),
|
63
|
-
:quantity => 2
|
64
|
-
)))
|
65
|
-
expect(order.total).to eq(Money.new(5.55, :USD))
|
66
|
-
end
|
67
|
-
end
|
68
|
-
```
|
69
|
-
|
70
|
-
The `describe` and `it` methods come from rspec-core. The `Order`, `LineItem`, `Item` and `Money` classes would be from _your_ code. The last line of the example
|
71
|
-
expresses an expected outcome. If `order.total == Money.new(5.55, :USD)`, then
|
72
|
-
the example passes. If not, it fails with a message like:
|
73
|
-
|
74
|
-
```
|
75
|
-
expected: #<Money @value=5.55 @currency=:USD>
|
76
|
-
got: #<Money @value=1.11 @currency=:USD>
|
77
|
-
```
|
78
|
-
|
79
|
-
## Built-in matchers
|
80
|
-
|
81
|
-
### Equivalence
|
82
|
-
|
83
|
-
```ruby
|
84
|
-
expect(actual).to eq(expected) # passes if actual == expected
|
85
|
-
expect(actual).to eql(expected) # passes if actual.eql?(expected)
|
86
|
-
expect(actual).not_to eql(not_expected) # passes if not(actual.eql?(expected))
|
87
|
-
```
|
88
|
-
|
89
|
-
Note: The new `expect` syntax no longer supports the `==` matcher.
|
90
|
-
|
91
|
-
### Identity
|
92
|
-
|
93
|
-
```ruby
|
94
|
-
expect(actual).to be(expected) # passes if actual.equal?(expected)
|
95
|
-
expect(actual).to equal(expected) # passes if actual.equal?(expected)
|
96
|
-
```
|
97
|
-
|
98
|
-
### Comparisons
|
99
|
-
|
100
|
-
```ruby
|
101
|
-
expect(actual).to be > expected
|
102
|
-
expect(actual).to be >= expected
|
103
|
-
expect(actual).to be <= expected
|
104
|
-
expect(actual).to be < expected
|
105
|
-
expect(actual).to be_within(delta).of(expected)
|
106
|
-
```
|
107
|
-
|
108
|
-
### Regular expressions
|
109
|
-
|
110
|
-
```ruby
|
111
|
-
expect(actual).to match(/expression/)
|
112
|
-
```
|
113
|
-
|
114
|
-
Note: The new `expect` syntax no longer supports the `=~` matcher.
|
115
|
-
|
116
|
-
### Types/classes
|
117
|
-
|
118
|
-
```ruby
|
119
|
-
expect(actual).to be_an_instance_of(expected) # passes if actual.class == expected
|
120
|
-
expect(actual).to be_a(expected) # passes if actual.kind_of?(expected)
|
121
|
-
expect(actual).to be_an(expected) # an alias for be_a
|
122
|
-
expect(actual).to be_a_kind_of(expected) # another alias
|
123
|
-
```
|
124
|
-
|
125
|
-
### Truthiness
|
126
|
-
|
127
|
-
```ruby
|
128
|
-
expect(actual).to be_truthy # passes if actual is truthy (not nil or false)
|
129
|
-
expect(actual).to be true # passes if actual == true
|
130
|
-
expect(actual).to be_falsy # passes if actual is falsy (nil or false)
|
131
|
-
expect(actual).to be false # passes if actual == false
|
132
|
-
expect(actual).to be_nil # passes if actual is nil
|
133
|
-
expect(actual).to_not be_nil # passes if actual is not nil
|
134
|
-
```
|
135
|
-
|
136
|
-
### Expecting errors
|
137
|
-
|
138
|
-
```ruby
|
139
|
-
expect { ... }.to raise_error
|
140
|
-
expect { ... }.to raise_error(ErrorClass)
|
141
|
-
expect { ... }.to raise_error("message")
|
142
|
-
expect { ... }.to raise_error(ErrorClass, "message")
|
143
|
-
```
|
144
|
-
|
145
|
-
### Expecting throws
|
146
|
-
|
147
|
-
```ruby
|
148
|
-
expect { ... }.to throw_symbol
|
149
|
-
expect { ... }.to throw_symbol(:symbol)
|
150
|
-
expect { ... }.to throw_symbol(:symbol, 'value')
|
151
|
-
```
|
152
|
-
|
153
|
-
### Yielding
|
154
|
-
|
155
|
-
```ruby
|
156
|
-
expect { |b| 5.tap(&b) }.to yield_control # passes regardless of yielded args
|
157
|
-
|
158
|
-
expect { |b| yield_if_true(true, &b) }.to yield_with_no_args # passes only if no args are yielded
|
159
|
-
|
160
|
-
expect { |b| 5.tap(&b) }.to yield_with_args(5)
|
161
|
-
expect { |b| 5.tap(&b) }.to yield_with_args(Integer)
|
162
|
-
expect { |b| "a string".tap(&b) }.to yield_with_args(/str/)
|
163
|
-
|
164
|
-
expect { |b| [1, 2, 3].each(&b) }.to yield_successive_args(1, 2, 3)
|
165
|
-
expect { |b| { :a => 1, :b => 2 }.each(&b) }.to yield_successive_args([:a, 1], [:b, 2])
|
166
|
-
```
|
167
|
-
|
168
|
-
### Predicate matchers
|
169
|
-
|
170
|
-
```ruby
|
171
|
-
expect(actual).to be_xxx # passes if actual.xxx?
|
172
|
-
expect(actual).to have_xxx(:arg) # passes if actual.has_xxx?(:arg)
|
173
|
-
```
|
174
|
-
|
175
|
-
### Ranges (Ruby >= 1.9 only)
|
176
|
-
|
177
|
-
```ruby
|
178
|
-
expect(1..10).to cover(3)
|
179
|
-
```
|
180
|
-
|
181
|
-
### Collection membership
|
182
|
-
|
183
|
-
```ruby
|
184
|
-
# exact order, entire collection
|
185
|
-
expect(actual).to eq(expected)
|
186
|
-
|
187
|
-
# exact order, partial collection (based on an exact position)
|
188
|
-
expect(actual).to start_with(expected)
|
189
|
-
expect(actual).to end_with(expected)
|
190
|
-
|
191
|
-
# any order, entire collection
|
192
|
-
expect(actual).to match_array(expected)
|
193
|
-
|
194
|
-
# You can also express this by passing the expected elements
|
195
|
-
# as individual arguments
|
196
|
-
expect(actual).to contain_exactly(expected_element1, expected_element2)
|
197
|
-
|
198
|
-
# any order, partial collection
|
199
|
-
expect(actual).to include(expected)
|
200
|
-
```
|
201
|
-
|
202
|
-
#### Examples
|
203
|
-
|
204
|
-
```ruby
|
205
|
-
expect([1, 2, 3]).to eq([1, 2, 3]) # Order dependent equality check
|
206
|
-
expect([1, 2, 3]).to include(1) # Exact ordering, partial collection matches
|
207
|
-
expect([1, 2, 3]).to include(2, 3) #
|
208
|
-
expect([1, 2, 3]).to start_with(1) # As above, but from the start of the collection
|
209
|
-
expect([1, 2, 3]).to start_with(1, 2) #
|
210
|
-
expect([1, 2, 3]).to end_with(3) # As above but from the end of the collection
|
211
|
-
expect([1, 2, 3]).to end_with(2, 3) #
|
212
|
-
expect({:a => 'b'}).to include(:a => 'b') # Matching within hashes
|
213
|
-
expect("this string").to include("is str") # Matching within strings
|
214
|
-
expect("this string").to start_with("this") #
|
215
|
-
expect("this string").to end_with("ring") #
|
216
|
-
expect([1, 2, 3]).to contain_exactly(2, 3, 1) # Order independent matches
|
217
|
-
expect([1, 2, 3]).to match_array([3, 2, 1]) #
|
218
|
-
|
219
|
-
# Order dependent compound matchers
|
220
|
-
expect(
|
221
|
-
[{:a => 'hash'},{:a => 'another'}]
|
222
|
-
).to match([a_hash_including(:a => 'hash'), a_hash_including(:a => 'another')])
|
223
|
-
```
|
224
|
-
|
225
|
-
## `should` syntax
|
226
|
-
|
227
|
-
In addition to the `expect` syntax, rspec-expectations continues to support the
|
228
|
-
`should` syntax:
|
229
|
-
|
230
|
-
```ruby
|
231
|
-
actual.should eq expected
|
232
|
-
actual.should be > 3
|
233
|
-
[1, 2, 3].should_not include 4
|
234
|
-
```
|
235
|
-
|
236
|
-
See [detailed information on the `should` syntax and its usage.](https://github.com/rspec/rspec-expectations/blob/main/Should.md)
|
237
|
-
|
238
|
-
## Compound Matcher Expressions
|
239
|
-
|
240
|
-
You can also create compound matcher expressions using `and` or `or`:
|
241
|
-
|
242
|
-
``` ruby
|
243
|
-
expect(alphabet).to start_with("a").and end_with("z")
|
244
|
-
expect(stoplight.color).to eq("red").or eq("green").or eq("yellow")
|
245
|
-
```
|
246
|
-
|
247
|
-
## Composing Matchers
|
248
|
-
|
249
|
-
Many of the built-in matchers are designed to take matchers as
|
250
|
-
arguments, to allow you to flexibly specify only the essential
|
251
|
-
aspects of an object or data structure. In addition, all of the
|
252
|
-
built-in matchers have one or more aliases that provide better
|
253
|
-
phrasing for when they are used as arguments to another matcher.
|
254
|
-
|
255
|
-
### Examples
|
256
|
-
|
257
|
-
```ruby
|
258
|
-
expect { k += 1.05 }.to change { k }.by( a_value_within(0.1).of(1.0) )
|
259
|
-
|
260
|
-
expect { s = "barn" }.to change { s }
|
261
|
-
.from( a_string_matching(/foo/) )
|
262
|
-
.to( a_string_matching(/bar/) )
|
263
|
-
|
264
|
-
expect(["barn", 2.45]).to contain_exactly(
|
265
|
-
a_value_within(0.1).of(2.5),
|
266
|
-
a_string_starting_with("bar")
|
267
|
-
)
|
268
|
-
|
269
|
-
expect(["barn", "food", 2.45]).to end_with(
|
270
|
-
a_string_matching("foo"),
|
271
|
-
a_value > 2
|
272
|
-
)
|
273
|
-
|
274
|
-
expect(["barn", 2.45]).to include( a_string_starting_with("bar") )
|
275
|
-
|
276
|
-
expect(:a => "food", :b => "good").to include(:a => a_string_matching(/foo/))
|
277
|
-
|
278
|
-
hash = {
|
279
|
-
:a => {
|
280
|
-
:b => ["foo", 5],
|
281
|
-
:c => { :d => 2.05 }
|
282
|
-
}
|
283
|
-
}
|
284
|
-
|
285
|
-
expect(hash).to match(
|
286
|
-
:a => {
|
287
|
-
:b => a_collection_containing_exactly(
|
288
|
-
a_string_starting_with("f"),
|
289
|
-
an_instance_of(Integer)
|
290
|
-
),
|
291
|
-
:c => { :d => (a_value < 3) }
|
292
|
-
}
|
293
|
-
)
|
294
|
-
|
295
|
-
expect { |probe|
|
296
|
-
[1, 2, 3].each(&probe)
|
297
|
-
}.to yield_successive_args( a_value < 2, 2, a_value > 2 )
|
298
|
-
```
|
299
|
-
|
300
|
-
## Usage outside rspec-core
|
301
|
-
|
302
|
-
You always need to load `rspec/expectations` even if you only want to use one part of the library:
|
303
|
-
|
304
|
-
```ruby
|
305
|
-
require 'rspec/expectations'
|
306
|
-
```
|
307
|
-
|
308
|
-
Then simply include `RSpec::Matchers` in any class:
|
309
|
-
|
310
|
-
```ruby
|
311
|
-
class MyClass
|
312
|
-
include RSpec::Matchers
|
313
|
-
|
314
|
-
def do_something(arg)
|
315
|
-
expect(arg).to be > 0
|
316
|
-
# do other stuff
|
317
|
-
end
|
318
|
-
end
|
319
|
-
```
|
320
|
-
|
321
|
-
## Also see
|
322
|
-
|
323
|
-
* [https://github.com/rspec/rspec](https://github.com/rspec/rspec)
|
324
|
-
* [https://github.com/rspec/rspec-core](https://github.com/rspec/rspec-core)
|
325
|
-
* [https://github.com/rspec/rspec-mocks](https://github.com/rspec/rspec-mocks)
|
326
|
-
* [https://github.com/rspec/rspec-rails](https://github.com/rspec/rspec-rails)
|
@@ -1,25 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
=====================
|
3
|
-
|
4
|
-
* Copyright © 2012 David Chelimsky, Myron Marston
|
5
|
-
* Copyright © 2006 David Chelimsky, The RSpec Development Team
|
6
|
-
* Copyright © 2005 Steven Baker
|
7
|
-
|
8
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
9
|
-
a copy of this software and associated documentation files (the
|
10
|
-
"Software"), to deal in the Software without restriction, including
|
11
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
12
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
13
|
-
permit persons to whom the Software is furnished to do so, subject to
|
14
|
-
the following conditions:
|
15
|
-
|
16
|
-
The above copyright notice and this permission notice shall be
|
17
|
-
included in all copies or substantial portions of the Software.
|
18
|
-
|
19
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
22
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
23
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
24
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
25
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|