rubocop-rspec_rails 2.28.2 → 2.28.3
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/rubocop/cop/rspec_rails/avoid_setup_hook.rb +1 -1
- data/lib/rubocop/cop/rspec_rails/http_status.rb +1 -1
- data/lib/rubocop/cop/rspec_rails/minitest_assertions.rb +1 -1
- data/lib/rubocop/cop/rspec_rails/negation_be_valid.rb +1 -1
- data/lib/rubocop/cop/rspec_rails/travel_around.rb +1 -1
- data/lib/rubocop/rspec_rails/version.rb +1 -1
- data/lib/rubocop-rspec_rails.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb6fd80f5adfc6edb60fb77ecfa69b4aeba6b7a1011d30c70a1e6fee6bb2d417
|
4
|
+
data.tar.gz: 6cc5cd4b185823f7fa4f114f3d4b911789d997774c40207132d4ba1d6ab7ce01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30246a5475ac1ebf858bf1f0765c01a5e6d740fd70fe23b09f5c45ab87dfe673d2983a8826569d0cc9dc678e4be1e52ac2da704cd4f6e950689e862aa6862e5b
|
7
|
+
data.tar.gz: 1ba553cf7599cb25c86435f2d50fdb2d005703d855e568fc4fb3b9ef843679ef5f7477a95d37b96573884958a0a2196c36b97b317c8faec96f9db4a0e313abf5
|
data/CHANGELOG.md
CHANGED
@@ -57,7 +57,7 @@ module RuboCop
|
|
57
57
|
# it { is_expected.to have_http_status :success }
|
58
58
|
# it { is_expected.to have_http_status :error }
|
59
59
|
#
|
60
|
-
class HttpStatus < ::RuboCop::Cop::
|
60
|
+
class HttpStatus < ::RuboCop::Cop::Base
|
61
61
|
extend AutoCorrector
|
62
62
|
include ConfigurableEnforcedStyle
|
63
63
|
RESTRICT_ON_SEND = %i[have_http_status].freeze
|
@@ -29,7 +29,7 @@ module RuboCop
|
|
29
29
|
# # good (with method chain)
|
30
30
|
# expect(foo).to be_invalid.or be_even
|
31
31
|
#
|
32
|
-
class NegationBeValid < ::RuboCop::Cop::
|
32
|
+
class NegationBeValid < ::RuboCop::Cop::Base
|
33
33
|
extend AutoCorrector
|
34
34
|
include ConfigurableEnforcedStyle
|
35
35
|
|
data/lib/rubocop-rspec_rails.rb
CHANGED
@@ -21,7 +21,7 @@ RuboCop::ConfigLoader.inject_defaults!(project_root)
|
|
21
21
|
# https://github.com/rubocop/rubocop-rspec_rails/issues/8
|
22
22
|
module RuboCop
|
23
23
|
module Cop
|
24
|
-
class
|
24
|
+
class Registry # rubocop:disable Style/Documentation
|
25
25
|
prepend(Module.new do
|
26
26
|
def qualified_cop_name(name, path, warn: true)
|
27
27
|
return super unless name == 'RSpec/Rails/HttpStatus'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-rspec_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.28.
|
4
|
+
version: 2.28.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Quorning
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2024-
|
14
|
+
date: 2024-04-11 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rubocop
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
|
-
rubygems_version: 3.5.
|
79
|
+
rubygems_version: 3.5.3
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Code style checking for RSpec Rails files
|