runger_style 2.8.0 → 2.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +10 -7
- data/.github/workflows/ruby.yml +5 -2
- data/.rubocop.yml +1 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +34 -22
- data/bin/console +8 -0
- data/lib/runger_style/version.rb +1 -1
- data/lib/runger_style.rb +2 -0
- data/rulesets/default.yml +0 -2
- data/runger_style.gemspec +2 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4003beb075b4627c1c32c3570da6ef4ee226b2ff930cb4dcdd03666bbdfaa9ca
|
4
|
+
data.tar.gz: 017c1b1910a06ed49d3b6be087fd3e91e548a2199682d14469f005435de78ade
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ed6ec000ba971fb7ed38929918e9b139cd0ae7367e43ffd7a13d501b892cf2b3ae7881854577cba48d481a0f5b8085bd34cfce5c1ba1e2413f1cff21de71fcc
|
7
|
+
data.tar.gz: 4502e03fdc032f5178e930bb01ab4b16ccf10d775e2e0dc65bc23f47553388495d1b51e131bf89d073e11c4d421b0e50d8924763104510470e6a67d2e92cda30
|
data/.github/dependabot.yml
CHANGED
@@ -1,9 +1,12 @@
|
|
1
|
+
---
|
1
2
|
version: 2
|
2
3
|
updates:
|
3
|
-
- package-ecosystem: bundler
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
4
|
+
- package-ecosystem: bundler
|
5
|
+
directory: "/"
|
6
|
+
schedule:
|
7
|
+
interval: daily
|
8
|
+
time: "04:04"
|
9
|
+
timezone: America/Chicago
|
10
|
+
open-pull-requests-limit: 20
|
11
|
+
allow:
|
12
|
+
- dependency-type: all
|
data/.github/workflows/ruby.yml
CHANGED
@@ -3,13 +3,16 @@ name: Run RuboCop
|
|
3
3
|
on:
|
4
4
|
pull_request:
|
5
5
|
branches:
|
6
|
-
|
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@
|
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
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## v2.10.0 (2024-07-05)
|
2
|
+
- Enable `Layout/FirstMethodArgumentLineBreak`
|
3
|
+
|
4
|
+
## v2.9.0 (2024-06-28)
|
5
|
+
- Enforce only major and minor parts of required Ruby version (loosening the required Ruby version from 3.3.3 to 3.3.0)
|
6
|
+
|
1
7
|
## v2.8.0 (2024-06-16)
|
2
8
|
- Enforce indented style for `Layout/MultilineOperationIndentation`
|
3
9
|
|
data/Gemfile
CHANGED
@@ -8,6 +8,7 @@ gemspec
|
|
8
8
|
|
9
9
|
group :development, :test do
|
10
10
|
gem 'bundler'
|
11
|
+
gem 'irb'
|
11
12
|
gem 'rake'
|
12
13
|
gem 'rubocop'
|
13
14
|
gem 'rubocop-performance'
|
@@ -19,7 +20,9 @@ end
|
|
19
20
|
|
20
21
|
group :test do
|
21
22
|
gem 'rubocop-capybara'
|
23
|
+
gem 'rubocop-factory_bot'
|
22
24
|
gem 'rubocop-rails'
|
23
25
|
gem 'rubocop-rake'
|
24
26
|
gem 'rubocop-rspec'
|
27
|
+
gem 'rubocop-rspec_rails'
|
25
28
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
runger_style (2.
|
4
|
+
runger_style (2.10.0)
|
5
5
|
prism (>= 0.24.0)
|
6
6
|
rubocop (>= 1.38.0, < 2)
|
7
7
|
|
@@ -26,24 +26,34 @@ GEM
|
|
26
26
|
drb (2.2.1)
|
27
27
|
i18n (1.14.5)
|
28
28
|
concurrent-ruby (~> 1.0)
|
29
|
+
io-console (0.7.2)
|
30
|
+
irb (1.13.1)
|
31
|
+
rdoc (>= 4.0.0)
|
32
|
+
reline (>= 0.4.2)
|
29
33
|
json (2.7.2)
|
30
34
|
language_server-protocol (3.17.0.3)
|
31
35
|
memo_wise (1.9.0)
|
32
|
-
minitest (5.
|
36
|
+
minitest (5.24.1)
|
33
37
|
mutex_m (0.2.0)
|
34
|
-
parallel (1.
|
35
|
-
parser (3.3.
|
38
|
+
parallel (1.25.1)
|
39
|
+
parser (3.3.3.0)
|
36
40
|
ast (~> 2.4.1)
|
37
41
|
racc
|
38
|
-
prism (0.
|
42
|
+
prism (0.30.0)
|
43
|
+
psych (5.1.2)
|
44
|
+
stringio
|
39
45
|
racc (1.8.0)
|
40
|
-
rack (3.
|
46
|
+
rack (3.1.6)
|
41
47
|
rainbow (3.1.1)
|
42
48
|
rake (13.2.1)
|
49
|
+
rdoc (6.7.0)
|
50
|
+
psych (>= 4.0.0)
|
43
51
|
regexp_parser (2.9.2)
|
44
|
-
|
45
|
-
|
46
|
-
|
52
|
+
reline (0.5.9)
|
53
|
+
io-console (~> 0.5)
|
54
|
+
rexml (3.3.1)
|
55
|
+
strscan
|
56
|
+
rubocop (1.64.1)
|
47
57
|
json (~> 2.3)
|
48
58
|
language_server-protocol (>= 3.17.0)
|
49
59
|
parallel (~> 1.10)
|
@@ -56,34 +66,33 @@ GEM
|
|
56
66
|
unicode-display_width (>= 2.4.0, < 3.0)
|
57
67
|
rubocop-ast (1.31.3)
|
58
68
|
parser (>= 3.3.1.0)
|
59
|
-
rubocop-capybara (2.
|
69
|
+
rubocop-capybara (2.21.0)
|
60
70
|
rubocop (~> 1.41)
|
61
|
-
rubocop-factory_bot (2.
|
62
|
-
rubocop (~> 1.
|
63
|
-
rubocop-performance (1.21.
|
71
|
+
rubocop-factory_bot (2.26.1)
|
72
|
+
rubocop (~> 1.61)
|
73
|
+
rubocop-performance (1.21.1)
|
64
74
|
rubocop (>= 1.48.1, < 2.0)
|
65
75
|
rubocop-ast (>= 1.31.1, < 2.0)
|
66
|
-
rubocop-rails (2.25.
|
76
|
+
rubocop-rails (2.25.1)
|
67
77
|
activesupport (>= 4.2.0)
|
68
78
|
rack (>= 1.1)
|
69
79
|
rubocop (>= 1.33.0, < 2.0)
|
70
80
|
rubocop-ast (>= 1.31.1, < 2.0)
|
71
81
|
rubocop-rake (0.6.0)
|
72
82
|
rubocop (~> 1.0)
|
73
|
-
rubocop-rspec (
|
74
|
-
rubocop (~> 1.
|
75
|
-
|
76
|
-
rubocop
|
77
|
-
rubocop-
|
78
|
-
rubocop-rspec_rails (2.28.3)
|
79
|
-
rubocop (~> 1.40)
|
83
|
+
rubocop-rspec (3.0.2)
|
84
|
+
rubocop (~> 1.61)
|
85
|
+
rubocop-rspec_rails (2.30.0)
|
86
|
+
rubocop (~> 1.61)
|
87
|
+
rubocop-rspec (~> 3, >= 3.0.1)
|
80
88
|
ruby-progressbar (1.13.0)
|
81
|
-
runger_release_assistant (0.
|
89
|
+
runger_release_assistant (0.9.0)
|
82
90
|
activesupport (>= 6, < 8)
|
83
91
|
memo_wise (>= 1.7, < 2)
|
84
92
|
rainbow (>= 3.0, < 4)
|
85
93
|
slop (~> 4.8)
|
86
94
|
slop (4.10.1)
|
95
|
+
stringio (3.1.1)
|
87
96
|
strscan (3.1.0)
|
88
97
|
tzinfo (2.0.6)
|
89
98
|
concurrent-ruby (~> 1.0)
|
@@ -94,13 +103,16 @@ PLATFORMS
|
|
94
103
|
|
95
104
|
DEPENDENCIES
|
96
105
|
bundler
|
106
|
+
irb
|
97
107
|
rake
|
98
108
|
rubocop
|
99
109
|
rubocop-capybara
|
110
|
+
rubocop-factory_bot
|
100
111
|
rubocop-performance
|
101
112
|
rubocop-rails
|
102
113
|
rubocop-rake
|
103
114
|
rubocop-rspec
|
115
|
+
rubocop-rspec_rails
|
104
116
|
runger_release_assistant
|
105
117
|
runger_style!
|
106
118
|
|
data/bin/console
ADDED
data/lib/runger_style/version.rb
CHANGED
data/lib/runger_style.rb
CHANGED
data/rulesets/default.yml
CHANGED
@@ -33,8 +33,6 @@ Layout/FirstArgumentIndentation:
|
|
33
33
|
Enabled: false # this rule doesn't play nicely with the way that I like to use `memoize`
|
34
34
|
Layout/FirstArrayElementIndentation:
|
35
35
|
EnforcedStyle: consistent
|
36
|
-
Layout/FirstMethodArgumentLineBreak:
|
37
|
-
Enabled: false
|
38
36
|
Layout/LineEndStringConcatenationIndentation:
|
39
37
|
Exclude:
|
40
38
|
- bin/*
|
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
|
-
|
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.
|
4
|
+
version: 2.10.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-
|
11
|
+
date: 2024-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prism
|
@@ -65,6 +65,7 @@ files:
|
|
65
65
|
- README.md
|
66
66
|
- RELEASING.md
|
67
67
|
- Rakefile
|
68
|
+
- bin/console
|
68
69
|
- bin/release
|
69
70
|
- bin/rubocop
|
70
71
|
- lib/runger_style.rb
|
@@ -94,14 +95,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
94
95
|
requirements:
|
95
96
|
- - ">="
|
96
97
|
- !ruby/object:Gem::Version
|
97
|
-
version: 3.3.
|
98
|
+
version: 3.3.0
|
98
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
100
|
requirements:
|
100
101
|
- - ">="
|
101
102
|
- !ruby/object:Gem::Version
|
102
103
|
version: '0'
|
103
104
|
requirements: []
|
104
|
-
rubygems_version: 3.5.
|
105
|
+
rubygems_version: 3.5.14
|
105
106
|
signing_key:
|
106
107
|
specification_version: 4
|
107
108
|
summary: Shared rubocop rules for the preferred Ruby coding style of @davidrunger
|