valuable 0.9.11 → 0.9.12

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: 2a60fe8e5d0483aaf30741b88d9402e5953bb880
4
- data.tar.gz: 3563930067b4046a967e1c295504f71ac80ed2c4
3
+ metadata.gz: e8e6611d7f14d540de2e9af5e14f5c361f231867
4
+ data.tar.gz: 6f41e3ca7e14c92be80f48f4ecdbd707e6218137
5
5
  SHA512:
6
- metadata.gz: d934ef17cc0bb98b12684e9d23e41adc4320898683d03f70170c52b5b38d56ce676c0608c2574c8db4a8e140c681c54b638468294e2299c4f5db3214ab08c48b
7
- data.tar.gz: a73e26d8ffe8c50e1d971e7c5ec8c95a1708ae33abada1d2eedfdd18bbbc4099555999045fdbd53bc4acce43f88b84f4dc108641a95f768a0816f3ce581f0daf
6
+ metadata.gz: 028179bc5fb3c9a23d0b6cb42f18857fa78687ff7a3f80711bafe09853e6ab310557cb3fa2662a7cf9c1f39f92130666cb9e014226a9aee521ddbb0b01ac6882
7
+ data.tar.gz: 0b5119b7fd419f893a0735d525d1c10e0c7a776f248e7fbdc542f3fcde115bdaaf5f9d541b14b1557037cea6c9a3b5fa9cd71e188b9b688bd259a04aa7ecb999
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- valuable (0.9.10)
4
+ valuable (0.9.12)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -1,6 +1,7 @@
1
1
  # Trying to extract as much logic as possible to minimize the memory
2
2
  # footprint of individual instances. Feedback welcome.
3
3
  require 'bigdecimal'
4
+ require 'date'
4
5
 
5
6
  module Valuable::Utils
6
7
  class << self
@@ -61,7 +62,7 @@ module Valuable::Utils
61
62
  when "ActiveSupport::TimeWithZone", "Time", "DateTime"
62
63
  value.to_date
63
64
  when "String"
64
- value && DateTime.parse(value)
65
+ value && Date.parse(value)
65
66
  else
66
67
  value
67
68
  end
@@ -1 +1 @@
1
- 0.9.11
1
+ 0.9.12
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: valuable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.11
4
+ version: 0.9.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johnathon Wright
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-13 00:00:00.000000000 Z
11
+ date: 2016-04-24 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Valuable is a ruby base class that is essentially attr_accessor on steroids.
14
14
  A simple and intuitive interface allows you to get on with modeling in your app.