zold 0.14.14 → 0.14.15

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
  SHA1:
3
- metadata.gz: 71369b8c56264180688b1f2e6fa6f9ce74bdbfd7
4
- data.tar.gz: ae47e1e2501eab7fbb340b061f87c075884da2f0
3
+ metadata.gz: c373b9d7f8b9b2eb10a266529281e2da241f3162
4
+ data.tar.gz: cf5aa7936c7d618267d7a080085fb179e49dff5a
5
5
  SHA512:
6
- metadata.gz: 0445e6669bb843b41ffee95c9ea388ec452551fc7c833d3ddc3cfd7fbdd0bbba646974289500ed47ab7ed93e4928ac1e4e1d146fbfcd0bbff5f4e5218153b560
7
- data.tar.gz: 4a1ecaea86ffa87784b43c92ec23415032bfd41e929f86759512beea2c778a333a4e05b4c64dbd892fe7c530c4d012e99505ddf67abdde88d1a70639c6d284a5
6
+ metadata.gz: 866b5f00a5be4ee761e2397140ef7f9d6371756da035b66b6625f7b20229ad6236e8a734b08d4125373a932468c2f6c363ad16b8fa41afee161a38f7c8b4ee4e
7
+ data.tar.gz: 6ed767b45a4159cc6e3c9c97b46df20ef90621e73fe354a945843e541ee23662edde62ed34b4302f985bf6da62e301b06dda6adb655d6a82fc4c005d803c4eae
@@ -80,7 +80,7 @@ Available options:"
80
80
  o.bool '--ignore-score-value',
81
81
  'Don\'t complain when their score is too small',
82
82
  default: false
83
- o.bool '--min-score',
83
+ o.integer '--min-score',
84
84
  "The minimum score required for winning the election (default: #{Tax::EXACT_SCORE})",
85
85
  default: Tax::EXACT_SCORE
86
86
  o.bool '--force',
@@ -96,7 +96,6 @@ Available options:"
96
96
  o.bool '--reboot',
97
97
  'Exit if any node reports version higher than we have',
98
98
  default: false
99
-
100
99
  # @todo #292:30min Group options by subcommands
101
100
  # Having all the options in one place _rather than grouping them by subcommands_
102
101
  # makes the help totally misleading and hard to read.
@@ -25,6 +25,6 @@
25
25
  # Copyright:: Copyright (c) 2018 Yegor Bugayenko
26
26
  # License:: MIT
27
27
  module Zold
28
- VERSION = '0.14.14'
28
+ VERSION = '0.14.15'
29
29
  PROTOCOL = 2
30
30
  end
@@ -151,7 +151,6 @@ class TestRemote < Minitest::Test
151
151
  cmd.run(%W[remote add localhost #{port}])
152
152
  end
153
153
  assert_equal(12, remotes.all.count)
154
-
155
154
  cmd.run(%w[remote select --max-nodes=5])
156
155
  assert_equal(5, remotes.all.count)
157
156
  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.14.14
4
+ version: 0.14.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko