bar-of-progress 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: ee0a9586bd4a588c64c731b1a7daf07d32015fc5
4
- data.tar.gz: 19bb56d81c444a8392b847576501cd98981d7b2d
3
+ metadata.gz: 864bc070fa8e608bd0f9ab2fe71ccaddd47b9730
4
+ data.tar.gz: bb543ee7b14fa25f618bbaf786e4222bd19ebc0d
5
5
  SHA512:
6
- metadata.gz: 7dcd0ef35a006ab61416e7dae643bf03d570ae9131b5ef6bedd73060b3cefe981773d835d969aca82c51003bd5f69675d8aaf522d082ae40430e0bfcec199d78
7
- data.tar.gz: 7c2aa02ac6127adea032a40c8596d4902ade6897b3cc1176c2f15555d24013c40fd6c2cd5eb3a764426e38e4273291f707159a0fc18bc03f4616aeb439399436
6
+ metadata.gz: afe5d9698529115a6cef96a26295a8375ae143b2e1e136dc4c61e080f376bb71476423a90721a2ee85e438d2bd80850f986c5477962015b778498879c2551d53
7
+ data.tar.gz: e63acc2468dc2ff73b034d317bf254af25d585af5eeaf1d2e7e9e963aef4ae52bfc2f90b0c7de3015e31ca48c924c48608e2b41c60308b984ef54c453af4235f
@@ -48,11 +48,7 @@ private
48
48
  end
49
49
 
50
50
  def to_d(thing)
51
- if thing.kind_of?(Float)
52
- BigDecimal(thing, Float::DIG)
53
- else
54
- BigDecimal(thing)
55
- end
51
+ BigDecimal(thing.to_s)
56
52
  end
57
53
 
58
54
  class Output
@@ -1,3 +1,3 @@
1
1
  class BarOfProgress
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bar-of-progress
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
  - Justin Searls