para-i18n 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6f343cf4b0217efa6c74b1a8f23628eb63be502
4
- data.tar.gz: cf8bfc2e42dd4b8d0141749e9ee773db9d3b931d
3
+ metadata.gz: d5c764053878b2cba8adb8ed576917295f425e49
4
+ data.tar.gz: 872b3159ccda1fbc26dee0522318de70ea361bbe
5
5
  SHA512:
6
- metadata.gz: 4a1693c1094bf5ca59997ea8f1df888e1ec5c83f00f17b8ab84d17b7761e05787c6157a8021142e0135f3a4341965ebc5c17db512b32174ce72ada6e71ad7f7f
7
- data.tar.gz: '087f86d3e3ff99950faf1c9d3ca8a137add1195365a1b09f8018638f1800b6efc98b5c51f3a10c328d836e36f585165c6c268e6e795f36fc8faf56963b915e19'
6
+ metadata.gz: bec576e0856d55fef7fc941406886ed633cb9687c529e1958134bb39672b902c2ce9301ec47e5198a595e9ab8180c4291ef44a525d30bd135480c08067eac215
7
+ data.tar.gz: ef5efc77c67ec25580522c9a1abc4cc881012ac58a8b09c4c9e04be2856e996c82044e85f81e004f1224da6eefbdd81fd73fae63558fa61232278b17c88a8f2f
@@ -35,7 +35,7 @@ module Para
35
35
 
36
36
  def original_content
37
37
  value = template.value_for(object, attribute_name)
38
- value = value.html_safe if original_options[:html_safe]
38
+ value = value.html_safe if original_options[:html_safe] && value
39
39
  value
40
40
  end
41
41
 
@@ -1,5 +1,5 @@
1
1
  module Para
2
2
  module I18n
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: para-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Valentin Ballestrino
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-01 00:00:00.000000000 Z
11
+ date: 2019-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: para