decanter 0.9.0 → 0.9.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
  SHA1:
3
- metadata.gz: 59c4f720f9e7e8d34a163d6b06314adb05aad75e
4
- data.tar.gz: 57fb16ed8e5d10a7b265dfe3a1b201867a938017
3
+ metadata.gz: fe3422ddd696e1cca47cebc7ce69453281520638
4
+ data.tar.gz: f3047fd1327fb5d2ad12bba3ba54585939d67193
5
5
  SHA512:
6
- metadata.gz: 950d5a5e1a6110a19b7acb242fb8baaacd526c969caff7966fa6122c3f3ca53c96e3a6fe7dc8ad74c202ff6986384a8a2f52649282a2c1fce26bd60e72bf634b
7
- data.tar.gz: 10666cd624edba38e980e4e5d90684e62bf8b452905e4a8b882fe0bbfc32e1e5aae237a0e88a3988358a9987195fdd8a0fe419fb07e497e7011fa74d11a15fc9
6
+ metadata.gz: afe0a2456b4f40f78a9f78030272c4891840b081ef36aeb735d23405ad6a62e3f910785fb7adb7a16d89364f609293c90ba954918c62267586a44ed532d39992
7
+ data.tar.gz: 948fe3d24d2691ddb4e113cba1854693b9b84a4ef76ce88724e52e73e7f200a63a31a80817685d36cbba32837f836e6c25ccc5e028e240cb71f5c142053b9fde
@@ -3,7 +3,7 @@ module Decanter
3
3
  class FloatParser < ValueParser
4
4
  REGEX = /(\d|[.])/
5
5
 
6
- allow Float, Fixnum
6
+ allow Float, Integer
7
7
 
8
8
  parser do |val, options|
9
9
  val.scan(REGEX).join.try(:to_f)
@@ -3,7 +3,7 @@ module Decanter
3
3
  class IntegerParser < ValueParser
4
4
  REGEX = /(\d|[.])/
5
5
 
6
- allow Fixnum
6
+ allow Integer
7
7
 
8
8
  parser do |val, options|
9
9
  val.is_a?(Float) ?
@@ -3,7 +3,7 @@ module Decanter
3
3
  class PhoneParser < ValueParser
4
4
  REGEX = /\d/
5
5
 
6
- allow Fixnum
6
+ allow Integer
7
7
 
8
8
  parser do |val, options|
9
9
  val.scan(REGEX).join.to_s
@@ -1,3 +1,3 @@
1
1
  module Decanter
2
- VERSION = '0.9.0'
2
+ VERSION = '0.9.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decanter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Francis
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-06-15 00:00:00.000000000 Z
12
+ date: 2017-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport