settingson 1.2.13 → 1.2.14

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: 095b4f7ba5e2556429c7a79f8496c65eb83497a6
4
- data.tar.gz: 9a7f038eace50e8a9b26963a8d3a59cb3e2bfbf4
3
+ metadata.gz: 19e715aec9b96176d6cd7aebbda416bdf6cabb93
4
+ data.tar.gz: aad2785eecaf7966cc7ae752de3726b2bf0c2ee3
5
5
  SHA512:
6
- metadata.gz: 04c86c408364174762b305055b6cb3c8fb25a8912d961106bc2abb794ab2a5502dc28c61e1123dd02accdddbec305c6ea3670bf1285ad313e214ef5ec655d6a2
7
- data.tar.gz: 94b1408c83f44ac7e3854a4c9619aa63faa993ea76a39a0a212b83a9ab935d7613e79626b80818781d7fa1734abcba6c0c3463fed752e79aedcf0665c6ba9d8c
6
+ metadata.gz: 23b96dab3b7bcd2dae0131da6931c3010c77372f9e13fe733c569ac7ee24c97926278160bd36564c6d12d7550b20cdfb0f529b849d2930ebb3344e65e850eff7
7
+ data.tar.gz: 02b22c73a47c579e89c30dbd85660f132872fbe513fd9fd4fd2a303a33e3ca063954c97d4274be91f93f5bd11da29248da52370c6fa659c94905f0b0b5bd4a46
@@ -33,7 +33,8 @@ module Settingson::Base
33
33
 
34
34
  else # getter
35
35
 
36
- @settingson ||= '' || "#@settingson}.#{symbol.to_s}"
36
+ @settingson ||= ''
37
+ @settingson += ".#{symbol.to_s}"
37
38
 
38
39
  if record = self.class.find_by(key: @settingson)
39
40
  YAML.load(record.value)
@@ -1,3 +1,3 @@
1
1
  module Settingson
2
- VERSION = "1.2.13"
2
+ VERSION = "1.2.14"
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.13
4
+ version: 1.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - dan