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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc947f6d7c17fd74d160cedbbafe9b027a24fa4e56192ab4cf515f72ac3eb7b3
4
- data.tar.gz: 2464010525a411701cad88349ff304ada0bf872b1cebdfff6627014ebfe971fe
3
+ metadata.gz: 6d05d1205c697134a64a5b91c47318c54b91d8ad7f7c8864c267d412811d489d
4
+ data.tar.gz: 36ba97af3af1eaba42038f09622555a072219d1ab95f69dacd63710e3f0c3e27
5
5
  SHA512:
6
- metadata.gz: 6e8b7bdccafeffde0dbb610057b1dfd7c4b5b147663dea19880ad94b44186861efb1ec8b6321dc1aa0095938070522aa4bdf3d708db0eb1c74ec77505bbff8d0
7
- data.tar.gz: 83dd5c6cf2faf96424b95dc9a6caaafb30c15f0eb05102eb7285b49cfc479423af3415cbdde3d6b6bb3f1342b437cd982b883572e9214eaa720267e83249fbdc
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
- return deserialize(default_value) if readonly || saved_value.nil?
37
-
38
- deserialize(saved_value)
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)
@@ -3,7 +3,7 @@
3
3
  module RailsSettings
4
4
  class << self
5
5
  def version
6
- "2.9.5"
6
+ "2.9.6"
7
7
  end
8
8
  end
9
9
  end
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.5
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-07 00:00:00.000000000 Z
11
+ date: 2024-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties