runger_style 2.7.0 → 2.9.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: 9143a23c6114b19305a4ae4924fd9ad1cc4c7826caa69ab45f5f7e4f2f4cde67
4
- data.tar.gz: 856bd73b8671dbae4b50e0bc827cbb07425b37ed5cd798663608102a8eb2cbc6
3
+ metadata.gz: 66094570eaa38cd1fb142e47bd16dbe1773afdad49cb907d660c1cb70a253f7e
4
+ data.tar.gz: 0a512e14684b22a04cdc139fe53962136f25306f38f6c72ce5fa8f67a7f425df
5
5
  SHA512:
6
- metadata.gz: 87a4096330ba02b3d08371433eb6fa040396f838cd5c7d50a7de4a53d07e94e75c0938bf33afe310e5f6e34a1532b867905473e2a3bb3bf52ec1a27306eea424
7
- data.tar.gz: e122bb1f90db0e75a84341cf0dfcfbf9b54ef72c8d22bff55b653e082b0d37ef7004a97e3c95fd3c53e8ec078fe7eb580123a07c1ad3006c726825528a23d241
6
+ metadata.gz: 8899f7cf90346ff284d7a206881c38123eba17709de7db956435096e55b9abe50d18f8363e2e1201451735c983e125a0b4c7a3fa7708731bd72aa8e0dde7ead7
7
+ data.tar.gz: 4cbb15ccd6689ea782c0e3f90b022ccc9d27bc6c63bd7125fdb4cefaa4ebe99776ab2086f418b751dac6e00f5033952d8ddf01caa3c4e5e2b39794e0db57e3b2
@@ -3,13 +3,16 @@ name: Run RuboCop
3
3
  on:
4
4
  pull_request:
5
5
  branches:
6
- - main
6
+ - '*'
7
+ push:
8
+ branches:
9
+ - main
7
10
 
8
11
  jobs:
9
12
  build:
10
13
  runs-on: ubuntu-latest
11
14
  steps:
12
- - uses: actions/checkout@v3
15
+ - uses: actions/checkout@v4
13
16
  - name: Set up Ruby
14
17
  uses: ruby/setup-ruby@v1
15
18
  with:
data/.rubocop.yml CHANGED
@@ -5,4 +5,5 @@ inherit_from:
5
5
  - rulesets/performance.yml
6
6
  - rulesets/rails.yml
7
7
  - rulesets/rake.yml
8
+ - rulesets/rspec_rails.yml
8
9
  - rulesets/rspec.yml
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## v2.9.0 (2024-06-28)
2
+ - Enforce only major and minor parts of required Ruby version (loosening the required Ruby version from 3.3.3 to 3.3.0)
3
+
4
+ ## v2.8.0 (2024-06-16)
5
+ - Enforce indented style for `Layout/MultilineOperationIndentation`
6
+
1
7
  ## v2.7.0 (2024-06-15)
2
8
  - Rename primary branch from `master` to `main`
3
9
 
data/Gemfile CHANGED
@@ -19,7 +19,9 @@ end
19
19
 
20
20
  group :test do
21
21
  gem 'rubocop-capybara'
22
+ gem 'rubocop-factory_bot'
22
23
  gem 'rubocop-rails'
23
24
  gem 'rubocop-rake'
24
25
  gem 'rubocop-rspec'
26
+ gem 'rubocop-rspec_rails'
25
27
  end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- runger_style (2.7.0)
4
+ runger_style (2.9.0)
5
5
  prism (>= 0.24.0)
6
6
  rubocop (>= 1.38.0, < 2)
7
7
 
@@ -29,21 +29,21 @@ GEM
29
29
  json (2.7.2)
30
30
  language_server-protocol (3.17.0.3)
31
31
  memo_wise (1.9.0)
32
- minitest (5.23.1)
32
+ minitest (5.24.0)
33
33
  mutex_m (0.2.0)
34
- parallel (1.24.0)
35
- parser (3.3.1.0)
34
+ parallel (1.25.1)
35
+ parser (3.3.3.0)
36
36
  ast (~> 2.4.1)
37
37
  racc
38
- prism (0.29.0)
38
+ prism (0.30.0)
39
39
  racc (1.8.0)
40
- rack (3.0.11)
40
+ rack (3.1.4)
41
41
  rainbow (3.1.1)
42
42
  rake (13.2.1)
43
43
  regexp_parser (2.9.2)
44
- rexml (3.2.8)
45
- strscan (>= 3.0.9)
46
- rubocop (1.64.0)
44
+ rexml (3.3.1)
45
+ strscan
46
+ rubocop (1.64.1)
47
47
  json (~> 2.3)
48
48
  language_server-protocol (>= 3.17.0)
49
49
  parallel (~> 1.10)
@@ -56,11 +56,11 @@ GEM
56
56
  unicode-display_width (>= 2.4.0, < 3.0)
57
57
  rubocop-ast (1.31.3)
58
58
  parser (>= 3.3.1.0)
59
- rubocop-capybara (2.20.0)
59
+ rubocop-capybara (2.21.0)
60
60
  rubocop (~> 1.41)
61
- rubocop-factory_bot (2.25.1)
62
- rubocop (~> 1.41)
63
- rubocop-performance (1.21.0)
61
+ rubocop-factory_bot (2.26.1)
62
+ rubocop (~> 1.61)
63
+ rubocop-performance (1.21.1)
64
64
  rubocop (>= 1.48.1, < 2.0)
65
65
  rubocop-ast (>= 1.31.1, < 2.0)
66
66
  rubocop-rails (2.25.0)
@@ -70,13 +70,11 @@ GEM
70
70
  rubocop-ast (>= 1.31.1, < 2.0)
71
71
  rubocop-rake (0.6.0)
72
72
  rubocop (~> 1.0)
73
- rubocop-rspec (2.29.2)
74
- rubocop (~> 1.40)
75
- rubocop-capybara (~> 2.17)
76
- rubocop-factory_bot (~> 2.22)
77
- rubocop-rspec_rails (~> 2.28)
78
- rubocop-rspec_rails (2.28.3)
79
- rubocop (~> 1.40)
73
+ rubocop-rspec (3.0.1)
74
+ rubocop (~> 1.61)
75
+ rubocop-rspec_rails (2.30.0)
76
+ rubocop (~> 1.61)
77
+ rubocop-rspec (~> 3, >= 3.0.1)
80
78
  ruby-progressbar (1.13.0)
81
79
  runger_release_assistant (0.8.0)
82
80
  activesupport (>= 6, < 8)
@@ -97,10 +95,12 @@ DEPENDENCIES
97
95
  rake
98
96
  rubocop
99
97
  rubocop-capybara
98
+ rubocop-factory_bot
100
99
  rubocop-performance
101
100
  rubocop-rails
102
101
  rubocop-rake
103
102
  rubocop-rspec
103
+ rubocop-rspec_rails
104
104
  runger_release_assistant
105
105
  runger_style!
106
106
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RungerStyle
4
- VERSION = '2.7.0'
4
+ VERSION = '2.9.0'
5
5
  end
data/rulesets/default.yml CHANGED
@@ -46,6 +46,8 @@ Layout/LineLength:
46
46
  Max: 100
47
47
  Layout/MultilineMethodCallIndentation:
48
48
  EnforcedStyle: indented
49
+ Layout/MultilineOperationIndentation:
50
+ EnforcedStyle: indented
49
51
  Layout/RedundantLineBreak:
50
52
  Enabled: false
51
53
  Layout/SingleLineBlockChain:
data/runger_style.gemspec CHANGED
@@ -25,7 +25,8 @@ Gem::Specification.new do |spec|
25
25
  end
26
26
  spec.require_paths = ['lib']
27
27
 
28
- spec.required_ruby_version = ">= #{File.read('.ruby-version').rstrip}"
28
+ required_ruby_version = File.read('.ruby-version').rstrip.sub(/\A(\d+\.\d+)\.\d+\z/, '\1.0')
29
+ spec.required_ruby_version = ">= #{required_ruby_version}"
29
30
 
30
31
  spec.add_runtime_dependency('prism', '>= 0.24.0')
31
32
  spec.add_runtime_dependency('rubocop', '>= 1.38.0', '< 2')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runger_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Runger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-16 00:00:00.000000000 Z
11
+ date: 2024-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prism
@@ -94,14 +94,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - ">="
96
96
  - !ruby/object:Gem::Version
97
- version: 3.3.3
97
+ version: 3.3.0
98
98
  required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubygems_version: 3.5.11
104
+ rubygems_version: 3.5.14
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: Shared rubocop rules for the preferred Ruby coding style of @davidrunger