mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
0c926e62cb
2.6.x is very old, https://rubygems.org/gems/liquid/versions 2.6.3 - July 23, 2015 (45.5 KB) Found these traces in history: -741677743c
-2dc03c879a
45 lines
1.2 KiB
Ruby
45 lines
1.2 KiB
Ruby
# frozen_string_literal: true
|
|
|
|
source 'https://rubygems.org'
|
|
gemspec
|
|
|
|
gem 'rack-protection', path: '../rack-protection'
|
|
gem 'sinatra', path: '..'
|
|
|
|
gem 'rack-test', github: 'rack/rack-test'
|
|
|
|
group :development, :test do
|
|
platform :jruby do
|
|
gem 'json'
|
|
gem 'rdoc'
|
|
gem 'therubyrhino'
|
|
gem 'jar-dependencies', '= 0.4.1' # Gem::LoadError with jar-dependencies 0.4.2
|
|
end
|
|
|
|
platform :jruby, :ruby do
|
|
gem 'hamlit', '>= 3'
|
|
gem 'liquid'
|
|
# Use main until there's a slim release that can be used with Tilt 2.1.0
|
|
# https://github.com/slim-template/slim/pull/910
|
|
gem 'slim', github: 'slim-template/slim'
|
|
end
|
|
|
|
platform :ruby do
|
|
gem 'execjs', '>= 2.0.0'
|
|
gem 'nokogiri', '>= 1.13.6'
|
|
gem 'redcarpet', '>= 3.5.1'
|
|
gem 'yajl-ruby'
|
|
end
|
|
|
|
gem 'multi_json'
|
|
end
|
|
|
|
rack_version = ENV['rack'].to_s
|
|
rack_version = nil if rack_version.empty? || (rack_version == 'stable')
|
|
rack_version = { github: 'rack/rack' } if rack_version == 'head'
|
|
gem 'rack', rack_version
|
|
|
|
tilt_version = ENV['tilt'].to_s
|
|
tilt_version = nil if tilt_version.empty? || (tilt_version == 'stable')
|
|
tilt_version = { github: 'jeremyevans/tilt' } if tilt_version == 'head'
|
|
gem 'tilt', tilt_version
|