Skip to content

Commit

Permalink
Write Sinatra on Thin
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun committed Nov 21, 2018
1 parent fdc7915 commit bb8768c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
source 'https://rubygems.org'

gem 'sinatra'
gem 'thin'
7 changes: 7 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
GEM
remote: https://rubygems.org/
specs:
daemons (1.2.6)
eventmachine (1.2.7)
mustermann (1.0.3)
rack (2.0.6)
rack-protection (2.0.4)
Expand All @@ -10,13 +12,18 @@ GEM
rack (~> 2.0)
rack-protection (= 2.0.4)
tilt (~> 2.0)
thin (1.7.2)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
tilt (2.0.8)

PLATFORMS
ruby

DEPENDENCIES
sinatra
thin

BUNDLED WITH
2.0.0.pre.1
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Simple Ruby benchmark using Sinatra.

Inspired by: https://www.rubyguides.com/2018/11/ruby-mjit/

## License

MIT License
5 changes: 5 additions & 0 deletions app.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require 'sinatra'

get '/' do
'apples, oranges & bananas'
end

0 comments on commit bb8768c

Please sign in to comment.