miga-base 1.2.5.1 → 1.2.5.2
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 +4 -4
- data/lib/miga/cli/action/add.rb +1 -3
- data/lib/miga/version.rb +2 -2
- 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: a4dbbc7ecb94ece265ae5cbfd20f79128e92843b6ec3ae7806f8749b0e7fe640
|
|
4
|
+
data.tar.gz: 7b41d11c7ce00b106d6c63467edeae0d15c517e16f9a27fa857b8608a2892e84
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3ced654b78859242ff68e3f2bf83630159927f626eb7259883a2b211c6c3afe85e3b2787bca94353af04939426fbcc862a129cf3832339ee6dad07d00716df68
|
|
7
|
+
data.tar.gz: dfe6eae81669572764405edf945949e39f35940fc414d9f8199243e5a1ba517d8f4b4850f921956c4ac67543d33a0663c11764df1d0a5dc3b28ca573f4a8560a
|
data/lib/miga/cli/action/add.rb
CHANGED
|
@@ -121,19 +121,17 @@ class MiGA::Cli::Action::Add < MiGA::Cli::Action
|
|
|
121
121
|
raise 'Some files are duplicated, files must be unique.' if
|
|
122
122
|
files.size != files.uniq.size
|
|
123
123
|
|
|
124
|
-
expected_files = 1
|
|
125
124
|
if cli[:input_type].to_s =~ /_paired$/
|
|
126
125
|
if files.size.odd?
|
|
127
126
|
raise 'Odd number of files incompatible with input type.'
|
|
128
127
|
end
|
|
129
128
|
|
|
130
|
-
expected_files = 2
|
|
131
129
|
files = Hash[*files].to_a
|
|
132
130
|
else
|
|
133
131
|
files = files.map { |i| [i] }
|
|
134
132
|
end
|
|
135
133
|
|
|
136
|
-
if files.size !=
|
|
134
|
+
if files.size != 1 && !cli[:dataset].nil?
|
|
137
135
|
raise 'The dataset name (-D) can only be specified with one input set.'
|
|
138
136
|
end
|
|
139
137
|
end
|
data/lib/miga/version.rb
CHANGED
|
@@ -12,7 +12,7 @@ module MiGA
|
|
|
12
12
|
# - String indicating release status:
|
|
13
13
|
# - rc* release candidate, not released as gem
|
|
14
14
|
# - [0-9]+ stable release, released as gem
|
|
15
|
-
VERSION = [1.2, 5,
|
|
15
|
+
VERSION = [1.2, 5, 2].freeze
|
|
16
16
|
|
|
17
17
|
##
|
|
18
18
|
# Nickname for the current major.minor version.
|
|
@@ -20,7 +20,7 @@ module MiGA
|
|
|
20
20
|
|
|
21
21
|
##
|
|
22
22
|
# Date of the current gem relese.
|
|
23
|
-
VERSION_DATE = Date.new(2022, 5,
|
|
23
|
+
VERSION_DATE = Date.new(2022, 5, 16)
|
|
24
24
|
|
|
25
25
|
##
|
|
26
26
|
# References of MiGA
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: miga-base
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.5.
|
|
4
|
+
version: 1.2.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Luis M. Rodriguez-R
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-05-
|
|
11
|
+
date: 2022-05-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: daemons
|