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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87e846748f62ce3874417ba24d249c9eaf81a53de040c40d846d60ff0be0e1b3
4
- data.tar.gz: 8a7508a79ebef3100dfca6b9be67ca26c1d132a4eaaacc96f599afe58a57db02
3
+ metadata.gz: d50d2e45f9d5e59e5d56cc1a5f43fd96d892fa991c3479d9f7b74623cc288593
4
+ data.tar.gz: 519efad7ad2cc42e2402910ad298166dfa9266c552c579232715f8a7fa3b6a8b
5
5
  SHA512:
6
- metadata.gz: 8b1039dcd261b7e8d756e7f05eb9ce25f239c6d83c3fbd924e6e9675246b3d373b70748f47114d30f412281ed17e9f6c31d7462669119ac8ef8305a7becdd0be
7
- data.tar.gz: f07f7863b9af5c74d461e430da54f8822252451c60bfeff7499085b28209e707ddce3ae0e44bc60ef9b73db5d60d7cf20409b9f4d3e928f6bb0def2438ea0323
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.2'
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::SHA3.new(256).digest(x)
68
+ Digest::Keccak.new(256).digest(x)
70
69
  end
71
70
 
72
71
  def keccak512(x)
73
- Digest::SHA3.new(512).digest(x)
72
+ Digest::Keccak.new(512).digest(x)
74
73
  end
75
74
 
76
75
  def keccak256_rlp(x)
data/lib/eth/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eth
2
- VERSION = "0.4.16"
2
+ VERSION = "0.4.17"
3
3
  end
data/lib/eth.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'digest/sha3'
1
+ require 'digest/keccak'
2
2
  require 'ffi'
3
3
  require 'money-tree'
4
4
  require 'rlp'
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.16
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-10-30 00:00:00.000000000 Z
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.2'
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.2'
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.29
199
+ rubygems_version: 3.2.31
200
200
  signing_key:
201
201
  specification_version: 4
202
202
  summary: Simple API to sign Ethereum transactions.