mirror of
https://github.com/gwenhael-le-moine/ledgerrb.git
synced 2025-02-04 20:46:33 +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'
|
||||||
|
gem 'sinatra-contrib'
|
||||||
|
|
13
Gemfile.lock
13
Gemfile.lock
|
@ -1,12 +1,24 @@
|
||||||
GEM
|
GEM
|
||||||
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
|
backports (3.6.0)
|
||||||
|
multi_json (1.10.1)
|
||||||
rack (1.5.2)
|
rack (1.5.2)
|
||||||
rack-protection (1.5.3)
|
rack-protection (1.5.3)
|
||||||
rack
|
rack
|
||||||
|
rack-test (0.6.2)
|
||||||
|
rack (>= 1.0)
|
||||||
sinatra (1.4.5)
|
sinatra (1.4.5)
|
||||||
rack (~> 1.4)
|
rack (~> 1.4)
|
||||||
rack-protection (~> 1.4)
|
rack-protection (~> 1.4)
|
||||||
tilt (~> 1.3, >= 1.3.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)
|
tilt (1.4.1)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
|
@ -14,3 +26,4 @@ PLATFORMS
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
sinatra
|
sinatra
|
||||||
|
sinatra-contrib
|
||||||
|
|
1
app.rb
1
app.rb
|
@ -1,6 +1,7 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
require 'sinatra'
|
require 'sinatra'
|
||||||
|
require 'sinatra/reloader'
|
||||||
|
|
||||||
get '/' do
|
get '/' do
|
||||||
'OH HAI!'
|
'OH HAI!'
|
||||||
|
|
Loading…
Add table
Reference in a new issue