2013-03-27 08:35:03 +00:00
|
|
|
source "https://rubygems.org" unless ENV['QUICK']
|
2011-03-24 07:43:39 +00:00
|
|
|
gemspec
|
2011-04-15 21:08:11 +00:00
|
|
|
|
2016-07-19 01:46:13 +00:00
|
|
|
gem 'mustermann', github: 'sinatra/mustermann'
|
2016-07-23 03:29:38 +00:00
|
|
|
gem 'sinatra', path: '..'
|
2016-07-19 01:46:13 +00:00
|
|
|
|
2011-04-15 21:08:11 +00:00
|
|
|
group :development, :test do
|
2016-05-07 09:57:06 +00:00
|
|
|
platform :jruby do
|
2011-04-15 21:08:11 +00:00
|
|
|
gem 'json'
|
2015-05-14 22:31:08 +00:00
|
|
|
gem 'rdoc'
|
2011-04-15 21:08:11 +00:00
|
|
|
end
|
2011-08-17 11:20:41 +00:00
|
|
|
|
2015-05-15 02:02:35 +00:00
|
|
|
platform :jruby do
|
|
|
|
gem 'therubyrhino'
|
|
|
|
end
|
|
|
|
|
|
|
|
platform :jruby, :ruby do
|
|
|
|
gem 'slim', '2.1.0'
|
2016-04-14 15:20:33 +00:00
|
|
|
gem 'liquid', '~> 2.6.x'
|
2015-05-15 02:02:35 +00:00
|
|
|
end
|
|
|
|
|
2011-08-17 11:20:41 +00:00
|
|
|
platform :ruby do
|
2015-05-14 22:31:08 +00:00
|
|
|
gem 'execjs', '2.0.0'
|
|
|
|
gem 'nokogiri', '1.5.10'
|
|
|
|
gem 'redcarpet', '2.3.0'
|
2011-08-17 11:20:41 +00:00
|
|
|
gem 'yajl-ruby'
|
2015-08-27 01:25:49 +00:00
|
|
|
# ref is a dependency of therubyracer
|
2016-05-07 09:57:06 +00:00
|
|
|
gem 'ref'
|
2015-05-15 02:02:35 +00:00
|
|
|
gem 'therubyracer'
|
2011-08-17 11:20:41 +00:00
|
|
|
end
|
2013-02-12 20:28:34 +00:00
|
|
|
|
|
|
|
gem 'multi_json'
|
2011-04-15 21:08:11 +00:00
|
|
|
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.
|
2016-07-23 03:29:38 +00:00
|
|
|
repos = { 'tilt' => 'rtomayko/tilt', 'rack' => 'rack/rack' }
|
|
|
|
%w[tilt rack].each do |lib|
|
2011-08-18 08:10:22 +00:00
|
|
|
dep = (ENV[lib] || 'stable').sub "#{lib}-", ''
|
|
|
|
dep = nil if dep == 'stable'
|
2016-05-03 12:45:18 +00:00
|
|
|
dep = {:github => repos[lib], :branch => dep} if dep and dep !~ /(\d+\.)+\d+/
|
|
|
|
gem lib, dep if dep
|
2011-08-18 08:10:22 +00:00
|
|
|
end
|
|
|
|
|
2016-07-25 12:54:31 +00:00
|
|
|
gem "rack-protection", github: "sinatra/rack-protection"
|