standard-rspec 0.4.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fface10ef20743484460ba0407176d622741ec178907604f46056a51aa5ba8ef
4
- data.tar.gz: 6c8fac9df19952d82f09782527b4f41e58c83594122a7b1f8644f3c9fc70d6f5
3
+ metadata.gz: 9867d548fae8d6e99da85ba4bc65bd41fb31c7013c7f7ea90801ffef0b0c4a76
4
+ data.tar.gz: c25689bdec8fc4f499c1086778f0debf99b833e816a1f1a176bb442a6e50b924
5
5
  SHA512:
6
- metadata.gz: 20d4d89548caae226c54111c563cf2661f963e099b06e91927a4ca3d1f98582bfd1f03aa61207a1aed1f11238286c75282b171fd73e91842d9f9aec30e8b8eb7
7
- data.tar.gz: 16255bba858b73caf238fcf6abf23c08b26310989bd19063f52fd3857bc8e4ac5c48c64ca42bfcbb03aa3e5d0025dc857cfa2d68e7f37524f6712e54bcbda4d9
6
+ metadata.gz: 34388c700170d8c9b2c375cd0eee881c398642e5749ecd6a9292c1a4a16f75a675211d46927fb1a8f3d799a7785ff45bd3eba614d981e7df64ee81b89f0efdd3
7
+ data.tar.gz: 05b03ab878fb050d2b1d7f0cda09dc09ddc5fe58ef222f7f55a2a881ac4f471b65209b85bf28d89e7b53995becf1e357cb4dd46f943a9f35cd42ee766c20e43c
data/config/base.yml CHANGED
@@ -1045,19 +1045,19 @@ RSpec/Yield:
1045
1045
  Capybara:
1046
1046
  Enabled: true
1047
1047
 
1048
- Capybara/CurrentPathExpectation:
1048
+ Capybara/RSpec/CurrentPathExpectation:
1049
1049
  Description: Checks that no expectations are set on Capybara's `current_path`.
1050
1050
  Enabled: true
1051
1051
  VersionAdded: '1.18'
1052
1052
  VersionChanged: '2.0'
1053
- StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/Capybara/CurrentPathExpectation
1053
+ StyleGuide: https://www.rubydoc.info/gems/rubocop-capybara/RuboCop/Cop/Capybara/RSpec/CurrentPathExpectation
1054
1054
 
1055
- Capybara/VisibilityMatcher:
1055
+ Capybara/RSpec/VisibilityMatcher:
1056
1056
  Description: Checks for boolean visibility in capybara finders.
1057
1057
  Enabled: true
1058
1058
  VersionAdded: '1.39'
1059
1059
  VersionChanged: '2.0'
1060
- StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/Capybara/VisibilityMatcher
1060
+ StyleGuide: https://www.rubydoc.info/gems/rubocop-capybara/RuboCop/Cop/Capybara/RSpec/VisibilityMatcher
1061
1061
 
1062
1062
  FactoryBot:
1063
1063
  Enabled: true
@@ -1112,7 +1112,6 @@ FactoryBot/SyntaxMethods:
1112
1112
  RSpecRails:
1113
1113
  Enabled: true
1114
1114
  Include: *1
1115
- Language: *2
1116
1115
 
1117
1116
  RSpecRails/AvoidSetupHook:
1118
1117
  Description: Checks that tests use RSpec `before` hook over Rails `setup` method.
@@ -1130,3 +1129,16 @@ RSpecRails/HttpStatus:
1130
1129
  VersionAdded: '1.23'
1131
1130
  VersionChanged: '2.0'
1132
1131
  StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpecRails/HttpStatus
1132
+
1133
+ RSpecRails/NegationBeValid:
1134
+ Description: Enforces use of `be_invalid` or `not_to` for negated be_valid.
1135
+ AutoCorrect: contextual
1136
+ Safe: false
1137
+ EnforcedStyle: not_to
1138
+ SupportedStyles:
1139
+ - not_to
1140
+ - be_invalid
1141
+ Enabled: pending
1142
+ VersionAdded: '2.23'
1143
+ VersionChanged: '2.29'
1144
+ Reference: https://www.rubydoc.info/gems/rubocop-rspec_rails/RuboCop/Cop/RSpecRails/NegationBeValid
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Standard
4
4
  module Rspec
5
- VERSION = "0.4.0"
5
+ VERSION = "0.5.1"
6
6
  end
7
7
  end
@@ -35,5 +35,5 @@ Gem::Specification.new do |spec|
35
35
  spec.add_dependency "rubocop-rspec", "~> 3.9"
36
36
  spec.add_dependency "rubocop-factory_bot", "~> 2.27"
37
37
  spec.add_dependency "rubocop-rspec_rails", "~> 2.31"
38
- spec.add_dependency "rubocop-capybara", "~> 2.22"
38
+ spec.add_dependency "rubocop-capybara", "~> 2.23"
39
39
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - shilin-anton
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2026-01-26 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: lint_roller
@@ -72,15 +71,14 @@ dependencies:
72
71
  requirements:
73
72
  - - "~>"
74
73
  - !ruby/object:Gem::Version
75
- version: '2.22'
74
+ version: '2.23'
76
75
  type: :runtime
77
76
  prerelease: false
78
77
  version_requirements: !ruby/object:Gem::Requirement
79
78
  requirements:
80
79
  - - "~>"
81
80
  - !ruby/object:Gem::Version
82
- version: '2.22'
83
- description:
81
+ version: '2.23'
84
82
  email:
85
83
  - anton.d.shilin@gmail.com
86
84
  executables: []
@@ -106,7 +104,6 @@ metadata:
106
104
  source_code_uri: https://github.com/shilin-anton/standard-rspec
107
105
  changelog_uri: https://github.com/shilin-anton/standard-rspec/blob/main/CHANGELOG.md
108
106
  default_lint_roller_plugin: Standard::Rspec::Plugin
109
- post_install_message:
110
107
  rdoc_options: []
111
108
  require_paths:
112
109
  - lib
@@ -121,8 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
118
  - !ruby/object:Gem::Version
122
119
  version: '0'
123
120
  requirements: []
124
- rubygems_version: 3.1.6
125
- signing_key:
121
+ rubygems_version: 4.0.10
126
122
  specification_version: 4
127
123
  summary: A Standard plugin that adds rubocop-rspec specific rules to Standard.
128
124
  test_files: []