diff --git a/.travis.yml b/.travis.yml index 6cac1b1..bebdd10 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ language: ruby rvm: - - 1.9.2 - - 1.9.3 \ No newline at end of file + - 2.1.5 + - 2.2.2 diff --git a/lib/stasis.rb b/lib/stasis.rb index 151d21a..213b4b8 100644 --- a/lib/stasis.rb +++ b/lib/stasis.rb @@ -18,7 +18,11 @@ # Activate the [Tilt][ti] gem. -gem "tilt", "1.3.3" +gem "tilt", "1.4.1" + +# Tilt 1.3.4 introduced a plain HTML no-op "template" that breaks Stasis behavior +# for copying files ending with .html. Remove that template handler. +::Tilt.mappings.delete('html') # Add the project directory to the load paths. diff --git a/stasis.gemspec b/stasis.gemspec index 4932a40..0ecaf27 100644 --- a/stasis.gemspec +++ b/stasis.gemspec @@ -30,5 +30,5 @@ Gem::Specification.new do |s| s.add_dependency "directory_watcher", "1.4.1" s.add_dependency "slop", "3.3.2" - s.add_dependency "tilt", "1.3.3" + s.add_dependency "tilt", "1.4.1" end