Skip to content

Commit

Permalink
Rack 0.4 (remove vendor submodule)
Browse files Browse the repository at this point in the history
Use Rack gem instead of freezing.
  • Loading branch information
rtomayko committed Aug 31, 2008
1 parent cb0165f commit 7be3682
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 18 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
@@ -1,3 +0,0 @@
[submodule "vendor/rack"]
path = vendor/rack
url = git://github.com/chneukirchen/rack-mirror.git
10 changes: 2 additions & 8 deletions lib/sinatra.rb
@@ -1,13 +1,7 @@
Dir[File.dirname(__FILE__) + "/../vendor/*"].each do |l|
$:.unshift "#{File.expand_path(l)}/lib"
end

require 'rack'

require 'rubygems'
require 'time'
require 'ostruct'
require "uri"
require 'uri'
require 'rack'

if ENV['SWIFT']
require 'swiftcore/swiftiplied_mongrel'
Expand Down
5 changes: 1 addition & 4 deletions test/events_test.rb
@@ -1,7 +1,4 @@
require File.dirname(__FILE__) + '/../lib/sinatra'

require 'rubygems'
require 'test/spec'
require File.dirname(__FILE__) + '/helper'

context "Simple Events" do

Expand Down
9 changes: 6 additions & 3 deletions test/helper.rb
@@ -1,4 +1,7 @@
require File.dirname(__FILE__) + "/../lib/sinatra"
require File.dirname(__FILE__) + "/../lib/sinatra/test/spec"
require 'rubygems'
require 'mocha'

require "mocha"
$:.unshift File.dirname(File.dirname(__FILE__)) + "/lib"

require 'sinatra'
require 'sinatra/test/spec'

0 comments on commit 7be3682

Please sign in to comment.