1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
sinatra/sinatra-contrib/Gemfile

51 lines
1.1 KiB
Text
Raw Normal View History

2013-03-27 17:35:03 +09:00
source "https://rubygems.org" unless ENV['QUICK']
2011-03-24 08:43:39 +01:00
gemspec
gem 'sinatra', :github => 'sinatra/sinatra', :branch => 'stable'
2011-08-17 13:20:41 +02:00
group :development, :test do
2015-07-01 13:23:37 -04:00
platform :ruby_18 do
gem 'libv8', '3.16.14.7'
end
platform :ruby_18, :jruby do
gem 'json'
2015-05-14 18:31:08 -04:00
gem 'rdoc'
end
2011-08-17 13:20:41 +02:00
2015-05-14 19:02:35 -07:00
platform :jruby do
gem 'therubyrhino'
end
platform :jruby, :ruby do
gem 'slim', '2.1.0'
gem 'liquid', '~> 2.6.x'
2015-05-14 19:02:35 -07:00
end
2011-08-17 13:20:41 +02:00
platform :ruby do
2015-05-14 18:31:08 -04:00
gem 'execjs', '2.0.0'
gem 'nokogiri', '1.5.10'
gem 'redcarpet', '2.3.0'
2011-08-17 13:20:41 +02:00
gem 'yajl-ruby'
# ref is a dependency of therubyracer
# version 2 drops support for Rubies earlier than 1.9.3
gem 'ref', '< 2.0'
2015-05-14 19:02:35 -07:00
gem 'therubyracer'
2011-08-17 13:20:41 +02:00
end
2013-02-12 15:28:34 -05:00
gem 'multi_json'
end
2011-08-18 10:10:22 +02: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