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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c59715a987bfcf05b5005344ef0c1a72330193a9
4
- data.tar.gz: 5fdd51b3702d7a807473064c048351ff411c73af
3
+ metadata.gz: dac49f10d492b562ad8a9e9e01dd510d1e153f4d
4
+ data.tar.gz: 2135e7554e814fed47ab509555027451703e01f6
5
5
  SHA512:
6
- metadata.gz: b9255df416476d667a41e07d141aa613ae57704c59b798f501df9c61bb3d779e566ce0383d2a4eaae4c880ae99d84cf5a4284788e9a4db8b2ab4c7cac306eeb7
7
- data.tar.gz: e40f478b4a9d83bc8bd697cba3c666608cd30e494a2855a5809a6440dda256fcf2c447e82a3258a172845afa0dad7100351ee3ec2db2a666d5a0117a24469248
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, Time
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
@@ -1,3 +1,3 @@
1
1
  module Conglomerate
2
- VERSION = "0.9.0"
2
+ VERSION = "0.10.0"
3
3
  end
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.9.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-05-20 00:00:00.000000000 Z
12
+ date: 2014-06-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler