cita-sdk-ruby 0.21.0 → 0.22.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: 13fa5f39c9959e2ad5e9ac909e53abd2b28e9a4622c2e6308092dc7d973b4689
4
- data.tar.gz: 7e1cfdbf8c05e9c0505d563d5ffd7141894b9ef23b878623d863066b50e18087
3
+ metadata.gz: aef5b08709132f84870d3f6da5aa81956778264d4a7427729d1a90f04300acf3
4
+ data.tar.gz: 961b38d6a5ecad552b37bb3a57d1f51a408701b2c4e79677d06c5ed14a04f22b
5
5
  SHA512:
6
- metadata.gz: a6a162dd52d2c41de0c2b62126b36a1094fdd25d0e1f063f46ecf3e2cd33dc3fba44532ce2f49eddb4130c4f5276b2788282b51a79303a3a7ab071ef0146dea1
7
- data.tar.gz: c02e438621c191e2d9eadd074e6c95a409334dee6e914b139e6df8662d00b707659ce4856c3f1b3ffe56453f3c970b9f3eeccc771969cb3107091a82676893f4
6
+ metadata.gz: 4d631e499540d5b84bc5cffd7f13c194f654718793b9033001d283bdf35cf183810085e08128bf4c42d12200201ca38d8e72855b5e59153daec0840670ddc5b6
7
+ data.tar.gz: 54e5642d54e93cdc41f9843f6fade1cf384f0f651c4a5d4d7e9336b75bc959bad19135f52b6a40e06a5516f8779f5ea5d78be9ff7c384725eb02672f14cafd55
@@ -5,6 +5,7 @@ cache: bundler
5
5
  rvm:
6
6
  - 2.4.5
7
7
  - 2.5.3
8
+ - 2.6.1
8
9
  before_install: gem install bundler -v 1.16.6
9
10
  install:
10
11
  - cd secp256k1 && ./autogen.sh && ./configure --enable-module-recovery --enable-experimental --enable-module-ecdh && make && sudo make install && cd ..
@@ -1,17 +1,17 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cita-sdk-ruby (0.21.0)
4
+ cita-sdk-ruby (0.22.0)
5
5
  activesupport (~> 5.2.1)
6
6
  ciri-crypto (= 0.1.1)
7
7
  faraday (~> 0.15.3)
8
- google-protobuf (~> 3.6)
8
+ google-protobuf (~> 3.7)
9
9
  web3-eth (~> 0.2.16)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- activesupport (5.2.1)
14
+ activesupport (5.2.2)
15
15
  concurrent-ruby (~> 1.0, >= 1.0.2)
16
16
  i18n (>= 0.7, < 2)
17
17
  minitest (~> 5.1)
@@ -26,14 +26,14 @@ 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.0.5)
29
+ concurrent-ruby (1.1.4)
30
30
  diff-lcs (1.3)
31
31
  digest-sha3 (1.1.0)
32
- faraday (0.15.3)
32
+ faraday (0.15.4)
33
33
  multipart-post (>= 1.2, < 3)
34
- ffi (1.9.25)
35
- google-protobuf (3.6.1-universal-darwin)
36
- i18n (1.1.1)
34
+ ffi (1.10.0)
35
+ google-protobuf (3.7.0)
36
+ i18n (1.6.0)
37
37
  concurrent-ruby (~> 1.0)
38
38
  jaro_winkler (1.5.1)
39
39
  method_source (0.9.0)
@@ -75,7 +75,7 @@ GEM
75
75
  tzinfo (1.2.5)
76
76
  thread_safe (~> 0.1)
77
77
  unicode-display_width (1.4.0)
78
- web3-eth (0.2.16)
78
+ web3-eth (0.2.18)
79
79
  digest-sha3 (~> 1.1.0)
80
80
  rlp (~> 0.7.3)
81
81
 
@@ -92,4 +92,4 @@ DEPENDENCIES
92
92
  rubocop (~> 0.59)
93
93
 
94
94
  BUNDLED WITH
95
- 1.16.6
95
+ 1.17.2
data/README.md CHANGED
@@ -79,25 +79,30 @@ response = contract.send_func(tx: tx, private_key: private_key, method: :transfe
79
79
 
80
80
  ## CHANGELOG
81
81
 
82
- ### v0.1
82
+ ### v0.22.0
83
83
 
84
- * supports CITA 0.19
84
+ * support CITA v0.22
85
+
86
+ ### v0.21.0
87
+
88
+ * add `recover` option for decode transaction, for CITA v0.21 provide `from` in `getTransaction` rpc call
89
+ * rename protobuf `Crypto` enum
90
+
91
+ ### v0.20.0
92
+
93
+ * rename to `cita-sdk-ruby`
94
+ * rename top module name to `CITA`
85
95
 
86
96
  ### v0.2
87
-
97
+
88
98
  * supports CITA 0.20 and 0.19
89
99
  * set default transaction version to 1
90
100
  * update TransactionSinger.decode output type to hash with symbol keys
91
101
  * parse TransactionSinger.decode hash value to hex string if it's bytes.
92
102
 
93
- ### v0.20.0
94
-
95
- * rename to `cita-sdk-ruby`
96
- * rename top module name to `CITA`
103
+ ### v0.1
97
104
 
98
- ### v0.21.0
99
- * add `recover` option for decode transaction, for CITA v0.21 provide `from` in `getTransaction` rpc call
100
- * rename protobuf `Crypto` enum
105
+ * supports CITA 0.19
101
106
 
102
107
  ## Contributing
103
108
 
@@ -39,7 +39,7 @@ Gem::Specification.new do |spec|
39
39
  spec.add_development_dependency "awesome_print", "~> 1.8"
40
40
  spec.add_development_dependency "rubocop", "~> 0.59"
41
41
 
42
- spec.add_dependency "google-protobuf", "~> 3.6"
42
+ spec.add_dependency "google-protobuf", "~> 3.7"
43
43
  spec.add_dependency "ciri-crypto", "0.1.1"
44
44
  spec.add_dependency "faraday", "~> 0.15.3"
45
45
  spec.add_dependency "activesupport", "~> 5.2.1"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CITA
4
- VERSION = "0.21.0"
4
+ VERSION = "0.22.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cita-sdk-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - classicalliu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-19 00:00:00.000000000 Z
11
+ date: 2019-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '3.6'
103
+ version: '3.7'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '3.6'
110
+ version: '3.7'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: ciri-crypto
113
113
  requirement: !ruby/object:Gem::Requirement