ethereum 0.4.41 → 0.4.42
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ethereum/http_client.rb +4 -2
- data/lib/ethereum/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: 3986c000b0d2fc54c468722b662b9cbdb605c6a8
|
4
|
+
data.tar.gz: 3d651b3bfbb3026c64ff72adee2dbc370509b752
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8de795387db248cb204a2be8159e9fe7ef7528870babeed5fd5815dd3a321449d1a59c507d7ddeb205be37e92f5359bc16424dd7a2fa1689d3f62590341f0752
|
7
|
+
data.tar.gz: d41a91a0139ab397228ea0bc16027ea8062a9e2fd4816b96686259f158c08529c3c003f7bbdf2dd405722dbbffc18f4af7b4bb716a486f4b48ffbb2d5c7a8b19
|
data/lib/ethereum/http_client.rb
CHANGED
@@ -4,8 +4,10 @@ module Ethereum
|
|
4
4
|
attr_accessor :command, :id, :host, :port, :batch, :converted_transactions, :uri
|
5
5
|
|
6
6
|
def initialize(host, port)
|
7
|
-
|
8
|
-
|
7
|
+
ENV['ETHEREUM_RPC_HOST'] ||= host
|
8
|
+
ENV['ETHEREUM_RPC_PORT'] ||= port
|
9
|
+
@host = ENV['ETHEREUM_RPC_HOST']
|
10
|
+
@port = ENV['ETHEREUM_RPC_PORT']
|
9
11
|
@id = 1
|
10
12
|
@uri = URI("http://#{@host}:#{@port}")
|
11
13
|
@batch = []
|
data/lib/ethereum/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ethereum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.42
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DigixGlobal Pte Ltd (https://dgx.io)
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|