Skip to content

Commit 3302415

Browse files
Add Split gem with dashboard route
1 parent 3482be4 commit 3302415

File tree

3 files changed

+32
-18
lines changed

3 files changed

+32
-18
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ gem 'puma'
1414
gem 'rails', '~> 7.0'
1515
gem 'sentry-rails'
1616
gem 'sentry-ruby'
17+
gem 'split', require: 'split/dashboard'
1718
gem 'sprockets-rails'
1819
gem 'stimulus-rails'
1920
gem 'turbo-rails'

Gemfile.lock

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ GEM
186186
mocha (2.1.0)
187187
ruby2_keywords (>= 0.0.5)
188188
msgpack (1.7.2)
189+
mustermann (3.0.0)
190+
ruby2_keywords (~> 0.0.1)
189191
mutex_m (0.2.0)
190192
net-imap (0.4.9.1)
191193
date
@@ -199,10 +201,6 @@ GEM
199201
nio4r (2.7.0)
200202
nokogiri (1.16.0-arm64-darwin)
201203
racc (~> 1.4)
202-
nokogiri (1.16.0-x86_64-darwin)
203-
racc (~> 1.4)
204-
nokogiri (1.16.0-x86_64-linux)
205-
racc (~> 1.4)
206204
parallel (1.24.0)
207205
parser (3.3.0.2)
208206
ast (~> 2.4.1)
@@ -214,14 +212,17 @@ GEM
214212
puma (6.4.2)
215213
nio4r (~> 2.0)
216214
racc (1.7.3)
217-
rack (3.0.8)
218-
rack-session (2.0.0)
219-
rack (>= 3.0.0)
215+
rack (2.2.8)
216+
rack-protection (3.2.0)
217+
base64 (>= 0.1.0)
218+
rack (~> 2.2, >= 2.2.4)
219+
rack-session (1.0.2)
220+
rack (< 3)
220221
rack-test (2.1.0)
221222
rack (>= 1.3)
222-
rackup (2.1.0)
223-
rack (>= 3)
224-
webrick (~> 1.8)
223+
rackup (1.0.0)
224+
rack (< 3)
225+
webrick
225226
rails (7.1.2)
226227
actioncable (= 7.1.2)
227228
actionmailbox (= 7.1.2)
@@ -255,6 +256,10 @@ GEM
255256
rake (13.1.0)
256257
rdoc (6.6.2)
257258
psych (>= 4.0.0)
259+
redis (5.0.8)
260+
redis-client (>= 0.17.0)
261+
redis-client (0.19.1)
262+
connection_pool
258263
regexp_parser (2.9.0)
259264
reline (0.4.2)
260265
io-console (~> 0.5)
@@ -280,6 +285,8 @@ GEM
280285
rubocop-ast (>= 1.30.0, < 2.0)
281286
ruby-progressbar (1.13.0)
282287
ruby2_keywords (0.0.5)
288+
rubystats (0.4.1)
289+
matrix
283290
rubyzip (2.3.2)
284291
sassc (2.4.0)
285292
ffi (~> 1.9)
@@ -305,6 +312,16 @@ GEM
305312
simplecov-html (0.12.3)
306313
simplecov-lcov (0.8.0)
307314
simplecov_json_formatter (0.1.4)
315+
sinatra (3.2.0)
316+
mustermann (~> 3.0)
317+
rack (~> 2.2, >= 2.2.4)
318+
rack-protection (= 3.2.0)
319+
tilt (~> 2.0)
320+
split (4.0.3)
321+
matrix
322+
redis (>= 4.2)
323+
rubystats (>= 0.3.0)
324+
sinatra (>= 1.2.6)
308325
sprockets (4.2.1)
309326
concurrent-ruby (~> 1.0)
310327
rack (>= 2.2.4, < 4)
@@ -313,8 +330,6 @@ GEM
313330
activesupport (>= 5.2)
314331
sprockets (>= 3.0.0)
315332
sqlite3 (1.7.0-arm64-darwin)
316-
sqlite3 (1.7.0-x86_64-darwin)
317-
sqlite3 (1.7.0-x86_64-linux)
318333
stimulus-rails (1.3.3)
319334
railties (>= 6.0.0)
320335
stringio (3.1.0)
@@ -351,11 +366,6 @@ GEM
351366

352367
PLATFORMS
353368
arm64-darwin-22
354-
x86_64-darwin-19
355-
x86_64-darwin-20
356-
x86_64-darwin-21
357-
x86_64-darwin-22
358-
x86_64-linux
359369

360370
DEPENDENCIES
361371
annotate
@@ -384,6 +394,7 @@ DEPENDENCIES
384394
sentry-ruby
385395
simplecov
386396
simplecov-lcov
397+
split
387398
sprockets-rails
388399
sqlite3
389400
stimulus-rails
@@ -397,4 +408,4 @@ RUBY VERSION
397408
ruby 3.2.2p53
398409

399410
BUNDLED WITH
400-
2.3.7
411+
2.4.10

config/routes.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@
1313
:constraints => { :id => /[0-z\.\-\_~\(\)]+/ }
1414
get 'results', to: 'search#results'
1515
get 'style-guide', to: 'static#style_guide'
16+
17+
mount Split::Dashboard, at: 'split'
1618
end

0 commit comments

Comments
 (0)