istox 0.1.42.13 → 0.1.42.14

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
  SHA256:
3
- metadata.gz: 84a3351f5113b9ebe9841ba2f7d967a126a72b14d216867a065a2b09d7c502a6
4
- data.tar.gz: 82fc0f108d6e11c4ac9ac4f80669c0e3702b17bef640708c2698a8f0c27751ab
3
+ metadata.gz: dcf8eb41f347c697c127cf7358205c1225930c393fc6f905aa4d97eb70a43d68
4
+ data.tar.gz: bed057deb70c062102838f9dddb0a30093e7cd2dff894acd596ba0adfabffbef
5
5
  SHA512:
6
- metadata.gz: cb1ca522bcffc7cccb91da0d230baf4b03ba383c99f5ff672bdd657fccfb669263077de95dd68595e5c3b84f8081904db01eea8bc68061cc205f016d5738a5d0
7
- data.tar.gz: 279f34fc4eb6a9d43b54f72d24436578fedcbef08456fbf3e89641fa766fa965db0963427bbc462f40c0712edd259c57b25649dda559258a29db2206ada6afe4
6
+ metadata.gz: 33ff5011ea803997929839cf0c6bf82979808a720b2a81c7852c075f82034d7edf81aaacb05f1f218c49abd06123b0e8e6bb7f5e7975b784966fa1ba740ac43c
7
+ data.tar.gz: 43982766b83677208e27da959763c0aed40040c617d27ce683225266b1ab8ae40cca4c9ed6afa43ff9341546f2768891321d51bbfc03e79ab84f2f847e3145b5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- istox (0.1.42.12)
4
+ istox (0.1.42.13)
5
5
  bunny (>= 2.12.0)
6
6
  graphlient
7
7
  gruf
@@ -41,15 +41,15 @@ module Istox
41
41
  end
42
42
 
43
43
  def blocks_failed?
44
- @blocks.any? { |obj| obj.status == 'failed' }
44
+ @blocks.any? { |obj| obj.state == 'failed' }
45
45
  end
46
46
 
47
47
  def blocks_pending?
48
- @blocks.empty? || @blocks.any? { |obj| obj.status == 'pending' }
48
+ @blocks.empty? || @blocks.any? { |obj| obj.state == 'pending' }
49
49
  end
50
50
 
51
51
  def blocks_confirmed?
52
- !@blocks.any? { |obj| obj.status == 'pending' } && !@blocks.any? { |obj| obj.status == 'failed' }
52
+ !@blocks.any? { |obj| obj.state == 'pending' } && !@blocks.any? { |obj| obj.state == 'failed' }
53
53
  end
54
54
 
55
55
  def get_block_transactions(txids)
@@ -57,6 +57,7 @@ module Istox
57
57
  query($ids: [String!]!) {
58
58
  blockTransactions(hashes: $ids) {
59
59
  txid
60
+ state
60
61
  }
61
62
  }
62
63
  GRAPHQL
data/lib/istox/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Istox
2
- VERSION = "0.1.42.13"
2
+ VERSION = "0.1.42.14"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: istox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.42.13
4
+ version: 0.1.42.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siong Leng