ethereum 0.4.95 → 0.4.96
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ethereum.gemspec +1 -3
- data/lib/ethereum/http_client.rb +2 -4
- data/lib/ethereum/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94ae596cedd3c432afd505ed23db0b46fec14eac
|
4
|
+
data.tar.gz: a5f7e3cdc70dc4ba21e7233a19bd2e7b9015e059
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ba9f9b83a4bdcfc0ae400f164811f3f1e82ca5a65e035db6c640f938e0f7d93053d11e57a7a8863ad80035dd5883eaa10ab5b9982ccb3c88529e61ff1cd688e
|
7
|
+
data.tar.gz: 4a0a0a3fb4f0f3f63ef16d9a3fea1072a8f817049505b6370f6918097dcff22901fcdf8cfd4925c8ac54eb7119bbb7df6fa1c609a23d519b118ea72d1e2490fd
|
data/ethereum.gemspec
CHANGED
@@ -12,10 +12,8 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = %q{Ethereum libraries for Ruby}
|
13
13
|
spec.description = %q{Ethereum libraries for ruby programming language.}
|
14
14
|
spec.homepage = "https://github.com/DigixGlobal/ethereum-ruby"
|
15
|
-
spec.license = "
|
15
|
+
spec.license = "GPL"
|
16
16
|
|
17
|
-
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
18
|
-
# delete this section to allow pushing this gem to any host.
|
19
17
|
if spec.respond_to?(:metadata)
|
20
18
|
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
21
19
|
else
|
data/lib/ethereum/http_client.rb
CHANGED
@@ -4,10 +4,8 @@ module Ethereum
|
|
4
4
|
attr_accessor :command, :id, :host, :port, :batch, :converted_transactions, :uri
|
5
5
|
|
6
6
|
def initialize(host, port)
|
7
|
-
|
8
|
-
|
9
|
-
@host = ENV['ETHEREUM_RPC_HOST']
|
10
|
-
@port = ENV['ETHEREUM_RPC_PORT']
|
7
|
+
@host = host
|
8
|
+
@port = port
|
11
9
|
@id = 1
|
12
10
|
@uri = URI("http://#{@host}:#{@port}")
|
13
11
|
@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.96
|
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:
|
11
|
+
date: 2016-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -162,7 +162,7 @@ files:
|
|
162
162
|
- lib/ethereum/version.rb
|
163
163
|
homepage: https://github.com/DigixGlobal/ethereum-ruby
|
164
164
|
licenses:
|
165
|
-
-
|
165
|
+
- GPL
|
166
166
|
metadata:
|
167
167
|
allowed_push_host: https://rubygems.org
|
168
168
|
post_install_message:
|