ember-rails-assets 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/lib/ember/rails/assets/version.rb +1 -1
- 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: a27a4d499f94b27743493d07d461d9c30d336f79
|
4
|
+
data.tar.gz: 16a13b5113d9b0992fad5b2745d49302155619af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6815eedcb3ac3b69914f5e2f857d5f178cb5d04379520a398961f63524666829227ea983fb00d6978073ef95b13308119ba0344b14477fccc45f0ad0724cdd55
|
7
|
+
data.tar.gz: ad0d52795ee301e74975e1f407f662d04b20e3855bb09b86569756038858632fe824dc173bdc53c89888ed796f7229f3a1ead3b786ba2d6d29d692a679902f2c
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ember::Rails::Assets
|
2
2
|
|
3
|
-
`asset-path` helper for ember-rails, including
|
3
|
+
`asset-path` helper for ember-rails, including digests in production!
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -15,14 +15,16 @@ gem 'ember-rails-assets'
|
|
15
15
|
Ember: Require `ember-rails-assets` anywhere, then use the `asset-path` helper in your template:
|
16
16
|
|
17
17
|
```javascript
|
18
|
-
// app/assets/javascripts/
|
18
|
+
// app/assets/javascripts/application.js
|
19
19
|
//= require ember-rails-assets
|
20
|
-
|
20
|
+
|
21
|
+
// app/assets/javascripts/templates/application.hbs
|
22
|
+
<img src="{{asset-path "dogs/chihuahua"}}" />
|
21
23
|
```
|
22
24
|
|
23
25
|
## Contributing
|
24
26
|
|
25
|
-
1. Fork it ( https://github.com/
|
27
|
+
1. Fork it ( https://github.com/botandrose/ember-rails-assets/fork )
|
26
28
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
29
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
30
|
4. Push to the branch (`git push origin my-new-feature`)
|