Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ source 'http://rubygems.org'

gem 'rake'
gem 'rspec'
gem 'superfight', github: "RubyoffRails/superfight"
gem 'sinatra'
gem 'sinatra-contrib'
gem 'shotgun'
gem 'about_drammopo', '~> 0.1.0', github: 'drammopo/about_drammopo'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice use here to load the gem directly from github. You'll use this when you fork a repository.

32 changes: 28 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
GIT
remote: git://github.com/RubyoffRails/superfight.git
revision: 75a5c4f724284ade4132f0a84acf3b2a8e126fcd
remote: git://github.com/drammopo/about_drammopo.git
revision: 882d5ca3b4053d4f1191ee1753727f7e922a4ba2
specs:
superfight (0.0.1)
about_drammopo (0.1.0)

GEM
remote: http://rubygems.org/
specs:
backports (2.5.3)
diff-lcs (1.1.3)
eventmachine (0.12.10)
rack (1.5.2)
rack-protection (1.2.0)
rack
rack-test (0.6.2)
rack (>= 1.0)
rake (0.9.2.2)
rspec (2.10.0)
rspec-core (~> 2.10.0)
Expand All @@ -17,11 +24,28 @@ GEM
rspec-expectations (2.10.0)
diff-lcs (~> 1.1.3)
rspec-mocks (2.10.1)
shotgun (0.9)
rack (>= 1.0)
sinatra (1.3.2)
rack (~> 1.3, >= 1.3.6)
rack-protection (~> 1.2)
tilt (~> 1.3, >= 1.3.3)
sinatra-contrib (1.3.1)
backports (>= 2.0)
eventmachine
rack-protection
rack-test
sinatra (~> 1.3.0)
tilt (~> 1.3)
tilt (1.4.1)

PLATFORMS
ruby

DEPENDENCIES
about_drammopo (~> 0.1.0)!
rake
rspec
superfight!
shotgun
sinatra
sinatra-contrib
2 changes: 2 additions & 0 deletions config.ru
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require "./niner_web"
run Sinatra::Application
20 changes: 0 additions & 20 deletions niner.rb

This file was deleted.

13 changes: 13 additions & 0 deletions niner_web.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
require 'rubygems'
require 'bundler/setup'
require 'sinatra'
require 'sinatra/reloader'
require 'about_drammopo'

enable :sessions

get '/' do
@version = AboutDrammopo::VERSION
@fact = About.fact
erb :about
end
Loading