restool 1.0.8 → 1.0.9

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: 379ed4549091f4e68d16b2a6e42c9c764278e503d729eea1f81e307da379f0d4
4
- data.tar.gz: 6e6bde690f5ddc50f31735acb8e09bdc39543296ace6194746fb030f3b999877
3
+ metadata.gz: 54aafd4653f3e0731a730bd9cb1980f32627c700f0115e951f81a98c36394554
4
+ data.tar.gz: 190778d772811b36dcad7dc21e8adc9e66f0850e49e7c43fcddde7a92d20206c
5
5
  SHA512:
6
- metadata.gz: 3184b135a7c5d638f1ad862e21ea4d19e1a9f7bba34e9502f44e22ec27e5d923d3192e214febea2806263e569a68c208c880de5ce4b2dfb359a39c8e1f15a4cb
7
- data.tar.gz: 11a268d88aa2ded0db811ed989c7be4dff3baded99f41ab9bf70d459a88298bd74bfdec7514cca38c06378f1f9a224155709cf82cf7c3b1a9e4244f697f7a374
6
+ metadata.gz: 6d11e6e4f27ae0409c1ec7cbb20410ce2e64ff179d6dedb48195278148879ee1d439ba4109daec54be169f4c0b1eef3698728580f908c144937f2dfcb5b47f22
7
+ data.tar.gz: cf06a3072c062e965bed39b7a5889402cb18bdc679b10b3655b445afb78cf9364fef8d4e23d6713988fbf9d916c8bee7fbceaa0d7ae0edaae324ee3387dca7bb
@@ -91,9 +91,9 @@ module Restool
91
91
  when Restool::Traversal::TRAVERSAL_TYPE_INTEGER
92
92
  Integer(value)
93
93
  when Restool::Traversal::TRAVERSAL_TYPE_DECIMAL
94
- BigDecimal.new(scalar)
94
+ value.to_s.to_f
95
95
  when Restool::Traversal::TRAVERSAL_TYPE_BOOLEAN
96
- value.downcase == 'true'
96
+ value.to_s.downcase == 'true'
97
97
  end
98
98
  end
99
99
 
@@ -1,3 +1,3 @@
1
1
  module Restool
2
- VERSION = '1.0.8'
2
+ VERSION = '1.0.9'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Andres Zeni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-03 00:00:00.000000000 Z
11
+ date: 2022-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec