mirror of
https://github.com/gwenhael-le-moine/ledgerrb.git
synced 2025-02-03 20:46:26 +01:00
sinatra reloader
This commit is contained in:
parent
e2d5aee48b
commit
2cfd14ab63
3 changed files with 19 additions and 0 deletions
5
Gemfile
5
Gemfile
|
@ -1 +1,6 @@
|
|||
# encoding: utf-8
|
||||
|
||||
source 'https://rubygems.org'
|
||||
|
||||
gem 'sinatra'
|
||||
gem 'sinatra-contrib'
|
||||
|
|
13
Gemfile.lock
13
Gemfile.lock
|
@ -1,12 +1,24 @@
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
backports (3.6.0)
|
||||
multi_json (1.10.1)
|
||||
rack (1.5.2)
|
||||
rack-protection (1.5.3)
|
||||
rack
|
||||
rack-test (0.6.2)
|
||||
rack (>= 1.0)
|
||||
sinatra (1.4.5)
|
||||
rack (~> 1.4)
|
||||
rack-protection (~> 1.4)
|
||||
tilt (~> 1.3, >= 1.3.4)
|
||||
sinatra-contrib (1.4.2)
|
||||
backports (>= 2.0)
|
||||
multi_json
|
||||
rack-protection
|
||||
rack-test
|
||||
sinatra (~> 1.4.0)
|
||||
tilt (~> 1.3)
|
||||
tilt (1.4.1)
|
||||
|
||||
PLATFORMS
|
||||
|
@ -14,3 +26,4 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
sinatra
|
||||
sinatra-contrib
|
||||
|
|
1
app.rb
1
app.rb
|
@ -1,6 +1,7 @@
|
|||
# encoding: utf-8
|
||||
|
||||
require 'sinatra'
|
||||
require 'sinatra/reloader'
|
||||
|
||||
get '/' do
|
||||
'OH HAI!'
|
||||
|
|
Loading…
Add table
Reference in a new issue