settingson 1.2.17 → 1.2.18

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: 698281092f77db39f9738c5273aa27b2f796c602
4
- data.tar.gz: 3e9d105d1b3cfe7d4a1c119abb065a8dbe7f1e0b
3
+ metadata.gz: 7978117328c05069be1c0328fe152404b3f7a533
4
+ data.tar.gz: 5f4ea21db417a7d258eef212855018369fddac66
5
5
  SHA512:
6
- metadata.gz: 800ec23b9ab3773d3c538bd4c2a83c6c57ff3342107865566403b1a95064faa08d121f332ddf7aacf6353966db79cd5113de990ea6f9809c992a6633927cb02e
7
- data.tar.gz: a04d0dcb91401c6aef9347f39d279d27615d0d973b8a0bcc9b930d2bedc7f9debeee0c91c78819fb5c85a4f7704ed41fc8fae7ba4ae226fe5678b20a423dbb77
6
+ metadata.gz: f7b67e0e16a786527e983d30ac133d64c51bb7b9b0ace3d718e787d79b7c32be6f34d4dfa1f03302b3e90054ba1128e701812802f46885f86a28511c1f38c210
7
+ data.tar.gz: ea750da83fb336228c46b0eec373d9a4227556bba420b90482a4a4661ec56145c69b548de98f7cef292b67dea75d6e6fdb3495044aee18cb136af5471a278923
@@ -7,7 +7,7 @@ module Settingson::Base
7
7
  end
8
8
 
9
9
  def to_s
10
- self.new_record? ? '' : super
10
+ self.new_record? ? '' : YAML.load(self.value).to_s
11
11
  end
12
12
 
13
13
  def method_missing(symbol, *args)
@@ -1,3 +1,3 @@
1
1
  module Settingson
2
- VERSION = "1.2.17"
2
+ VERSION = "1.2.18"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: settingson
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.17
4
+ version: 1.2.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - dan