feature_setting 1.3.3 → 1.4.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6687c023f1275645ce2b345fadfde38336bb20e8
|
4
|
+
data.tar.gz: f4cdd18d578ac303cac874fa09faeb0db41033bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53e55b5bf5d1586ec556b0be1f73492038aadb62cc970d1353f7feaf545747c388cb8990c70e60e25faae3c8871c3686fdae9dc316af46bf0bdecbae4074b5f1
|
7
|
+
data.tar.gz: 3b3819bb3c31274a749b30fd5c9caa3476e19767a7b269ca1813706a4da16b55b447a4e3630c851db7c539d9fda3275dd91a16e183d283ad3deccbad48133b63
|
@@ -86,7 +86,6 @@ module FeatureSetting
|
|
86
86
|
end
|
87
87
|
|
88
88
|
def convert_to_type(value, type)
|
89
|
-
p type
|
90
89
|
case type
|
91
90
|
when 'String'
|
92
91
|
value.to_s
|
@@ -105,7 +104,7 @@ module FeatureSetting
|
|
105
104
|
when 'Array'
|
106
105
|
value.split('|||')
|
107
106
|
when 'Hash'
|
108
|
-
JSON.parse(value).try(:
|
107
|
+
JSON.parse(value).try(:with_indifferent_access)
|
109
108
|
end
|
110
109
|
end
|
111
110
|
|