nano_rpc 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/nano_rpc/node.rb +3 -1
- data/lib/nano_rpc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 577ee5ef54630ae1dbcb7bb7b1d37257dbf9f57be63a2ef42995fcb07db7a254
|
4
|
+
data.tar.gz: 1d1bb1e816d3ab049a9a61bef87dffda1507a4ad15eb8f9e567bf6258a121428
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d664a284d29fc69474d22b52637cbecf1d32308cfd15469f80ff772f5516121613395cd6b223df489ba5faf23fc0dc122127c664ba56d6fdcd3881e92d2daba
|
7
|
+
data.tar.gz: e7374e0985cf7deb27c8d305a9a29ab2f8239b9d96739f5578f05549d940fb394cf5ddbe0480667c4afb7ae7070c4122c33edabbdfeae8b0a6fb3b2c41d76559
|
data/README.md
CHANGED
@@ -10,6 +10,8 @@ Nano RPC is a Ruby wrapper for making Remote Procedure Calls against Nano digita
|
|
10
10
|
|
11
11
|
To run a Nano node locally, see [Nano Docker Docs](https://github.com/clemahieu/raiblocks/wiki/Docker-node).
|
12
12
|
|
13
|
+
**This gem is compliant with Nano release v14.1.**
|
14
|
+
|
13
15
|
## Installation
|
14
16
|
|
15
17
|
Add this line to your application's Gemfile:
|
data/lib/nano_rpc/node.rb
CHANGED
@@ -87,7 +87,9 @@ module NanoRpc
|
|
87
87
|
proxy_method :version
|
88
88
|
proxy_method :wallet_create
|
89
89
|
proxy_method :work_cancel, required: %i[hash]
|
90
|
-
proxy_method :work_generate,
|
90
|
+
proxy_method :work_generate,
|
91
|
+
required: %i[hash],
|
92
|
+
optional: %i[use_peers]
|
91
93
|
proxy_method :work_peer_add, required: %i[address port]
|
92
94
|
proxy_method :work_peers
|
93
95
|
proxy_method :work_peers_clear
|
data/lib/nano_rpc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nano_rpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Craig-Kuhn (JCK)
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|