Permalink
Browse files

adding readme and rebuild with ruby 1.8.7

  • Loading branch information...
1 parent 13e5b91 commit db4578250ff4cfc096ee3ebe82a3fdcc7c7681ee @rdy rdy committed Jul 28, 2011
Showing with 15 additions and 2 deletions.
  1. +1 −1 .rvmrc
  2. +13 −0 README
  3. +1 −1 sprockets-jquery-tmpl.gemspec
View
2 .rvmrc
@@ -1 +1 @@
-rvm 1.9.2@sprockets-jquery-tmpl --create
+rvm 1.8.7@sprockets-jquery-tmpl --create
View
13 README
@@ -0,0 +1,13 @@
+Sprockets jQuery Tmpl
+=====================
+
+This gem adds jQuery templates as tilt templates for Sprockets 2 in Rails 3.1.
+
+Installing
+==========
+
+ 1. Add the gem to bundler or install: `gem install sprockets-jquey-tmpl`
+
+Any files in assets/javascripts/tmpls will be automatically added to jQuery templates list of templates using the path from that directory (i.e. assets/javascripts/tmpls/examples/index.tmpl will be mapped to $.tmpl("examples/index") )
+
+Copyright (c) 2009 Ryan Dy, released under the MIT license
View
2 sprockets-jquery-tmpl.gemspec
@@ -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.rc4')
+ s.add_dependency 'actionpack', '3.1.0.rc4'
end

0 comments on commit db45782

Please sign in to comment.