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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/atomic_assets/render.rb +5 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9282dbd2270b21313b2a119723945138d68ff916
4
- data.tar.gz: 5c97958fc460d611ac706fd010e9143189088910
3
+ metadata.gz: 0308f62231022a323bb5070c2bd1ea67c9ffc6df
4
+ data.tar.gz: a0fe55c21eb72bc320d693de51a1b98a21746e14
5
5
  SHA512:
6
- metadata.gz: 43284631249e8939bfc91324a0d2db32c0205cf281e8c745e3c7b57d30f70b582f5709f66d494bfa83fb70934cbe5d4721187f1389dba484f3566a26641aed92
7
- data.tar.gz: 8951815aadf85ac246e2836a888c4f38285f77d00143bb161789ea46d725debae65fa55af48c7a42fe856ef43c6953da947bfc21bef42681c4bc3ea62dd86cd7
6
+ metadata.gz: 5d23d2f6cb54109b3e7006db770dc78ed2a3e02c8bdf0b428d5a0197cf4ad0d08ab0b91efa1e087f5337ed2b439eb63df147d751264a8422558fd75b1583ac0f
7
+ data.tar.gz: 4fe6d264df4c761c116ec9d61b16cab5fcb462d95863bede7a2a20c3dc3dcb19f9aab31a5f7de4067870b971723279bc25d9a02c21bc7ae4ed85546aa9566f24
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atomic_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Don Humphreys