Dutchie-Style 2.0.2 → 2.0.4

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: 54099a06ca24cda06efc7fbe9bfd66ef6db9915d3d4316001b3e9b3dd2abee86
4
- data.tar.gz: aa7436def2b17cb725e37902dbf7cc7f59ce80d7124736caa5481241c9ef3d59
3
+ metadata.gz: d93569413b75eb76840cdf36546d61b1922fbcaeec8d36a6c09f7e149cf2b384
4
+ data.tar.gz: 270c138a4c79c2944cd24ec77aa8d1b1e57397c9e0778b5c2a8e86057d381b7b
5
5
  SHA512:
6
- metadata.gz: 0f199124b20b52f97697d568dfe01e680ba091a6a56b567e7e18240b9c42e1045b4e6cd6a106a3aba7b34c6ad476f8de7397c04b48929c94a7ed33120241297e
7
- data.tar.gz: 4969c72fdadd133ce3f9e0b9df30719908ea717d0e95098bf6ddbd722268a5b71ad43e48937c43db8a64f0b06a0722715823f813a26e93913e79636b387f98e0
6
+ metadata.gz: a8d6a9770e895d2b2a41a851cb9744bff3e616f7fe10026b146052adc62e454b56419eba38b1e1e1e19a0f37ba557fbc7cfdcb9d621c19253086c64c5cad39c7
7
+ data.tar.gz: 8844200cdd7c46086071b46b754c7697d7ec03fb35a89789334b22dabb204b8da49df33ffcfd100fb6106ea6797640e29c83a510588baf72f4a545d6bbedc6e6
data/default.yml CHANGED
@@ -25,7 +25,7 @@ AllCops:
25
25
  # Capybara cops
26
26
 
27
27
  # Allows us to use scenario/feature instead of it/describes
28
- RSpec/Capybara:
28
+ RSpec/Capybara/FeatureMethods:
29
29
  Enabled: true
30
30
  EnabledMethods: ['feature', 'scenario']
31
31
 
@@ -38,9 +38,10 @@ Layout/ClassStructure:
38
38
  Layout/LineLength:
39
39
  Max: 120
40
40
  AllowHeredoc: true
41
- # There's a bug which considers commas after a URI too long so we can't use built-in AllowURI setting.
41
+ # - There's a bug which considers commas after a URI too long so we can't use built-in AllowURI setting.
42
42
  # Pattern matches valid URI encapsulated within a string literal.
43
- AllowedPatterns: ['["\u0027].*https?[\w\:\/\$\–\-\#\.\+\!\*\‘\(\)\,]*.*["\u0027]']
43
+ # - Ignore top level comments (sometimes autogenerated, e.g. annotate_models)
44
+ AllowedPatterns: ['["\u0027].*https?[\w\:\/\$\–\-\#\.\+\!\*\‘\(\)\,]*.*["\u0027]', '\A#']
44
45
 
45
46
 
46
47
  # No space makes the method definition shorter and differentiates
@@ -262,6 +263,9 @@ Rails/FindBy:
262
263
  Include:
263
264
  - app/**/*.rb
264
265
 
266
+ Rails/Pluck:
267
+ Enabled: false
268
+
265
269
  # RSpec
266
270
 
267
271
  # Start context description without 'when', 'with', or 'without'.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Dutchie
4
4
  module Style
5
- VERSION = '2.0.2'
5
+ VERSION = '2.0.4'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Dutchie-Style
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Ostrowski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-16 00:00:00.000000000 Z
11
+ date: 2022-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop