2013-03-27 04:35:03 -04:00
|
|
|
source "https://rubygems.org" unless ENV['QUICK']
|
2011-03-24 03:43:39 -04:00
|
|
|
gemspec
|
2011-04-15 17:08:11 -04:00
|
|
|
|
|
|
|
group :development, :test do
|
2015-08-26 21:25:49 -04:00
|
|
|
|
2015-07-01 13:23:37 -04:00
|
|
|
platform :ruby_18 do
|
|
|
|
gem 'libv8', '3.16.14.7'
|
|
|
|
end
|
|
|
|
|
2011-04-15 17:08:11 -04:00
|
|
|
platform :ruby_18, :jruby do
|
|
|
|
gem 'json'
|
2015-05-14 18:31:08 -04:00
|
|
|
gem 'rdoc'
|
2011-04-15 17:08:11 -04:00
|
|
|
end
|
2011-08-17 07:20:41 -04:00
|
|
|
|
2015-05-14 22:02:35 -04:00
|
|
|
platform :jruby do
|
|
|
|
gem 'therubyrhino'
|
|
|
|
end
|
|
|
|
|
|
|
|
platform :jruby, :ruby do
|
|
|
|
gem 'slim', '2.1.0'
|
2016-04-14 11:20:33 -04:00
|
|
|
gem 'liquid', '~> 2.6.x'
|
2015-05-14 22:02:35 -04:00
|
|
|
end
|
|
|
|
|
2011-08-17 07:20:41 -04: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 07:20:41 -04:00
|
|
|
gem 'yajl-ruby'
|
2015-08-26 21:25:49 -04:00
|
|
|
# ref is a dependency of therubyracer
|
|
|
|
# version 2 drops support for Rubies earlier than 1.9.3
|
|
|
|
gem 'ref', '< 2.0'
|
2015-05-14 22:02:35 -04:00
|
|
|
gem 'therubyracer'
|
2011-08-17 07:20:41 -04:00
|
|
|
end
|
2013-02-12 15:28:34 -05:00
|
|
|
|
|
|
|
gem 'multi_json'
|
2011-04-15 17:08:11 -04:00
|
|
|
end
|
2011-08-18 04:10:22 -04:00
|
|
|
|
|
|
|
# Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
|
|
|
|
# Used by the CI.
|
2016-05-03 08:45:18 -04:00
|
|
|
repos = { 'sinatra' => 'sinatra/sinatra', 'tilt' => 'rtomayko/tilt', 'rack' => 'rack/rack' }
|
|
|
|
%w[sinatra tilt rack].each do |lib|
|
2011-08-18 04:10:22 -04:00
|
|
|
dep = (ENV[lib] || 'stable').sub "#{lib}-", ''
|
|
|
|
dep = nil if dep == 'stable'
|
2016-05-03 08:45:18 -04:00
|
|
|
dep = {:github => repos[lib], :branch => dep} if dep and dep !~ /(\d+\.)+\d+/
|
|
|
|
gem lib, dep if dep
|
2011-08-18 04:10:22 -04:00
|
|
|
end
|
|
|
|
|