Skip to content

Commit 760ffff

Browse files
Add Split gem with dashboard route
1 parent 2d835a1 commit 760ffff

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
@@ -183,6 +183,8 @@ GEM
183183
mocha (2.1.0)
184184
ruby2_keywords (>= 0.0.5)
185185
msgpack (1.7.2)
186+
mustermann (3.0.0)
187+
ruby2_keywords (~> 0.0.1)
186188
mutex_m (0.2.0)
187189
net-imap (0.4.9.1)
188190
date
@@ -196,10 +198,6 @@ GEM
196198
nio4r (2.7.0)
197199
nokogiri (1.16.0-arm64-darwin)
198200
racc (~> 1.4)
199-
nokogiri (1.16.0-x86_64-darwin)
200-
racc (~> 1.4)
201-
nokogiri (1.16.0-x86_64-linux)
202-
racc (~> 1.4)
203201
parallel (1.24.0)
204202
parser (3.3.0.2)
205203
ast (~> 2.4.1)
@@ -211,14 +209,17 @@ GEM
211209
puma (6.4.2)
212210
nio4r (~> 2.0)
213211
racc (1.7.3)
214-
rack (3.0.8)
215-
rack-session (2.0.0)
216-
rack (>= 3.0.0)
212+
rack (2.2.8)
213+
rack-protection (3.2.0)
214+
base64 (>= 0.1.0)
215+
rack (~> 2.2, >= 2.2.4)
216+
rack-session (1.0.2)
217+
rack (< 3)
217218
rack-test (2.1.0)
218219
rack (>= 1.3)
219-
rackup (2.1.0)
220-
rack (>= 3)
221-
webrick (~> 1.8)
220+
rackup (1.0.0)
221+
rack (< 3)
222+
webrick
222223
rails (7.1.2)
223224
actioncable (= 7.1.2)
224225
actionmailbox (= 7.1.2)
@@ -252,6 +253,10 @@ GEM
252253
rake (13.1.0)
253254
rdoc (6.6.2)
254255
psych (>= 4.0.0)
256+
redis (5.0.8)
257+
redis-client (>= 0.17.0)
258+
redis-client (0.19.1)
259+
connection_pool
255260
regexp_parser (2.9.0)
256261
reline (0.4.2)
257262
io-console (~> 0.5)
@@ -277,6 +282,8 @@ GEM
277282
rubocop-ast (>= 1.30.0, < 2.0)
278283
ruby-progressbar (1.13.0)
279284
ruby2_keywords (0.0.5)
285+
rubystats (0.4.1)
286+
matrix
280287
rubyzip (2.3.2)
281288
sassc (2.4.0)
282289
ffi (~> 1.9)
@@ -302,6 +309,16 @@ GEM
302309
simplecov-html (0.12.3)
303310
simplecov-lcov (0.8.0)
304311
simplecov_json_formatter (0.1.4)
312+
sinatra (3.2.0)
313+
mustermann (~> 3.0)
314+
rack (~> 2.2, >= 2.2.4)
315+
rack-protection (= 3.2.0)
316+
tilt (~> 2.0)
317+
split (4.0.3)
318+
matrix
319+
redis (>= 4.2)
320+
rubystats (>= 0.3.0)
321+
sinatra (>= 1.2.6)
305322
sprockets (4.2.1)
306323
concurrent-ruby (~> 1.0)
307324
rack (>= 2.2.4, < 4)
@@ -310,8 +327,6 @@ GEM
310327
activesupport (>= 5.2)
311328
sprockets (>= 3.0.0)
312329
sqlite3 (1.7.0-arm64-darwin)
313-
sqlite3 (1.7.0-x86_64-darwin)
314-
sqlite3 (1.7.0-x86_64-linux)
315330
stimulus-rails (1.3.3)
316331
railties (>= 6.0.0)
317332
stringio (3.1.0)
@@ -346,11 +361,6 @@ GEM
346361

347362
PLATFORMS
348363
arm64-darwin-22
349-
x86_64-darwin-19
350-
x86_64-darwin-20
351-
x86_64-darwin-21
352-
x86_64-darwin-22
353-
x86_64-linux
354364

355365
DEPENDENCIES
356366
annotate
@@ -378,6 +388,7 @@ DEPENDENCIES
378388
sentry-ruby
379389
simplecov
380390
simplecov-lcov
391+
split
381392
sprockets-rails
382393
sqlite3
383394
stimulus-rails
@@ -391,4 +402,4 @@ RUBY VERSION
391402
ruby 3.2.2p53
392403

393404
BUNDLED WITH
394-
2.3.7
405+
2.4.10

config/routes.rb

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

0 commit comments

Comments
 (0)