Dutchie-Style 2.0.3 → 2.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: 543b159efcf17f9004d29574bb896af392debeccec71e1773df09b6e170f331b
4
- data.tar.gz: e5647e34175d9ee437b520b99bf4045a8159387c8721ffc80b395af62454ab82
3
+ metadata.gz: ab4eb4db4d27e26e5abe86716e745f2096afab8c4616947b90816096c62ddf82
4
+ data.tar.gz: 4a52bf29c164d56e0db6b20392dea83f7ed631db6d14d6879159c26583693e41
5
5
  SHA512:
6
- metadata.gz: 8c324ec776a3601e7532d5e572afb218ec5d5d7b3f3991ebc254e1469f391b8dc380448a6128891b43954c15136e67b1f46a0b14dc3e743e6bc4d29236416ecf
7
- data.tar.gz: 503d48f16a88aab32986e76d360134f6c94748196ee2e16dd32656d689b134eba8f2f54c5c3f40a9b8f9557c63de8fbed8e8b55c0d990d8818b4e6296a6e3399
6
+ metadata.gz: 259eceafc8d5e50ceaaaf447b9c91a0d4c3d662efe7b8fcb2cad01fbd6c785b352baf329ac0431c52ffdd492c6dd68fcf05f23a72549bb8301bb606373085752
7
+ data.tar.gz: 6a8b13e5d3e2c24e99cc2f05b3d5b86396363f8006582add8e9b850f54caa59418579d9f574c0ac5aaeff3f83fbd52299b68254946a5837f09f7aa34bfbc2cb5
data/default.yml CHANGED
@@ -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,12 @@ Rails/FindBy:
262
263
  Include:
263
264
  - app/**/*.rb
264
265
 
266
+ Rails/PluckId:
267
+ Enabled: false
268
+
269
+ Rails/PluckInWhere:
270
+ Enabled: false
271
+
265
272
  # RSpec
266
273
 
267
274
  # 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.3'
5
+ VERSION = '2.0.5'
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.3
4
+ version: 2.0.5
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