web3 0.2.1 → 0.2.2

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/web3.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e013a80a256500c122bf6e6c6a403abeb5d27a9
4
- data.tar.gz: 77790b0d919fb7ec0e361bb7d04175e025e0f48d
3
+ metadata.gz: 608797f55b380e8e14b7f9c205fafb42255dd91a
4
+ data.tar.gz: 3448640d00364ac0a52485a177364f85127cf94c
5
5
  SHA512:
6
- metadata.gz: f8b8444cace05bfb205c72e816f97970209fb6631f220d703f8da30578980023782e63aeb815f5b3f266916d737b90a27bdbb02492783f21d7c19cfb6fd96ca4
7
- data.tar.gz: b5343cc8314464066bafcf2cba73c63ba22a00d0b91b4aa92158502a7d3ec52b622c7a2038b1de778db8e019cec86c890178059b78aae90ecf15459740909855
6
+ metadata.gz: 5a6b1b274948b170cdf91dc112128962f7c4b6471785783085d5bdc366a2e73e59097aa71b520a91c73a9129085374c6ff22ffe2d4728949bdcee3029f20b1ea
7
+ data.tar.gz: a5e0449b569a81ac7a8e0840be0bdf433ae1ef72adb26fa20ff23239c6d51f066ac4c04f4fb48b1d3f26602801208c1741d9d9cba084d04b4664760a37b76e7a
data/lib/web3.rb CHANGED
@@ -39,7 +39,7 @@ class Web3
39
39
  end
40
40
 
41
41
  if !response.success?
42
- raise "JSON-RPC endpoint " + @endpoint + " returned http code " + response.code
42
+ raise "JSON-RPC endpoint " + @endpoint + " returned http code " + response.code.to_s()
43
43
  end
44
44
 
45
45
  if response["error"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: web3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Spike Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-27 00:00:00.000000000 Z
11
+ date: 2017-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hanna-nouveau