cita-sdk-ruby 0.22.0 → 0.23.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: aef5b08709132f84870d3f6da5aa81956778264d4a7427729d1a90f04300acf3
4
- data.tar.gz: 961b38d6a5ecad552b37bb3a57d1f51a408701b2c4e79677d06c5ed14a04f22b
3
+ metadata.gz: 8ea59119ebcab716aa5c329e63aee5a25bcdd93705240ff623925b9447bb25e4
4
+ data.tar.gz: e29755492412d1dd392d77918e76194622538096dc65ef6db341d6bffae31866
5
5
  SHA512:
6
- metadata.gz: 4d631e499540d5b84bc5cffd7f13c194f654718793b9033001d283bdf35cf183810085e08128bf4c42d12200201ca38d8e72855b5e59153daec0840670ddc5b6
7
- data.tar.gz: 54e5642d54e93cdc41f9843f6fade1cf384f0f651c4a5d4d7e9336b75bc959bad19135f52b6a40e06a5516f8779f5ea5d78be9ff7c384725eb02672f14cafd55
6
+ metadata.gz: d47ca1bfe3369010cba48fe50ac53026cd7a3cb8ace96778ed0718441181a6a062e0101a3162aea0d87858e25de59d1e23143629fcc8403c3859d6c6c7528008
7
+ data.tar.gz: 1aff39ad3732460b827b3260c01d5cd28cef74533f79066b2d411ca3187c35fb054534349aaa402ce6923fa0289659344a11ea1b05d201293958b30fb9f14937
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cita-sdk-ruby (0.22.0)
4
+ cita-sdk-ruby (0.23.0)
5
5
  activesupport (~> 5.2.1)
6
6
  ciri-crypto (= 0.1.1)
7
7
  faraday (~> 0.15.3)
@@ -11,7 +11,7 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- activesupport (5.2.2)
14
+ activesupport (5.2.3)
15
15
  concurrent-ruby (~> 1.0, >= 1.0.2)
16
16
  i18n (>= 0.7, < 2)
17
17
  minitest (~> 5.1)
@@ -26,13 +26,13 @@ GEM
26
26
  ciri-utils (0.2.2)
27
27
  digest-sha3 (~> 1.1.0)
28
28
  coderay (1.1.2)
29
- concurrent-ruby (1.1.4)
29
+ concurrent-ruby (1.1.5)
30
30
  diff-lcs (1.3)
31
31
  digest-sha3 (1.1.0)
32
32
  faraday (0.15.4)
33
33
  multipart-post (>= 1.2, < 3)
34
34
  ffi (1.10.0)
35
- google-protobuf (3.7.0)
35
+ google-protobuf (3.7.1)
36
36
  i18n (1.6.0)
37
37
  concurrent-ruby (~> 1.0)
38
38
  jaro_winkler (1.5.1)
@@ -92,4 +92,4 @@ DEPENDENCIES
92
92
  rubocop (~> 0.59)
93
93
 
94
94
  BUNDLED WITH
95
- 1.17.2
95
+ 1.17.3
data/README.md CHANGED
@@ -79,6 +79,10 @@ response = contract.send_func(tx: tx, private_key: private_key, method: :transfe
79
79
 
80
80
  ## CHANGELOG
81
81
 
82
+ ### v0.23.0
83
+
84
+ * add `getVersion` and `peersInfo` RPC methods
85
+
82
86
  ### v0.22.0
83
87
 
84
88
  * support CITA v0.22
@@ -5,7 +5,7 @@ module CITA
5
5
  class RPC
6
6
  attr_reader :url, :http
7
7
 
8
- # CITA v0.18 RPC list
8
+ # CITA v0.23 RPC list
9
9
  METHOD_NAMES = %w(
10
10
  peerCount
11
11
  blockNumber
@@ -29,6 +29,8 @@ module CITA
29
29
  getMetaData
30
30
  getBlockHeader
31
31
  getStateProof
32
+ getVersion
33
+ peersInfo
32
34
  ).freeze
33
35
 
34
36
  def initialize(url)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CITA
4
- VERSION = "0.22.0"
4
+ VERSION = "0.23.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cita-sdk-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - classicalliu