zold 0.31.1 → 0.31.2

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
  SHA256:
3
- metadata.gz: a6c2e0650ee2719c29b2be5d2a89e2d8df6a5fe5eec198ded0b2a2406bc7c0d0
4
- data.tar.gz: f2759aa84462712e1351288c315b9c13021beb5c0c9eb69e5a78f9974e1b7a5e
3
+ metadata.gz: 3fea49da6a5daff42ee6e9d429a0f8a27b3b930ea5394d67bfd1ef11932bddaa
4
+ data.tar.gz: be7c0b568ea2119d083b0cc6e0a2761166b20475cdf63a72d4e5cce02f24f791
5
5
  SHA512:
6
- metadata.gz: 9109e7e7cd1afe84a2dcddcf74ff24a6489049fd99c75d556e8ec58f75fe4556775e5ca860f2ae58a40e6bfa1df71d5850781d385709d40466a045af7329bc82
7
- data.tar.gz: bcd96058d3dc22767340e39862cd6e5d0aa5100ab666ef68bac48fbea937b44a2561ca773c7a88dfa88ac3177231a7a7eb29736338184a0ff8e49dfe9dad3355
6
+ metadata.gz: 3e44bbb2a8dad04e0407c3d2fc7d965cd5a574fed98ae6b8872ad1bc6c6f27dff2f7317f95a86f2c3151ddae32287e74da7a30cfb3e675a3ac36a9bad667d063
7
+ data.tar.gz: b5081ec8bb0db18d78107d6dccd05e01450f126bc6582665d4bfd469cf0e73a32e9dd2983ed062d792f76c33ea68470d803342800b6c9b75bca777c3284c756c
@@ -184,13 +184,18 @@ the balance is #{wallet.balance}: #{tax.to_text}")
184
184
  def top_scores(opts)
185
185
  best = []
186
186
  @remotes.iterate(@log) do |r|
187
+ @log.debug("Testing #{r}...")
187
188
  uri = '/'
188
189
  res = r.http(uri).get
189
190
  r.assert_code(200, res)
190
191
  json = JsonPage.new(res.body, uri).to_hash
191
192
  score = Score.parse_json(json['score'])
192
193
  r.assert_valid_score(score)
193
- r.assert_score_strength(score) unless opts['ignore-score-weakness']
194
+ if opts['ignore-score-weakness']
195
+ @log.debug('We ignore score weakeness...')
196
+ else
197
+ r.assert_score_strength(score)
198
+ end
194
199
  r.assert_score_value(score, Tax::EXACT_SCORE)
195
200
  @log.info("#{r}: #{Rainbow(score.value).green} to #{score.invoice}")
196
201
  best << score
data/lib/zold/version.rb CHANGED
@@ -25,7 +25,7 @@
25
25
  # Copyright:: Copyright (c) 2018 Yegor Bugayenko
26
26
  # License:: MIT
27
27
  module Zold
28
- VERSION = '0.31.1'
28
+ VERSION = '0.31.2'
29
29
  PROTOCOL = 2
30
30
  REPO = 'zold-io/zold'
31
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zold
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.1
4
+ version: 0.31.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
@@ -823,7 +823,7 @@ licenses:
823
823
  - MIT
824
824
  metadata: {}
825
825
  post_install_message: |-
826
- Thanks for installing Zold 0.31.1!
826
+ Thanks for installing Zold 0.31.2!
827
827
  Study our White Paper: https://papers.zold.io/wp.pdf
828
828
  Read our blog posts: https://blog.zold.io
829
829
  Try ZLD online wallet at: https://wts.zold.io