lib/ush/app.rb in ush-0.1.0 vs lib/ush/app.rb in ush-0.1.1

- old
+ new

@@ -1,11 +1,15 @@ require 'sinatra/base' -require "ush/db/sqlite" +require 'ush/db/sqlite' module Ush # The sinatra app that runs ush class App < Sinatra::Base + set :server, 'webrick' + set :environment, :production + set :port, 8080 + db = Ush::Sqlite.new get '/' do "Your 'ush' deployment seems to be working!" end @@ -48,6 +52,6 @@ s = s.to_s s.gsub! /<|>/, '' s end end -end \ No newline at end of file +end