mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
d876028ae9
- was locked to 1.14.0 in cf2a240a43
44 lines
988 B
Ruby
44 lines
988 B
Ruby
source "https://rubygems.org" unless ENV['QUICK']
|
|
gemspec
|
|
|
|
gem 'sinatra', path: '..'
|
|
gem 'rack-protection', path: '../rack-protection'
|
|
gem "twitter-text", "1.14.7"
|
|
|
|
group :development, :test do
|
|
platform :jruby do
|
|
gem 'json'
|
|
gem 'rdoc'
|
|
end
|
|
|
|
platform :jruby do
|
|
gem 'therubyrhino'
|
|
end
|
|
|
|
platform :jruby, :ruby do
|
|
gem 'slim', '2.1.0'
|
|
gem 'liquid', '~> 2.6.x'
|
|
end
|
|
|
|
platform :ruby do
|
|
gem 'execjs', '2.0.0'
|
|
gem 'nokogiri', '1.5.10'
|
|
gem 'redcarpet', '2.3.0'
|
|
gem 'yajl-ruby'
|
|
# ref is a dependency of therubyracer
|
|
gem 'ref'
|
|
gem 'therubyracer'
|
|
end
|
|
|
|
gem 'multi_json'
|
|
end
|
|
|
|
# Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
|
|
# Used by the CI.
|
|
repos = { 'tilt' => 'rtomayko/tilt', 'rack' => 'rack/rack' }
|
|
%w[tilt rack].each do |lib|
|
|
dep = (ENV[lib] || 'stable').sub "#{lib}-", ''
|
|
dep = nil if dep == 'stable'
|
|
dep = {:github => repos[lib], :branch => dep} if dep and dep !~ /(\d+\.)+\d+/
|
|
gem lib, dep if dep
|
|
end
|