web3-eth 0.2.27 → 0.2.28

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
  SHA1:
3
- metadata.gz: e84fa6a6aba57237c6ec6b853d1ce5d5b8051f5a
4
- data.tar.gz: 00727f7273363aab9457dc8102e82ccf9fd5bec3
3
+ metadata.gz: 377a90b3fb4777850fd1f9270acf719be2eefa68
4
+ data.tar.gz: beeb47ba616bc042f9bef58341fe797683c40d5e
5
5
  SHA512:
6
- metadata.gz: 3dff366d20131be002bf222322f3c95a7c1ab73022a12eedd85f57d375101e73299a98e54ad66b2083692b528c9687e5a424efdca18951cbe94662aac317e1f9
7
- data.tar.gz: 9a9df26c93ecc3bbb1699773d370c619194fd3a6febd72ba01babcbe78e0b79d74f3acbbaf4930f3f70560c46fcf10db95179081bacb181123f3037e8f0b430c
6
+ metadata.gz: 3434470fe9aaff0b3e5984a44d232c7ca75c578163ccf104ad26347edb2b11f5603c0e1e8044962d65f95ccf990ad871629987187babcf229e2b2dc63b4fbcaf
7
+ data.tar.gz: 1b7a9abf9a1cd3535addaaeb7ca06cfb61ababfcf55abc7cc80ae062f2850eff61168a8ee30d8ee57a2bdedaac1a9f18fb81b8f10ba8d79b90b03ec6328b2eb4
@@ -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/
@@ -1,5 +1,5 @@
1
1
  module Web3
2
2
  module Eth
3
- VERSION = "0.2.27"
3
+ VERSION = "0.2.28"
4
4
  end
5
5
  end
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.27
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-23 00:00:00.000000000 Z
11
+ date: 2019-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rlp