carwow_rubocop 3.1.0 → 3.4.1

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: f152f5f130d4074131a2a121051a8575e00f08cb1f55cf377dbcdf5533f1ec75
4
- data.tar.gz: 7f9142d0f3d721527c26bfc20c2006fffe355c0f09fa379cab5f596fa5b767ff
3
+ metadata.gz: aca908c948096d71e8112457e5552cd13f1553e72a77034497d4b8805615dad3
4
+ data.tar.gz: f9f686dcd7332b9af07cd27ee34a1e4a1f49233b0f0362bab723ac5fa2a17c45
5
5
  SHA512:
6
- metadata.gz: 199c56d8751081a75b84fddc2cfc231d374cc996f305122f6e1d0b5b474ae7ecddcbc0a60003d453e070eeacb3145d8fd556dc4635ab44a095c1dc9bb6e5a3ca
7
- data.tar.gz: 24d5f9d3187ca470267ebdb23cc1e8fc853ba891b24226439be92be651204856b9d2d029cab7deaaf7a8f0f6b499af425c974a28c4673d1b3bf92218943d4b77
6
+ metadata.gz: 616660f882870921fdb823e752a78ea035b139bb7a0590a5d18f98b159c6d175183b36517656760c3f1b2caf27b19647cc941666e4d1df0bb3026bf9e37fa74c
7
+ data.tar.gz: 6aa34ceb8bad8d55a98d33fbd8292837bc3b92935588f8ab9ba6ca124db14d7fa03faea41c2d640ae54879d12158a8cdf656ad68350da397890e886d174872cc
@@ -1,34 +1,40 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- carwow_rubocop (3.1.0)
5
- rubocop (>= 0.68)
4
+ carwow_rubocop (3.4.1)
5
+ rubocop (>= 0.93)
6
6
  rubocop-performance
7
7
  rubocop-rspec
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- ast (2.4.0)
13
- jaro_winkler (1.5.3)
14
- parallel (1.18.0)
15
- parser (2.6.5.0)
16
- ast (~> 2.4.0)
12
+ ast (2.4.1)
13
+ parallel (1.19.2)
14
+ parser (2.7.2.0)
15
+ ast (~> 2.4.1)
17
16
  rainbow (3.0.0)
18
- rake (12.3.2)
19
- rubocop (0.75.1)
20
- jaro_winkler (~> 1.5.1)
17
+ rake (13.0.1)
18
+ regexp_parser (1.8.2)
19
+ rexml (3.2.4)
20
+ rubocop (0.93.1)
21
21
  parallel (~> 1.10)
22
- parser (>= 2.6)
22
+ parser (>= 2.7.1.5)
23
23
  rainbow (>= 2.2.2, < 4.0)
24
+ regexp_parser (>= 1.8)
25
+ rexml
26
+ rubocop-ast (>= 0.6.0)
24
27
  ruby-progressbar (~> 1.7)
25
- unicode-display_width (>= 1.4.0, < 1.7)
26
- rubocop-performance (1.5.0)
27
- rubocop (>= 0.71.0)
28
- rubocop-rspec (1.36.0)
29
- rubocop (>= 0.68.1)
28
+ unicode-display_width (>= 1.4.0, < 2.0)
29
+ rubocop-ast (0.8.0)
30
+ parser (>= 2.7.1.5)
31
+ rubocop-performance (1.8.1)
32
+ rubocop (>= 0.87.0)
33
+ rubocop-ast (>= 0.4.0)
34
+ rubocop-rspec (1.43.2)
35
+ rubocop (~> 0.87)
30
36
  ruby-progressbar (1.10.1)
31
- unicode-display_width (1.6.0)
37
+ unicode-display_width (1.7.0)
32
38
 
33
39
  PLATFORMS
34
40
  ruby
@@ -39,4 +45,4 @@ DEPENDENCIES
39
45
  rake
40
46
 
41
47
  BUNDLED WITH
42
- 2.0.2
48
+ 2.1.4
@@ -3,15 +3,15 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
  require 'carwow_rubocop/version'
4
4
 
5
5
  Gem::Specification.new do |spec|
6
- spec.name = 'carwow_rubocop'
7
- spec.version = CarwowRubocop::VERSION
8
- spec.authors = ['carwow Developers']
9
- spec.email = ['developers@carwow.co.uk']
10
-
11
- spec.summary = "carwow's rubocop configuration"
12
- spec.description = "All carwow's ruby projects will follow these rules"
13
- spec.homepage = 'https://github.com/carwow/carwow_rubocop'
14
- spec.license = 'MIT'
6
+ spec.name = 'carwow_rubocop'
7
+ spec.version = CarwowRubocop::VERSION
8
+ spec.required_ruby_version = '>= 2.7.0'
9
+ spec.authors = ['carwow Developers']
10
+ spec.email = ['developers@carwow.co.uk']
11
+ spec.summary = "carwow's rubocop configuration"
12
+ spec.description = "All carwow's ruby projects will follow these rules"
13
+ spec.homepage = 'https://github.com/carwow/carwow_rubocop'
14
+ spec.license = 'MIT'
15
15
 
16
16
  if spec.respond_to?(:metadata)
17
17
  spec.metadata['allowed_push_host'] = 'https://rubygems.org'
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
29
29
 
30
30
  spec.add_development_dependency 'bundler'
31
31
  spec.add_development_dependency 'rake'
32
- spec.add_dependency 'rubocop', '>= 0.68'
33
- spec.add_dependency 'rubocop-rspec'
32
+ spec.add_dependency 'rubocop', '>= 0.93'
34
33
  spec.add_dependency 'rubocop-performance'
34
+ spec.add_dependency 'rubocop-rspec'
35
35
  end
@@ -3,21 +3,22 @@ require:
3
3
  - rubocop-performance
4
4
 
5
5
  AllCops:
6
- TargetRubyVersion: 2.6
6
+ TargetRubyVersion: 2.7
7
+ NewCops: enable
7
8
  Exclude:
8
9
  - 'Rakefile'
9
10
  - 'vendor/**/*'
10
- - 'db/schema*'
11
+ - 'db/*schema*'
11
12
  - 'node_modules/**/*'
12
13
  - 'bin/**/*'
13
14
  - 'tmp/**/*'
14
15
  - 'public/**/*'
15
16
 
16
- Layout/AlignArguments:
17
+ Layout/ArgumentAlignment:
17
18
  EnforcedStyle: with_fixed_indentation
18
19
 
19
- Layout/AlignParameters:
20
- EnforcedStyle: with_fixed_indentation
20
+ Layout/LineLength:
21
+ Max: 120
21
22
 
22
23
  Layout/MultilineMethodCallBraceLayout:
23
24
  EnforcedStyle: new_line
@@ -25,6 +26,9 @@ Layout/MultilineMethodCallBraceLayout:
25
26
  Layout/MultilineMethodCallIndentation:
26
27
  EnforcedStyle: indented
27
28
 
29
+ Layout/ParameterAlignment:
30
+ EnforcedStyle: with_fixed_indentation
31
+
28
32
  Metrics/BlockLength:
29
33
  Exclude:
30
34
  - 'config/routes.rb'
@@ -32,13 +36,17 @@ Metrics/BlockLength:
32
36
  - '**/*.rake'
33
37
  - '**/*.gemspec'
34
38
  - 'config/environments/*.rb'
35
-
36
- Metrics/LineLength:
37
- Max: 120
39
+ - 'config/initializers/*.rb'
38
40
 
39
41
  Naming/RescuedExceptionsVariableName:
40
42
  Enabled: false
41
43
 
44
+ RSpec/ContextWording:
45
+ Enabled: False
46
+
47
+ RSpec/ExampleLength:
48
+ Max: 10
49
+
42
50
  Style/Documentation:
43
51
  Enabled: false
44
52
 
@@ -48,8 +56,3 @@ Style/FrozenStringLiteralComment:
48
56
  Style/DoubleNegation:
49
57
  Enabled: false
50
58
 
51
- RSpec/ContextWording:
52
- Enabled: False
53
-
54
- RSpec/ExampleLength:
55
- Max: 10
@@ -1,3 +1,3 @@
1
1
  module CarwowRubocop
2
- VERSION = '3.1.0'.freeze
2
+ VERSION = '3.4.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carwow_rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - carwow Developers
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-23 00:00:00.000000000 Z
11
+ date: 2020-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -44,16 +44,16 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '0.68'
47
+ version: '0.93'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '0.68'
54
+ version: '0.93'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rubocop-rspec
56
+ name: rubocop-performance
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rubocop-performance
70
+ name: rubocop-rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -105,7 +105,7 @@ licenses:
105
105
  - MIT
106
106
  metadata:
107
107
  allowed_push_host: https://rubygems.org
108
- post_install_message:
108
+ post_install_message:
109
109
  rdoc_options: []
110
110
  require_paths:
111
111
  - lib
@@ -113,15 +113,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: '0'
116
+ version: 2.7.0
117
117
  required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  requirements:
119
119
  - - ">="
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.0.3
124
- signing_key:
123
+ rubygems_version: 3.1.4
124
+ signing_key:
125
125
  specification_version: 4
126
126
  summary: carwow's rubocop configuration
127
127
  test_files: []