mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
depend on Tilt 1.3
This commit is contained in:
parent
c7601fcfcd
commit
9b94ee6550
2 changed files with 2 additions and 2 deletions
|
@ -521,7 +521,7 @@ module Sinatra
|
|||
def find_template(views, name, engine)
|
||||
yield ::File.join(views, "#{name}.#{@preferred_extension}")
|
||||
Tilt.mappings.each do |ext, engines|
|
||||
next unless ext != @preferred_extension and Array(engines).include? engine
|
||||
next unless ext != @preferred_extension and engines.include? engine
|
||||
yield ::File.join(views, "#{name}.#{ext}")
|
||||
end
|
||||
end
|
||||
|
|
|
@ -123,7 +123,7 @@ Gem::Specification.new do |s|
|
|||
|
||||
s.extra_rdoc_files = %w[README.rdoc README.de.rdoc README.jp.rdoc README.fr.rdoc README.es.rdoc README.hu.rdoc README.zh.rdoc LICENSE]
|
||||
s.add_dependency 'rack', '~> 1.2'
|
||||
s.add_dependency 'tilt', '~> 1.2', '>= 1.2.2'
|
||||
s.add_dependency 'tilt', '~> 1.3'
|
||||
s.add_development_dependency 'shotgun', '~> 0.6'
|
||||
|
||||
s.homepage = "http://sinatra.rubyforge.org"
|
||||
|
|
Loading…
Add table
Reference in a new issue