contentful-database-importer 0.5.0 → 0.6.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
  SHA256:
3
- metadata.gz: 0eadd3be57ddc08bd6f494eb11163a025f554a7873e6709500f2d98f7407214f
4
- data.tar.gz: 681bf90f7c4bd04110f758ceb3762912196c10e906f92d637ec19d984e87eca3
3
+ metadata.gz: eeead71e7d9404891db466f80a47b742bb6b46887c0a010bebcdbd7e1cf99cc7
4
+ data.tar.gz: 6e5ded1ac20fc052fa661c036a7473943fa526f8ca8ecc5ca20524aed6d40140
5
5
  SHA512:
6
- metadata.gz: f77d9d58adbdb9bdfe76d0475a504c7e476c690524b8a0cf8faa9905493e9bd8e9d0acea7138a394ba3cdd62637d8ce0457aa1f299328c77af7a772d06c2e00d
7
- data.tar.gz: 86ff13d03eff0422a616422df4ea04521b6256b4598014b4541c396dc7a18e7a9d4a702ebd4749d4d52cbeeecc22e4d99c7706eae40d8d0d2da52758a6241239
6
+ metadata.gz: e1e961a15bb957bf573c520e9a12b559f6d271b0d23b115aeff2ab145eb13bbede3749833bfb1d4549e43adfb4af324f8bc8bc78ce05395224cee1cbda8d4e11
7
+ data.tar.gz: 339eec6c3117d9d74708b2e2e4c35cf1741e7044b80e002aeec5b3b4768df0edd0f506b8bd198a9424e5b6d54f1f290c5e0753d74e6776c607025b7a1888f7ca
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.6.0
6
+ ### Added
7
+ * Added support for `Time` coercion. [#21](https://github.com/contentful/contentful-database-importer.rb/pull/21)
8
+
5
9
  ## 0.5.0
6
10
  ### Added
7
11
  * Support for environments.
@@ -70,7 +70,7 @@ module Contentful
70
70
 
71
71
  def coerce_date(value)
72
72
  case value
73
- when Date, DateTime
73
+ when Time, Date, DateTime
74
74
  value.iso8601
75
75
  when String
76
76
  value
@@ -1,5 +1,5 @@
1
1
  module Contentful
2
2
  module DatabaseImporter
3
- VERSION = '0.5.0'.freeze
3
+ VERSION = '0.6.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contentful-database-importer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Contentful GmbH (David Litvak Bruno)
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-18 00:00:00.000000000 Z
11
+ date: 2018-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: contentful_bootstrap