rubocop-rspec 2.13.2 → 2.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +402 -383
  3. data/CODE_OF_CONDUCT.md +4 -4
  4. data/MIT-LICENSE.md +1 -2
  5. data/config/default.yml +65 -4
  6. data/lib/rubocop/cop/rspec/capybara/negation_matcher.rb +106 -0
  7. data/lib/rubocop/cop/rspec/capybara/specific_actions.rb +85 -0
  8. data/lib/rubocop/cop/rspec/capybara/specific_matcher.rb +5 -82
  9. data/lib/rubocop/cop/rspec/change_by_zero.rb +1 -1
  10. data/lib/rubocop/cop/rspec/context_wording.rb +4 -2
  11. data/lib/rubocop/cop/rspec/example_wording.rb +32 -0
  12. data/lib/rubocop/cop/rspec/factory_bot/consistent_parentheses_style.rb +99 -0
  13. data/lib/rubocop/cop/rspec/factory_bot/create_list.rb +2 -2
  14. data/lib/rubocop/cop/rspec/factory_bot/syntax_methods.rb +1 -19
  15. data/lib/rubocop/cop/rspec/implicit_subject.rb +86 -19
  16. data/lib/rubocop/cop/rspec/let_before_examples.rb +15 -1
  17. data/lib/rubocop/cop/rspec/mixin/capybara_help.rb +80 -0
  18. data/lib/rubocop/cop/rspec/mixin/css_selector.rb +48 -1
  19. data/lib/rubocop/cop/rspec/mixin/skip_or_pending.rb +23 -0
  20. data/lib/rubocop/cop/rspec/no_expectation_example.rb +42 -9
  21. data/lib/rubocop/cop/rspec/pending.rb +2 -11
  22. data/lib/rubocop/cop/rspec/rails/inferred_spec_type.rb +135 -0
  23. data/lib/rubocop/cop/rspec/repeated_include_example.rb +1 -1
  24. data/lib/rubocop/cop/rspec/sort_metadata.rb +102 -0
  25. data/lib/rubocop/cop/rspec/subject_declaration.rb +1 -1
  26. data/lib/rubocop/cop/rspec_cops.rb +5 -0
  27. data/lib/rubocop/rspec/factory_bot/language.rb +20 -0
  28. data/lib/rubocop/rspec/version.rb +1 -1
  29. data/lib/rubocop-rspec.rb +2 -0
  30. metadata +9 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7da4fe826259c4b6981fabc58abafd9d91d121a35b538f40953af7f152dca15
4
- data.tar.gz: fd8a448c3534ad861e218b92d198d1ca0a6375f95dfc9fdf87cb4bbfe7fd956a
3
+ metadata.gz: 6fdb82e2eec960744c6f4960acada2a37cb2fb1bc3a1159b2fc444795c11448e
4
+ data.tar.gz: 8d5945bf3e9e839b84067fc38c68663b9b43394ee467421b152385cb5d0c111e
5
5
  SHA512:
6
- metadata.gz: 5bf56052d556e623c3b7ffd93eed6dd2931c59b869de859a9f58ff8408ae87ad87a576cd53ce351c759ced16434749b4e2d18f5bfc5547c124b81c7c17432014
7
- data.tar.gz: 0134a9c72e903bf20e60a7e0ac16cee7d9e3846e7e65832b4950d5d9dca3292e76238e6c1382984c050a07d475978efdf65b54961de3a95b11a0833b4da5f00d
6
+ metadata.gz: 320019459649ac0cb26c13496564af8c5c442caaa3a9e2bbee7959954a8ee6fd17cfcd70d0031012197db01e6b32b38b27fe9ab634d0b69a771884753500a244
7
+ data.tar.gz: cfa3023ab42ef3ce54160a11d5fcbdd02c6106ef52a631e2fd301b644b9659f0202224f03ac54061fe5135e8905c758b9ae4c790d1d527ff0fb28e020bda046a