activeadmin-settings 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -18,15 +18,15 @@ class ActiveadminSettings::Setting
|
|
18
18
|
|
19
19
|
# Instance
|
20
20
|
def type
|
21
|
-
ActiveadminSettings.all_settings[name]["type"] ||= "string"
|
21
|
+
(ActiveadminSettings.all_settings[name]["type"] ||= "string").to_s
|
22
22
|
end
|
23
23
|
|
24
24
|
def description
|
25
|
-
ActiveadminSettings.all_settings[name]["description"] ||= ""
|
25
|
+
(ActiveadminSettings.all_settings[name]["description"] ||= "").to_s
|
26
26
|
end
|
27
27
|
|
28
28
|
def default_value
|
29
|
-
ActiveadminSettings.all_settings[name]["default_value"] ||= ""
|
29
|
+
(ActiveadminSettings.all_settings[name]["default_value"] ||= "").to_s
|
30
30
|
end
|
31
31
|
|
32
32
|
def value
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin-settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -63,7 +63,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
63
63
|
version: '0'
|
64
64
|
segments:
|
65
65
|
- 0
|
66
|
-
hash:
|
66
|
+
hash: 2281893451753240752
|
67
67
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
68
|
none: false
|
69
69
|
requirements:
|