Skip to content

Commit

Permalink
#6 - set up the sinatra app to show charts
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtrogers committed Jun 14, 2013
1 parent f8f0af9 commit ddfe7b8
Show file tree
Hide file tree
Showing 21 changed files with 20,757 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
.ruby-version
25 changes: 25 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,17 @@ PATH
em-hiredis
eventmachine
rbczmq
sinatra

GEM
remote: https://rubygems.org/
specs:
capybara (2.1.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
columnize (0.3.6)
debugger (1.5.0)
columnize (>= 0.3.1)
Expand All @@ -21,6 +28,15 @@ GEM
hiredis (~> 0.4.0)
eventmachine (1.0.3)
hiredis (0.4.5)
mime-types (1.23)
mini_portile (0.5.0)
nokogiri (1.6.0)
mini_portile (~> 0.5.0)
rack (1.5.2)
rack-protection (1.5.0)
rack
rack-test (0.6.2)
rack (>= 1.0)
rake (10.0.4)
rbczmq (1.6.2)
redis (3.0.4)
Expand All @@ -32,13 +48,22 @@ GEM
rspec-expectations (2.13.0)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.13.1)
sinatra (1.4.3)
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
tilt (1.4.1)
xpath (2.0.0)
nokogiri (~> 1.3)

PLATFORMS
ruby

DEPENDENCIES
capybara
debugger
profit!
rack-test
rake
redis
rspec
8 changes: 8 additions & 0 deletions app/chart_app.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
require 'sinatra'

class ChartApp < Sinatra::Application

get '/' do
erb :index
end
end
Loading

0 comments on commit ddfe7b8

Please sign in to comment.