mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Freezing Rack into package to take care of upload issue
This commit is contained in:
parent
540aa5faed
commit
983358b3c4
4 changed files with 12 additions and 4 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "vendor/rack"]
|
||||
path = vendor/rack
|
||||
url = git://github.com/chneukirchen/rack-mirror.git
|
2
Rakefile
2
Rakefile
|
@ -8,7 +8,7 @@ Echoe.new("sinatra") do |p|
|
|||
p.summary = "Classy web-development dressed in a DSL"
|
||||
p.url = "http://www.sinatrarb.com"
|
||||
p.docs_host = "sinatrarb.com:/var/www/blakemizerany.com/public/docs/"
|
||||
p.dependencies = ["mongrel >=1.0.1", "rack >= 0.3.0"]
|
||||
p.dependencies = ["mongrel >=1.0.1"]
|
||||
p.install_message = "*** Be sure to checkout the site for helpful tips! sinatrarb.com ***"
|
||||
p.include_rakefile = true
|
||||
end
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
Dir[File.dirname(__FILE__) + "/../vendor/*"].each do |l|
|
||||
$:.unshift "#{File.expand_path(l)}/lib"
|
||||
end
|
||||
|
||||
require 'rack'
|
||||
|
||||
require 'rubygems'
|
||||
require 'uri'
|
||||
require 'time'
|
||||
require 'ostruct'
|
||||
|
||||
if ENV['SWIFT']
|
||||
require 'swiftcore/swiftiplied_mongrel'
|
||||
|
@ -10,9 +17,6 @@ elsif ENV['EVENT']
|
|||
puts "Using Evented Mongrel"
|
||||
end
|
||||
|
||||
require 'rack'
|
||||
require 'ostruct'
|
||||
|
||||
class Class
|
||||
def dslify_writer(*syms)
|
||||
syms.each do |sym|
|
||||
|
|
1
vendor/rack
vendored
Submodule
1
vendor/rack
vendored
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 67a7507fb07c9d49bf4be4fc6c4fc4578f1673ac
|
Loading…
Reference in a new issue