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 +4 -4
- data/.travis.yml +1 -0
- data/Gemfile.lock +10 -10
- data/README.md +15 -10
- data/cita.gemspec +1 -1
- data/lib/cita/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aef5b08709132f84870d3f6da5aa81956778264d4a7427729d1a90f04300acf3
|
4
|
+
data.tar.gz: 961b38d6a5ecad552b37bb3a57d1f51a408701b2c4e79677d06c5ed14a04f22b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d631e499540d5b84bc5cffd7f13c194f654718793b9033001d283bdf35cf183810085e08128bf4c42d12200201ca38d8e72855b5e59153daec0840670ddc5b6
|
7
|
+
data.tar.gz: 54e5642d54e93cdc41f9843f6fade1cf384f0f651c4a5d4d7e9336b75bc959bad19135f52b6a40e06a5516f8779f5ea5d78be9ff7c384725eb02672f14cafd55
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cita-sdk-ruby (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.
|
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.
|
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.
|
29
|
+
concurrent-ruby (1.1.4)
|
30
30
|
diff-lcs (1.3)
|
31
31
|
digest-sha3 (1.1.0)
|
32
|
-
faraday (0.15.
|
32
|
+
faraday (0.15.4)
|
33
33
|
multipart-post (>= 1.2, < 3)
|
34
|
-
ffi (1.
|
35
|
-
google-protobuf (3.
|
36
|
-
i18n (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.
|
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.
|
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.
|
82
|
+
### v0.22.0
|
83
83
|
|
84
|
-
*
|
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.
|
94
|
-
|
95
|
-
* rename to `cita-sdk-ruby`
|
96
|
-
* rename top module name to `CITA`
|
103
|
+
### v0.1
|
97
104
|
|
98
|
-
|
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
|
|
data/cita.gemspec
CHANGED
@@ -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.
|
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"
|
data/lib/cita/version.rb
CHANGED
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.
|
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-
|
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.
|
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.
|
110
|
+
version: '3.7'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: ciri-crypto
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|