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 +4 -4
- data/lib/zold/commands/taxes.rb +6 -1
- data/lib/zold/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: 3fea49da6a5daff42ee6e9d429a0f8a27b3b930ea5394d67bfd1ef11932bddaa
|
4
|
+
data.tar.gz: be7c0b568ea2119d083b0cc6e0a2761166b20475cdf63a72d4e5cce02f24f791
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e44bbb2a8dad04e0407c3d2fc7d965cd5a574fed98ae6b8872ad1bc6c6f27dff2f7317f95a86f2c3151ddae32287e74da7a30cfb3e675a3ac36a9bad667d063
|
7
|
+
data.tar.gz: b5081ec8bb0db18d78107d6dccd05e01450f126bc6582665d4bfd469cf0e73a32e9dd2983ed062d792f76c33ea68470d803342800b6c9b75bca777c3284c756c
|
data/lib/zold/commands/taxes.rb
CHANGED
@@ -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
|
-
|
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
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.
|
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.
|
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
|