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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f7856ab1894339789037570d66597d5c0001d6a4fd28a2a5bb228522e251ed2
4
- data.tar.gz: 8cda1a7dd1232c75e87ca0d0ff2d05fe229e96e042737ed2839e02973741ec07
3
+ metadata.gz: 0d872235c01b5a23b0a7ef5ee53c6d7fff76bac0787b9cb55f67a8e12c2752c0
4
+ data.tar.gz: 713155b1dd8d95262957bc30dc475d141352064cedbc68ea9f8dedb7768ced07
5
5
  SHA512:
6
- metadata.gz: fb176b91189adbcaa56fce98ce71de0405d757e4766f1e5119feb63e6e9f3672b4e4bf3aa13c00115b994656f18963fbc694b546ea9ca5499f8e76905cdb4090
7
- data.tar.gz: 7f9636d40e7accedef362ebfd0e37aaf35f01113f15c8306b2e2b4797949f9d09f1ddde6eca7251e8cb588aa2b2ba171a97ba72bd76e7e9c36a62e9906a3f68d
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
-
@@ -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/**/*
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Katalyst
5
- VERSION = "1.0.4"
5
+ VERSION = "1.0.5"
6
6
  end
7
7
  end
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
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: 2022-09-27 00:00:00.000000000 Z
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.1.6
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: []