Permalink
Browse files

add backports as a dependency

  • Loading branch information...
1 parent 7a15be5 commit 76ac145c517be029475efb6039f84a3a875d3d8d @rkh rkh committed Mar 13, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −2 Gemfile
  2. +1 −0 lib/sinatra/base.rb
  3. +1 −0 sinatra.gemspec
View
3 Gemfile
@@ -8,6 +8,7 @@
RUBY_ENGINE = 'ruby' unless defined? RUBY_ENGINE
source :rubygems unless ENV['QUICK']
+gemspec
gem 'rake', '~> 0.8.7'
gem 'rack-test', '>= 0.5.6'
@@ -52,6 +53,4 @@ if RUBY_VERSION > '1.8.6'
gem 'markaby', :group => 'markaby'
gem 'radius', :group => 'radius'
end
-else
- #gem 'nokogiri', '1.4.4'
end
View
1 lib/sinatra/base.rb
@@ -5,6 +5,7 @@
require 'rack/builder'
require 'sinatra/showexceptions'
require 'tilt'
+require 'backports'
module Sinatra
VERSION = '1.2.8'
View
1 sinatra.gemspec
@@ -124,6 +124,7 @@ Gem::Specification.new do |s|
s.extra_rdoc_files = %w[README.rdoc README.de.rdoc README.jp.rdoc README.fr.rdoc README.es.rdoc README.hu.rdoc README.zh.rdoc LICENSE]
s.add_dependency 'rack', '~> 1.1'
s.add_dependency 'tilt', '>= 1.2.2', '< 2.0'
+ s.add_dependency 'backports'
s.add_development_dependency 'shotgun', '~> 0.6'
s.homepage = "http://sinatra.rubyforge.org"

0 comments on commit 76ac145

Please sign in to comment.