rubocul 4.0.0 → 4.0.3

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 +4 -4
  2. data/rubocul.gemspec +2 -2
  3. data/rubocul_default.yml +10 -12
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 42e8f4ad2c719d37160b8dd9f14c7fbbf2a3f4fac6b2c11f3a9b31f4ae04940b
4
- data.tar.gz: ed2cb2718291193ec8eea912aedc00f78ddfd15241a828f934a57f25fe5566cb
3
+ metadata.gz: 4ebe4a2f04cd5fda2a28ea972e9bb0f2a62e37bee8893b00ae085311b40800c5
4
+ data.tar.gz: 8ecb1847321dcae083ce19a5638d2ee42141f6233ba8032e3527ea50e02d6a27
5
5
  SHA512:
6
- metadata.gz: 90bd6f30944251d6a6f8178e5542299752b94fd7b6900eb2fd8ddde95fef7837e76c1565e2536e0740b94168e52673d32c766d6b70299e732395372ba60bb991
7
- data.tar.gz: 77b4f3d4a23fc7055d1df9856efbd42aa7043c16b8be720db5eee9df32b05dc88ae9236b34756911a235d2810bd77d90f186de45dea2972ddbeec69618bb1473
6
+ metadata.gz: bf301a445cafcc5fdeaac568755feb00b7d0bd63e6eacb5bc4425abd179023974fc0a2b6cca084adaf0dba6eb221b23552a36752fde58a251e3c2f9763be0434
7
+ data.tar.gz: 1c9e3ae39f6079f7030b6c07e0dd68b53ce3cee365b326828de129ad72e59f144d6c9493a90852de5ea03250213e14a59d5f8d55ebfeff653e9d460f751a855c
data/rubocul.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'rubocul'
3
- spec.version = '4.0.0'
3
+ spec.version = '4.0.3'
4
4
  spec.authors = ["Eric O'Hanlon", "Ben Armintor", "Carla Galarza"]
5
5
 
6
6
  spec.summary = 'A style configuration for Rubocop'
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
 
13
13
  spec.add_development_dependency 'bundler', '~> 2.0'
14
14
 
15
- spec.add_dependency 'rubocop', '~> 1.25.1'
15
+ spec.add_dependency 'rubocop', '~> 1.26'
16
16
  spec.add_dependency 'rubocop-ast'
17
17
  spec.add_dependency 'rubocop-performance'
18
18
  spec.add_dependency 'rubocop-rails'
data/rubocul_default.yml CHANGED
@@ -1,7 +1,13 @@
1
1
  require:
2
- - rubocop-performance
3
2
  - ./lib/rubocop/cul.rb
4
3
 
4
+ inherit_from:
5
+ - rubocul_rules_bundler.yml
6
+ - rubocul_rules_performance.yml
7
+ - rubocul_rules_rails.yml
8
+ - rubocul_rules_rspec.yml
9
+ - rubocul_rules_security.yml
10
+
5
11
  AllCops:
6
12
  TargetRubyVersion: 2.7
7
13
  # Disable any new "pending" cops that are introduced in a minor version update of rubocop.
@@ -19,13 +25,6 @@ AllCops:
19
25
  - 'node_modules/**/*'
20
26
  - 'app/javascript/**/*'
21
27
 
22
- inherit_from:
23
- - rubocul_rules_bundler.yml
24
- - rubocul_rules_performance.yml
25
- - rubocul_rules_rails.yml
26
- - rubocul_rules_rspec.yml
27
- - rubocul_rules_security.yml
28
-
29
28
  Layout/HashAlignment:
30
29
  SupportedHashRocketStyles:
31
30
  - key
@@ -34,6 +33,9 @@ Layout/HashAlignment:
34
33
  - key
35
34
  - table
36
35
 
36
+ Metrics/BlockLength:
37
+ IgnoredMethods: ['describe', 'context']
38
+
37
39
  Style/RedundantSelf:
38
40
  Enabled: false
39
41
 
@@ -60,10 +62,6 @@ Style/SymbolArray:
60
62
  RSpec/ExpectInHook:
61
63
  Enabled: false
62
64
 
63
- Metrics/BlockLength:
64
- Exclude:
65
- - 'spec/**/*'
66
-
67
65
  # TODO: Decide how we feel about this later
68
66
  Naming/VariableNumber:
69
67
  Enabled: false
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocul
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric O'Hanlon
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-02-25 00:00:00.000000000 Z
13
+ date: 2022-03-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -32,14 +32,14 @@ dependencies:
32
32
  requirements:
33
33
  - - "~>"
34
34
  - !ruby/object:Gem::Version
35
- version: 1.25.1
35
+ version: '1.26'
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - "~>"
41
41
  - !ruby/object:Gem::Version
42
- version: 1.25.1
42
+ version: '1.26'
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: rubocop-ast
45
45
  requirement: !ruby/object:Gem::Requirement