crypto_unit 0.1.4 → 0.1.4.1

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: 7eae95f826b3db91a4add332406ec2da1630c38a
4
- data.tar.gz: 96fbd2878eaecfc56dc6d63768da83868e20bb22
3
+ metadata.gz: 00c235a8459b5e64509dce065410b0ac18693296
4
+ data.tar.gz: ec1b2a4e2f5475ef0e9cd806ed71caea9f283bbc
5
5
  SHA512:
6
- metadata.gz: 64607b48ac3d54aca07746cfca20bfb619945db12476b19faecd389cc259d94c06f591a1a14043fc4971c80238c669ddc4a7f6a3b1b0112e46dcd24b64d7cf01
7
- data.tar.gz: 136f20b2fb90fd0d4102410266c89739ff3260880394949a55f1bb8d53505290483137a187ebc0f527927c52451afc4ba811b5f53615149ca633bc759ca1b56f
6
+ metadata.gz: 74921e2dc3e58b2269a1b89f3f2b082eb6a1a9f1bb76abd607920700b3851e81c629761dc3b4593a3316650f9fc609be96bbf4c30cf0943f535df2d1ba517e0e
7
+ data.tar.gz: 333a38edb7f51e66e8017600da62ff795c9e7e08cef0cf92075b4dc9e91af6c9b24e778b0f19b34a76e7af49e6d4b961257e98120edd682e545031ccdcfe8144
data/examples/example.rb CHANGED
@@ -1,15 +1,15 @@
1
1
  require_relative '../lib/crypto_unit'
2
2
 
3
3
  # BTC UNIT
4
- p 5.satoshi
4
+ p 5.satoshi.to_f
5
5
 
6
6
  # ETHER UNIT
7
- p 3.ether
7
+ p 3.ether.to_f
8
8
 
9
- p 2.finney
9
+ p 2.finney.to_f
10
10
 
11
11
  # LTC unit
12
12
 
13
- p 3.lites
13
+ p 3.lites.to_f
14
14
 
15
- p 5.photones
15
+ p 5.photones.to_f
@@ -1,3 +1,3 @@
1
1
  module CryptoUnit
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.4.1"
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
4
+ version: 0.1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - 山本憲