nano_rpc 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '00840f9e543bcf5bf0aa1d1e80eab75f8eca85d57f563433e0e1953b7c2e21bd'
4
- data.tar.gz: 1755874a4ad420ab7cb18ddd9fe75a6f64332a194b91694a2a91ed0ca7852ba0
3
+ metadata.gz: 8e9f6c12812a99ee73c5effa967bfde672b473770b431976f8f2e57e3d8c5c06
4
+ data.tar.gz: '08926ca5b1d4ce862a7160195b3fa3b01b7a2122897c821f83b9f09edb4405dd'
5
5
  SHA512:
6
- metadata.gz: 6d4d582586ce0edcac28a3f8225cca86ac121aaddd46a9f8fc568caee3e45a2ce4b14a2846f977a9ac33d7732c454d3f66df3272f1fdabe69fe17fa3a77ff328
7
- data.tar.gz: 72a84f3052b62754cbede4be1cca2e82f708c0ed9eac085dbba8a53f1dee86f69ac46d26c62bc02cc5f2ad836e2f27169526816e17f6efcda69f929cffec47fd
6
+ metadata.gz: 3fe48d7f79cd39292ddd3698a0eb25e7bbf6acaebebf285193e87d71448c41bd5b421c989c5ea396f40be948b3ce692e1bc4eb85e0151884738d407e1f58c35e
7
+ data.tar.gz: 03def4780ad58d106df67a833ebdb17884889e01043f257b0fba454518febe6fdd2736c1be61e1da8272b6bb0cafbfe1df34f0b4fe8f2a30f0d130507de11063
@@ -39,7 +39,7 @@ module NanoRpc::AccountHelper
39
39
  end
40
40
  alias balance_pending pending_balance
41
41
 
42
- def pending_blocks(count:, threshold: nil, source: nil)
42
+ def pending_blocks(count: 100, threshold: nil, source: nil)
43
43
  pending(
44
44
  count: count,
45
45
  threshold: threshold,
@@ -58,7 +58,7 @@ module NanoRpc::WalletHelper
58
58
  end
59
59
 
60
60
  def destroy
61
- wallet_destroy
61
+ wallet_destroy == {}
62
62
  end
63
63
 
64
64
  def enter_password(password:)
@@ -37,7 +37,7 @@ class NanoRpc::Account
37
37
  representative weight pending modified_since sorting
38
38
  ]
39
39
  proxy_method :validate_account_number
40
- proxy_method :pending, required: %i[count], optional: %i[threshold exists]
40
+ proxy_method :pending, required: %i[count], optional: %i[threshold exists source]
41
41
  proxy_method :payment_wait, required: %i[amount timeout]
42
42
  proxy_method :receive, required: %i[wallet block], optional: %i[work]
43
43
  proxy_method :work_get, required: %i[wallet]
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module NanoRpc
3
- VERSION = '0.16.0'
3
+ VERSION = '0.17.0'
4
4
  end
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.16.0
4
+ version: 0.17.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-07-26 00:00:00.000000000 Z
11
+ date: 2018-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler