web3-eth 0.2.27 → 0.2.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/web3/eth/abi/type.rb +1 -3
- data/lib/web3/eth/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 377a90b3fb4777850fd1f9270acf719be2eefa68
|
|
4
|
+
data.tar.gz: beeb47ba616bc042f9bef58341fe797683c40d5e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3434470fe9aaff0b3e5984a44d232c7ca75c578163ccf104ad26347edb2b11f5603c0e1e8044962d65f95ccf990ad871629987187babcf229e2b2dc63b4fbcaf
|
|
7
|
+
data.tar.gz: 1b7a9abf9a1cd3535addaaeb7ca06cfb61ababfcf55abc7cc80ae062f2850eff61168a8ee30d8ee57a2bdedaac1a9f18fb81b8f10ba8d79b90b03ec6328b2eb4
|
data/lib/web3/eth/abi/type.rb
CHANGED
|
@@ -25,9 +25,7 @@ module Web3::Eth::Abi
|
|
|
25
25
|
case base
|
|
26
26
|
when ''
|
|
27
27
|
return parse 'address'
|
|
28
|
-
when 'string'
|
|
29
|
-
raise ParseError, "String type must have no suffix or numerical suffix" unless sub.empty?
|
|
30
|
-
when 'bytes'
|
|
28
|
+
when 'bytes', 'string'
|
|
31
29
|
raise ParseError, "Maximum 32 bytes for fixed-length string or bytes" unless sub.empty? || sub.to_i <= 32
|
|
32
30
|
when 'uint', 'int'
|
|
33
31
|
raise ParseError, "Integer type must have numerical suffix" unless sub =~ /\A[0-9]+\z/
|
data/lib/web3/eth/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: web3-eth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.28
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- studnev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-08-
|
|
11
|
+
date: 2019-08-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rlp
|