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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b33eb89e9ff725f99146e1ef5d9037acaf7241c
4
- data.tar.gz: dda537dc15caa46e74da2729d0579424c9099231
3
+ metadata.gz: 3986c000b0d2fc54c468722b662b9cbdb605c6a8
4
+ data.tar.gz: 3d651b3bfbb3026c64ff72adee2dbc370509b752
5
5
  SHA512:
6
- metadata.gz: 8accc888ecf1b0ef4a40d90742eb8ca7c16691843454f835e92e21db249d38e9afc362fcdfade3c0569bc9598d46ebb78cb95c33b7a45e715fd50c98370cc8ad
7
- data.tar.gz: a8c48aa2524ce2736857e8c47a19bbac495a2ec593cca0f71ed6ba8467c95a07b81a798d4840ab651d0b0a73c21bfe135350d7995d387484765a65476e5ec16e
6
+ metadata.gz: 8de795387db248cb204a2be8159e9fe7ef7528870babeed5fd5815dd3a321449d1a59c507d7ddeb205be37e92f5359bc16424dd7a2fa1689d3f62590341f0752
7
+ data.tar.gz: d41a91a0139ab397228ea0bc16027ea8062a9e2fd4816b96686259f158c08529c3c003f7bbdf2dd405722dbbffc18f4af7b4bb716a486f4b48ffbb2d5c7a8b19
@@ -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
- @host = host
8
- @port = port
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 = []
@@ -1,3 +1,3 @@
1
1
  module Ethereum
2
- VERSION = "0.4.41"
2
+ VERSION = "0.4.42"
3
3
  end
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.41
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-17 00:00:00.000000000 Z
11
+ date: 2015-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler