reso 0.1.5.5 → 0.1.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mapper.rb +1 -1
- data/lib/reso/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c92d95f65c8ff8c321535d58effe88deca71b69
|
4
|
+
data.tar.gz: 5b60ffd585d70356dc10079ee9795ff5eb7ae5f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: caf3d6c668efe9d7e7a5ec84c7fffd9bf4070611e28df99d282c9ad60b99dfa8b4b567722c7eb5ed828e318a8080b6d03534adf3b356f58c4c4128dac59c73b3
|
7
|
+
data.tar.gz: aa38cd92785a65e72dde7eccef2159b97f1fc456aa7b822f0eeef48e7ee88161ea6d205fa499b9e745a153cdb06ddacc855024ec30fe3832e57a23c315aa7314
|
data/lib/mapper.rb
CHANGED
@@ -113,7 +113,7 @@ module Mapper
|
|
113
113
|
)
|
114
114
|
|
115
115
|
def self.fetch_enumeration class_name, item_name
|
116
|
-
Rails.cache.fetch([class_name, item_name], expires_in:
|
116
|
+
Rails.cache.fetch([class_name, item_name], expires_in: 12.hours) do
|
117
117
|
class_name.constantize.find_by(name: item_name)
|
118
118
|
end
|
119
119
|
end
|
data/lib/reso/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.5.
|
4
|
+
version: 0.1.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Edlund
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|