Permalink
Browse files

update for rails 3.1

  • Loading branch information...
1 parent 89f1e31 commit 068df11cf422d76b60a203d19df103dbdabbca06 @rdy rdy committed Sep 5, 2011
@@ -27,5 +27,10 @@ def evaluate(scope, locals, &block)
end
end
end
- register_engine '.tmpl', ::Sprockets::Jquery::Tmpl::TmplProcessor
end
+
+begin
+ Rails.application.assets.register_engine '.tmpl', ::Sprockets::Jquery::Tmpl::TmplProcessor
+rescue
+end
+
@@ -1,7 +1,7 @@
module Sprockets
module Jquery
module Tmpl
- VERSION = '0.0.4'
+ VERSION = '0.0.5'
end
end
end
@@ -18,5 +18,5 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
- s.add_dependency 'actionpack', '~> 3.1.0.rc5'
+ s.add_dependency 'actionpack', '~> 3.1.0'
end

0 comments on commit 068df11

Please sign in to comment.