rubocop-katalyst 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/config/rubocop-rspec.yml +15 -0
- data/lib/rubocop/katalyst/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d872235c01b5a23b0a7ef5ee53c6d7fff76bac0787b9cb55f67a8e12c2752c0
|
4
|
+
data.tar.gz: 713155b1dd8d95262957bc30dc475d141352064cedbc68ea9f8dedb7768ced07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d47542f7d89bf0115a61047b1ad736aa7e8768b9e5e6ea3f27c93e6c857f2496bd9d2f0daa84bb788187b7493c6072440e0fb0ca920658d126e47b198a513ef4
|
7
|
+
data.tar.gz: 92e98174d9d68f21ca6b4d7667a12d654b3a7a50eda7f85575c32fa38c09fde8d5c14c9e7316b20cefcaae79809f26670f91863176163706652c0c197f2b2816
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## [1.0.5] - 2023-03-16
|
2
|
+
|
3
|
+
- Add extra prefixes for spec contexts
|
4
|
+
- Allow repeated examples in policy specs
|
5
|
+
|
1
6
|
## [1.0.2] - 2022-09-02
|
2
7
|
|
3
8
|
- ignore multiple expectations in features and system specs
|
@@ -22,4 +27,3 @@
|
|
22
27
|
- Initial release
|
23
28
|
- Disable new cops by default
|
24
29
|
- Enforce styles within the project
|
25
|
-
|
data/config/rubocop-rspec.yml
CHANGED
@@ -1,6 +1,17 @@
|
|
1
1
|
# RuboCop RSpec extension configuration overrides
|
2
2
|
# https://github.com/rubocop/rubocop-rspec
|
3
3
|
|
4
|
+
RSpec/ContextWording:
|
5
|
+
Description: >-
|
6
|
+
Checks that context docstring starts with an allowed prefix.
|
7
|
+
Prefixes:
|
8
|
+
- after
|
9
|
+
- as
|
10
|
+
- "on"
|
11
|
+
- when
|
12
|
+
- with
|
13
|
+
- without
|
14
|
+
|
4
15
|
RSpec/ExampleLength:
|
5
16
|
Exclude:
|
6
17
|
- spec/features/**/*
|
@@ -10,3 +21,7 @@ RSpec/MultipleExpectations:
|
|
10
21
|
Exclude:
|
11
22
|
- spec/features/**/*
|
12
23
|
- spec/system/**/*
|
24
|
+
|
25
|
+
RSpec/RepeatedExample:
|
26
|
+
Exclude:
|
27
|
+
- spec/policies/**/*
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-katalyst
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katalyst Interactive
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -117,7 +117,7 @@ metadata:
|
|
117
117
|
source_code_uri: https://github.com/katalyst/rubocop-katalyst
|
118
118
|
changelog_uri: https://github.com/katalyst/rubocop-katalyst/blob/main/CHANGELOG.md
|
119
119
|
rubygems_mfa_required: 'true'
|
120
|
-
post_install_message:
|
120
|
+
post_install_message:
|
121
121
|
rdoc_options: []
|
122
122
|
require_paths:
|
123
123
|
- lib
|
@@ -132,8 +132,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
- !ruby/object:Gem::Version
|
133
133
|
version: '0'
|
134
134
|
requirements: []
|
135
|
-
rubygems_version: 3.
|
136
|
-
signing_key:
|
135
|
+
rubygems_version: 3.3.26
|
136
|
+
signing_key:
|
137
137
|
specification_version: 4
|
138
138
|
summary: Code standards for Katalyst
|
139
139
|
test_files: []
|