Skip to content

Commit

Permalink
adding readme and rebuild with ruby 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
rdy committed Jul 28, 2011
1 parent 13e5b91 commit db45782
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rvmrc
@@ -1 +1 @@
rvm 1.9.2@sprockets-jquery-tmpl --create
rvm 1.8.7@sprockets-jquery-tmpl --create
13 changes: 13 additions & 0 deletions 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
2 changes: 1 addition & 1 deletion sprockets-jquery-tmpl.gemspec
Expand Up @@ -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.