Skip to content

Commit

Permalink
Use new preprocessor in sprockets 3.7 too
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan committed Aug 10, 2016
1 parent 5dc6308 commit 6efea58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/js_routes/engine.rb
Expand Up @@ -30,7 +30,7 @@ def self.call(input)
class Engine < ::Rails::Engine
require 'sprockets/version'
v2 = Gem::Dependency.new('', ' ~> 2')
v3 = Gem::Dependency.new('', ' >= 2' ,' < 3.7')
v3 = Gem::Dependency.new('', ' >= 3' ,' < 3.7')
v37 = Gem::Dependency.new('', ' >= 3.7')
sprockets_version = Gem::Version.new(Sprockets::VERSION).release
initializer_args = case sprockets_version
Expand Down

0 comments on commit 6efea58

Please sign in to comment.