ethereum.rb 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/README.md +1 -1
- data/lib/ethereum/ipc_client.rb +3 -2
- data/lib/ethereum/version.rb +1 -1
- data/lib/tasks/ethereum_node.rake +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: af8be90237dd21308f3aea4f6be1df684d245eab
|
4
|
+
data.tar.gz: 16006aa3e05782c5fa07450bea706c6d9fb78c11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 994be4aec69fcb7430a87f95ed89fe4577de21cd2884ea3aa46169cd00b64a6032cd23daac13b26b438194344fb1c6a0a9113587be1c35c696eaaf0b0dcd3565
|
7
|
+
data.tar.gz: 534a8e2c925b76463c53fc1b09401c309e7842e6560beaabc5fb697efff39aff6eaf9799d948bd9f731fdd753c2886beb4c19e8f9a02f9878ed063f16bd86e2f
|
data/.travis.yml
CHANGED
@@ -12,7 +12,7 @@ before_install:
|
|
12
12
|
- sudo bin/install_parity
|
13
13
|
- gem install bundler -v 1.11.2
|
14
14
|
before_script:
|
15
|
-
- parity --chain testnet -d ~/.parity --password ~/.parity/pass --unlock 3089630d06fD90Ef48a0c43f000971587c1F3247 --author 3089630d06fD90Ef48a0c43f000971587c1F3247 daemon ~/.parity.pid --log-file ~/.parity.log
|
15
|
+
- parity --warp --chain testnet -d ~/.parity --password ~/.parity/pass --unlock 3089630d06fD90Ef48a0c43f000971587c1F3247 --author 3089630d06fD90Ef48a0c43f000971587c1F3247 daemon ~/.parity.pid --log-file ~/.parity.log
|
16
16
|
- cat ~/.parity.log
|
17
17
|
- sleep 5
|
18
18
|
- parity --chain testnet account list
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
The goal of ethereum.rb is to make interacting with ethereum blockchain from ruby as easy as possible (but not easier).
|
6
6
|
|
7
|
-
|
7
|
+
Note: The Ropsten testnet network is currently being spammed. CI builds might fail beacause of that. If you have issues working with testnet, you might want to use mainnet instead. Using parity --warp mode is helpful thou.
|
8
8
|
|
9
9
|
## Highlights
|
10
10
|
|
data/lib/ethereum/ipc_client.rb
CHANGED
@@ -8,8 +8,9 @@ module Ethereum
|
|
8
8
|
"#{ENV['HOME']}/Library/Ethereum/geth.ipc",
|
9
9
|
"#{ENV['HOME']}/Library/Ethereum/testnet/geth.ipc",
|
10
10
|
"#{ENV['HOME']}/Library/Application\ Support/io.parity.ethereum/jsonrpc.ipc",
|
11
|
-
"#{ENV['HOME']}/.local/share/parity",
|
12
|
-
"#{ENV['HOME']}/
|
11
|
+
"#{ENV['HOME']}/.local/share/parity/jsonrpc.ipc",
|
12
|
+
"#{ENV['HOME']}/.local/share/io.parity.ethereum/jsonrpc.ipc",
|
13
|
+
"#{ENV['HOME']}/AppData/Roaming/Parity/Ethereum/jsonrpc.ipc"
|
13
14
|
]
|
14
15
|
|
15
16
|
def initialize(ipcpath = nil, log = true)
|
data/lib/ethereum/version.rb
CHANGED
@@ -5,7 +5,7 @@ namespace :ethereum do
|
|
5
5
|
|
6
6
|
desc "Run testnet (ropsten) node"
|
7
7
|
task :test do
|
8
|
-
args = "--chain testnet"
|
8
|
+
args = "--chain testnet --warp"
|
9
9
|
out, _, _ = Open3.capture3("parity #{args} account list")
|
10
10
|
account = out.split(/[\[,\]]/)[1]
|
11
11
|
cmd = "parity #{args} --password ~/Library/Application\\ Support/io.parity.ethereum/pass --unlock #{account} --author #{account}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ethereum.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marek Kirejczyk
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
195
195
|
version: '0'
|
196
196
|
requirements: []
|
197
197
|
rubyforge_project:
|
198
|
-
rubygems_version: 2.
|
198
|
+
rubygems_version: 2.5.1
|
199
199
|
signing_key:
|
200
200
|
specification_version: 4
|
201
201
|
summary: Ruby Ethereum client using the JSON-RPC interface
|