conglomerate 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/conglomerate/serializer.rb +4 -2
- data/lib/conglomerate/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: dac49f10d492b562ad8a9e9e01dd510d1e153f4d
|
4
|
+
data.tar.gz: 2135e7554e814fed47ab509555027451703e01f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5e31a22776e551119a344bad716c5bc79d09de0de18ce939e22e624b79b96b1ab37a5bb611cf13664b2d8e17cc7ef9d65a6295df45601f836f260ca0851170e
|
7
|
+
data.tar.gz: 7215b0dae33f4acaef3549d2a4ab39f87abd94a91f2caea55e4392a4c46209b9d2cdbf63184aad1a6360e0af5820438450dcbaac6036c7bd4a5cef38ba5b0f8c
|
@@ -212,8 +212,10 @@ module Conglomerate
|
|
212
212
|
|
213
213
|
def format_value(value)
|
214
214
|
case value
|
215
|
-
when DateTime
|
216
|
-
value.iso8601.sub(/\+00:00$/, "Z")
|
215
|
+
when DateTime
|
216
|
+
value.to_time.utc.iso8601.sub(/\+00:00$/, "Z")
|
217
|
+
when Time
|
218
|
+
value.utc.iso8601.sub(/\+00:00$/, "Z")
|
217
219
|
when Date
|
218
220
|
value.strftime("%Y-%m-%d")
|
219
221
|
else
|
data/lib/conglomerate/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: conglomerate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane Emmons
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-06-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|