rubocop-config-coverhound 1.3.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +6 -0
  3. data/default.yml +11 -17
  4. metadata +5 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 88e6ec9ab598258bf85efcab69bc0576b5d49ecb
4
- data.tar.gz: dba5c2618287d52e4a7e5108f728a147762f52ed
2
+ SHA256:
3
+ metadata.gz: 4b03f07574e3acfd198d30427368aabb8dd6241a7050d45a787f253e34a84584
4
+ data.tar.gz: 7d9f468ccf17d8462d9d559cef42a3913a8205c076f4e643a1a89097e4fbddb6
5
5
  SHA512:
6
- metadata.gz: aea77501788bb42ba7f2ee07650552bbc797cd6fb5aa3c602f244a4cc0c419326eba2644cec482daf9ee1c49ccc93fac5d8cd38465079531aa723b7240e688ea
7
- data.tar.gz: 343d3edaf3f73668f124e16f1974cea79f82198f1c5a032bdacf3369cac548c107e60394bce1a8bb7da6d4844c2264f0fa1c3a2676a3efbd2ff40a747209863d
6
+ metadata.gz: 5a3bc845e7ab28194b31ec7e35ed26a6787a8c2e671c9146f6ee37d02291614647c2cef1aa76504ee739a8b369d7b739178020b73813ba38da6a9f526adc79fb
7
+ data.tar.gz: f69eadd3638c84fde43085b7af8f3d4bd2588a1d43f6169f113617fe37e7c73e05684f1a429f9da24258973ac9848c8b963062ae1c6cc9f23015f056a5ab048a
data/README.md CHANGED
@@ -43,3 +43,9 @@ $ bundle exec rubocop
43
43
  You do not need to include `rubocop` directly in your application's dependences.
44
44
  `rubocop-config-coverhound` will include a specific version of `rubocop` that is shared across
45
45
  all projects.
46
+
47
+ ## Versioning
48
+
49
+ We are pegging our major versions to Rubocop minor versions. Rubocop patch
50
+ versions would indicate a minor version bump for us. A patch for us would
51
+ indicate a change only for us, not in our upstream dependencies.
data/default.yml CHANGED
@@ -1,14 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.3
3
2
  DisplayCopNames: true
4
- Include:
5
- - 'Rakefile'
6
- - 'lib/**/*.rake'
7
- - '**/Gemfile'
8
- Exclude:
9
- - 'db/schema.rb'
10
- - 'vendor/**/*'
11
- - '*.gemspec'
12
3
 
13
4
  Rails:
14
5
  Enabled: true
@@ -87,6 +78,13 @@ Metrics/LineLength:
87
78
  Metrics/MethodLength:
88
79
  Max: 20
89
80
 
81
+ # ========================================
82
+ # PERFORMANCE
83
+ # ========================================
84
+ # This is less readable for a 20% performance boost
85
+ Performance/Casecmp:
86
+ Enabled: false
87
+
90
88
  # ========================================
91
89
  # RAILS
92
90
  # ========================================
@@ -111,7 +109,7 @@ Style/ClassAndModuleChildren:
111
109
  # We reserve code comments for crazy code. As we don't write libraries,
112
110
  # our code does not have documentation
113
111
  Style/Documentation:
114
- Enabled: false
112
+ Enabled: true
115
113
 
116
114
  # We're ok with using double negation
117
115
  Style/DoubleNegation:
@@ -121,6 +119,9 @@ Style/DoubleNegation:
121
119
  Style/FrozenStringLiteralComment:
122
120
  Enabled: false
123
121
 
122
+ Style/MutableConstant:
123
+ Enabled: false
124
+
124
125
  # While we prefer single quotes for require and gem statements, it's
125
126
  # easier to read code with a more consistent style
126
127
  Style/StringLiterals:
@@ -147,10 +148,3 @@ Style/TrailingCommaInArguments:
147
148
  # This can be worse for diffs if we know it's variable
148
149
  Style/WordArray:
149
150
  Enabled: false
150
-
151
- # ========================================
152
- # PERFORMANCE
153
- # ========================================
154
- # This is less readable for a 20% performance boost
155
- Performance/Casecmp:
156
- Enabled: false
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-config-coverhound
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernardo Farah
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-02 00:00:00.000000000 Z
11
+ date: 2022-02-16 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.56.0
19
+ version: 0.65.0
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.56.0
26
+ version: 0.65.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -80,8 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0'
82
82
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.5.2
83
+ rubygems_version: 3.0.3.1
85
84
  signing_key:
86
85
  specification_version: 4
87
86
  summary: CoverHound style guides and shared style configs.