class_kit 0.7.0 → 0.7.1

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: 989b0fa8ae54bae48724ae95934a9dd7a8872b345d1f1f4f6bb6d3071791ff21
4
- data.tar.gz: 13f1992842fc11af845c6e6f2b2a242a204326ac4b8a4fd3645e0c2a01047acf
3
+ metadata.gz: 5862b302a6e1c4dddaa15da72f07cc526de5ae2dd0c61c7aed4abec281656cc8
4
+ data.tar.gz: 3fee66206edb8a6bdf64911420d00e5057f16e30206b032b2a674a585a9d7408
5
5
  SHA512:
6
- metadata.gz: b3dd9a041acaacfac965cfe4891d82d968630d05a1dbcf37340472f5f124ceafd5c51d43d3437047d2afdb1a67da5f10d63de691643c970dc3bec9fa3cd6f52f
7
- data.tar.gz: 31fa61992fea8bed0ef6f5e721ef1a7b3c507ee173afaecb1627bb3763ca83aa6a0245d4ae245fa0a191590ce50e196a4b869ea9a96a12e28645a8f1a94d4aa9
6
+ metadata.gz: e0aa0a7303439cf8c049dbaa4d0876cdcdfdec51d10adf68455ff9bebf951c0c73544eea8f56e7bdcb59835f04c78de6d975ceff6aad0e687abdb921139b857b
7
+ data.tar.gz: 4d793c93ff3170a45aab2cce0a91ee6dbd4209bc3490af5be019e0601d9370f6cb7ca5d240209b9dc52252d8b865f80c8cc169a30c1dcc1274230314fb94c78f
@@ -9,7 +9,7 @@ module ClassKit
9
9
  if type == Time
10
10
  if value.is_a?(Time)
11
11
  value
12
- elsif value.is_a?(Integer) || value.is_a?(Float)
12
+ elsif value.is_a?(Integer) || value.is_a?(Float) || value.is_a?(BigDecimal)
13
13
  Time.at(value)
14
14
  else
15
15
  Time.parse(value)
@@ -1,5 +1,5 @@
1
1
  # Namespace
2
2
  module ClassKit
3
3
  # :nodoc:
4
- VERSION = '0.7.0'
4
+ VERSION = '0.7.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: class_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sage One
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-10 00:00:00.000000000 Z
11
+ date: 2018-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  version: '0'
147
147
  requirements: []
148
148
  rubyforge_project:
149
- rubygems_version: 2.7.6
149
+ rubygems_version: 2.7.7
150
150
  signing_key:
151
151
  specification_version: 4
152
152
  summary: Toolkit for working with classes