jquery-tmpl-rails 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +2 -2
- data/jquery-tmpl-rails.gemspec +2 -2
- data/lib/jquery-tmpl-rails/version.rb +1 -1
- metadata +8 -8
data/README.textile
CHANGED
@@ -19,13 +19,13 @@ h2. Usage
|
|
19
19
|
Place individual jQuery templates in their own files with the @.tmpl@ extension:
|
20
20
|
|
21
21
|
<pre lang="html"><code><!-- app/assets/javascripts/tmpl/author.tmpl -->
|
22
|
-
<div class="author"
|
22
|
+
<div class="author">${name}</div>
|
23
23
|
</code></pre>
|
24
24
|
|
25
25
|
In your manifest file, require the plugin followed by your individual templates. The templates are compiled and named with their Sprockets logical path:
|
26
26
|
|
27
27
|
<pre lang="javascript"><code>//= require jquery-tmpl
|
28
|
-
//= require tmpl
|
28
|
+
//= require tmpl/author
|
29
29
|
|
30
30
|
$.tmpl("tmpl/author", { name: "Jimmy" }).appendTo("#author");
|
31
31
|
</code></pre>
|
data/jquery-tmpl-rails.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
16
16
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
17
17
|
s.require_paths = ["lib"]
|
18
|
-
|
19
|
-
s.add_dependency 'rails', '
|
18
|
+
|
19
|
+
s.add_dependency 'rails', '>= 3.1.0'
|
20
20
|
s.add_development_dependency 'rspec'
|
21
21
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-tmpl-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-01-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70357437939260 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 3.1.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70357437939260
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rspec
|
27
|
-
requirement: &
|
27
|
+
requirement: &70357437930880 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70357437930880
|
36
36
|
description: Adds the jQuery Templates plugin and a corresponding Sprockets engine
|
37
37
|
to the asset pipeline in Rails applications.
|
38
38
|
email:
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
78
|
rubyforge_project:
|
79
|
-
rubygems_version: 1.8.
|
79
|
+
rubygems_version: 1.8.11
|
80
80
|
signing_key:
|
81
81
|
specification_version: 3
|
82
82
|
summary: jQuery Templates for the Rails asset pipeline.
|