kabutops 0.1.2 → 0.1.3

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: 47c19efbb1d1f231ba44e5d19b0b29e52e948348
4
- data.tar.gz: e9b7acd6a3808155f82ae4d74c83afb7f208fb16
3
+ metadata.gz: ee6fdbcbe78cac46eafcf36dd23d73d8e8162761
4
+ data.tar.gz: 0dca7de4c79eea4c262ebf898fb2466a47ea9885
5
5
  SHA512:
6
- metadata.gz: c9a9704dd8c0009fe35dbc47d0199246f67f4f4435730ce28247bac895394780abc1a17cf1b68c7e42e6a7f4665dcd8a4fb468890588ad58ec973a5708de0f48
7
- data.tar.gz: c56de35682752cf9b672a9aac4494a10d8edc94c801e5dedda9dfe3c29350c2907969eb8e100866131a27a52a28e73fdf4139511cf0097993b6a48ba682795f7
6
+ metadata.gz: 1074ad16f3f56d1229bca764300da2dbe238c523b934d71bff7d06ad68a346a4abf70255ddabb25aebbfae1242b0211d06db425ac2c90ee637218ff2fd124569
7
+ data.tar.gz: ac931d6b3247dfc5319a54dda7b2187a35cf4a8da8b2984328e06343273e058310acd9be80ab11c71d02d7b16fe04cb73068e1393236eab6260ff6fe7a05e372
@@ -42,7 +42,7 @@ module Kabutops
42
42
  case @convert_to
43
43
  when nil then v
44
44
  when :int then v[/\d+/].to_i
45
- when :float then v[/\d+(\.\d+)?/].to_f
45
+ when :float then v.gsub(',', '.')[/\d+(\.\d+)?/].to_f
46
46
  end
47
47
  end
48
48
  end
@@ -1,5 +1,5 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
 
3
3
  module Kabutops
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kabutops
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rene Klacan