sibit 0.7.6 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/sibit +2 -0
- data/lib/sibit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '048a38f261e97782ba518f01532bf16277f6902279220bef3dcf2fdcbcd30a02'
|
4
|
+
data.tar.gz: 0ba3b10db4ec304019a79d9ca95330b6935560cf8f77d7247f8219f6d0a6934b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f42c926db24b050b6e0425c030e62695c42a48b002eb1d89555fda8c5f7f8fdff983fc0e5a1321b04bf507989a2fcc4ad207fde5951212cb5a3b209af474d9f3
|
7
|
+
data.tar.gz: 54aca991f7aded45ea28726156b732f2a42ddff0f44a633791bd672c5b82a24d0f43d4d0c856c718f92009a706d04a2a014ce064b370db65d82b57b739a778fb
|
data/bin/sibit
CHANGED
@@ -67,8 +67,10 @@ Options are:"
|
|
67
67
|
when 'pay'
|
68
68
|
amount = opts.arguments[1]
|
69
69
|
raise 'Amount argument is required' if amount.nil?
|
70
|
+
amount = amount.to_i if /^[0-9]+$/.match?(amount)
|
70
71
|
fee = opts.arguments[2]
|
71
72
|
raise 'Miners fee argument is required' if fee.nil?
|
73
|
+
fee = fee.to_i if /^[0-9]+$/.match?(fee)
|
72
74
|
sources = opts.arguments[3]
|
73
75
|
raise 'Addresses argument is required' if sources.nil?
|
74
76
|
target = opts.arguments[4]
|
data/lib/sibit/version.rb
CHANGED