rubocop-codeur 0.5.0 → 0.7.0

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: 73566e05d8aad096da0f11cd2830e3212ad2f4db4cb82abb4705c2d4cc90c701
4
- data.tar.gz: 2bfcbc1f9852619a590c592489c625f52fa17402e7cab10e02935b9a2503eb9d
3
+ metadata.gz: 15a4becd6dc2ebb61c190997341500ec4566409019efef1c821100c94365c09f
4
+ data.tar.gz: 5dc6cefeb8f3e7ae52f7c25ba6c61189716d11361010990a624456e70655cedb
5
5
  SHA512:
6
- metadata.gz: c20ca313ec03e5689522870b20004ff0991f0af3e4b5af9b40b460cc4a025c0dbaaa6b00b775b6ca2095ec7868de788263dd81a3e8a8ec809aef447b6b3e6a43
7
- data.tar.gz: 74058afa53ad1805e5087832efbc63b43271449e77a157de3877856de82ec80996eb3e2eaa4fb535e41415539625ace2fbc91d874fe43ceb830f4bd9c05531f4
6
+ metadata.gz: 3e9626ba28395cd99aa89d5af15af6ac762a41e7ca43a74104133d3221ca154816d2b6650f9dac9d4cb297bdd569799e410866a0145261ab035b53c8d0b8f26f
7
+ data.tar.gz: cca90156d71fc847927cd0f667051f3d7268e9f16beef5e983dde002cda221c58f596e3801db976f7413b68b213682ada70cec06e4cf5057f0219bea018e2a54
@@ -8,13 +8,13 @@ jobs:
8
8
  runs-on: ubuntu-latest
9
9
  steps:
10
10
  - name: Check out code
11
- uses: actions/checkout@v1
11
+ uses: actions/checkout@v3
12
12
  - uses: ruby/setup-ruby@v1
13
13
  with:
14
- ruby-version: 2.7
14
+ ruby-version: 3.1
15
15
  bundler-cache: true
16
16
  - name: Run Rubocop
17
- uses: reviewdog/action-rubocop@v1
17
+ uses: reviewdog/action-rubocop@v2
18
18
  with:
19
19
  github_token: ${{ secrets.github_token }}
20
20
  rubocop_version: gemfile
@@ -12,10 +12,10 @@ jobs:
12
12
 
13
13
  strategy:
14
14
  matrix:
15
- ruby: ['2.7', '3.0']
15
+ ruby: ['3.1']
16
16
 
17
17
  steps:
18
- - uses: actions/checkout@v2
18
+ - uses: actions/checkout@v3
19
19
 
20
20
  - name: Set up Ruby ${{ matrix.ruby }}
21
21
  uses: ruby/setup-ruby@v1
@@ -35,7 +35,7 @@ jobs:
35
35
  failedThreshold: 100
36
36
 
37
37
  - name: Upload coverage
38
- uses: actions/upload-artifact@v1
38
+ uses: actions/upload-artifact@v3
39
39
  with:
40
40
  name: Coverage
41
41
  path: coverage
data/Gemfile CHANGED
@@ -8,5 +8,4 @@ gemspec
8
8
 
9
9
  gem 'minitest', '~> 5.16'
10
10
  gem 'rake', '~> 13.0'
11
- gem 'rubocop-minitest', '~> 0.20'
12
11
  gem 'simplecov', require: false
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop-codeur (0.5.0)
4
+ rubocop-codeur (0.7.0)
5
5
  rubocop (~> 1.25)
6
- rubocop-minitest (~> 0.10, >= 0.10.2)
6
+ rubocop-minitest (~> 0.20)
7
7
  rubocop-performance (~> 1.9, >= 1.9.2)
8
8
  rubocop-rails (~> 2.9, >= 2.9.1)
9
9
 
@@ -20,39 +20,39 @@ GEM
20
20
  docile (1.4.0)
21
21
  i18n (1.12.0)
22
22
  concurrent-ruby (~> 1.0)
23
- json (2.6.2)
24
- minitest (5.16.3)
23
+ json (2.6.3)
24
+ minitest (5.17.0)
25
25
  parallel (1.22.1)
26
- parser (3.1.2.1)
26
+ parser (3.2.0.0)
27
27
  ast (~> 2.4.1)
28
- rack (3.0.0)
28
+ rack (3.0.3)
29
29
  rainbow (3.1.1)
30
30
  rake (13.0.6)
31
- regexp_parser (2.6.0)
31
+ regexp_parser (2.6.1)
32
32
  rexml (3.2.5)
33
- rubocop (1.36.0)
33
+ rubocop (1.42.0)
34
34
  json (~> 2.3)
35
35
  parallel (~> 1.10)
36
36
  parser (>= 3.1.2.1)
37
37
  rainbow (>= 2.2.2, < 4.0)
38
38
  regexp_parser (>= 1.8, < 3.0)
39
39
  rexml (>= 3.2.5, < 4.0)
40
- rubocop-ast (>= 1.20.1, < 2.0)
40
+ rubocop-ast (>= 1.24.1, < 2.0)
41
41
  ruby-progressbar (~> 1.7)
42
42
  unicode-display_width (>= 1.4.0, < 3.0)
43
- rubocop-ast (1.21.0)
43
+ rubocop-ast (1.24.1)
44
44
  parser (>= 3.1.1.0)
45
- rubocop-minitest (0.22.2)
45
+ rubocop-minitest (0.25.1)
46
46
  rubocop (>= 0.90, < 2.0)
47
- rubocop-performance (1.15.0)
47
+ rubocop-performance (1.15.2)
48
48
  rubocop (>= 1.7.0, < 2.0)
49
49
  rubocop-ast (>= 0.4.0)
50
- rubocop-rails (2.16.1)
50
+ rubocop-rails (2.17.4)
51
51
  activesupport (>= 4.2.0)
52
52
  rack (>= 1.1)
53
53
  rubocop (>= 1.33.0, < 2.0)
54
54
  ruby-progressbar (1.11.0)
55
- simplecov (0.21.2)
55
+ simplecov (0.22.0)
56
56
  docile (~> 1.1)
57
57
  simplecov-html (~> 0.11)
58
58
  simplecov_json_formatter (~> 0.1)
@@ -60,7 +60,7 @@ GEM
60
60
  simplecov_json_formatter (0.1.4)
61
61
  tzinfo (2.0.5)
62
62
  concurrent-ruby (~> 1.0)
63
- unicode-display_width (2.3.0)
63
+ unicode-display_width (2.4.2)
64
64
 
65
65
  PLATFORMS
66
66
  ruby
@@ -69,8 +69,7 @@ DEPENDENCIES
69
69
  minitest (~> 5.16)
70
70
  rake (~> 13.0)
71
71
  rubocop-codeur!
72
- rubocop-minitest (~> 0.20)
73
72
  simplecov
74
73
 
75
74
  BUNDLED WITH
76
- 2.1.4
75
+ 2.3.26
data/default.yml CHANGED
@@ -14,7 +14,7 @@ AllCops:
14
14
  - 'bin/*'
15
15
  - 'test/dummy/db/schema.rb'
16
16
  - 'test/dummy/tmp/**/*'
17
- TargetRubyVersion: 2.7
17
+ TargetRubyVersion: 3.1
18
18
  TargetRailsVersion: 7
19
19
  NewCops: enable
20
20
 
@@ -202,13 +202,16 @@ Metrics/PerceivedComplexity:
202
202
  Enabled: true
203
203
  Max: 10
204
204
 
205
- Minitest/TestMethodName:
205
+ Minitest/EmptyLineBeforeAssertionMethods:
206
206
  Enabled: false
207
207
 
208
208
  Minitest/MultipleAssertions:
209
209
  Enabled: true
210
210
  Max: 30
211
211
 
212
+ Minitest/TestMethodName:
213
+ Enabled: false
214
+
212
215
  # Disabled because it doesn't with symbols like: record_001
213
216
  Naming/VariableNumber:
214
217
  Enabled: false
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Codeur
5
- VERSION = '0.5.0'
5
+ VERSION = '0.7.0'
6
6
  end
7
7
  end
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = 'Shared rubocop config gem for every Ruby projects at Codeur SARL'
13
13
  spec.homepage = 'https://github.com/codeur/rubocop-codeur'
14
14
  spec.license = 'MIT'
15
- spec.required_ruby_version = Gem::Requirement.new('>= 2.6.0')
15
+ spec.required_ruby_version = '>= 3.1'
16
16
 
17
17
  # Specify which files should be added to the gem when it is released.
18
18
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  end
22
22
 
23
23
  spec.add_dependency 'rubocop', '~> 1.25'
24
- spec.add_dependency 'rubocop-minitest', '~> 0.10', '>=0.10.2'
24
+ spec.add_dependency 'rubocop-minitest', '~> 0.20'
25
25
  spec.add_dependency 'rubocop-performance', '~> 1.9', '>= 1.9.2'
26
26
  spec.add_dependency 'rubocop-rails', '~> 2.9', '>= 2.9.1'
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-codeur
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codeur
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-18 00:00:00.000000000 Z
11
+ date: 2023-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -30,20 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.10'
34
- - - ">="
35
- - !ruby/object:Gem::Version
36
- version: 0.10.2
33
+ version: '0.20'
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
38
  - - "~>"
42
39
  - !ruby/object:Gem::Version
43
- version: '0.10'
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: 0.10.2
40
+ version: '0.20'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: rubocop-performance
49
43
  requirement: !ruby/object:Gem::Requirement
@@ -117,7 +111,7 @@ homepage: https://github.com/codeur/rubocop-codeur
117
111
  licenses:
118
112
  - MIT
119
113
  metadata: {}
120
- post_install_message:
114
+ post_install_message:
121
115
  rdoc_options: []
122
116
  require_paths:
123
117
  - lib
@@ -125,15 +119,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
119
  requirements:
126
120
  - - ">="
127
121
  - !ruby/object:Gem::Version
128
- version: 2.6.0
122
+ version: '3.1'
129
123
  required_rubygems_version: !ruby/object:Gem::Requirement
130
124
  requirements:
131
125
  - - ">="
132
126
  - !ruby/object:Gem::Version
133
127
  version: '0'
134
128
  requirements: []
135
- rubygems_version: 3.1.4
136
- signing_key:
129
+ rubygems_version: 3.3.26
130
+ signing_key:
137
131
  specification_version: 4
138
132
  summary: Codeur rubocop config gem
139
133
  test_files: []