eth 0.4.16 → 0.4.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/eth.gemspec +1 -1
- data/lib/eth/utils.rb +2 -3
- data/lib/eth/version.rb +1 -1
- data/lib/eth.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d50d2e45f9d5e59e5d56cc1a5f43fd96d892fa991c3479d9f7b74623cc288593
|
4
|
+
data.tar.gz: 519efad7ad2cc42e2402910ad298166dfa9266c552c579232715f8a7fa3b6a8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e38450c7a46789421250fe0f34900d4a1066c500744ba04cf76feddb52cba26bf9c94bc981c7979f07568e74799b3e31e4e887195ae235f29d7a33e3620dae2
|
7
|
+
data.tar.gz: 0c3822f4a19288a63cb73fad38bab8cea19db5873c98ebc78aa5882ff921371617df97c728656ac0144aec2a13ab6c980be516036dfe0895ca6fb4b0a9c0fbb0
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
7
7
|
### Unreleased
|
8
8
|
|
9
|
+
## [0.4.17]
|
10
|
+
### Changed
|
11
|
+
- Gems: bump version to 0.4.17 [#70](https://github.com/se3000/ruby-eth/pull/70)
|
12
|
+
- Gems: bump keccak to 1.3.0 [#69](https://github.com/se3000/ruby-eth/pull/69)
|
13
|
+
|
9
14
|
## [0.4.16]
|
10
15
|
### Changed
|
11
16
|
- Docs: update changelog [#65](https://github.com/se3000/ruby-eth/pull/65)
|
data/eth.gemspec
CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.require_paths = ["lib"]
|
31
31
|
spec.test_files = spec.files.grep %r{^(test|spec|features)/}
|
32
32
|
|
33
|
-
spec.add_dependency 'keccak', '~> 1.
|
33
|
+
spec.add_dependency 'keccak', '~> 1.3'
|
34
34
|
spec.add_dependency 'ffi', '~> 1.15'
|
35
35
|
spec.add_dependency 'money-tree', '~> 0.10'
|
36
36
|
spec.add_dependency 'rlp', '~> 0.7'
|
data/lib/eth/utils.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
module Eth
|
2
2
|
module Utils
|
3
|
-
|
4
3
|
extend self
|
5
4
|
|
6
5
|
def normalize_address(address)
|
@@ -66,11 +65,11 @@ module Eth
|
|
66
65
|
end
|
67
66
|
|
68
67
|
def keccak256(x)
|
69
|
-
Digest::
|
68
|
+
Digest::Keccak.new(256).digest(x)
|
70
69
|
end
|
71
70
|
|
72
71
|
def keccak512(x)
|
73
|
-
Digest::
|
72
|
+
Digest::Keccak.new(512).digest(x)
|
74
73
|
end
|
75
74
|
|
76
75
|
def keccak256_rlp(x)
|
data/lib/eth/version.rb
CHANGED
data/lib/eth.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Ellis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-12-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: keccak
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '1.
|
20
|
+
version: '1.3'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '1.
|
27
|
+
version: '1.3'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: ffi
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
196
|
- !ruby/object:Gem::Version
|
197
197
|
version: '0'
|
198
198
|
requirements: []
|
199
|
-
rubygems_version: 3.2.
|
199
|
+
rubygems_version: 3.2.31
|
200
200
|
signing_key:
|
201
201
|
specification_version: 4
|
202
202
|
summary: Simple API to sign Ethereum transactions.
|