atomic_assets 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/atomic_assets/render.rb +5 -0
- 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: 0308f62231022a323bb5070c2bd1ea67c9ffc6df
|
4
|
+
data.tar.gz: a0fe55c21eb72bc320d693de51a1b98a21746e14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d23d2f6cb54109b3e7006db770dc78ed2a3e02c8bdf0b428d5a0197cf4ad0d08ab0b91efa1e087f5337ed2b439eb63df147d751264a8422558fd75b1583ac0f
|
7
|
+
data.tar.gz: 4fe6d264df4c761c116ec9d61b16cab5fcb462d95863bede7a2a20c3dc3dcb19f9aab31a5f7de4067870b971723279bc25d9a02c21bc7ae4ed85546aa9566f24
|
data/lib/atomic_assets/render.rb
CHANGED
@@ -3,6 +3,11 @@ module AtomicAssets
|
|
3
3
|
COMPONENT_PATH = 'components'
|
4
4
|
PARTIALS_DEPRECATED = 'Using view partial component templates will be removed in atomic_assets-0.1.0. Please remove leading underscores from your template file names.'
|
5
5
|
|
6
|
+
# keep rails from escaping object output
|
7
|
+
def html_safe?
|
8
|
+
true
|
9
|
+
end
|
10
|
+
|
6
11
|
def render
|
7
12
|
render_template
|
8
13
|
rescue ActionView::MissingTemplate => error
|