1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

reduce number of template languages tested on 1.8, most of them do not support it anymore or will drop support soon

This commit is contained in:
Konstantin Haase 2013-12-27 11:20:50 +01:00
parent f3d8f76b32
commit a570335d99

81
Gemfile
View file

@ -12,7 +12,6 @@ gemspec
gem 'rake'
gem 'rack-test', '>= 0.5.6'
gem 'ci_reporter', :group => :ci
# Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
# Used by the CI.
@ -28,66 +27,48 @@ repos = {'tilt' => github % "rtomayko/tilt", 'rack' => github % "rack/rack"}
gem lib, dep
end
gem 'haml', '>= 3.0'
gem 'sass' if RUBY_VERSION < "2.0"
gem 'builder'
gem 'erubis'
gem 'slim', '~> 1.0'
gem 'temple', '!= 0.3.3'
gem 'coffee-script', '>= 2.0'
gem 'rdoc', RUBY_VERSION < '1.9' ? '~> 3.12' : '>= 4.0'
gem 'kramdown'
gem 'maruku'
gem 'creole'
gem 'markaby'
gem 'radius'
unless RUBY_ENGINE =~ /jruby|maglev/
gem 'rabl'
gem 'activesupport', '< 4.0.0' if RUBY_VERSION < '1.9.3'
end
gem 'wlang', '>= 2.0.1' unless RUBY_ENGINE =~ /jruby|rbx/
gem 'therubyracer' unless RUBY_ENGINE =~ /jruby|rbx/
gem 'redcarpet' unless RUBY_ENGINE == 'jruby' || RUBY_VERSION == '1.8.7'
gem 'bluecloth' unless RUBY_ENGINE == 'jruby'
if RUBY_ENGINE != 'rbx' or RUBY_VERSION < '1.9'
gem 'liquid'
gem 'stylus'
end
if RUBY_ENGINE == 'jruby'
gem 'nokogiri', '!= 1.5.0'
gem 'jruby-openssl'
gem 'trinidad'
else
gem 'yajl-ruby'
gem 'nokogiri' if RUBY_VERSION >= '1.9.2'
gem 'thin'
end
if RUBY_ENGINE == "ruby" and RUBY_VERSION > '1.9'
if RUBY_ENGINE == "ruby" and RUBY_VERSION > '1.9.2'
gem 'less', '~> 2.0'
end
if RUBY_ENGINE != 'jruby' or not ENV['TRAVIS']
# C extensions
gem 'rdiscount' if RUBY_VERSION != '1.9.2'
platforms(:ruby_18) do
#gem 'redcarpet'
gem 'mongrel'
end
gem 'RedCloth' unless RUBY_ENGINE == "macruby"
gem 'therubyracer'
gem 'redcarpet'
gem 'wlang', '>= 2.0.1'
gem 'bluecloth'
gem 'rdiscount'
gem 'RedCloth'
gem 'puma'
gem 'net-http-server'
gem 'yajl-ruby'
gem 'nokogiri'
gem 'thin'
gem 'slim', '~> 1.0'
gem 'coffee-script', '>= 2.0'
gem 'rdoc'
gem 'kramdown'
gem 'maruku'
gem 'creole'
gem 'markaby'
gem 'radius'
gem 'liquid'
gem 'stylus'
gem 'rabl'
gem 'builder'
gem 'erubis'
gem 'haml', '>= 3.0'
gem 'sass' if RUBY_VERSION < "2.0"
end
gem 'net-http-server' unless RUBY_VERSION == '1.8.7' || RUBY_ENGINE =~ /jruby|rbx/
if RUBY_ENGINE == "rbx"
gem 'json'
gem 'rubysl'
gem 'rubysl-test-unit'
end
platforms :ruby_18, :jruby do
gem 'json' unless RUBY_VERSION > '1.9' # is there a jruby but 1.8 only selector?
end
platforms :mri_18 do
# bundler platforms are broken
next if RUBY_ENGINE != 'ruby' or RUBY_VERSION > "1.8"
gem 'rcov'
end