class_kit 0.3.0 → 0.3.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: b20c309d94b643964bf86c44e068340b2d755c63
4
- data.tar.gz: 060545a9535b6b92473588488180854b49b0cb65
3
+ metadata.gz: e73454f0878765e15f8b77a294f45fe32a167e7b
4
+ data.tar.gz: 50f2d0108ebcdeba1f3722626c9626b5acb17bdd
5
5
  SHA512:
6
- metadata.gz: 6bff14c110017f3241f4eba01ab2bfdaf41fa8a0ac837f3998ee9558465fffa161739adc8a0e9dfd1d7e44bafe07e74853773726e6f2291abf7d33ddf55615d3
7
- data.tar.gz: 67ea2b16891d7ccc3d628b941a7a199922b963882f11bf2edb592cfd1c5ac7ccb0141403ea56e37b602eb33c176a002edd4e55d057705e5a33183a6c238b3d08
6
+ metadata.gz: 981d42396af504fe48500d6f36546e667c2a176e3916b39f5a62d07fabd9ed4aab69c7552ce1cc9368bdd160f37005124ded06e6d220e9485f61f48cd1791d81
7
+ data.tar.gz: 1d6895a80153caeb8dada828824964daabc5052731e817ac3c27f5d02c560f69ac85fce0d456afd4c4b8f3cd0e2c46bd60cd1e9bcb7e7dc10d065c227f45d79a
@@ -49,7 +49,7 @@ module ClassKit
49
49
  value
50
50
  else
51
51
  value = value.to_s
52
- raise 'Unable to parse BigDecimal' unless value =~ /\A\d+(\.\d*)?/
52
+ raise 'Unable to parse BigDecimal' unless value =~ /\A-?\d+(\.\d*)?/
53
53
  BigDecimal(value)
54
54
  end
55
55
  elsif type == String
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.3.0
4
+ version: 0.3.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: 2017-06-28 00:00:00.000000000 Z
11
+ date: 2017-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler