Skip to content

Commit 562a6bd

Browse files
committed
chore: update RuboCop configuration and dependencies for compatibility and performance
1 parent e2b873b commit 562a6bd

File tree

4 files changed

+27
-32
lines changed

4 files changed

+27
-32
lines changed

.rubocop.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ inherit_mode:
55
require:
66
- standard/cop/block_single_line_braces
77
- standard
8-
9-
plugins:
108
- rubocop-performance
119

1210
inherit_gem:

.rubocop/rspec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
plugins:
1+
require:
22
- rubocop-rspec
33

44
# Disable all cops by default,

Gemfile.lock

Lines changed: 22 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ GEM
4949
rainbow (3.1.1)
5050
rake (13.0.6)
5151
regexp_parser (2.11.3)
52+
rexml (3.4.4)
5253
rspec (3.12.0)
5354
rspec-core (~> 3.12.0)
5455
rspec-expectations (~> 3.12.0)
@@ -62,27 +63,25 @@ GEM
6263
diff-lcs (>= 1.2.0, < 2.0)
6364
rspec-support (~> 3.12.0)
6465
rspec-support (3.12.1)
65-
rubocop (1.80.2)
66+
rubocop (1.64.1)
6667
json (~> 2.3)
67-
language_server-protocol (~> 3.17.0.2)
68-
lint_roller (~> 1.1.0)
68+
language_server-protocol (>= 3.17.0)
6969
parallel (~> 1.10)
7070
parser (>= 3.3.0.2)
7171
rainbow (>= 2.2.2, < 4.0)
72-
regexp_parser (>= 2.9.3, < 3.0)
73-
rubocop-ast (>= 1.46.0, < 2.0)
72+
regexp_parser (>= 1.8, < 3.0)
73+
rexml (>= 3.2.5, < 4.0)
74+
rubocop-ast (>= 1.31.1, < 2.0)
7475
ruby-progressbar (~> 1.7)
75-
unicode-display_width (>= 2.4.0, < 4.0)
76+
unicode-display_width (>= 2.4.0, < 3.0)
7677
rubocop-ast (1.47.1)
7778
parser (>= 3.3.7.2)
7879
prism (~> 1.4)
79-
rubocop-performance (1.25.0)
80-
lint_roller (~> 1.1)
81-
rubocop (>= 1.75.0, < 2.0)
82-
rubocop-ast (>= 1.38.0, < 2.0)
83-
rubocop-rspec (3.7.0)
84-
lint_roller (~> 1.1)
85-
rubocop (~> 1.72, >= 1.72.1)
80+
rubocop-performance (1.22.1)
81+
rubocop (>= 1.48.1, < 2.0)
82+
rubocop-ast (>= 1.31.1, < 2.0)
83+
rubocop-rspec (3.0.0)
84+
rubocop (~> 1.40)
8685
ruby-progressbar (1.13.0)
8786
simplecov (0.22.0)
8887
docile (~> 1.1)
@@ -92,23 +91,21 @@ GEM
9291
simplecov_json_formatter (0.1.4)
9392
sqlite3 (1.6.3)
9493
mini_portile2 (~> 2.8.0)
95-
standard (1.51.1)
94+
standard (1.37.0)
9695
language_server-protocol (~> 3.17.0.2)
9796
lint_roller (~> 1.0)
98-
rubocop (~> 1.80.2)
97+
rubocop (~> 1.64.0)
9998
standard-custom (~> 1.0.0)
100-
standard-performance (~> 1.8)
99+
standard-performance (~> 1.4)
101100
standard-custom (1.0.2)
102101
lint_roller (~> 1.0)
103102
rubocop (~> 1.50)
104-
standard-performance (1.8.0)
103+
standard-performance (1.5.0)
105104
lint_roller (~> 1.1)
106-
rubocop-performance (~> 1.25.0)
105+
rubocop-performance (~> 1.22.0)
107106
tzinfo (2.0.6)
108107
concurrent-ruby (~> 1.0)
109-
unicode-display_width (3.2.0)
110-
unicode-emoji (~> 4.1)
111-
unicode-emoji (4.1.0)
108+
unicode-display_width (2.6.0)
112109

113110
PLATFORMS
114111
arm64-darwin-21
@@ -125,12 +122,12 @@ DEPENDENCIES
125122
rake (~> 13.0)
126123
random-rails!
127124
rspec (~> 3.0)
128-
rubocop (~> 1.80)
129-
rubocop-performance (~> 1.18)
130-
rubocop-rspec (~> 3.7)
125+
rubocop (~> 1.64.0)
126+
rubocop-performance (~> 1.22.0)
127+
rubocop-rspec (~> 3.0.0)
131128
simplecov (~> 0.22.0)
132129
sqlite3 (~> 1.6)
133-
standard (~> 1.37)
130+
standard (~> 1.37.0)
134131

135132
BUNDLED WITH
136133
2.4.13

random-rails.gemspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ Gem::Specification.new do |spec|
3535
spec.add_runtime_dependency "activesupport", ">= 6.1.5", "< 8.1"
3636

3737
spec.add_development_dependency "rspec", "~> 3.0"
38-
spec.add_development_dependency "rubocop-rspec", "~> 3.7"
39-
spec.add_development_dependency "standard", "~> 1.37"
40-
spec.add_development_dependency "rubocop", "~> 1.80"
41-
spec.add_development_dependency "rubocop-performance", "~> 1.18"
38+
spec.add_development_dependency "rubocop-rspec", "~> 3.0.0"
39+
spec.add_development_dependency "standard", "~> 1.37.0"
40+
spec.add_development_dependency "rubocop", "~> 1.64.0"
41+
spec.add_development_dependency "rubocop-performance", "~> 1.22.0"
4242
spec.add_development_dependency "simplecov", "~> 0.22.0"
4343
spec.add_development_dependency "pry", "~> 0.14.2"
4444
spec.add_development_dependency "sqlite3", "~> 1.6"

0 commit comments

Comments
 (0)