db_memoize 0.3.10 → 0.3.11
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/VERSION +1 -1
- data/lib/db_memoize/value.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 863ab8bb61c16da8578b0047d538d40cdcaf2f567555dd97f24b698146066af7
|
4
|
+
data.tar.gz: 1558260290eb7b3b68d821f679642b1589be653eda64bdec4b21a8b2bafbb689
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4069e4ed8a024353fd7f1cf378af08c32795b1aaaedc365a6091e56c515b662b3c0118e1a8a66c7b32a535c9d209398fbbc8fdb1a91283011732bbd3c41ac5f4
|
7
|
+
data.tar.gz: 031ccecc72875c72509b75134203c0cc5ff1a7ad6cef82cf449eccca8166c31338b98bbb2129404be853e5641fa81bd8586820049dcec6775975a3deab873938
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.11
|
data/lib/db_memoize/value.rb
CHANGED
@@ -105,7 +105,7 @@ module DbMemoize
|
|
105
105
|
# Instead we'll just pass along a string, postgresql will then convert it
|
106
106
|
# into a proper timestamp.
|
107
107
|
def self._reformat_time(t) # rubocop:disable Naming/UncommunicativeMethodParamName
|
108
|
-
format('%04d
|
108
|
+
format('%04d-%02d-%02d %02d:%02d:%02d.%06d', t.year, t.mon, t.day, t.hour, t.min, t.sec, t.usec)
|
109
109
|
end
|
110
110
|
|
111
111
|
def self._reformat_object(value)
|