suma 0.5.60 → 0.5.61

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: 020bd7b442b707cb7cd4eaf54f5b55f5362e675809bdfe8982e512d20195300e
4
- data.tar.gz: 7f591df34d239f13b007348823053d008d66cf8bda62abe3daa2deb7779c35d3
3
+ metadata.gz: 54f7a3e30168ba6e9673ddf82a9020a4267403b5f71f0ce0ab9fcee764fd92e5
4
+ data.tar.gz: e3731e5cc1f0e1d2b2c67504f9a6d110bf498eac883523e36ba1ab588d9fae7e
5
5
  SHA512:
6
- metadata.gz: b5ba4adf6c5912cfb2b7278a6b3ea2c191b4c3343f768c179a5750178061a165acb1b509e99060784cf3dc10ba987c9b9d6b825cc947eb776b064b030d609f2e
7
- data.tar.gz: dbbe2b4ae826ab8c3ed1209a51d5826611f6452d7a3c12b356fca5b392bc169adfadbf198c686082a3675a8bcbbd13359656552d4cbf194a494bade500764d94
6
+ metadata.gz: 72aa08457b8f5222838639d09518859a020d2a43242b9a7bfba4e99cd11b2ff8afc4f262b88c03c9058afce8ebcc04d3290848e982c57104e2eb9d37c9108bf5
7
+ data.tar.gz: 33fe0420f5e90669975818ca0b99d3a3bb422bed1839dba29976099c8da2617b6818d5eb9e59223925645c0791cde4aadd55eaf104cc8b83df88526f73761c29
@@ -209,10 +209,11 @@ module Suma
209
209
  "exclude it"
210
210
  end
211
211
  return if @isolate || @exclude.empty?
212
-
213
- raise ArgumentError,
214
- "--staged-shard-exclude requires --staged-shard: the member " \
215
- "is dropped from the shard's bin, not from the collection"
212
+ unless @shard
213
+ raise ArgumentError,
214
+ "--staged-shard-exclude requires --staged-shard: the member " \
215
+ "is dropped from the shard's bin, not from the collection"
216
+ end
216
217
  end
217
218
 
218
219
  # Render the staged members, serially or across the worker pool, then
data/lib/suma/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Suma
4
- VERSION = "0.5.60"
4
+ VERSION = "0.5.61"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: suma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.60
4
+ version: 0.5.61
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.