rails-settings-cached 2.9.5 → 2.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +3 -1
- data/lib/rails-settings/fields/base.rb +3 -3
- data/lib/rails-settings/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d05d1205c697134a64a5b91c47318c54b91d8ad7f7c8864c267d412811d489d
|
4
|
+
data.tar.gz: 36ba97af3af1eaba42038f09622555a072219d1ab95f69dacd63710e3f0c3e27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 144d2d98f2915856c9e59c5b7a7d1b4fffcb48ef060d13a79ac08d58f5588481ea57fbbb742e6132aa152c18cbed414eeb792a532745ec97446a3db2176564d7
|
7
|
+
data.tar.gz: 9e3531e3905ef62d7273f87e4bec539ebbcebf7c7b2a32d0d78e22e09a52bbe99736c17af586b9963adc1e35149980f75376d0de8575b14b691c8ad9633d67df
|
data/MIT-LICENSE
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
Original Copyright (c) 2006 Alex Wayne
|
2
|
+
Some additional features added 2009 by Georg Ledermann
|
1
3
|
Copyright (c) 2019 Jason Lee
|
2
4
|
|
3
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
@@ -17,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOa AND
|
|
17
19
|
NONINFRINGEMENT. IN NO EVENT SaALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
20
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
21
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -33,9 +33,9 @@ module RailsSettings
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def read
|
36
|
-
|
37
|
-
|
38
|
-
deserialize(
|
36
|
+
stored_value = saved_value
|
37
|
+
return deserialize(default_value) if readonly || stored_value.nil?
|
38
|
+
deserialize(stored_value)
|
39
39
|
end
|
40
40
|
|
41
41
|
def deserialize(value)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-settings-cached
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10
|
11
|
+
date: 2024-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|