peatio 0.5.1 → 0.6.0

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
  SHA256:
3
- metadata.gz: 19e4587348d9e3ef0967a19ca63089397f8a3acc49b5b565eae0a23cc071bc23
4
- data.tar.gz: 2ce821a3fd697ab8afa53161d197e601961b14d3f9314d778757894e8c0f75b0
3
+ metadata.gz: 8051f3779f339ff4ad11a483b963df61a38eaf315d66645f0c4ca448543cf831
4
+ data.tar.gz: 13373c29bac5c6784f15d5664a01251c78e9772895cd0700f94c35a200589856
5
5
  SHA512:
6
- metadata.gz: d7c9015c4cc3eb3c6cf0b67ab9925ebff6a968c3a6a3f05a5ad947e602c11859460e74eb626d4ac304bd7bf622bbfbb0ae1e1538aabfa555099586bf89dfabcd
7
- data.tar.gz: a671c3f89623f0f74d8ba80363ab5c9d856c30ebf295a1a2e823b48f58a12cf2f28184a138bd92d11e214fcb08d2eff3109efe36909f5d4c62658221e04b5103
6
+ metadata.gz: 4c73afd9b5038c4729b353f2287d103023b61a81ac7d9518885b3cd139718879039434d14b788cd7c0b9a7e4d6c53d7a3b810a57ac859965ad5cb743aa73662e
7
+ data.tar.gz: a8034bad55e2027cc7520c0f8a5623abcf6fb05684406679b653140d87524938e7e0134050a5d59474e065043b07417a7a291486a8a2d7e95d882fc3105dd0b4
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- peatio (0.5.0)
4
+ peatio (0.6.0)
5
5
  activemodel (~> 5.2.3)
6
6
  amqp
7
7
  bunny
@@ -38,7 +38,7 @@ module Peatio #:nodoc:
38
38
  #
39
39
  # failed - the transaction is failed in the blockchain.
40
40
 
41
- STATUSES = %i[success pending failed].freeze
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
@@ -1,3 +1,3 @@
1
1
  module Peatio
2
- VERSION = "0.5.1"
2
+ VERSION = "0.6.0"
3
3
  end
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.5.1
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-16 00:00:00.000000000 Z
12
+ date: 2019-05-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel