rails-rfc6570 3.1.0 → 3.2.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 +8 -0
- data/README.md +2 -1
- data/lib/rails/rfc6570/version.rb +1 -1
- data/rails-rfc6570.gemspec +2 -2
- data/spec/spec_helper.rb +8 -5
- data/vendor/bundle/ruby/3.3.0/bundler/gems/rubocop-config-943facea9d8f/LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/bundler/gems/rubocop-config-943facea9d8f/README.md +23 -0
- data/vendor/bundle/ruby/3.3.0/bundler/gems/rubocop-config-943facea9d8f/rubocop-config.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionpack-7.2.1/CHANGELOG.md +154 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionpack-7.2.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionpack-7.2.1/README.rdoc +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionview-7.2.1/CHANGELOG.md +113 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionview-7.2.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionview-7.2.1/README.rdoc +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.1/CHANGELOG.md +258 -0
- data/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.1/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.1/README.rdoc +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/CHANGELOG.md +301 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/LICENSE.txt +202 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/README.md +121 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/addressable.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/appraisal-2.5.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/appraisal-2.5.0/README.md +243 -0
- data/vendor/bundle/ruby/3.3.0/gems/appraisal-2.5.0/appraisal.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/README.YARD.md +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/benchmark-ips-2.13.0/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/benchmark-ips-2.13.0/README.md +279 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-3.1.8/LICENSE +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-3.1.8/bigdecimal.gemspec +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/builder-3.3.0/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/builder-3.3.0/README.md +258 -0
- data/vendor/bundle/ruby/3.3.0/gems/builder-3.3.0/builder.gemspec +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/CHANGELOG.md +934 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/LICENSE +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/README.md +199 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/MIT-LICENSE +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/README_INDEX.rdoc +123 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/CHANGELOG.md +593 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/README.md +407 -0
- data/vendor/bundle/ruby/3.3.0/gems/connection_pool-2.4.1/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/connection_pool-2.4.1/README.md +135 -0
- data/vendor/bundle/ruby/3.3.0/gems/connection_pool-2.4.1/connection_pool.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/crass-1.0.6/LICENSE +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/crass-1.0.6/README.md +192 -0
- data/vendor/bundle/ruby/3.3.0/gems/crass-1.0.6/crass.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/README.rdoc +84 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/README.md +409 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/docile.gemspec +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/drb-2.2.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/drb-2.2.1/drb.gemspec +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/erubi-1.13.0/CHANGELOG +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/erubi-1.13.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/erubi-1.13.0/README.rdoc +151 -0
- data/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.5/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.5/README.md +127 -0
- data/vendor/bundle/ruby/3.3.0/gems/io-console-0.7.2/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/io-console-0.7.2/README.md +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/irb-1.14.0/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/irb-1.14.0/README.md +405 -0
- data/vendor/bundle/ruby/3.3.0/gems/irb-1.14.0/irb.gemspec +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/LICENSE +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/README.md +416 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/json.gemspec +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/language_server-protocol-3.17.0.3/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/language_server-protocol-3.17.0.3/README.md +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/loofah-2.22.0/CHANGELOG.md +566 -0
- data/vendor/bundle/ruby/3.3.0/gems/loofah-2.22.0/MIT-LICENSE.txt +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/loofah-2.22.0/README.md +363 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/CHANGELOG.md +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/LICENSE +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/README.markdown +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/method_source.gemspec +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/minitest-5.25.1/README.rdoc +835 -0
- data/vendor/bundle/ruby/3.3.0/gems/nokogiri-1.16.7-x86_64-linux/LICENSE-DEPENDENCIES.md +2224 -0
- data/vendor/bundle/ruby/3.3.0/gems/nokogiri-1.16.7-x86_64-linux/LICENSE.md +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/nokogiri-1.16.7-x86_64-linux/README.md +290 -0
- data/vendor/bundle/ruby/3.3.0/gems/parallel-1.26.3/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.2/LICENSE.txt +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.2/parser.gemspec +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/CHANGELOG.md +1141 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/LICENSE +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/README.md +466 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/slop/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/CHANGELOG.md +230 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/README.md +189 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.1/CHANGELOG.md +491 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.1/README.md +222 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/README.ja.rdoc +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/README.rdoc +60 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/CHANGELOG.md +994 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/README.md +328 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-test-2.1.0/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-test-2.1.0/README.md +139 -0
- data/vendor/bundle/ruby/3.3.0/gems/rails-dom-testing-2.2.0/MIT-LICENSE +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rails-dom-testing-2.2.0/README.md +91 -0
- data/vendor/bundle/ruby/3.3.0/gems/rails-html-sanitizer-1.6.0/CHANGELOG.md +201 -0
- data/vendor/bundle/ruby/3.3.0/gems/rails-html-sanitizer-1.6.0/MIT-LICENSE +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rails-html-sanitizer-1.6.0/README.md +271 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/CHANGELOG.md +361 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/README.rdoc +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/app/templates/README.md.tt +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/plugin/templates/MIT-LICENSE.tt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/plugin/templates/README.md.tt +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/README.markdown +227 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/README.rdoc +155 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/rake.gemspec +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-release-1.3.0/LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-release-1.3.0/README.md +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-release-1.3.0/rake-release.gemspec +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rdoc-6.7.0/LICENSE.rdoc +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/rdoc-6.7.0/README.rdoc +129 -0
- data/vendor/bundle/ruby/3.3.0/gems/regexp_parser-2.9.2/LICENSE +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/regexp_parser-2.9.2/regexp_parser.gemspec +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/reline-0.5.9/README.md +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/rexml-3.3.6/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/rexml-3.3.6/README.md +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-3.13.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-3.13.0/README.md +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/LICENSE.md +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/README.md +389 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.2/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.2/README.md +326 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/README.md +465 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-rails-6.1.4/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-rails-6.1.4/README.md +381 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/LICENSE.md +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/README.md +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-1.65.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-1.65.1/README.md +251 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-ast-1.32.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-ast-1.32.1/README.md +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/CHANGELOG.md +85 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/README.md +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/CHANGELOG.md +116 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/README.md +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-performance-1.21.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-performance-1.21.1/README.md +97 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.4/CHANGELOG.md +1028 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.4/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.4/README.md +109 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/CHANGELOG.md +84 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/README.md +90 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/README.md +131 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/CHANGELOG.md +191 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/README.md +974 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-cobertura-2.1.0/LICENSE +202 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-cobertura-2.1.0/README.md +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-cobertura-2.1.0/simplecov-cobertura.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/CHANGELOG.md +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/README.md +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/simplecov-html.gemspec +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov_json_formatter-0.1.4/CHANGELOG.md +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov_json_formatter-0.1.4/README.md +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/strscan-3.1.0/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/LICENSE.md +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/README.md +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/thor.gemspec +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/tzinfo-2.0.6/LICENSE +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/tzinfo-2.0.6/README.md +406 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.5.0/CHANGELOG.md +196 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.5.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.5.0/README.md +171 -0
- data/vendor/bundle/ruby/3.3.0/gems/useragent-0.16.10/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/useragent-0.16.10/README.md +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/webrick-1.8.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/webrick-1.8.1/README.md +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/webrick-1.8.1/webrick.gemspec +70 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.6.17/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.6.17/README.md +1494 -0
- data/vendor/bundle/ruby/3.3.0/specifications/actionpack-7.2.1.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/actionview-7.2.1.gemspec +33 -0
- data/vendor/bundle/ruby/3.3.0/specifications/activesupport-7.2.1.gemspec +36 -0
- data/vendor/bundle/ruby/3.3.0/specifications/addressable-2.8.7.gemspec +30 -0
- data/vendor/bundle/ruby/3.3.0/specifications/appraisal-2.5.0.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/ast-2.4.2.gemspec +30 -0
- data/vendor/bundle/ruby/3.3.0/specifications/benchmark-ips-2.13.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/bigdecimal-3.1.8.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/builder-3.3.0.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/byebug-11.1.3.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/coderay-1.1.3.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/concurrent-ruby-1.3.4.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/specifications/connection_pool-2.4.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/crass-1.0.6.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/diff-lcs-1.5.1.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/docile-1.4.1.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/drb-2.2.1.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/erubi-1.13.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/i18n-1.14.5.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/specifications/io-console-0.7.2.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/irb-1.14.0.gemspec +30 -0
- 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 +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/loofah-2.22.0.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/method_source-1.1.0.gemspec +21 -0
- data/vendor/bundle/ruby/3.3.0/specifications/minitest-5.25.1.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/nokogiri-1.16.7-x86_64-linux.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/parallel-1.26.3.gemspec +21 -0
- data/vendor/bundle/ruby/3.3.0/specifications/parser-3.3.4.2.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/pry-0.14.2.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/pry-byebug-3.10.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/public_suffix-6.0.1.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/specifications/racc-1.8.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rack-3.1.7.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rack-session-2.0.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rack-test-2.1.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rackup-2.1.0.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rails-dom-testing-2.2.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rails-html-sanitizer-1.6.0.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/railties-7.2.1.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rainbow-3.1.1.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rake-13.2.1.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rake-release-1.3.0.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rdoc-6.7.0.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/regexp_parser-2.9.2.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/reline-0.5.9.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rexml-3.3.6.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-3.13.0.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-core-3.13.0.gemspec +39 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-expectations-3.13.2.gemspec +33 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-mocks-3.13.1.gemspec +33 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-rails-6.1.4.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-support-3.13.1.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-1.65.1.gemspec +39 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-ast-1.32.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-capybara-2.21.0.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-factory_bot-2.26.1.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-performance-1.21.1.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-rspec-3.0.4.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-rspec_rails-2.30.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/ruby-progressbar-1.13.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov-0.22.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov-cobertura-2.1.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov-html-0.12.3.gemspec +21 -0
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov_json_formatter-0.1.4.gemspec +21 -0
- data/vendor/bundle/ruby/3.3.0/specifications/strscan-3.1.0.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/specifications/thor-1.3.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/tzinfo-2.0.6.gemspec +30 -0
- data/vendor/bundle/ruby/3.3.0/specifications/unicode-display_width-2.5.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/useragent-0.16.10.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/webrick-1.8.1.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/zeitwerk-2.6.17.gemspec +22 -0
- metadata +258 -6
- data/spec/dummy/log/test.log +0 -192
@@ -0,0 +1,1028 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## Master (Unreleased)
|
4
|
+
|
5
|
+
## 3.0.4 (2024-08-05)
|
6
|
+
|
7
|
+
- Fix false-negative for `UnspecifiedException` when matcher is chained. ([@r7kamura])
|
8
|
+
|
9
|
+
## 3.0.3 (2024-07-12)
|
10
|
+
|
11
|
+
- Add support for Unicode RIGHT SINGLE QUOTATION MARK in `RSpec/ExampleWording`. ([@jdufresne])
|
12
|
+
- Suppress deprecation warning for `RSpec/MultipleExpectations`, `RSpec/MultipleMemoizedHelpers`, and `RSpec/NestedGroups` cops. ([@koic])
|
13
|
+
|
14
|
+
## 3.0.2 (2024-07-02)
|
15
|
+
|
16
|
+
- Fix wrong autocorrect for `RSpec/ScatteredSetup` when hook contains heredoc. ([@earlopain])
|
17
|
+
- Fix false negative for `RSpec/PredicateMatcher` when expectation contains custom failure message. ([@earlopain])
|
18
|
+
- Facilitate the 3.0 upgrade flow with proper extracted cop messages. ([@jeppester])
|
19
|
+
|
20
|
+
## 3.0.1 (2024-06-11)
|
21
|
+
|
22
|
+
- Bump RuboCop requirement to +1.61. ([@ydah])
|
23
|
+
|
24
|
+
## 3.0.0 (2024-06-11)
|
25
|
+
|
26
|
+
- Remove extracted cops in `Capybara`, `FactoryBot` and `Rails` departments. ([@ydah])
|
27
|
+
- Remove `RuboCop::RSpec::Language::NodePattern`. ([@ydah])
|
28
|
+
- Remove `RSpec/FilePath` cop. ([@ydah])
|
29
|
+
- Remove `RSpec/Capybara/FeatureMethods` cop. If you are using this cop, change it to use `RSpec/Dialect`. ([@ydah])
|
30
|
+
- Add new `RSpec/MissingExpectationTargetMethod` cop. ([@krororo])
|
31
|
+
- Fix an error for `RSpec/ScatteredSetup` when one of the hooks is an empty block. ([@earlopain])
|
32
|
+
|
33
|
+
These previously pending cops are now enabled by default: `RSpec/BeEmpty`, `RSpec/BeEq`, `RSpec/BeNil`, `RSpec/ChangeByZero`, `RSpec/ClassCheck`, `RSpec/ContainExactly`, `RSpec/DuplicatedMetadata`, `RSpec/EmptyMetadata`, `RSpec/EmptyOutput`, `RSpec/Eq`, `RSpec/ExcessiveDocstringSpacing`, `RSpec/ExpectInLet`, `RSpec/IdenticalEqualityAssertion`, `RSpec/IndexedLet`, `RSpec/IsExpectedSpecify`, `RSpec/MatchArray`, `RSpec/MetadataStyle`, `RSpec/NoExpectationExample`, `RSpec/PendingWithoutReason`, `RSpec/ReceiveMessages`, `RSpec/RedundantAround`, `RSpec/RedundantPredicateMatcher`, `RSpec/RemoveConst`, `RSpec/RepeatedSubjectCall`, `RSpec/SkipBlockInsideExample`, `RSpec/SortMetadata`, `RSpec/SpecFilePathFormat`, `RSpec/SpecFilePathSuffix`, `RSpec/SubjectDeclaration`, `RSpec/UndescriptiveLiteralsDescription`, and `RSpec/VerifiedDoubleReference`.
|
34
|
+
|
35
|
+
Read more about how to upgrade in https://docs.rubocop.org/rubocop-rspec/upgrade_to_version_3.html
|
36
|
+
|
37
|
+
## 2.31.0 (2024-06-07)
|
38
|
+
|
39
|
+
- Support `AutoCorrect: contextual` option for LSP. ([@ydah])
|
40
|
+
|
41
|
+
## 2.30.0 (2024-06-03)
|
42
|
+
|
43
|
+
- Add new `RSpec/ExpectInLet` cop. ([@yasu551])
|
44
|
+
|
45
|
+
## 2.29.2 (2024-05-02)
|
46
|
+
|
47
|
+
- Fix beginless and endless range bug for RepeatedIncludeExample cop. ([@hasghari])
|
48
|
+
- Fix a false positive for `RSpec/RepeatedSubjectCall` when subject is used as argument to function call. ([@K-S-A])
|
49
|
+
|
50
|
+
## 2.29.1 (2024-04-05)
|
51
|
+
|
52
|
+
- Fix an error in the default configuration. ([@ydah])
|
53
|
+
|
54
|
+
## 2.29.0 (2024-04-04)
|
55
|
+
|
56
|
+
- Fix an autocorrect error for `RSpec/ExpectActual`. ([@bquorning])
|
57
|
+
- Add new `RSpec/UndescriptiveLiteralsDescription` cop. ([@ydah])
|
58
|
+
- Add new `RSpec/EmptyOutput` cop. ([@bquorning])
|
59
|
+
|
60
|
+
## 2.28.0 (2024-03-30)
|
61
|
+
|
62
|
+
- Extract RSpec Rails cops to a separate repository, [`rubocop-rspec_rails`](https://github.com/rubocop/rubocop-rspec_rails). The `rubocop-rspec_rails` repository is a dependency of `rubocop-rspec` and the cops related to rspec-rails are aliased (`RSpec/Rails/Foo` == `RSpecRails/Foo`) until v3.0 is released, so the change will be invisible to users until then. ([@ydah])
|
63
|
+
|
64
|
+
## 2.27.1 (2024-03-03)
|
65
|
+
|
66
|
+
- Fix a false positive for `RSpec/RepeatedSubjectCall` when `subject.method_call`. ([@ydah])
|
67
|
+
- Add configuration option `OnlyStaticConstants` to `RSpec/DescribedClass`. ([@ydah])
|
68
|
+
|
69
|
+
## 2.27.0 (2024-03-01)
|
70
|
+
|
71
|
+
- Add new `RSpec/IsExpectedSpecify` cop. ([@ydah])
|
72
|
+
- Add new `RSpec/RepeatedSubjectCall` cop. ([@drcapulet])
|
73
|
+
- Add support for `assert_true`, `assert_false`, `assert_not_equal`, `assert_not_nil`, `*_empty`, `*_predicate`, `*_kind_of`, `*_in_delta`, `*_match`, `*_instance_of` and `*_includes` assertions in `RSpec/Rails/MinitestAssertions`. ([@ydah], [@G-Rath])
|
74
|
+
- Support asserts with messages in `Rspec/BeEmpty`. ([@G-Rath])
|
75
|
+
- Fix a false positive for `RSpec/ExpectActual` when used with rspec-rails routing matchers. ([@naveg])
|
76
|
+
- Add configuration option `ResponseMethods` to `RSpec/Rails/HaveHttpStatus`. ([@ydah])
|
77
|
+
- Fix a false negative for `RSpec/DescribedClass` when class with constant. ([@ydah])
|
78
|
+
- Fix a false positive for `RSpec/ExampleWithoutDescription` when `specify` with multi-line block and missing description. ([@ydah])
|
79
|
+
- Fix an incorrect autocorrect for `RSpec/ChangeByZero` when compound expectations with line break before `.by(0)`. ([@ydah])
|
80
|
+
|
81
|
+
## 2.26.1 (2024-01-05)
|
82
|
+
|
83
|
+
- Fix an error for `RSpec/SharedExamples` when using examples without argument. ([@ydah])
|
84
|
+
|
85
|
+
## 2.26.0 (2024-01-04)
|
86
|
+
|
87
|
+
- Add new `RSpec/RedundantPredicateMatcher` cop. ([@ydah])
|
88
|
+
- Add new `RSpec/RemoveConst` cop. ([@swelther])
|
89
|
+
- Add support for correcting "it will" (future tense) for `RSpec/ExampleWording`. ([@jdufresne])
|
90
|
+
- Add support for `symbol` style for `RSpec/SharedExamples`. ([@jessieay])
|
91
|
+
- Ensure `PendingWithoutReason` can detect violations inside shared groups. ([@robinaugh])
|
92
|
+
|
93
|
+
## 2.25.0 (2023-10-27)
|
94
|
+
|
95
|
+
- Add support single quoted string and percent string and heredoc for `RSpec/Rails/HttpStatus`. ([@ydah])
|
96
|
+
- Change to be inline disable for `RSpec/SpecFilePathFormat` like `RSpec/FilePath`. ([@ydah])
|
97
|
+
- Fix a false positive for `RSpec/MetadataStyle` with example groups having multiple string arguments. ([@franzliedke])
|
98
|
+
|
99
|
+
## 2.24.1 (2023-09-23)
|
100
|
+
|
101
|
+
- Fix an error when using `RSpec/FilePath` and revert to enabled by default. If you have already moved to `RSpec/SpecFilePathSuffix` and `RSpec/SpecFilePathFormat`, disable `RSpec/FilePath` explicitly as `Enabled: false`. The `RSpec/FilePath` before migration and the `RSpec/SpecFilePathSuffix` and `RSpec/SpecFilePathFormat` as the target are available respectively. ([@ydah])
|
102
|
+
|
103
|
+
## 2.24.0 (2023-09-08)
|
104
|
+
|
105
|
+
- Split `RSpec/FilePath` into `RSpec/SpecFilePathSuffix` and `RSpec/SpecFilePathFormat`. `RSpec/FilePath` cop is disabled by default and the two new cops are pending and need to be enabled explicitly. ([@ydah])
|
106
|
+
- Add new `RSpec/Eq` cop. ([@ydah])
|
107
|
+
- Add `RSpec/MetadataStyle` and `RSpec/EmptyMetadata` cops. ([@r7kamura])
|
108
|
+
- Add support `RSpec/Rails/HttpStatus` when `have_http_status` with string argument. ([@ydah])
|
109
|
+
- Fix an infinite loop error when `RSpec/ExcessiveDocstringSpacing` finds a description with non-ASCII leading/trailing whitespace. ([@bcgraham])
|
110
|
+
- Fix an incorrect autocorrect for `RSpec/ReceiveMessages` when return values declared between stubs. ([@marocchino])
|
111
|
+
- Fix a false positive `RSpec/Focus` when chained method call and inside define method. ([@ydah])
|
112
|
+
|
113
|
+
## 2.23.2 (2023-08-09)
|
114
|
+
|
115
|
+
- Fix an incorrect autocorrect for `RSpec/ReceiveMessages` when method is only non-word character. ([@marocchino])
|
116
|
+
- Fix a false positive for `RSpec/ReceiveMessages` when return with splat. ([@marocchino])
|
117
|
+
|
118
|
+
## 2.23.1 (2023-08-07)
|
119
|
+
|
120
|
+
- Mark to `Safe: false` for `RSpec/Rails/NegationBeValid` cop. ([@ydah])
|
121
|
+
- Declare autocorrect as unsafe for `RSpec/ReceiveMessages`. ([@bquorning])
|
122
|
+
|
123
|
+
## 2.23.0 (2023-07-30)
|
124
|
+
|
125
|
+
- Add new `RSpec/Rails/NegationBeValid` cop. ([@ydah])
|
126
|
+
- Fix a false negative for `RSpec/ExcessiveDocstringSpacing` when finds description with em space. ([@ydah])
|
127
|
+
- Fix a false positive for `RSpec/EmptyExampleGroup` when example group with examples defined in `if` branch inside iterator. ([@ydah])
|
128
|
+
- Update the message output of `RSpec/ExpectActual` to include the word 'value'. ([@corydiamand])
|
129
|
+
- Fix a false negative for `RSpec/Pending` when `it` without body. ([@ydah])
|
130
|
+
- Add new `RSpec/ReceiveMessages` cop. ([@ydah])
|
131
|
+
- Change default.yml path to use `**/spec/*` instead of `spec/*`. ([@ydah])
|
132
|
+
- Add `AllowedIdentifiers` and `AllowedPatterns` configuration option to `RSpec/IndexedLet`. ([@ydah])
|
133
|
+
- Fix `RSpec/NamedSubject` when block has no body. ([@splattael])
|
134
|
+
- Fix `RSpec/LetBeforeExamples` autocorrect incompatible with `RSpec/ScatteredLet` autocorrect. ([@ydah])
|
135
|
+
- Update `RSpec/Focus` to support `shared_context` and `shared_examples`. ([@tmaier])
|
136
|
+
|
137
|
+
## 2.22.0 (2023-05-06)
|
138
|
+
|
139
|
+
- Extract factory_bot cops to a separate repository, [`rubocop-factory_bot`](https://github.com/rubocop/rubocop-factory_bot). The `rubocop-factory_bot` repository is a dependency of `rubocop-rspec` and the factory_bot cops are aliased (`RSpec/FactoryBot/Foo` == `FactoryBot/Foo`) until v3.0 is released, so the change will be invisible to users until then. ([@ydah])
|
140
|
+
|
141
|
+
## 2.21.0 (2023-05-05)
|
142
|
+
|
143
|
+
- Fix a false positive in `RSpec/IndexedLet` with suffixes after index-like numbers. ([@pirj])
|
144
|
+
- Fix an error for `RSpec/Rails/HaveHttpStatus` with comparison with strings containing non-numeric characters. ([@ydah])
|
145
|
+
- Fix an error for `RSpec/MatchArray` when `match_array` with no argument. ([@ydah])
|
146
|
+
- Add support `a_block_changing` and `changing` for `RSpec/ChangeByZero`. ([@ydah])
|
147
|
+
- Drop Ruby 2.6 support. ([@ydah])
|
148
|
+
|
149
|
+
## 2.20.0 (2023-04-18)
|
150
|
+
|
151
|
+
- Add new `RSpec/IndexedLet` cop. ([@dmitrytsepelev])
|
152
|
+
- Add new `RSpec/BeEmpty` cop. ([@ydah], [@bquorning])
|
153
|
+
- Add autocorrect support for `RSpec/ScatteredSetup`. ([@ydah])
|
154
|
+
- Add support `be_status` style for `RSpec/Rails/HttpStatus`. ([@ydah])
|
155
|
+
- Add support for shared example groups to `RSpec/EmptyLineAfterExampleGroup`. ([@pirj])
|
156
|
+
- Add support for `RSpec/HaveHttpStatus` when using `response.code`. ([@ydah])
|
157
|
+
- Fix order of expected and actual in correction for `RSpec/Rails/MinitestAssertions`. ([@mvz])
|
158
|
+
- Fix a false positive for `RSpec/DescribedClassModuleWrapping` when RSpec.describe numblock is nested within a module. ([@ydah])
|
159
|
+
- Fix a false positive for `RSpec/FactoryBot/ConsistentParenthesesStyle` inside `&&`, `||` and `:?` when `omit_parentheses` is on. ([@dmitrytsepelev])
|
160
|
+
- Fix a false positive for `RSpec/PendingWithoutReason` when pending/skip has a reason inside an example group. ([@ydah])
|
161
|
+
- Fix a false negative for `RSpec/RedundantAround` when redundant numblock `around`. ([@ydah])
|
162
|
+
- Change `RSpec/ContainExactly` to ignore calls with no arguments, and change `RSpec/MatchArray` to ignore calls with an empty array literal argument. ([@ydah], [@bquorning])
|
163
|
+
- Make `RSpec/MatchArray` and `RSpec/ContainExactly` pending. ([@ydah])
|
164
|
+
|
165
|
+
## 2.19.0 (2023-03-06)
|
166
|
+
|
167
|
+
- Fix a false positive for `RSpec/ContextWording` when context is interpolated string literal or execute string. ([@ydah])
|
168
|
+
- Fix a false positive for `RSpec/DescribeMethod` when multi-line describe without `#` and `.` at the beginning. ([@ydah], [@pirj])
|
169
|
+
- Fix a false positive for `RSpec/VariableName` when inside non-spec code. ([@ydah])
|
170
|
+
- Fix a false positive for `RSpec/VariableDefinition` when inside non-spec code. ([@ydah])
|
171
|
+
- Add new `RSpec/PendingBlockInsideExample` cop. ([@ydah])
|
172
|
+
- Add `RSpec/RedundantAround` cop. ([@r7kamura])
|
173
|
+
- Add `RSpec/Rails/TravelAround` cop. ([@r7kamura])
|
174
|
+
- Add `RSpec/ContainExactly` and `RSpec/MatchArray` cops. ([@faucct])
|
175
|
+
- Fix a false positive for `RSpec/PendingWithoutReason` when not inside example and pending/skip with block. ([@ydah], [@pirj])
|
176
|
+
- Fix a false positive for `RSpec/PendingWithoutReason` when `skip` is passed a block inside example. ([@ydah], [@pirj])
|
177
|
+
- Rename `RSpec/PendingBlockInsideExample` cop to `RSpec/SkipBlockInsideExample`. ([@pirj])
|
178
|
+
- Deprecate `send_pattern`/`block_pattern`/`numblock_pattern` helpers in favour of using node pattern explicitly. ([@pirj], [@ydah])
|
179
|
+
- Fix an incorrect autocorrect for `RSpec/VerifiedDoubleReference` when namespaced class. ([@ydah])
|
180
|
+
|
181
|
+
## 2.18.1 (2023-01-19)
|
182
|
+
|
183
|
+
- Add `rubocop-capybara` version constraint to prevent sudden cop enabling when it hits 3.0. ([@pirj])
|
184
|
+
|
185
|
+
## 2.18.0 (2023-01-16)
|
186
|
+
|
187
|
+
- Extract Capybara cops to a separate repository, [`rubocop-capybara`](https://github.com/rubocop/rubocop-capybara). The `rubocop-capybara` repository is a dependency of `rubocop-rspec` and the Capybara cops are aliased (`RSpec/Capybara/Foo` == `Capybara/Foo`) until v3.0 is released, so the change will be invisible to users until then. ([@pirj])
|
188
|
+
|
189
|
+
## 2.17.1 (2023-01-16)
|
190
|
+
|
191
|
+
- Fix a false negative for `RSpec/Pending` when using skipped in metadata is multiline string. ([@ydah])
|
192
|
+
- Fix a false positive for `RSpec/NoExpectationExample` when using skipped in metadata is multiline string. ([@ydah])
|
193
|
+
- Fix a false positive for `RSpec/ContextMethod` when multi-line context with `#` at the beginning. ([@ydah])
|
194
|
+
- Fix an incorrect autocorrect for `RSpec/PredicateMatcher` when multiline expect and predicate method with heredoc. ([@ydah])
|
195
|
+
- Fix a false positive for `RSpec/PredicateMatcher` when `include` with multiple argument. ([@ydah])
|
196
|
+
|
197
|
+
## 2.17.0 (2023-01-13)
|
198
|
+
|
199
|
+
- Fix a false positive for `RSpec/PendingWithoutReason` when pending/skip is argument of methods. ([@ydah])
|
200
|
+
- Add new `RSpec/Capybara/MatchStyle` cop. ([@ydah])
|
201
|
+
- Add new `RSpec/Rails/MinitestAssertions` cop. ([@ydah])
|
202
|
+
- Fix a false positive for `RSpec/PendingWithoutReason` when not inside example. ([@ydah])
|
203
|
+
- Fix a false negative for `RSpec/PredicateMatcher` when using `include` and `respond_to`. ([@ydah])
|
204
|
+
- Fix a false positive for `RSpec/StubbedMock` when stubbed message expectation with a block and block parameter. ([@ydah])
|
205
|
+
|
206
|
+
## 2.16.0 (2022-12-13)
|
207
|
+
|
208
|
+
- Add new `RSpec/FactoryBot/FactoryNameStyle` cop. ([@ydah])
|
209
|
+
- Improved processing speed for `RSpec/Be`, `RSpec/ExpectActual`, `RSpec/ImplicitExpect`, `RSpec/MessageSpies`, `RSpec/PredicateMatcher` and `RSpec/Rails/HaveHttpStatus`. ([@ydah])
|
210
|
+
- Fix wrong autocorrection in `n_times` style on `RSpec/FactoryBot/CreateList`. ([@r7kamura])
|
211
|
+
- Fix a false positive for `RSpec/FactoryBot/ConsistentParenthesesStyle` when using `generate` with multiple arguments. ([@ydah])
|
212
|
+
- Mark `RSpec/BeEq` as `Safe: false`. ([@r7kamura])
|
213
|
+
- Add `RSpec/DuplicatedMetadata` cop. ([@r7kamura])
|
214
|
+
- Mark `RSpec/BeEql` as `Safe: false`. ([@r7kamura])
|
215
|
+
- Add `RSpec/PendingWithoutReason` cop. ([@r7kamura])
|
216
|
+
|
217
|
+
## 2.15.0 (2022-11-03)
|
218
|
+
|
219
|
+
- Fix a false positive for `RSpec/RepeatedDescription` when different its block expectations are used. ([@ydah])
|
220
|
+
- Add `named_only` style to `RSpec/NamedSubject`. ([@kuahyeow])
|
221
|
+
- Fix `RSpec/FactoryBot/ConsistentParenthesesStyle` to ignore calls without the first positional argument. ([@pirj])
|
222
|
+
- Fix `RSpec/FactoryBot/ConsistentParenthesesStyle` to ignore calls inside a Hash or an Array. ([@pirj])
|
223
|
+
- Fix `RSpec/NestedGroups` to correctly use `AllowedGroups` config. ([@samrjenkins])
|
224
|
+
- Remove `Runners` and `HookScopes` RSpec DSL elements from configuration. ([@pirj])
|
225
|
+
- Add `with default RSpec/Language config` helper to `lib` (under `rubocop/rspec/shared_contexts/default_rspec_language_config_context`), to allow use for downstream cops based on `RuboCop::Cop::RSpec::Base`. ([@smcgivern])
|
226
|
+
|
227
|
+
## 2.14.2 (2022-10-25)
|
228
|
+
|
229
|
+
- Fix an incorrect autocorrect for `FactoryBot/ConsistentParenthesesStyle` with `omit_parentheses` option when method name and first argument are not on same line. ([@ydah])
|
230
|
+
- Fix autocorrection loop in `RSpec/ExampleWording` for insufficient example wording. ([@pirj])
|
231
|
+
- Fix `RSpec/SortMetadata` not to reorder arguments of `include_`/`it_behaves_like`. ([@pirj])
|
232
|
+
- Fix a false positive for `RSpec/NoExpectationExample` when allowed pattern methods with arguments. ([@ydah])
|
233
|
+
- Change `RSpec/FilePath` so that it only checks suffix when path is under spec/routing or type is defined as routing. ([@r7kamura])
|
234
|
+
|
235
|
+
## 2.14.1 (2022-10-24)
|
236
|
+
|
237
|
+
- Fix an error for `RSpec/Rails/InferredSpecType` with redundant type before other Hash metadata. ([@ydah])
|
238
|
+
|
239
|
+
## 2.14.0 (2022-10-23)
|
240
|
+
|
241
|
+
- Add `require_implicit` style to `RSpec/ImplicitSubject`. ([@r7kamura])
|
242
|
+
- Fix a false positive for `RSpec/Capybara/SpecificMatcher` when `have_css("a")` without attribute. ([@ydah])
|
243
|
+
- Update `RSpec/ExampleWording` cop to raise error for insufficient descriptions. ([@akrox58])
|
244
|
+
- Add new `RSpec/Capybara/NegationMatcher` cop. ([@ydah])
|
245
|
+
- Add `AllowedPatterns` configuration option to `RSpec/NoExpectationExample`. ([@ydah])
|
246
|
+
- Improve `RSpec/NoExpectationExample` cop to ignore examples skipped or pending via metadata. ([@pirj])
|
247
|
+
- Add `RSpec/FactoryBot/ConsistentParenthesesStyle` cop. ([@Liberatys])
|
248
|
+
- Add `RSpec/Rails/InferredSpecType` cop. ([@r7kamura])
|
249
|
+
- Add new `RSpec/Capybara/SpecificActions` cop. ([@ydah])
|
250
|
+
- Update `config/default.yml` removing deprecated option to make the config correctable by users. ([@ignaciovillaverde])
|
251
|
+
- Do not attempt to auto-correct example groups with `include_examples` in `RSpec/LetBeforeExamples`. ([@pirj])
|
252
|
+
- Add new `RSpec/SortMetadata` cop. ([@leoarnold])
|
253
|
+
- Add support for subject! method to `RSpec/SubjectDeclaration`. ([@ydah])
|
254
|
+
|
255
|
+
## 2.13.2 (2022-09-23)
|
256
|
+
|
257
|
+
- Fix an error for `RSpec/Capybara/SpecificFinders` with no parentheses. ([@ydah])
|
258
|
+
- Fix a false positive for `RSpec/NoExpectationExample` with pending using `skip` or `pending` inside an example. ([@ydah])
|
259
|
+
- Exclude `have_text` and `have_content` that raise `ArgumentError` with `RSpec/Capybara/VisibilityMatcher` where `:visible` is an invalid option. ([@ydah])
|
260
|
+
- Fix a false negative for `RSpec/Capybara/VisibilityMatcher` with negative matchers. ([@ydah])
|
261
|
+
|
262
|
+
## 2.13.1 (2022-09-12)
|
263
|
+
|
264
|
+
- Include config/obsoletion.yml in the gemspec. ([@hosamaly])
|
265
|
+
|
266
|
+
## 2.13.0 (2022-09-12)
|
267
|
+
|
268
|
+
- Fix `RSpec/FilePath` cop missing mismatched expanded namespace. ([@sl4vr])
|
269
|
+
- Add new `AllowConsecutiveOneLiners` (default true) option for `Rspec/EmptyLineAfterHook` cop. ([@ngouy])
|
270
|
+
- Add autocorrect support for `RSpec/EmptyExampleGroup`. ([@r7kamura])
|
271
|
+
- Fix `RSpec/ChangeByZero` with compound expressions using `&` or `|` operators. ([@BrianHawley])
|
272
|
+
- Add `RSpec/NoExpectationExample`. ([@r7kamura])
|
273
|
+
- Add some expectation methods to default configuration. ([@r7kamura])
|
274
|
+
- Fix a false positive for `RSpec/Capybara/SpecificMatcher`. ([@ydah])
|
275
|
+
- Fix a false negative for `RSpec/Capybara/SpecificMatcher` for `have_field`. ([@ydah])
|
276
|
+
- Fix a false positive for `RSpec/Capybara/SpecificMatcher` when may not have a `href` by `have_link`. ([@ydah])
|
277
|
+
- Add `NegatedMatcher` configuration option to `RSpec/ChangeByZero`. ([@ydah])
|
278
|
+
- Add new `RSpec/Capybara/SpecificFinders` cop. ([@ydah])
|
279
|
+
- Add support for numblocks to `RSpec/AroundBlock`, `RSpec/EmptyLineAfterHook`, `RSpec/ExpectInHook`, `RSpec/HookArgument`, `RSpec/HooksBeforeExamples`, `RSpec/IteratedExpectation`, and `RSpec/NoExpectationExample`. ([@ydah])
|
280
|
+
- Fix incorrect documentation URLs when using `rubocop --show-docs-url`. ([@r7kamura])
|
281
|
+
- Add `AllowedGroups` configuration option to `RSpec/NestedGroups`. ([@ydah])
|
282
|
+
- Deprecate `IgnoredPatterns` option in favor of the `AllowedPatterns` options. ([@ydah])
|
283
|
+
- Add `AllowedPatterns` configuration option to `RSpec/ContextWording`. ([@ydah])
|
284
|
+
- Add `RSpec/ClassCheck` cop. ([@r7kamura])
|
285
|
+
- Fix a false positive for `RSpec/Capybara/SpecificMatcher` when pseudo-classes. ([@ydah])
|
286
|
+
- Fix a false negative for `RSpec/SubjectStub` when the subject is declared with the `subject!` method and called by name. ([@eikes])
|
287
|
+
- Support `Array.new(n)` on `RSpec/FactoryBot/CreateList` cop. ([@r7kamura])
|
288
|
+
|
289
|
+
## 2.12.1 (2022-07-03)
|
290
|
+
|
291
|
+
- Fix a false positive for `RSpec/Capybara/SpecificMatcher`. ([@ydah])
|
292
|
+
|
293
|
+
## 2.12.0 (2022-07-02)
|
294
|
+
|
295
|
+
- Fix incorrect path suggested by `RSpec/FilePath` cop when second argument contains spaces. ([@tejasbubane])
|
296
|
+
- Fix autocorrect for EmptyLineSeparation. ([@johnny-miyake])
|
297
|
+
- Add new `RSpec/Capybara/SpecificMatcher` cop. ([@ydah])
|
298
|
+
- Fixed false offense detection in `FactoryBot/CreateList` when a n.times block is including method calls in the factory create arguments. ([@ngouy])
|
299
|
+
- Fix error in `RSpec/RSpec/FactoryBot/CreateList` cop for empty block. ([@tejasbubane])
|
300
|
+
- Update `RSpec/MultipleExpectations` cop documentation with examples of aggregate_failures use. ([@edgibbs])
|
301
|
+
- Declare autocorrect as unsafe for `RSpec/VerifiedDoubleReference`. ([@Drowze])
|
302
|
+
- Add new `RSpec/Rails/HaveHttpStatus` cop. ([@akiomik])
|
303
|
+
|
304
|
+
## 2.11.1 (2022-05-18)
|
305
|
+
|
306
|
+
- Fix a regression in `RSpec/ExpectChange` flagging chained method calls. ([@pirj])
|
307
|
+
|
308
|
+
## 2.11.0 (2022-05-18)
|
309
|
+
|
310
|
+
- Drop Ruby 2.5 support. ([@ydah])
|
311
|
+
- Add new `RSpec/ChangeByZero` cop. ([@ydah])
|
312
|
+
- Improve `RSpec/ExpectChange` to detect namespaced and top-level constants. ([@M-Yamashita01])
|
313
|
+
- Introduce an amendment to `Metrics/BlockLength` to exclude spec files. ([@luke-hill])
|
314
|
+
|
315
|
+
## 2.10.0 (2022-04-19)
|
316
|
+
|
317
|
+
- Fix a false positive for `RSpec/EmptyExampleGroup` when expectations in case statement. ([@ydah])
|
318
|
+
- Add `RSpec/VerifiedDoubleReference` cop. ([@t3h2mas])
|
319
|
+
- Make `RSpec/BeNil` cop configurable with a `be_nil` style and a `be` style. ([@bquorning])
|
320
|
+
- Fix `Capybara/CurrentPathExpectation` autocorrect incompatible with `Style/TrailingCommaInArguments` autocorrect. ([@ydah])
|
321
|
+
|
322
|
+
## 2.9.0 (2022-02-28)
|
323
|
+
|
324
|
+
- Add new `RSpec/BeNil` cop. ([@bquorning])
|
325
|
+
- Add new `RSpec/BeEq` cop. ([@bquorning])
|
326
|
+
|
327
|
+
## 2.8.0 (2022-01-24)
|
328
|
+
|
329
|
+
- Fix `RSpec/FactoryBot/SyntaxMethods` and `RSpec/Capybara/FeatureMethods` to inspect shared groups. ([@pirj])
|
330
|
+
- Fix `RSpec/LeadingSubject` failure in non-spec code. ([@pirj])
|
331
|
+
- Add bad example to `RSpec/SubjectStub` cop. ([@oshiro3])
|
332
|
+
- Replace non-styleguide cops `StyleGuide` attribute with `Reference`. ([@pirj])
|
333
|
+
- Fix `RSpec/SubjectStub` to disallow stubbing of subjects defined in parent example groups. ([@pirj])
|
334
|
+
|
335
|
+
## 2.7.0 (2021-12-26)
|
336
|
+
|
337
|
+
- Add new `RSpec/FactoryBot/SyntaxMethods` cop. ([@leoarnold])
|
338
|
+
- Exclude `task` type specs from `RSpec/DescribeClass` cop. ([@harry-graham])
|
339
|
+
|
340
|
+
## 2.6.0 (2021-11-08)
|
341
|
+
|
342
|
+
- Fix merging RSpec DSL configuration from third-party gems. ([@pirj])
|
343
|
+
- Fix `RSpec/ExcessiveDocstringSpacing` false positive for multi-line indented strings. ([@G-Rath])
|
344
|
+
- Fix `Include` configuration for sub-departments. ([@pirj])
|
345
|
+
- Ignore heredocs in `RSpec/ExcessiveDocstringSpacing`. ([@G-Rath])
|
346
|
+
- Stop `RSpec/ExampleWording` from trying to correct heredocs. ([@G-Rath])
|
347
|
+
- Add autocorrect support for `RSpec/VariableDefinition`. ([@r7kamura])
|
348
|
+
|
349
|
+
## 2.5.0 (2021-09-21)
|
350
|
+
|
351
|
+
- Declare autocorrect as unsafe for `ExpectChange`. ([@francois-ferrandis])
|
352
|
+
- Fix each example for `RSpec/HookArgument`. ([@lokhi])
|
353
|
+
- Exclude unrelated Rails directories from `RSpec/DescribeClass`. ([@MothOnMars])
|
354
|
+
- Add `RSpec/ExcessiveDocstringSpacing` cop. ([@G-Rath])
|
355
|
+
- Add `RSpec/SubjectDeclaration` cop. ([@dswij])
|
356
|
+
- Fix excessive whitespace removal in `RSpec/EmptyHook` autocorrection. ([@pirj])
|
357
|
+
- Bump RuboCop requirement to v1.19.0. ([@pirj])
|
358
|
+
- Fix false positive in `RSpec/IteratedExpectation` when there is single, non-expectation statement in the block body. ([@Darhazer])
|
359
|
+
|
360
|
+
## 2.4.0 (2021-06-09)
|
361
|
+
|
362
|
+
- Update `RSpec/FilePath` to check suffix when given a non-constant top-level node (e.g. features). ([@topalovic])
|
363
|
+
- Add missing documentation for `single_statement_only` style of `RSpec/ImplicitSubject` cop. ([@tejasbubane])
|
364
|
+
- Fix an exception in `DescribedClass` when accessing a constant on a variable in a spec that is nested in a namespace. ([@rrosenblum])
|
365
|
+
- Add new `RSpec/IdenticalEqualityAssertion` cop. ([@tejasbubane])
|
366
|
+
- Add `RSpec/Rails/AvoidSetupHook` cop. ([@paydaylight])
|
367
|
+
- Fix false negative in `RSpec/ExpectChange` cop with block style and chained method call. ([@tejasbubane])
|
368
|
+
|
369
|
+
## 2.3.0 (2021-04-28)
|
370
|
+
|
371
|
+
- Allow `RSpec/ContextWording` to accept multi-word prefixes. ([@hosamaly])
|
372
|
+
- Drop support for ruby 2.4. ([@bquorning])
|
373
|
+
- Add `CountAsOne` configuration option to `RSpec/ExampleLength`. ([@stephannv])
|
374
|
+
- Fix a false positive for `RSpec/RepeatedExampleGroupBody` when `pending` or `skip` have argument(s). ([@Tietew])
|
375
|
+
|
376
|
+
## 2.2.0 (2021-02-02)
|
377
|
+
|
378
|
+
- Fix `HooksBeforeExamples`, `LeadingSubject`, `LetBeforeExamples` and `ScatteredLet` autocorrection to take into account inline comments and comments immediately before the moved node. ([@Darhazer])
|
379
|
+
- Improve rubocop-rspec performance. ([@Darhazer], [@bquorning])
|
380
|
+
- Include `Enabled: true` to prevent a mismatched configuration parameter warning when `RSpec` cops are explicitly enabled in the user configuration. ([@pirj])
|
381
|
+
|
382
|
+
## 2.1.0 (2020-12-17)
|
383
|
+
|
384
|
+
- Fix `RSpec/FilePath` false positive for relative file path runs with long namespaces. ([@ahukkanen])
|
385
|
+
- Update `RSpec/Focus` to have auto-correction. ([@dvandersluis])
|
386
|
+
|
387
|
+
## 2.0.1 (2020-12-02)
|
388
|
+
|
389
|
+
- Fixed infinite loop in `RSpec/ExpectActual` autocorrection when both expected and actual values are literals. ([@Darhazer])
|
390
|
+
|
391
|
+
## 2.0.0 (2020-11-06)
|
392
|
+
|
393
|
+
- Remove deprecated class `::RuboCop::Cop::RSpec::Cop`. ([@bquorning])
|
394
|
+
- Retire `RSpec/InvalidPredicateMatcher` cop. ([@pirj])
|
395
|
+
- Remove the code responsible for filtering files to inspect. ([@pirj])
|
396
|
+
- Make RSpec language elements configurable. ([@sl4vr])
|
397
|
+
- Remove `CustomIncludeMethods` `RSpec/EmptyExampleGroup` option in favour of the new RSpec DSL configuration. ([@pirj])
|
398
|
+
- Enabled pending cop (`RSpec/StubbedMock`). ([@pirj])
|
399
|
+
|
400
|
+
## 2.0.0.pre (2020-10-22)
|
401
|
+
|
402
|
+
- Update RuboCop dependency to v1.0.0. ([@bquorning])
|
403
|
+
- Change namespace of several cops (`Capybara/*` -> `RSpec/Capybara/*`, `FactoryBot/*` -> `RSpec/FactoryBot/*`, `Rails/*` -> `RSpec/Rails/*`). ([@pirj], [@bquorning])
|
404
|
+
|
405
|
+
## 1.44.1 (2020-10-20)
|
406
|
+
|
407
|
+
- Relax `rubocop-ast` version constraint. ([@PhilCoggins])
|
408
|
+
|
409
|
+
## 1.44.0 (2020-10-20)
|
410
|
+
|
411
|
+
- Move our documentation from rubocop-rspec.readthedocs.io to docs.rubocop.org/rubocop-rspec. ([@bquorning])
|
412
|
+
- Add `RSpec/RepeatedIncludeExample` cop. ([@biinari])
|
413
|
+
- Add `RSpec/StubbedMock` cop. ([@bquorning], [@pirj])
|
414
|
+
- Add `IgnoredMetadata` configuration option to `RSpec/DescribeClass`. ([@Rafix02])
|
415
|
+
- Fix false positives in `RSpec/EmptyExampleGroup`. ([@pirj])
|
416
|
+
- Fix a false positive for `RSpec/EmptyExampleGroup` when example is defined in an `if` branch. ([@koic])
|
417
|
+
|
418
|
+
## 1.43.2 (2020-08-25)
|
419
|
+
|
420
|
+
- Fix `RSpec/FilePath` when checking a file with a shared example. ([@pirj])
|
421
|
+
- Fix subject nesting detection in `RSpec/LeadingSubject`. ([@pirj])
|
422
|
+
|
423
|
+
## 1.43.1 (2020-08-17)
|
424
|
+
|
425
|
+
- Fix `RSpec/FilePath` when checking a file defining e.g. an empty class. ([@bquorning])
|
426
|
+
|
427
|
+
## 1.43.0 (2020-08-17)
|
428
|
+
|
429
|
+
- Add a new base cop class `::RuboCop::Cop::RSpec::Base`. The old base class `::RuboCop::Cop::RSpec::Cop` is deprecated, and will be removed in the next major release. ([@bquorning])
|
430
|
+
- Add support for subject detection after includes and example groups in `RSpec/LeadingSubject`. ([@pirj])
|
431
|
+
- Ignore trailing punctuation in context description prefix. ([@elliterate])
|
432
|
+
- Relax `RSpec/VariableDefinition` cop so interpolated and multiline strings are accepted even when configured to enforce the `symbol` style. ([@bquorning])
|
433
|
+
- Fix `RSpec/EmptyExampleGroup` to flag example groups with examples in invalid scopes. ([@mlarraz])
|
434
|
+
- Fix `RSpec/EmptyExampleGroup` to ignore examples groups with examples defined inside iterators. ([@pirj])
|
435
|
+
- Improve `RSpec/NestedGroups`, `RSpec/FilePath`, `RSpec/DescribeMethod`, `RSpec/MultipleDescribes`, `RSpec/DescribeClass`'s top-level example group detection. ([@pirj])
|
436
|
+
- Add detection of `let!` with a block-pass or a string literal to `RSpec/LetSetup`. ([@pirj])
|
437
|
+
- Add `IgnoredPatterns` configuration option to `RSpec/VariableName`. ([@jtannas])
|
438
|
+
- Add `RSpec/MultipleMemoizedHelpers` cop. ([@mockdeep])
|
439
|
+
|
440
|
+
## 1.42.0 (2020-07-09)
|
441
|
+
|
442
|
+
- Update RuboCop dependency to 0.87.0 because of changes to internal APIs. ([@bquorning], [@Darhazer])
|
443
|
+
|
444
|
+
## 1.41.0 (2020-07-03)
|
445
|
+
|
446
|
+
- Extend the list of Rails spec types for `RSpec/DescribeClass`. ([@pirj])
|
447
|
+
- Fix `FactoryBot/AttributeDefinedStatically` to allow `#traits_for_enum` without a block. ([@harrylewis])
|
448
|
+
- Improve the performance of `FactoryBot/AttributeDefinedStatically`, `RSpec/InstanceVariable`, `RSpec/LetSetup`, `RSpec/NestedGroups` and `RSpec/ReturnFromStub`. ([@andrykonchin])
|
449
|
+
|
450
|
+
## 1.40.0 (2020-06-11)
|
451
|
+
|
452
|
+
- Add new `RSpec/VariableName` cop. ([@tejasbubane])
|
453
|
+
- Add new `RSpec/VariableDefinition` cop. ([@tejasbubane])
|
454
|
+
- Expand `Capybara/VisibilityMatcher` to support more than just `have_selector`. ([@twalpole])
|
455
|
+
- Add new `SpecSuffixOnly` option to `RSpec/FilePath` cop. ([@zdennis])
|
456
|
+
- Allow `RSpec/RepeatedExampleGroupBody` to differ only by described_class. ([@robotdana])
|
457
|
+
- Fix `RSpec/FilePath` detection across sibling directories. ([@rolfschmidt])
|
458
|
+
- Improve the performance of `RSpec/SubjectStub` by an order of magnitude. ([@andrykonchin])
|
459
|
+
|
460
|
+
## 1.39.0 (2020-05-01)
|
461
|
+
|
462
|
+
- Fix `RSpec/FilePath` detection when absolute path includes test subject. ([@eitoball])
|
463
|
+
- Add new `Capybara/VisibilityMatcher` cop. ([@aried3r])
|
464
|
+
- Ignore String constants by `RSpec/Describe`. ([@AlexWayfer])
|
465
|
+
- Drop support for ruby 2.3. ([@bquorning])
|
466
|
+
- Fix multiple cops to detect `let` with proc argument. ([@tejasbubane])
|
467
|
+
- Add autocorrect support for `RSpec/ScatteredLet`. ([@Darhazer])
|
468
|
+
- Add new `RSpec/EmptyHook` cop. ([@tejasbubane])
|
469
|
+
|
470
|
+
## 1.38.1 (2020-02-15)
|
471
|
+
|
472
|
+
- Fix `RSpec/RepeatedDescription` to detect descriptions with interpolation and methods. ([@lazycoder9])
|
473
|
+
|
474
|
+
## 1.38.0 (2020-02-11)
|
475
|
+
|
476
|
+
- Fix `RSpec/InstanceVariable` detection inside custom matchers. ([@pirj])
|
477
|
+
- Fix `RSpec/ScatteredSetup` to distinguish hooks with different metadata. ([@pirj])
|
478
|
+
- Add autocorrect support for `RSpec/ExpectActual` cop. ([@dduugg], [@pirj])
|
479
|
+
- Add `RSpec/RepeatedExampleGroupBody` cop. ([@lazycoder9])
|
480
|
+
- Add `RSpec/RepeatedExampleGroupDescription` cop. ([@lazycoder9])
|
481
|
+
- Add block name and other lines to `RSpec/ScatteredSetup` message. ([@elebow])
|
482
|
+
- Fix `RSpec/RepeatedDescription` to take into account example metadata. ([@lazycoder9])
|
483
|
+
|
484
|
+
## 1.37.1 (2019-12-16)
|
485
|
+
|
486
|
+
- Improve message and description of `FactoryBot/FactoryClassName`. ([@ybiquitous])
|
487
|
+
- Fix `FactoryBot/FactoryClassName` to ignore `Hash` and `OpenStruct`. ([@jfragoulis])
|
488
|
+
|
489
|
+
## 1.37.0 (2019-11-25)
|
490
|
+
|
491
|
+
- Implement `RSpec/DescribedClassModuleWrapping` to disallow RSpec statements within a module. ([@kellysutton])
|
492
|
+
- Fix documentation rake task to support RuboCop 0.75. ([@nickcampbell18])
|
493
|
+
- Fix `RSpec/SubjectStub` to detect implicit subjects stubbed. ([@QQism])
|
494
|
+
- Fix `RSpec/Pending` not flagging `skip` with string values. ([@pirj])
|
495
|
+
- Add `AllowedExplicitMatchers` config option for `RSpec/PredicateMatcher`. ([@mkrawc])
|
496
|
+
- Add `FactoryBot/FactoryClassName` cop. ([@jfragoulis])
|
497
|
+
|
498
|
+
## 1.36.0 (2019-09-27)
|
499
|
+
|
500
|
+
- Fix `RSpec/DescribedClass`'s error when `described_class` is used as part of a constant. ([@pirj])
|
501
|
+
- Fix `RSpec/ExampleWording` autocorrect of multi-line docstrings. ([@pirj])
|
502
|
+
- Add `RSpec/ContextMethod` cop, to detect method names in `context`. ([@geniou])
|
503
|
+
- Update RuboCop dependency to 0.68.1 with support for children matching node pattern syntax. ([@pirj])
|
504
|
+
- Add `RSpec/EmptyLineAfterExample` cop to check that there is an empty line after example blocks. ([@pirj])
|
505
|
+
- Fix `Capybara/CurrentPathExpectation` auto-corrector, to include option `ignore_query: true`. ([@onumis])
|
506
|
+
- Fix `RSpec/Focus` detecting mixed array/hash metadata. ([@dgollahon])
|
507
|
+
- Fix `RSpec/Focus` to also detect `pending` examples. ([@dgollahon])
|
508
|
+
|
509
|
+
## 1.35.0 (2019-08-02)
|
510
|
+
|
511
|
+
- Add `RSpec/ImplicitBlockExpectation` cop. ([@pirj])
|
512
|
+
|
513
|
+
## 1.34.1 (2019-07-31)
|
514
|
+
|
515
|
+
- Fix `RSpec/DescribedClass`'s error when a local variable is part of the namespace. ([@pirj])
|
516
|
+
|
517
|
+
## 1.34.0 (2019-07-23)
|
518
|
+
|
519
|
+
- Remove `AggregateFailuresByDefault` config option of `RSpec/MultipleExpectations`. ([@pirj])
|
520
|
+
- Add `RSpec/LeakyConstantDeclaration` cop. ([@jonatas], [@pirj])
|
521
|
+
- Improve `aggregate_failures` metadata detection of `RSpec/MultipleExpectations`. ([@pirj])
|
522
|
+
- Improve `RSpec/SubjectStub` detection and message. ([@pirj])
|
523
|
+
- Change message of `RSpec/LetSetup` cop to be more descriptive. ([@foton])
|
524
|
+
- Improve `RSpec/ExampleWording` to handle interpolated example messages. ([@nc-holodakg])
|
525
|
+
- Improve detection by allowing the use of `RSpec` as a top-level constant. ([@pirj])
|
526
|
+
- Fix `RSpec/DescribedClass`'s incorrect detection. ([@pirj])
|
527
|
+
- Improve `RSpec/DescribedClass`'s ability to detect inside modules and classes. ([@pirj])
|
528
|
+
|
529
|
+
## 1.33.0 (2019-05-13)
|
530
|
+
|
531
|
+
- Let `RSpec/DescribedClass` pass `Struct` instantiation closures. ([@schmijos])
|
532
|
+
- Fixed `RSpec/ContextWording` missing `context`s with metadata. ([@pirj])
|
533
|
+
- Fix `FactoryBot/AttributeDefinedStatically` not working with an explicit receiver. ([@composerinteralia])
|
534
|
+
- Add `RSpec/Dialect` enforces custom RSpec dialects. ([@gsamokovarov])
|
535
|
+
- Fix redundant blank lines in `RSpec/MultipleSubjects`'s autocorrect. ([@pirj])
|
536
|
+
- Drop support for ruby `2.2`. ([@bquorning])
|
537
|
+
|
538
|
+
## 1.32.0 (2019-01-27)
|
539
|
+
|
540
|
+
- Add `RSpec/Yield` cop, suggesting using the `and_yield` method when stubbing a method, accepting a block. ([@Darhazer])
|
541
|
+
- Fix `FactoryBot/CreateList` autocorrect crashing when the factory is called with a block=. ([@Darhazer])
|
542
|
+
- Fixed `RSpec/Focus` not flagging some cases of `RSpec.describe` with `focus: true`. ([@Darhazer])
|
543
|
+
- Fixed `RSpec/Pending` not flagging some cases of `RSpec.describe` with `:skip`. ([@Darhazer])
|
544
|
+
- Fix false positive in `RSpec/ReceiveCounts` when method name `exactly`, `at_least` or `at_most` is used along with `times`, without being an RSpec API. ([@Darhazer])
|
545
|
+
|
546
|
+
## 1.31.0 (2019-01-02)
|
547
|
+
|
548
|
+
- Add `IgnoreSharedExamples` option for `RSpec/NamedSubject`. ([@RST-J])
|
549
|
+
- Add autocorrect support for `Capybara/CurrentPathExpectation` cop. ([@ypresto])
|
550
|
+
- Add support for built-in `exists` matcher for `RSpec/PredicateMatcher` cop. ([@mkenyon])
|
551
|
+
- `SingleArgumentMessageChain` no longer reports an array as it's only argument as an offense. ([@Darhazer])
|
552
|
+
|
553
|
+
## 1.30.1 (2018-11-01)
|
554
|
+
|
555
|
+
- `FactoryBot/CreateList` now ignores `times` blocks with an argument. ([@Darhazer])
|
556
|
+
|
557
|
+
## 1.30.0 (2018-10-08)
|
558
|
+
|
559
|
+
- Add config to `RSpec/VerifiedDoubles` to enforcement of verification on unnamed doubles. ([@BrentWheeldon])
|
560
|
+
- Fix `FactoryBot/AttributeDefinedStatically` not working when there is a non-symbol key. ([@vzvu3k6k])
|
561
|
+
- Fix false positive in `RSpec/ImplicitSubject` when `is_expected` is used inside `its()` block. ([@Darhazer])
|
562
|
+
- Add `single_statement_only` style to `RSpec/ImplicitSubject` as a more relaxed alternative to `single_line_only`. ([@Darhazer])
|
563
|
+
- Add `RSpec/UnspecifiedException` as a default cop to encourage more-specific `expect{}.to raise_error(ExceptionType)`, or `raise_exception` style handling of exceptions. ([@daveworth])
|
564
|
+
|
565
|
+
## 1.29.1 (2018-09-01)
|
566
|
+
|
567
|
+
- Fix false negative in `FactoryBot/AttributeDefinedStatically` when attribute is defined on `self`. ([@Darhazer])
|
568
|
+
- `RSpec/FactoryBot` cops will now also inspect the `spec/factories.rb` path by default. ([@bquorning])
|
569
|
+
|
570
|
+
## 1.29.0 (2018-08-25)
|
571
|
+
|
572
|
+
- `RSpec/InstanceVariable` - Recommend local variables in addition to `let`. ([@jaredbeck])
|
573
|
+
- Add `RSpec/ImplicitSubject` cop. ([@Darhazer])
|
574
|
+
- Add `RSpec/HooksBeforeExamples` cop. ([@Darhazer])
|
575
|
+
|
576
|
+
## 1.28.0 (2018-08-14)
|
577
|
+
|
578
|
+
- Add `RSpec/ReceiveNever` cop enforcing usage of `not_to receive` instead of `never` matcher. ([@Darhazer])
|
579
|
+
- Fix false positive in `RSpec/EmptyLineAfterExampleGroup` cop when example is inside `if`. ([@Darhazer])
|
580
|
+
- Add `RSpec/MissingExampleGroupArgument` to enforce first argument for an example group. ([@geniou])
|
581
|
+
- Drop support for ruby `2.1`. ([@bquorning])
|
582
|
+
- Add `FactoryBot/AttributeDefinedStatically` cop to help FactoryBot users with the deprecation of static attributes. ([@composerinteralia], [@seanpdoyle])
|
583
|
+
- Remove `FactoryBot/DynamicAttributeDefinedStatically` and `FactoryBot/StaticAttributeDefinedDynamically` cops. ([@composerinteralia])
|
584
|
+
|
585
|
+
## 1.27.0 (2018-06-14)
|
586
|
+
|
587
|
+
- `RSpec/LeadingSubject` now enforces subject to be before any examples, hooks or let declarations. ([@Darhazer])
|
588
|
+
- Fix `RSpec/NotToNot` to highlight only the selector (`not_to` or `to_not`), so it works also on `expect { ... }` blocks. ([@bquorning])
|
589
|
+
- Add `RSpec/EmptyLineAfterHook` cop. ([@bquorning])
|
590
|
+
- Add `RSpec/EmptyLineAfterExampleGroup` cop to check that there is an empty line after example group blocks. ([@bquorning])
|
591
|
+
- Fix `RSpec/DescribeClass` crashing on `RSpec.describe` without arguments. ([@Darhazer])
|
592
|
+
- Bump RuboCop requirement to v0.56.0. ([@bquorning])
|
593
|
+
- Fix `RSpec/OverwritingSetup` crashing if a variable is used as an argument for `let`. ([@Darhazer])
|
594
|
+
|
595
|
+
## 1.26.0 (2018-06-06)
|
596
|
+
|
597
|
+
- Fix false positive in `RSpec/EmptyExampleGroup` cop when methods named like a RSpec method are used. ([@Darhazer])
|
598
|
+
- Fix `Capybara/FeatureMethods` not working when there is require before the spec. ([@Darhazer])
|
599
|
+
- Fix `RSpec/EmptyLineAfterFinalLet`: allow a comment to be placed after latest let, requiring empty line after the comment. ([@Darhazer])
|
600
|
+
- Add `RSpec/ReceiveCounts` cop to enforce usage of :once and :twice matchers. ([@Darhazer])
|
601
|
+
|
602
|
+
## 1.25.1 (2018-04-10)
|
603
|
+
|
604
|
+
- Fix false positive in `RSpec/Pending` cop when pending is used as a method name. ([@Darhazer])
|
605
|
+
- Fix `FactoryBot/DynamicAttributeDefinedStatically` false positive when using symbol proc argument for a sequence. ([@tdeo])
|
606
|
+
|
607
|
+
## 1.25.0 (2018-04-07)
|
608
|
+
|
609
|
+
- Add `RSpec/SharedExamples` cop to enforce consistent usage of string to titleize shared examples. ([@anthony-robin])
|
610
|
+
- Add `RSpec/Be` cop to enforce passing argument to the generic `be` matcher. ([@Darhazer])
|
611
|
+
- Fix false positives in `StaticAttributeDefinedDynamically` and `ReturnFromStub` when a const is used in an array or hash. ([@Darhazer])
|
612
|
+
- Add `RSpec/Pending` cop to enforce no existing pending or skipped examples. This is disabled by default. ([@patrickomatic])
|
613
|
+
- Fix `RSpec/NestedGroups` cop support --auto-gen-config. ([@walf443])
|
614
|
+
- Fix false positives in `Capybara/FeatureMethods` when feature methods are used as property names in a factory. ([@Darhazer])
|
615
|
+
- Allow configuring enabled methods in `Capybara/FeatureMethods`. ([@Darhazer])
|
616
|
+
- Add `FactoryBot/CreateList` cop. ([@Darhazer])
|
617
|
+
|
618
|
+
## 1.24.0 (2018-03-06)
|
619
|
+
|
620
|
+
- Compatibility with RuboCop v0.53.0. ([@bquorning])
|
621
|
+
- The `Rails/HttpStatus` cop is unavailable if the `rack` gem cannot be loaded. ([@bquorning])
|
622
|
+
- Fix `Rails/HttpStatus` not working with custom HTTP status codes. ([@bquorning])
|
623
|
+
- Fix `FactoryBot/StaticAttributeDefinedDynamically` to handle empty block. ([@abrom])
|
624
|
+
- Fix false positive in `FactoryBot/DynamicAttributeDefinedStatically` when a before/after callback has a symbol proc argument. ([@abrom])
|
625
|
+
|
626
|
+
## 1.23.0 (2018-02-23)
|
627
|
+
|
628
|
+
- Add `RSpec/Rails/HttpStatus` cop to enforce consistent usage of the status format (numeric or symbolic). ([@anthony-robin], [@jojos003])
|
629
|
+
- Fix false negative in `RSpec/ReturnFromStub` when a constant is being returned by the stub. ([@Darhazer])
|
630
|
+
- Fix `FactoryBot/DynamicAttributeDefinedStatically` to handle dynamic attributes inside arrays/hashes. ([@abrom])
|
631
|
+
- Add `FactoryBot/StaticAttributeDefinedDynamically` (based on dynamic attribute cop). ([@abrom])
|
632
|
+
|
633
|
+
## 1.22.2 (2018-02-01)
|
634
|
+
|
635
|
+
- Fix error in `RSpec/DescribedClass` when working on an empty `describe` block. ([@bquorning])
|
636
|
+
|
637
|
+
## 1.22.1 (2018-01-17)
|
638
|
+
|
639
|
+
- Fix false positives in `RSpec/ReturnFromStub`. ([@Darhazer])
|
640
|
+
|
641
|
+
## 1.22.0 (2018-01-10)
|
642
|
+
|
643
|
+
- Updates `describe_class` to account for RSpecs `:system` wrapper of rails system tests. ([@EliseFitz15])
|
644
|
+
- Add `RSpec/ExpectChange` cop to enforce consistent usage of the change matcher. ([@Darhazer])
|
645
|
+
- Add autocorrect support to `RSpec/LetBeforeExamples`. ([@Darhazer])
|
646
|
+
- Fix `RSpec/InstanceVariable` flagging instance variables inside dynamically defined class. ([@Darhazer])
|
647
|
+
- Add autocorrect support for `RSpec/ReturnFromStub` cop. ([@bquorning])
|
648
|
+
- Add `RSpec/ExampleWithoutDescription` cop. ([@Darhazer])
|
649
|
+
|
650
|
+
## 1.21.0 (2017-12-13)
|
651
|
+
|
652
|
+
- Compatibility with RuboCop v0.52.0. ([@bquorning])
|
653
|
+
- Improve performance when user does not override default RSpec Pattern config. ([@walf443])
|
654
|
+
- Add `AggregateFailuresByDefault` configuration for `RSpec/MultipleExpectations` cop. ([@onk])
|
655
|
+
|
656
|
+
## 1.20.1 (2017-11-15)
|
657
|
+
|
658
|
+
- Add "without" to list of default allowed prefixes for `RSpec/ContextWording`. ([@bquorning])
|
659
|
+
|
660
|
+
## 1.20.0 (2017-11-09)
|
661
|
+
|
662
|
+
- Rename namespace `FactoryGirl` to `FactoryBot` following original library update. ([@walf443])
|
663
|
+
- Fix exception in `RSpec/ReturnFromStub` on empty block. ([@yevhene])
|
664
|
+
- Add `RSpec/ContextWording` cop. ([@pirj], [@telmofcosta])
|
665
|
+
- Fix `RSpec/SubjectStub` cop matches receive message inside all matcher. ([@walf443])
|
666
|
+
|
667
|
+
## 1.19.0 (2017-10-18)
|
668
|
+
|
669
|
+
Compatibility release so users can upgrade RuboCop to 0.51.0. No new features.
|
670
|
+
|
671
|
+
## 1.18.0 (2017-09-29)
|
672
|
+
|
673
|
+
- Fix false positive in `Capybara/FeatureMethods`. ([@Darhazer])
|
674
|
+
- Add `RSpec/Capybara/CurrentPathExpectation` cop for feature specs, disallowing setting expectations on `current_path`. ([@timrogers])
|
675
|
+
- Fix false positive in `RSpec/LetBeforeExamples` cop when example group contains single let. ([@Darhazer])
|
676
|
+
|
677
|
+
## 1.17.1 (2017-09-20)
|
678
|
+
|
679
|
+
- Improved `RSpec/ReturnFromStub` to handle string interpolation, hashes and do..end blocks. ([@Darhazer])
|
680
|
+
- Fixed compatibility with JRuby. ([@zverok])
|
681
|
+
|
682
|
+
## 1.17.0 (2017-09-14)
|
683
|
+
|
684
|
+
- Add `RSpec/Capybara` namespace including the first cop for feature specs: `Capybara/FeatureMethods`. ([@rspeicher])
|
685
|
+
- Update to RuboCop 0.50.0. ([@bquorning])
|
686
|
+
|
687
|
+
## 1.16.0 (2017-09-06)
|
688
|
+
|
689
|
+
- Add `RSpec/FactoryGirl` namespace including the first cop for factories: `FactoryGirl/DynamicAttributeDefinedStatically`. ([@jonatas])
|
690
|
+
- Add disabled by default `RSpec/AlignLeftLetBrace`. ([@backus])
|
691
|
+
- Add disabled by default `RSpec/AlignRightLetBrace`. ([@backus])
|
692
|
+
- Add `RSpec/LetBeforeExamples` cop. ([@Darhazer])
|
693
|
+
- Add `RSpec/MultipleSubjects` cop. ([@backus])
|
694
|
+
- Add `RSpec/ReturnFromStub` cop. ([@Darhazer])
|
695
|
+
- Add `RSpec/VoidExpect` cop. ([@pocke])
|
696
|
+
- Add `RSpec/InvalidPredicateMatcher` cop. ([@pocke])
|
697
|
+
- Change HookArgument cop to detect when hook has a receiver. ([@pocke])
|
698
|
+
- Add `RSpec/PredicateMatcher` cop. ([@pocke])
|
699
|
+
- Add `RSpec/ExpectInHook` cop. ([@pocke])
|
700
|
+
- `RSpec/MultipleExpectations` now detects usage of expect_any_instance_of. ([@Darhazer])
|
701
|
+
- `RSpec/MultipleExpectations` now detects usage of is_expected. ([@bmorrall])
|
702
|
+
|
703
|
+
## 1.15.1 (2017-04-30)
|
704
|
+
|
705
|
+
- Fix the handling of various edge cases in the `RSpec/ExampleWording` cop, including one that would cause autocorrect to crash. ([@dgollahon])
|
706
|
+
- Fix `RSpec/IteratedExpectation` crashing when there is an assignment in the iteration. ([@Darhazer])
|
707
|
+
- Fix false positive in `RSpec/SingleArgumentMessageChain` cop when the single argument is a hash. ([@Darhazer])
|
708
|
+
|
709
|
+
## 1.15.0 (2017-03-24)
|
710
|
+
|
711
|
+
- Add `RSpec/DescribeSymbol` cop. ([@rspeicher])
|
712
|
+
- Fix error when `RSpec/OverwritingSetup` and `RSpec/ScatteredLet` analyzed empty example groups. ([@backus])
|
713
|
+
|
714
|
+
## 1.14.0 (2017-03-24)
|
715
|
+
|
716
|
+
- Add `RSpec/OverwritingSetup` cop. ([@Darhazer])
|
717
|
+
- Add autocorrect support for `RSpec/LeadingSubject` cop. ([@Darhazer])
|
718
|
+
- Add `RSpec/ScatteredLet` cop. ([@Darhazer])
|
719
|
+
- Add `RSpec/IteratedExpectation` cop. ([@Darhazer])
|
720
|
+
- Add `RSpec/EmptyLineAfterSubject` cop. ([@Darhazer])
|
721
|
+
- Add `RSpec/EmptyLineAfterFinalLet` cop. ([@Darhazer])
|
722
|
+
|
723
|
+
## 1.13.0 (2017-03-07)
|
724
|
+
|
725
|
+
- Add repeated 'it' detection to `RSpec/ExampleWording` cop. ([@dgollahon])
|
726
|
+
- Add \[observed_nesting/max_nesting\] info to `RSpec/NestedGroups` messages. ([@dgollahon])
|
727
|
+
- Add `RSpec/ItBehavesLike` cop. ([@dgollahon])
|
728
|
+
- Add `RSpec/SharedContext` cop. ([@Darhazer])
|
729
|
+
- `RSpec/MultipleExpectations`: Count aggregate_failures block as single expectation. ([@Darhazer])
|
730
|
+
- Fix `ExpectActual` cop flagging `rspec-rails` routing specs. ([@backus])
|
731
|
+
- Fix `FilePath` cop not registering offenses for files like `spec/blog/user.rb` when it should be `spec/blog/user_spec.rb`. ([@backus])
|
732
|
+
|
733
|
+
## 1.12.0 (2017-02-21)
|
734
|
+
|
735
|
+
- Add `RSpec/InstanceSpy` cop. ([@Darhazer])
|
736
|
+
- Add `RSpec/BeforeAfterAll` for avoiding leaky global test setup. ([@cfabianski])
|
737
|
+
|
738
|
+
## 1.11.0 (2017-02-16)
|
739
|
+
|
740
|
+
- Add `AroundBlock` cop. ([@Darhazer])
|
741
|
+
- Add `EnforcedStyle` configuration for `RSpec/DescribedClass` cop. ([@Darhazer])
|
742
|
+
- Fix false positive for `RSpec/RepeatedExample` cop. ([@redross])
|
743
|
+
|
744
|
+
## 1.10.0 (2017-01-15)
|
745
|
+
|
746
|
+
- Fix false negative for `RSpec/MessageSpies` cop. ([@onk])
|
747
|
+
- Fix internal dependencies on RuboCop to be compatible with 0.47 release. ([@backus])
|
748
|
+
- Add autocorrect support for `SingleArgumentMessageChain` cop. ([@bquorning])
|
749
|
+
- Rename `NestedGroups`' configuration key from `MaxNesting` to `Max` in order to be consistent with other cop configuration. ([@backus])
|
750
|
+
- Add `RepeatedExample` cop for detecting repeated examples within example groups. ([@backus])
|
751
|
+
- Add `ScatteredSetup` cop for enforcing that only one `before`, `around`, and `after` hook are used per example group scope. ([@backus])
|
752
|
+
- Add `ExpectOutput` cop for recommending `expect { ... }.to output(...).to_stdout`. ([@backus])
|
753
|
+
|
754
|
+
## 1.9.1 (2017-01-02)
|
755
|
+
|
756
|
+
- Fix unintentional regression change in `NestedGroups` reported in #270. ([@backus])
|
757
|
+
- Change `MaxNesting` for `NestedGroups` from 2 to 3. ([@backus])
|
758
|
+
|
759
|
+
## 1.9.0 (2016-12-29)
|
760
|
+
|
761
|
+
- Add `MessageSpies` cop for enforcing consistent style of either `expect(...).to have_received` or `expect(...).to receive`, intended as a replacement for the `MessageExpectation` cop. ([@bquorning])
|
762
|
+
- Fix `DescribeClass` to not flag `describe` at the top of a block of shared examples. ([@clupprich])
|
763
|
+
- Add `SingleArgumentMessageChain` cop for recommending use of `receive` instead of `receive_message_chain` where possible. ([@bquorning])
|
764
|
+
- Add `RepeatedDescription` cop for detecting repeated example descriptions within example groups. ([@backus])
|
765
|
+
|
766
|
+
## 1.8.0 (2016-10-27)
|
767
|
+
|
768
|
+
- Optionally ignore method names in the `describe` argument when running the `FilePath` cop. ([@bquorning])
|
769
|
+
- Fix regression in how `FilePath` converts alphanumeric class names into paths. ([@bquorning])
|
770
|
+
- Add `ImplicitExpect` cop for enforcing `should` vs. `is_expected.to`. ([@backus])
|
771
|
+
- Disable `MessageExpectation` cop in the default configuration. ([@bquorning])
|
772
|
+
|
773
|
+
## 1.7.0 (2016-08-24)
|
774
|
+
|
775
|
+
- Add support for checking all example groups with `ExampleLength`. ([@backus])
|
776
|
+
- Add support for checking shared example groups for `DescribedClass`. ([@backus])
|
777
|
+
- Add support for checking `its` from [rspec-its](https://github.com/rspec/rspec-its). ([@backus])
|
778
|
+
- Add `EmptyExampleGroup` cop for detecting `describe`s and `context`s without any tests inside. ([@backus])
|
779
|
+
- Add `CustomIncludeMethods` configuration option for `EmptyExampleGroup`. ([@backus])
|
780
|
+
- Add `NestedGroups` cop for detecting excessive example group nesting. ([@backus])
|
781
|
+
- Add `MaxNesting` configuration option for `NestedGroups` cop. ([@backus])
|
782
|
+
- Add `ExpectActual` cop for detecting literal values within `expect(...)`. ([@backus])
|
783
|
+
- Add `MultipleExpectations` cop for detecting multiple `expect(...)` calls within one example. ([@backus])
|
784
|
+
- Add `Max` configuration option for `MultipleExpectations`. ([@backus])
|
785
|
+
- Add `SubjectStub` cop for testing stubbed test subjects. ([@backus])
|
786
|
+
- Add `LetSetup` cop for detecting cases where `let!` is used for test setup. ([@backus])
|
787
|
+
- Change all cops to only inspect files with names following rspec convention (`*/spec/*` and/or `_spec.rb`). ([@backus])
|
788
|
+
- Add `AllCops/RSpec` configuration option for specifying custom spec file patterns. ([@backus])
|
789
|
+
- Add `AssignmentOnly` configuration option for `RSpec/InstanceVariable` cop. ([@backus])
|
790
|
+
- Add `BeEql` cop which looks for expectations that can use `be(...)` instead of `eql(...)`. ([@backus])
|
791
|
+
- Add autocorrect support for `BeEql` cop. ([@backus])
|
792
|
+
- Add `MessageExpectation` cop for enforcing consistent style of either `expect(...).to receive` or `allow(...).to receive`. ([@backus])
|
793
|
+
- Add `MessageChain` cop. ([@bquorning])
|
794
|
+
|
795
|
+
## 1.6.0 (2016-08-03)
|
796
|
+
|
797
|
+
- Add `SkipBlocks` option for `DescribedClass` cop. ([@backus])
|
798
|
+
|
799
|
+
## 1.5.3 (2016-08-02)
|
800
|
+
|
801
|
+
- Add `RSpec/NamedSubject` cop. ([@backus])
|
802
|
+
|
803
|
+
## 1.5.2 (2016-08-01)
|
804
|
+
|
805
|
+
- Drop support for ruby `2.0.0` and `2.1.0`. ([@backus])
|
806
|
+
- Internal refactorings and improved test coverage. ([@backus])
|
807
|
+
|
808
|
+
## 1.5.1 (2016-07-20)
|
809
|
+
|
810
|
+
- Fix `unrecognized parameter RSpec/VerifiedDoubles:IgnoreSymbolicNames` warning. ([@jeffreyc])
|
811
|
+
- Update to rubocop 0.41.2. ([@backus])
|
812
|
+
|
813
|
+
## 1.5.0 (2016-05-17)
|
814
|
+
|
815
|
+
- Expand `VerifiedDoubles` cop to check for `spy` as well as `double`. ([@andyw8])
|
816
|
+
- Enable `VerifiedDoubles` cop by default. ([@andyw8])
|
817
|
+
- Add `IgnoreSymbolicNames` option for `VerifiedDoubles` cop. ([@andyw8])
|
818
|
+
- Add `RSpec::ExampleLength` cop. ([@andyw8])
|
819
|
+
- Handle alphanumeric class names in `FilePath` cop. ([@andyw8])
|
820
|
+
- Skip `DescribeClass` cop for view specs. ([@andyw8])
|
821
|
+
- Skip `FilePath` cop for Rails routing specs. ([@andyw8])
|
822
|
+
- Add cop to check for focused specs. ([@renanborgescampos], [@jaredmoody])
|
823
|
+
- Clean-up `RSpec::NotToNot` to use same configuration semantics as other RuboCop cops, add autocorrect support for `RSpec::NotToNot`. ([@baberthal])
|
824
|
+
- Update to rubocop 0.40.0. ([@nijikon])
|
825
|
+
|
826
|
+
## 1.4.1 (2016-04-03)
|
827
|
+
|
828
|
+
- Ignore routing specs for DescribeClass cop. ([@nijikon])
|
829
|
+
- Move rubocop dependency to runtime. ([@nijikon])
|
830
|
+
- Update to rubocop 0.39.0. ([@nijikon])
|
831
|
+
|
832
|
+
## 1.4.0 (2016-02-15)
|
833
|
+
|
834
|
+
- Update to rubocop 0.37.2. ([@nijikon])
|
835
|
+
- Update ruby versions we test against. ([@nijikon])
|
836
|
+
- Add `RSpec::NotToNot` cop. ([@miguelfteixeira])
|
837
|
+
- Add `RSpec/AnyInstance` cop. ([@mlarraz])
|
838
|
+
|
839
|
+
## 1.3.1
|
840
|
+
|
841
|
+
- Fix auto correction issue - syntax had changed in RuboCop v0.31. ([@bquorning])
|
842
|
+
- Add RuboCop clone to vendor folder - see #39 for details. ([@bquorning])
|
843
|
+
|
844
|
+
## 1.3.0
|
845
|
+
|
846
|
+
- Ignore non string arguments for FilePathCop - thanks to @deivid-rodriguez. ([@geniou])
|
847
|
+
- Skip DescribeMethod cop for tagged specs. ([@deivid-rodriguez])
|
848
|
+
- Skip DescribeClass cop for feature/request specs. ([@deivid-rodriguez])
|
849
|
+
|
850
|
+
## 1.2.2
|
851
|
+
|
852
|
+
- Make `RSpec::ExampleWording` case insensitive. ([@geniou])
|
853
|
+
|
854
|
+
## 1.2.1
|
855
|
+
|
856
|
+
- Add `RSpec::VerifiedDoubles` cop. ([@andyw8])
|
857
|
+
|
858
|
+
## 1.2.0
|
859
|
+
|
860
|
+
- Drop support of ruby `1.9.2`. ([@geniou])
|
861
|
+
- Update to RuboCop `~> 0.24`. ([@geniou])
|
862
|
+
- Add `autocorrect` to `RSpec::ExampleWording`. This experimental - use with care and check the changes. ([@geniou])
|
863
|
+
- Fix config loader debug output. ([@geniou])
|
864
|
+
- Rename `FileName` cop to `FilePath` as a workaround - see [#19](https://github.com/nevir/rubocop-rspec/issues/19). ([@geniou])
|
865
|
+
|
866
|
+
## 1.1.0
|
867
|
+
|
868
|
+
- Add `autocorrect` to `RSpec::DescribedClass` cop. ([@geniou])
|
869
|
+
|
870
|
+
## 1.0.1
|
871
|
+
|
872
|
+
- Add `config` folder to gemspec. ([@pstengel])
|
873
|
+
|
874
|
+
## 1.0.rc3
|
875
|
+
|
876
|
+
- Update to RuboCop `>= 0.23`. ([@geniou])
|
877
|
+
- Add configuration option for `CustomTransformation` to `FileName` cop. ([@geniou])
|
878
|
+
|
879
|
+
## 1.0.rc2
|
880
|
+
|
881
|
+
- Gem is no longer 20MB (sorry!). ([@nevir])
|
882
|
+
- `RspecFileName` cop allows for method specs to organized into directories by class and type. ([@nevir])
|
883
|
+
|
884
|
+
## 1.0.rc1
|
885
|
+
|
886
|
+
- Update code to work with rubocop `>= 0.19`. ([@geniou])
|
887
|
+
- Split `UnitSpecNaming` cop into `RSpecDescribeClass`, `RSpecDescribeMethod` and `RSpecFileName` and enabled them all by default. ([@geniou])
|
888
|
+
- Add `RSpecExampleWording` cop to prevent to use of should at the beginning of the spec description. ([@geniou])
|
889
|
+
- Fix `RSpecFileName` cop for non-class specs. ([@geniou])
|
890
|
+
- Adapt `RSpecFileName` cop to common naming convention and skip spec with multiple top level describes. ([@geniou])
|
891
|
+
- Add `RSpecMultipleDescribes` cop to check for multiple top level describes. ([@geniou])
|
892
|
+
- Add `RSpecDescribedClass` to promote the use of `described_class`. ([@geniou])
|
893
|
+
- Add `RSpecInstanceVariable` cop to check for the usage of instance variables. ([@geniou])
|
894
|
+
|
895
|
+
<!-- Contributors (alphabetically) -->
|
896
|
+
|
897
|
+
[@abrom]: https://github.com/abrom
|
898
|
+
[@ahukkanen]: https://github.com/ahukkanen
|
899
|
+
[@akiomik]: https://github.com/akiomik
|
900
|
+
[@akrox58]: https://github.com/akrox58
|
901
|
+
[@alexwayfer]: https://github.com/AlexWayfer
|
902
|
+
[@andrykonchin]: https://github.com/andrykonchin
|
903
|
+
[@andyw8]: https://github.com/andyw8
|
904
|
+
[@anthony-robin]: https://github.com/anthony-robin
|
905
|
+
[@aried3r]: https://github.com/aried3r
|
906
|
+
[@baberthal]: https://github.com/baberthal
|
907
|
+
[@backus]: https://github.com/backus
|
908
|
+
[@bcgraham]: https://github.com/bcgraham
|
909
|
+
[@biinari]: https://github.com/biinari
|
910
|
+
[@bmorrall]: https://github.com/bmorrall
|
911
|
+
[@bquorning]: https://github.com/bquorning
|
912
|
+
[@brentwheeldon]: https://github.com/BrentWheeldon
|
913
|
+
[@brianhawley]: https://github.com/BrianHawley
|
914
|
+
[@cfabianski]: https://github.com/cfabianski
|
915
|
+
[@clupprich]: https://github.com/clupprich
|
916
|
+
[@composerinteralia]: https://github.com/composerinteralia
|
917
|
+
[@corydiamand]: https://github.com/corydiamand
|
918
|
+
[@darhazer]: https://github.com/Darhazer
|
919
|
+
[@daveworth]: https://github.com/daveworth
|
920
|
+
[@dduugg]: https://github.com/dduugg
|
921
|
+
[@deivid-rodriguez]: https://github.com/deivid-rodriguez
|
922
|
+
[@dgollahon]: https://github.com/dgollahon
|
923
|
+
[@dmitrytsepelev]: https://github.com/dmitrytsepelev
|
924
|
+
[@drcapulet]: https://github.com/drcapulet
|
925
|
+
[@drowze]: https://github.com/Drowze
|
926
|
+
[@dswij]: https://github.com/dswij
|
927
|
+
[@dvandersluis]: https://github.com/dvandersluis
|
928
|
+
[@earlopain]: https://github.com/earlopain
|
929
|
+
[@edgibbs]: https://github.com/edgibbs
|
930
|
+
[@eikes]: https://github.com/eikes
|
931
|
+
[@eitoball]: https://github.com/eitoball
|
932
|
+
[@elebow]: https://github.com/elebow
|
933
|
+
[@elisefitz15]: https://github.com/EliseFitz15
|
934
|
+
[@elliterate]: https://github.com/elliterate
|
935
|
+
[@faucct]: https://github.com/faucct
|
936
|
+
[@foton]: https://github.com/foton
|
937
|
+
[@francois-ferrandis]: https://github.com/francois-ferrandis
|
938
|
+
[@franzliedke]: https://github.com/franzliedke
|
939
|
+
[@g-rath]: https://github.com/G-Rath
|
940
|
+
[@geniou]: https://github.com/geniou
|
941
|
+
[@gsamokovarov]: https://github.com/gsamokovarov
|
942
|
+
[@harry-graham]: https://github.com/harry-graham
|
943
|
+
[@harrylewis]: https://github.com/harrylewis
|
944
|
+
[@hasghari]: https://github.com/hasghari
|
945
|
+
[@hosamaly]: https://github.com/hosamaly
|
946
|
+
[@ignaciovillaverde]: https://github.com/ignaciovillaverde
|
947
|
+
[@jaredbeck]: https://github.com/jaredbeck
|
948
|
+
[@jaredmoody]: https://github.com/jaredmoody
|
949
|
+
[@jdufresne]: https://github.com/jdufresne
|
950
|
+
[@jeffreyc]: https://github.com/jeffreyc
|
951
|
+
[@jeppester]: https://github.com/jeppester
|
952
|
+
[@jessieay]: https://github.com/jessieay
|
953
|
+
[@jfragoulis]: https://github.com/jfragoulis
|
954
|
+
[@johnny-miyake]: https://github.com/johnny-miyake
|
955
|
+
[@jojos003]: https://github.com/jojos003
|
956
|
+
[@jonatas]: https://github.com/jonatas
|
957
|
+
[@jtannas]: https://github.com/jtannas
|
958
|
+
[@k-s-a]: https://github.com/K-S-A
|
959
|
+
[@kellysutton]: https://github.com/kellysutton
|
960
|
+
[@koic]: https://github.com/koic
|
961
|
+
[@krororo]: https://github.com/krororo
|
962
|
+
[@kuahyeow]: https://github.com/kuahyeow
|
963
|
+
[@lazycoder9]: https://github.com/lazycoder9
|
964
|
+
[@leoarnold]: https://github.com/leoarnold
|
965
|
+
[@liberatys]: https://github.com/Liberatys
|
966
|
+
[@lokhi]: https://github.com/lokhi
|
967
|
+
[@luke-hill]: https://github.com/luke-hill
|
968
|
+
[@m-yamashita01]: https://github.com/M-Yamashita01
|
969
|
+
[@marocchino]: https://github.com/marocchino
|
970
|
+
[@miguelfteixeira]: https://github.com/miguelfteixeira
|
971
|
+
[@mkenyon]: https://github.com/mkenyon
|
972
|
+
[@mkrawc]: https://github.com/mkrawc
|
973
|
+
[@mlarraz]: https://github.com/mlarraz
|
974
|
+
[@mockdeep]: https://github.com/mockdeep
|
975
|
+
[@mothonmars]: https://github.com/MothOnMars
|
976
|
+
[@mvz]: https://github.com/mvz
|
977
|
+
[@naveg]: https://github.com/naveg
|
978
|
+
[@nc-holodakg]: https://github.com/nc-holodakg
|
979
|
+
[@nevir]: https://github.com/nevir
|
980
|
+
[@ngouy]: https://github.com/ngouy
|
981
|
+
[@nickcampbell18]: https://github.com/nickcampbell18
|
982
|
+
[@nijikon]: https://github.com/nijikon
|
983
|
+
[@onk]: https://github.com/onk
|
984
|
+
[@onumis]: https://github.com/onumis
|
985
|
+
[@oshiro3]: https://github.com/oshiro3
|
986
|
+
[@patrickomatic]: https://github.com/patrickomatic
|
987
|
+
[@paydaylight]: https://github.com/paydaylight
|
988
|
+
[@philcoggins]: https://github.com/PhilCoggins
|
989
|
+
[@pirj]: https://github.com/pirj
|
990
|
+
[@pocke]: https://github.com/pocke
|
991
|
+
[@pstengel]: https://github.com/pstengel
|
992
|
+
[@qqism]: https://github.com/QQism
|
993
|
+
[@r7kamura]: https://github.com/r7kamura
|
994
|
+
[@rafix02]: https://github.com/Rafix02
|
995
|
+
[@redross]: https://github.com/redross
|
996
|
+
[@renanborgescampos]: https://github.com/renanborgescampos
|
997
|
+
[@robinaugh]: https://github.com/robinaugh
|
998
|
+
[@robotdana]: https://github.com/robotdana
|
999
|
+
[@rolfschmidt]: https://github.com/rolfschmidt
|
1000
|
+
[@rrosenblum]: https://github.com/rrosenblum
|
1001
|
+
[@rspeicher]: https://github.com/rspeicher
|
1002
|
+
[@rst-j]: https://github.com/RST-J
|
1003
|
+
[@samrjenkins]: https://github.com/samrjenkins
|
1004
|
+
[@schmijos]: https://github.com/schmijos
|
1005
|
+
[@seanpdoyle]: https://github.com/seanpdoyle
|
1006
|
+
[@sl4vr]: https://github.com/sl4vr
|
1007
|
+
[@smcgivern]: https://github.com/smcgivern
|
1008
|
+
[@splattael]: https://github.com/splattael
|
1009
|
+
[@stephannv]: https://github.com/stephannv
|
1010
|
+
[@swelther]: https://github.com/swelther
|
1011
|
+
[@t3h2mas]: https://github.com/t3h2mas
|
1012
|
+
[@tdeo]: https://github.com/tdeo
|
1013
|
+
[@tejasbubane]: https://github.com/tejasbubane
|
1014
|
+
[@telmofcosta]: https://github.com/telmofcosta
|
1015
|
+
[@tietew]: https://github.com/Tietew
|
1016
|
+
[@timrogers]: https://github.com/timrogers
|
1017
|
+
[@tmaier]: https://github.com/tmaier
|
1018
|
+
[@topalovic]: https://github.com/topalovic
|
1019
|
+
[@twalpole]: https://github.com/twalpole
|
1020
|
+
[@vzvu3k6k]: https://github.com/vzvu3k6k
|
1021
|
+
[@walf443]: https://github.com/walf443
|
1022
|
+
[@yasu551]: https://github.com/yasu551
|
1023
|
+
[@ybiquitous]: https://github.com/ybiquitous
|
1024
|
+
[@ydah]: https://github.com/ydah
|
1025
|
+
[@yevhene]: https://github.com/yevhene
|
1026
|
+
[@ypresto]: https://github.com/ypresto
|
1027
|
+
[@zdennis]: https://github.com/zdennis
|
1028
|
+
[@zverok]: https://github.com/zverok
|