2022-07-31 08:56:44 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
source 'https://rubygems.org'
|
2011-03-24 03:43:39 -04:00
|
|
|
gemspec
|
2011-04-15 17:08:11 -04:00
|
|
|
|
2016-08-17 06:33:45 -04:00
|
|
|
gem 'rack-protection', path: '../rack-protection'
|
2022-07-31 08:56:44 -04:00
|
|
|
gem 'sinatra', path: '..'
|
2016-07-18 21:46:13 -04:00
|
|
|
|
2022-12-28 05:03:49 -05:00
|
|
|
gem 'rack-test', github: 'rack/rack-test'
|
|
|
|
|
2011-04-15 17:08:11 -04:00
|
|
|
group :development, :test do
|
2016-05-07 05:57:06 -04:00
|
|
|
platform :jruby do
|
2011-04-15 17:08:11 -04:00
|
|
|
gem 'json'
|
2015-05-14 18:31:08 -04:00
|
|
|
gem 'rdoc'
|
2015-05-14 22:02:35 -04:00
|
|
|
gem 'therubyrhino'
|
2022-08-08 09:41:59 -04:00
|
|
|
gem 'jar-dependencies', '= 0.4.1' # Gem::LoadError with jar-dependencies 0.4.2
|
2015-05-14 22:02:35 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
platform :jruby, :ruby do
|
2022-08-08 16:41:41 -04:00
|
|
|
gem 'hamlit', '>= 3'
|
2016-04-14 11:20:33 -04:00
|
|
|
gem 'liquid', '~> 2.6.x'
|
2023-03-05 10:06:38 -05:00
|
|
|
# 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'
|
2015-05-14 22:02:35 -04:00
|
|
|
end
|
|
|
|
|
2011-08-17 07:20:41 -04:00
|
|
|
platform :ruby do
|
2022-12-28 05:25:48 -05:00
|
|
|
gem 'execjs', '>= 2.0.0'
|
|
|
|
gem 'nokogiri', '>= 1.13.6'
|
|
|
|
gem 'redcarpet', '>= 3.5.1'
|
2011-08-17 07:20:41 -04:00
|
|
|
gem 'yajl-ruby'
|
|
|
|
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
|
|
|
|
2023-02-22 02:42:41 -05:00
|
|
|
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
|