peatio 0.5.1 → 0.6.0
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/peatio/transaction.rb +2 -2
- data/lib/peatio/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8051f3779f339ff4ad11a483b963df61a38eaf315d66645f0c4ca448543cf831
|
|
4
|
+
data.tar.gz: 13373c29bac5c6784f15d5664a01251c78e9772895cd0700f94c35a200589856
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c73afd9b5038c4729b353f2287d103023b61a81ac7d9518885b3cd139718879039434d14b788cd7c0b9a7e4d6c53d7a3b810a57ac859965ad5cb743aa73662e
|
|
7
|
+
data.tar.gz: a8034bad55e2027cc7520c0f8a5623abcf6fb05684406679b653140d87524938e7e0134050a5d59474e065043b07417a7a291486a8a2d7e95d882fc3105dd0b4
|
data/Gemfile.lock
CHANGED
data/lib/peatio/transaction.rb
CHANGED
|
@@ -38,7 +38,7 @@ module Peatio #:nodoc:
|
|
|
38
38
|
#
|
|
39
39
|
# failed - the transaction is failed in the blockchain.
|
|
40
40
|
|
|
41
|
-
STATUSES = %
|
|
41
|
+
STATUSES = %w[success pending failed].freeze
|
|
42
42
|
|
|
43
43
|
# @!attribute [rw] hash
|
|
44
44
|
# return [String] transaction hash
|
|
@@ -96,7 +96,7 @@ module Peatio #:nodoc:
|
|
|
96
96
|
# status.failed? # true if transaction status 'failed'
|
|
97
97
|
# status.success? # true if transaction status 'success'
|
|
98
98
|
def status
|
|
99
|
-
@status&.inquiry
|
|
99
|
+
@status&.to_s&.inquiry
|
|
100
100
|
end
|
|
101
101
|
end
|
|
102
102
|
end
|
data/lib/peatio/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: peatio
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Louis B.
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2019-05-
|
|
12
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activemodel
|