sinatra/sinatra-contrib/Gemfile

30 lines
748 B
Ruby
Raw Normal View History

2013-03-27 08:35:03 +00:00
source "https://rubygems.org" unless ENV['QUICK']
2011-03-24 07:43:39 +00:00
gemspec
2013-03-27 08:35:03 +00:00
gem 'sinatra', :github => 'sinatra/sinatra'
gem 'temple', :github => 'zzak/temple', :branch => 'sinatra-contrib-bug'
2011-08-17 11:20:41 +00:00
group :development, :test do
platform :ruby_18, :jruby do
gem 'json'
end
2011-08-17 11:20:41 +00:00
platform :ruby do
gem 'yajl-ruby'
end
2013-02-12 20:28:34 +00:00
gem 'multi_json'
end
2011-08-18 08:10:22 +00:00
# Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
# Used by the CI.
github = "git://github.com/%s.git"
repos = { 'tilt' => github % "rtomayko/tilt", 'rack' => github % "rack/rack" }
%w[tilt rack].each do |lib|
dep = (ENV[lib] || 'stable').sub "#{lib}-", ''
dep = nil if dep == 'stable'
dep = {:git => repos[lib], :branch => dep} if dep and dep !~ /(\d+\.)+\d+/
gem lib, dep unless dep
end