crypto_unit 0.1.4.1 → 0.1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 00c235a8459b5e64509dce065410b0ac18693296
4
- data.tar.gz: ec1b2a4e2f5475ef0e9cd806ed71caea9f283bbc
3
+ metadata.gz: 0eb2c8cf76033818252cae46dab2ec3d076d1722
4
+ data.tar.gz: 0df19d051f81e884c6a48652f5f0adf279db927d
5
5
  SHA512:
6
- metadata.gz: 74921e2dc3e58b2269a1b89f3f2b082eb6a1a9f1bb76abd607920700b3851e81c629761dc3b4593a3316650f9fc609be96bbf4c30cf0943f535df2d1ba517e0e
7
- data.tar.gz: 333a38edb7f51e66e8017600da62ff795c9e7e08cef0cf92075b4dc9e91af6c9b24e778b0f19b34a76e7af49e6d4b961257e98120edd682e545031ccdcfe8144
6
+ metadata.gz: 48668a48d67a6470f1f2c9ccfc875b2acc2851605a91c4c08845e1c0d514f8e3d7073474b3c296926e8d8df9774bf0e758312c77af018d7adbc28cee97891793
7
+ data.tar.gz: b87e1ad311ba69a0c9c2c80292ba338618541d5a42a559f6fea63d7471fdb437fec1d36a33f10868c199b41cf580d9badd91c8ad27eda6d68f37113f33e45fc7
data/README.md CHANGED
@@ -23,13 +23,13 @@ Or install it yourself as:
23
23
  ```ruby
24
24
  require 'crypto_unit'
25
25
  # BTC UNIT
26
- p 5.satoshi # 5.0e-07
26
+ p 5.satoshi.to_f # 5.0e-07
27
27
  # ETHER UNIT
28
- p 3.ether # 3
29
- p 2.finney # 2000.0
28
+ p 3.ether.to_f # 3
29
+ p 2.finney.to_f # 2000.0
30
30
 
31
31
  # LTC unit
32
- p 3.lites # 0.003
32
+ p 3.lites.to_f # 0.003
33
33
  ```
34
34
 
35
35
  ## Development
@@ -1,7 +1,7 @@
1
1
  require_relative '../lib/crypto_unit'
2
2
 
3
3
  # BTC UNIT
4
- p 5.satoshi.to_f
4
+ p 5.satoshi.to_fs
5
5
 
6
6
  # ETHER UNIT
7
7
  p 3.ether.to_f
@@ -1,3 +1,3 @@
1
1
  module CryptoUnit
2
- VERSION = "0.1.4.1"
2
+ VERSION = "0.1.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crypto_unit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4.1
4
+ version: 0.1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - 山本憲