File tree 6 files changed +33
-20
lines changed
6 files changed +33
-20
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,12 @@ inherit_mode: { merge: [Exclude] }
4
4
require :
5
5
- rubocop-capybara
6
6
- rubocop-factory_bot
7
+ - rubocop-rspec_rails
8
+
9
+ plugins :
7
10
- rubocop-rails
8
11
- rubocop-rake
9
12
- rubocop-rspec
10
- - rubocop-rspec_rails
11
13
12
14
AllCops :
13
15
DisplayCopNames : true
Original file line number Diff line number Diff line change 127
127
reline (>= 0.3.8 )
128
128
descendants_tracker (0.0.4 )
129
129
thread_safe (~> 0.3 , >= 0.3.1 )
130
- diff-lcs (1.5.1 )
130
+ diff-lcs (1.6.0 )
131
131
docile (1.4.1 )
132
132
dotenv (3.1.7 )
133
133
dotenv-rails (3.1.7 )
172
172
pp (>= 0.6.0 )
173
173
rdoc (>= 4.0.0 )
174
174
reline (>= 0.4.2 )
175
- json (2.9 .1 )
175
+ json (2.10 .1 )
176
176
language_server-protocol (3.17.0.4 )
177
- logger (1.6.5 )
177
+ lint_roller (1.1.0 )
178
+ logger (1.6.6 )
178
179
loofah (2.24.0 )
179
180
crass (~> 1.0.2 )
180
181
nokogiri (>= 1.12.0 )
277
278
regexp_parser (2.10.0 )
278
279
reline (0.6.0 )
279
280
io-console (~> 0.5 )
280
- rexml (3.4.0 )
281
+ rexml (3.4.1 )
281
282
rspec (3.13.0 )
282
283
rspec-core (~> 3.13.0 )
283
284
rspec-expectations (~> 3.13.0 )
299
300
rspec-mocks (~> 3.13 )
300
301
rspec-support (~> 3.13 )
301
302
rspec-support (3.13.2 )
302
- rubocop (1.71 .2 )
303
+ rubocop (1.72 .2 )
303
304
json (~> 2.3 )
304
- language_server-protocol (>= 3.17.0 )
305
+ language_server-protocol (~> 3.17.0.2 )
306
+ lint_roller (~> 1.1.0 )
305
307
parallel (~> 1.10 )
306
308
parser (>= 3.3.0.2 )
307
309
rainbow (>= 2.2.2 , < 4.0 )
@@ -315,15 +317,18 @@ GEM
315
317
rubocop (~> 1.41 )
316
318
rubocop-factory_bot (2.26.1 )
317
319
rubocop (~> 1.61 )
318
- rubocop-rails (2.29.1 )
320
+ rubocop-rails (2.30.0 )
319
321
activesupport (>= 4.2.0 )
322
+ lint_roller (~> 1.1 )
320
323
rack (>= 1.1 )
321
- rubocop (>= 1.52.0 , < 2.0 )
322
- rubocop-ast (>= 1.31.1 , < 2.0 )
323
- rubocop-rake (0.6.0 )
324
- rubocop (~> 1.0 )
325
- rubocop-rspec (3.4.0 )
326
- rubocop (~> 1.61 )
324
+ rubocop (>= 1.72.1 , < 2.0 )
325
+ rubocop-ast (>= 1.38.0 , < 2.0 )
326
+ rubocop-rake (0.7.1 )
327
+ lint_roller (~> 1.1 )
328
+ rubocop (>= 1.72.1 )
329
+ rubocop-rspec (3.5.0 )
330
+ lint_roller (~> 1.1 )
331
+ rubocop (~> 1.72 , >= 1.72.1 )
327
332
rubocop-rspec_rails (2.30.0 )
328
333
rubocop (~> 1.61 )
329
334
rubocop-rspec (~> 3 , >= 3.0.1 )
353
358
actionpack (>= 6.1 )
354
359
activesupport (>= 6.1 )
355
360
sprockets (>= 3.0.0 )
356
- stringio (3.1.2 )
361
+ stringio (3.1.3 )
357
362
stripe (13.4.1 )
358
363
sync (0.5.0 )
359
364
term-ansicolor (1.11.2 )
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
2
4
exec "./bin/rails" , "server" , *ARGV
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
2
4
require "rubygems"
3
5
require "bundler/setup"
4
6
Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ require "fileutils"
5
5
6
6
APP_ROOT = File . expand_path ( ".." , __dir__ )
7
7
8
- def system! ( *args )
9
- system ( *args , exception : true )
8
+ def system! ( *)
9
+ system ( *, exception : true )
10
10
end
11
11
12
- FileUtils . chdir APP_ROOT do
12
+ FileUtils . chdir ( APP_ROOT ) do
13
13
# This script is a way to set up or update your development environment automatically.
14
14
# This script is idempotent, so that you can run it at any time and get an expectable outcome.
15
15
# Add necessary setup steps to this file.
@@ -28,9 +28,9 @@ FileUtils.chdir APP_ROOT do
28
28
puts "\n == Removing old logs and tempfiles =="
29
29
system! "bin/rails log:clear tmp:clear"
30
30
31
- unless ARGV . include ?( "--skip-server" )
31
+ if ARGV . exclude ?( "--skip-server" )
32
32
puts "\n == Starting development server =="
33
- STDOUT . flush # flush the output before exec(2) so that it displays
33
+ $stdout . flush # flush the output before exec(2) so that it displays
34
34
exec "bin/dev"
35
35
end
36
36
end
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
2
4
require "rubygems"
3
5
require "bundler/setup"
4
6
You can’t perform that action at this time.
0 commit comments