rubocop-gooddog 0.2 → 0.7

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -0
  3. data/config/default.yml +18 -0
  4. metadata +8 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a51fba6d6db23fecffedf538d6b70a89114974bc8b2a63281ef70e394858a29
4
- data.tar.gz: 558d4d51bbc99870dd900cace7fa2e2bc823b4ae456f936b384bb3791e65bcdb
3
+ metadata.gz: 0cd32470b998f23f5c0cd4779ce25f7da9dd2f0cd5a00dc4c3d5a700a65d2f00
4
+ data.tar.gz: f17e16a3a7cc965e095cde265fdf02317c4a5e8e859ff4b969a649e23f317e16
5
5
  SHA512:
6
- metadata.gz: 3135e030374a5ce72f1ff802a592ca9b848749a33752d39e4eeaac93f36fd410daebe219e02a5c830c59f80a47bfbaab174da4682515279b845f80230186acc9
7
- data.tar.gz: a228b3774bf8d2118fad7bd8402c3d60f964000bf79d4400233f75d4c05190d02df507105e7dfe5f7c1d9aa268ce63a36ddeda977561bc2f2994d14dddf59df1
6
+ metadata.gz: 144d9c7c8df36a3baecfb9a25b26efa4c6932d7f1ccecf81728685f18acf658c391cedeb7f448c079513a172f515c205d2a8b9c891e4db343509e530376f1c13
7
+ data.tar.gz: 3866cbf8dd87b11ec2ecd936391c4d8b554c1fc362dcf8cc348b3df288e725dc68b6d3c4a26ce5adc2560947cb9a7718bdd6ce64d33253ba9e1184e1c78d87d8
data/CHANGELOG.md CHANGED
@@ -4,6 +4,26 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.7] - 2021-06-25
8
+ ### Added
9
+ - `Style/QuotedSymbols` changed from it's default values to `false`, which lines up with the current configuration for `Style/StringLiterals`.
10
+
11
+ ## [0.6] - 2021-04-08
12
+ ### Added
13
+ - `Layout/FirstArrayElementIndentation` changed from it's default values to `consistent`, which lines up with the current configuration for `Layout/FirstHashElementIndentation`.
14
+
15
+ ## [0.5] - 2021-02-10
16
+ ### Added
17
+ - Disabled default cops `Style/Lambda` and `Style/IfWithBooleanLiteralBranches`. `Style/Lambda` we disagree with any of the provided options and `Style/IfWithBooleanLiteralBranches` resulted in a non-equivalent fix.
18
+
19
+ ## [0.4] - 2020-04-29
20
+ ### Added
21
+ - Set alternative configuration for `Metrics/ClassLength`, bumped the value up to 150 from the default 100 for a little more breathing room. Past 150 abstraction really should be considered.
22
+
23
+ ## [0.3] - 2020-04-03
24
+ ### Added
25
+ - Set alternative configuration for `Layout/MultilineMethodCallIndentation` to avoid statements floating in the middle of the file.
26
+
7
27
  ## [0.2] - 2020-03-31
8
28
  ### Added
9
29
  - Set alternative configurations for `Layout/CaseIndentation` and `Layout/EndAlignment` to avoid statements floating in the middle of the file.
data/config/default.yml CHANGED
@@ -16,12 +16,18 @@ Layout/EmptyLinesAroundAccessModifier:
16
16
  Layout/EndAlignment:
17
17
  EnforcedStyleAlignWith: variable
18
18
 
19
+ Layout/FirstArrayElementIndentation:
20
+ EnforcedStyle: consistent
21
+
19
22
  Layout/FirstHashElementIndentation:
20
23
  EnforcedStyle: consistent
21
24
 
22
25
  Layout/LineLength:
23
26
  Max: 200
24
27
 
28
+ Layout/MultilineMethodCallIndentation:
29
+ EnforcedStyle: indented
30
+
25
31
  Layout/SpaceInsideArrayLiteralBrackets:
26
32
  EnforcedStyle: space
27
33
 
@@ -31,6 +37,9 @@ Metrics/AbcSize:
31
37
  Metrics/BlockLength:
32
38
  Enabled: false
33
39
 
40
+ Metrics/ClassLength:
41
+ Max: 150
42
+
34
43
  Metrics/CyclomaticComplexity:
35
44
  Enabled: false
36
45
 
@@ -73,6 +82,15 @@ Style/HashTransformValues:
73
82
  Style/IfUnlessModifier:
74
83
  Enabled: false
75
84
 
85
+ Style/IfWithBooleanLiteralBranches:
86
+ Enabled: false
87
+
88
+ Style/Lambda:
89
+ Enabled: false
90
+
91
+ Style/QuotedSymbols:
92
+ Enabled: false
93
+
76
94
  Style/StringLiterals:
77
95
  Enabled: false
78
96
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-gooddog
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: '0.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Brooks
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-31 00:00:00.000000000 Z
11
+ date: 2021-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.80.1
19
+ version: 1.9.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.80.1
26
+ version: 1.9.1
27
27
  description: Code style checking for Good Dog Design Ruby repositories
28
28
  email:
29
29
  - james@gooddogdesign.com
@@ -42,7 +42,7 @@ metadata:
42
42
  homepage_uri: https://github.com/gooddog/rubocop-gooddog
43
43
  source_code_uri: https://github.com/gooddog/rubocop-gooddog
44
44
  changelog_uri: https://github.com/gooddog/rubocop-gooddog/blob/master/CHANGELOG.md
45
- post_install_message:
45
+ post_install_message:
46
46
  rdoc_options: []
47
47
  require_paths:
48
48
  - lib
@@ -57,8 +57,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
57
57
  - !ruby/object:Gem::Version
58
58
  version: '0'
59
59
  requirements: []
60
- rubygems_version: 3.0.3
61
- signing_key:
60
+ rubygems_version: 3.1.6
61
+ signing_key:
62
62
  specification_version: 4
63
63
  summary: RuboCop GoodDog
64
64
  test_files: []