Skip to content

Commit ef4b452

Browse files
Add Split gem with dashboard route
1 parent 901dcbe commit ef4b452

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
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.2', '>= 7.0.2.3'
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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ GEM
8181
activerecord (>= 3.2, < 8.0)
8282
rake (>= 10.4, < 14.0)
8383
ast (2.4.2)
84+
base64 (0.2.0)
8485
better_errors (2.10.1)
8586
erubi (>= 1.0.0)
8687
rack (>= 0.9.0)
@@ -102,6 +103,7 @@ GEM
102103
xpath (~> 3.2)
103104
climate_control (1.2.0)
104105
concurrent-ruby (1.2.2)
106+
connection_pool (2.4.1)
105107
crack (0.4.5)
106108
rexml
107109
crass (1.0.6)
@@ -170,6 +172,8 @@ GEM
170172
mocha (2.1.0)
171173
ruby2_keywords (>= 0.0.5)
172174
msgpack (1.7.2)
175+
mustermann (3.0.0)
176+
ruby2_keywords (~> 0.0.1)
173177
net-imap (0.4.9.1)
174178
date
175179
net-protocol
@@ -198,6 +202,9 @@ GEM
198202
nio4r (~> 2.0)
199203
racc (1.7.3)
200204
rack (2.2.8)
205+
rack-protection (3.2.0)
206+
base64 (>= 0.1.0)
207+
rack (~> 2.2, >= 2.2.4)
201208
rack-test (2.1.0)
202209
rack (>= 1.3)
203210
rails (7.0.8)
@@ -232,6 +239,10 @@ GEM
232239
rake (13.1.0)
233240
rdoc (6.6.2)
234241
psych (>= 4.0.0)
242+
redis (5.0.8)
243+
redis-client (>= 0.17.0)
244+
redis-client (0.19.1)
245+
connection_pool
235246
regexp_parser (2.9.0)
236247
reline (0.4.2)
237248
io-console (~> 0.5)
@@ -257,6 +268,8 @@ GEM
257268
rubocop-ast (>= 1.30.0, < 2.0)
258269
ruby-progressbar (1.13.0)
259270
ruby2_keywords (0.0.5)
271+
rubystats (0.4.1)
272+
matrix
260273
rubyzip (2.3.2)
261274
sassc (2.4.0)
262275
ffi (~> 1.9)
@@ -282,6 +295,16 @@ GEM
282295
simplecov-html (0.12.3)
283296
simplecov-lcov (0.8.0)
284297
simplecov_json_formatter (0.1.4)
298+
sinatra (3.2.0)
299+
mustermann (~> 3.0)
300+
rack (~> 2.2, >= 2.2.4)
301+
rack-protection (= 3.2.0)
302+
tilt (~> 2.0)
303+
split (4.0.3)
304+
matrix
305+
redis (>= 4.2)
306+
rubystats (>= 0.3.0)
307+
sinatra (>= 1.2.6)
285308
sprockets (4.2.1)
286309
concurrent-ruby (~> 1.0)
287310
rack (>= 2.2.4, < 4)
@@ -357,6 +380,7 @@ DEPENDENCIES
357380
sentry-ruby
358381
simplecov
359382
simplecov-lcov
383+
split
360384
sprockets-rails
361385
sqlite3
362386
stimulus-rails

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)