mustache-js-rails 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +32 -3
- data/lib/mustache-js-rails/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b3f2484ee509a89738ccdbc1f9bd4ec1a90c7b79
|
|
4
|
+
data.tar.gz: ec61ed46f7aceccfabed550792bdbede1d88f001
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: af3e6044a71e85773344fefcd6afb690c6eae8009d4284e57992880452523b51513036b0b500372df5df0a58ee91b2127fedde0c3e2f9d754cf69fcbd34dfa9d
|
|
7
|
+
data.tar.gz: 9e008c766476ffacec04de627213e5d6d3bd5dfc68c02809e36b5dde5379efe3027be79430d6c3eed49d043140fe9328d356a921c73ba824888f4f5dc1ac3bf2
|
data/README.md
CHANGED
|
@@ -1,4 +1,33 @@
|
|
|
1
|
-
mustache-js-rails
|
|
2
|
-
=================
|
|
1
|
+
# mustache-js-rails
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
mustache-js-rails integrates [mustache.js](https://github.com/janl/mustache.js)
|
|
4
|
+
and [mustache jQuery integration](https://github.com/jonnyreeves/jquery-Mustache) with rails 3.1+ asset pipeline.
|
|
5
|
+
|
|
6
|
+
Current binded versions are:
|
|
7
|
+
|
|
8
|
+
* jQuery mustache - v0.2.7
|
|
9
|
+
* mustache.js - 0.7.2
|
|
10
|
+
|
|
11
|
+
### Installation
|
|
12
|
+
|
|
13
|
+
Add
|
|
14
|
+
|
|
15
|
+
``` ruby
|
|
16
|
+
gem 'mustache-js-rails'`
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
to your `Gemfile`
|
|
20
|
+
|
|
21
|
+
and
|
|
22
|
+
|
|
23
|
+
```javascript
|
|
24
|
+
//= require mustache
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
to your `app/assets/javascripts/application.js` or other js manifest file.
|
|
28
|
+
|
|
29
|
+
For jQuery integration also add:
|
|
30
|
+
|
|
31
|
+
```javascript
|
|
32
|
+
//= require jquery.mustache
|
|
33
|
+
```
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module MustacheJsRails
|
|
2
|
-
VERSION = "0.0.
|
|
3
|
-
end
|
|
2
|
+
VERSION = "0.0.3"
|
|
3
|
+
end
|