Skip to content

Commit 262feb7

Browse files
committed
chore: update gems, fix Rubocop
1 parent 67a2004 commit 262feb7

File tree

3 files changed

+38
-22
lines changed

3 files changed

+38
-22
lines changed

.rubocop.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
inherit_from:
22
- .rubocop_todo.yml
33

4-
require:
4+
plugins:
55
- rubocop-rake
66
- rubocop-rspec
77

@@ -16,3 +16,8 @@ AllCops:
1616
Metrics/BlockLength:
1717
Exclude:
1818
- 'spec/**/*.rb'
19+
20+
Style/FrozenStringLiteralComment:
21+
Enabled: true
22+
# EnforcedStyle: always
23+
SafeAutoCorrect: true

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1+
# frozen_string_literal: true
2+
13
source 'https://rubygems.org'
24

35
gem 'activerecord', '>= 8.0.0', '< 9', require: false
6+
gem 'json', '~> 2.7.0'
47
gem 'rake', require: false
58

69
group :development do
710
gem 'bump'
811
gem 'mg', require: false
12+
gem 'ruby-lsp', require: false
913
gem 'travis', require: false
1014
platforms :mri, :mingw do
1115
gem 'yard', require: false

Gemfile.lock

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ GEM
5151
faraday-net_http (3.0.2)
5252
faraday-rack (2.1.2)
5353
faraday (~> 2.0)
54-
ffi (1.17.2)
5554
ffi (1.17.2-aarch64-linux-gnu)
5655
ffi (1.17.2-aarch64-linux-musl)
5756
ffi (1.17.2-arm-linux-gnu)
@@ -89,11 +88,12 @@ GEM
8988
i18n (1.14.7)
9089
concurrent-ruby (~> 1.0)
9190
iniparse (1.5.0)
92-
json (2.12.2)
91+
json (2.7.6)
9392
json_pure (2.6.3)
9493
language_server-protocol (3.17.0.5)
9594
launchy (2.5.2)
9695
addressable (~> 2.8)
96+
lint_roller (1.1.0)
9797
listen (3.9.0)
9898
rb-fsevent (~> 0.10, >= 0.10.3)
9999
rb-inotify (~> 0.9, >= 0.9.10)
@@ -128,12 +128,14 @@ GEM
128128
pusher-client (0.6.2)
129129
json
130130
websocket (~> 1.0)
131-
racc (1.7.3)
131+
racc (1.8.1)
132132
rainbow (3.1.1)
133133
rake (13.3.0)
134134
rb-fsevent (0.11.2)
135135
rb-inotify (0.11.1)
136136
ffi (~> 1.0)
137+
rbs (3.9.4)
138+
logger
137139
rchardet (1.9.0)
138140
regexp_parser (2.10.0)
139141
rexml (3.4.1)
@@ -150,30 +152,31 @@ GEM
150152
diff-lcs (>= 1.2.0, < 2.0)
151153
rspec-support (~> 3.13.0)
152154
rspec-support (3.13.4)
153-
rubocop (1.60.2)
155+
rubocop (1.75.8)
154156
json (~> 2.3)
155-
language_server-protocol (>= 3.17.0)
157+
language_server-protocol (~> 3.17.0.2)
158+
lint_roller (~> 1.1.0)
156159
parallel (~> 1.10)
157160
parser (>= 3.3.0.2)
158161
rainbow (>= 2.2.2, < 4.0)
159-
regexp_parser (>= 1.8, < 3.0)
160-
rexml (>= 3.2.5, < 4.0)
161-
rubocop-ast (>= 1.30.0, < 2.0)
162+
regexp_parser (>= 2.9.3, < 3.0)
163+
rubocop-ast (>= 1.44.0, < 2.0)
162164
ruby-progressbar (~> 1.7)
163-
unicode-display_width (>= 2.4.0, < 3.0)
165+
unicode-display_width (>= 2.4.0, < 4.0)
164166
rubocop-ast (1.44.1)
165167
parser (>= 3.3.7.2)
166168
prism (~> 1.4)
167-
rubocop-capybara (2.21.0)
168-
rubocop (~> 1.41)
169-
rubocop-factory_bot (2.26.0)
170-
rubocop (~> 1.41)
171-
rubocop-rake (0.6.0)
172-
rubocop (~> 1.0)
173-
rubocop-rspec (2.26.1)
174-
rubocop (~> 1.40)
175-
rubocop-capybara (~> 2.17)
176-
rubocop-factory_bot (~> 2.22)
169+
rubocop-rake (0.7.1)
170+
lint_roller (~> 1.1)
171+
rubocop (>= 1.72.1)
172+
rubocop-rspec (3.6.0)
173+
lint_roller (~> 1.1)
174+
rubocop (~> 1.72, >= 1.72.1)
175+
ruby-lsp (0.23.24)
176+
language_server-protocol (~> 3.17.0)
177+
prism (>= 1.2, < 2.0)
178+
rbs (>= 3, < 5)
179+
sorbet-runtime (>= 0.5.10782)
177180
ruby-progressbar (1.13.0)
178181
ruby2_keywords (0.0.5)
179182
securerandom (0.4.1)
@@ -183,6 +186,7 @@ GEM
183186
json (>= 1.8, < 3)
184187
simplecov-html (~> 0.10.0)
185188
simplecov-html (0.10.2)
189+
sorbet-runtime (0.5.12149)
186190
sync (0.5.0)
187191
term-ansicolor (1.11.2)
188192
tins (~> 1.0)
@@ -201,7 +205,9 @@ GEM
201205
pusher-client (~> 0.6.2)
202206
tzinfo (2.0.6)
203207
concurrent-ruby (~> 1.0)
204-
unicode-display_width (2.6.0)
208+
unicode-display_width (3.1.4)
209+
unicode-emoji (~> 4.0, >= 4.0.4)
210+
unicode-emoji (4.0.4)
205211
uri (1.0.3)
206212
websocket (1.2.11)
207213
yard (0.9.37)
@@ -212,7 +218,6 @@ PLATFORMS
212218
arm-linux-gnu
213219
arm-linux-musl
214220
arm64-darwin
215-
ruby
216221
x86-linux-gnu
217222
x86-linux-musl
218223
x86_64-darwin
@@ -228,6 +233,7 @@ DEPENDENCIES
228233
files
229234
git
230235
guard-rspec
236+
json (~> 2.7.0)
231237
mg
232238
overcommit
233239
pry
@@ -238,6 +244,7 @@ DEPENDENCIES
238244
rubocop
239245
rubocop-rake
240246
rubocop-rspec
247+
ruby-lsp
241248
simplecov
242249
terminal-notifier-guard
243250
travis

0 commit comments

Comments
 (0)