Skip to content

Commit cd9814f

Browse files
Add Split gem with dashboard route
1 parent 5c22a52 commit cd9814f

File tree

3 files changed

+33
-16
lines changed

3 files changed

+33
-16
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: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ GEM
183183
net-imap
184184
net-pop
185185
net-smtp
186-
marcel (1.0.2)
186+
marcel (1.0.3)
187187
matrix (0.4.2)
188188
mini_mime (1.1.5)
189189
minitest (5.22.2)
@@ -195,6 +195,8 @@ GEM
195195
mocha (2.1.0)
196196
ruby2_keywords (>= 0.0.5)
197197
msgpack (1.7.2)
198+
mustermann (3.0.0)
199+
ruby2_keywords (~> 0.0.1)
198200
mutex_m (0.2.0)
199201
net-imap (0.4.10)
200202
date
@@ -208,22 +210,22 @@ GEM
208210
nio4r (2.7.0)
209211
nokogiri (1.16.2-arm64-darwin)
210212
racc (~> 1.4)
211-
nokogiri (1.16.2-x86_64-darwin)
212-
racc (~> 1.4)
213-
nokogiri (1.16.2-x86_64-linux)
214-
racc (~> 1.4)
215213
parallel (1.24.0)
216214
parser (3.3.0.5)
217215
ast (~> 2.4.1)
218216
racc
219217
pg (1.5.5)
218+
prism (0.24.0)
220219
psych (5.1.2)
221220
stringio
222221
public_suffix (5.0.4)
223222
puma (6.4.2)
224223
nio4r (~> 2.0)
225224
racc (1.7.3)
226225
rack (3.0.9.1)
226+
rack-protection (4.0.0)
227+
base64 (>= 0.1.0)
228+
rack (>= 3.0.0, < 4)
227229
rack-session (2.0.0)
228230
rack (>= 3.0.0)
229231
rack-test (2.1.0)
@@ -264,12 +266,16 @@ GEM
264266
rake (13.1.0)
265267
rdoc (6.6.2)
266268
psych (>= 4.0.0)
269+
redis (5.1.0)
270+
redis-client (>= 0.17.0)
271+
redis-client (0.20.0)
272+
connection_pool
267273
regexp_parser (2.9.0)
268274
reline (0.4.3)
269275
io-console (~> 0.5)
270276
rexml (3.2.6)
271277
rouge (4.2.0)
272-
rubocop (1.60.2)
278+
rubocop (1.61.0)
273279
json (~> 2.3)
274280
language_server-protocol (>= 3.17.0)
275281
parallel (~> 1.10)
@@ -280,15 +286,18 @@ GEM
280286
rubocop-ast (>= 1.30.0, < 2.0)
281287
ruby-progressbar (~> 1.7)
282288
unicode-display_width (>= 2.4.0, < 3.0)
283-
rubocop-ast (1.30.0)
284-
parser (>= 3.2.1.0)
289+
rubocop-ast (1.31.0)
290+
parser (>= 3.3.0.4)
291+
prism (>= 0.24.0)
285292
rubocop-rails (2.23.1)
286293
activesupport (>= 4.2.0)
287294
rack (>= 1.1)
288295
rubocop (>= 1.33.0, < 2.0)
289296
rubocop-ast (>= 1.30.0, < 2.0)
290297
ruby-progressbar (1.13.0)
291298
ruby2_keywords (0.0.5)
299+
rubystats (0.4.1)
300+
matrix
292301
rubyzip (2.3.2)
293302
sassc (2.4.0)
294303
ffi (~> 1.9)
@@ -315,6 +324,17 @@ GEM
315324
simplecov-html (0.12.3)
316325
simplecov-lcov (0.8.0)
317326
simplecov_json_formatter (0.1.4)
327+
sinatra (4.0.0)
328+
mustermann (~> 3.0)
329+
rack (>= 3.0.0, < 4)
330+
rack-protection (= 4.0.0)
331+
rack-session (>= 2.0.0, < 3)
332+
tilt (~> 2.0)
333+
split (4.0.3)
334+
matrix
335+
redis (>= 4.2)
336+
rubystats (>= 0.3.0)
337+
sinatra (>= 1.2.6)
318338
sprockets (4.2.1)
319339
concurrent-ruby (~> 1.0)
320340
rack (>= 2.2.4, < 4)
@@ -323,8 +343,6 @@ GEM
323343
activesupport (>= 5.2)
324344
sprockets (>= 3.0.0)
325345
sqlite3 (1.7.2-arm64-darwin)
326-
sqlite3 (1.7.2-x86_64-darwin)
327-
sqlite3 (1.7.2-x86_64-linux)
328346
stimulus-rails (1.3.3)
329347
railties (>= 6.0.0)
330348
stringio (3.1.0)
@@ -361,11 +379,6 @@ GEM
361379

362380
PLATFORMS
363381
arm64-darwin-22
364-
x86_64-darwin-19
365-
x86_64-darwin-20
366-
x86_64-darwin-21
367-
x86_64-darwin-22
368-
x86_64-linux
369382

370383
DEPENDENCIES
371384
annotate
@@ -395,6 +408,7 @@ DEPENDENCIES
395408
sentry-ruby
396409
simplecov
397410
simplecov-lcov
411+
split
398412
sprockets-rails
399413
sqlite3
400414
stimulus-rails
@@ -408,4 +422,4 @@ RUBY VERSION
408422
ruby 3.2.2p53
409423

410424
BUNDLED WITH
411-
2.3.7
425+
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)