miga-base 1.3.9.6 → 1.3.9.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/miga/dataset.rb +3 -1
- 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: 39f349118de256f22be42c19f16576b65e9f6836b54e2cab6cd999b93ffa19b6
|
4
|
+
data.tar.gz: 2e44d103abb4156239e98a56287d7ce198c6277dc9eab25c4ed0921831112048
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6eba0f2cc60647f500f4f9d0c237e88b69de370c8fb95f481a36e85d3967993396a32361f88050b56719413bf0c850e9252275a85b8b067283f19bb38c959d1f
|
7
|
+
data.tar.gz: 37407d26955546c95d9f6eb95b841273a7cb08c6a78d04aa4174d902cc2eaced33749a6d4b0a74b4462e715ce6986799e961c20708f7c8796977a324b2d1a687
|
data/lib/miga/dataset.rb
CHANGED
@@ -53,9 +53,11 @@ class MiGA::Dataset < MiGA::MiGA
|
|
53
53
|
# be treated as reference (true, default) or query (false). Pass any
|
54
54
|
# additional +metadata+ as a Hash.
|
55
55
|
def initialize(project, name, is_ref = true, metadata = {})
|
56
|
+
name = name.to_s
|
56
57
|
name.miga_name? or
|
57
58
|
raise 'Invalid name, please use only alphanumerics and underscores: ' +
|
58
|
-
name
|
59
|
+
name
|
60
|
+
|
59
61
|
@project, @name, @metadata = project, name, nil
|
60
62
|
metadata[:ref] = is_ref
|
61
63
|
metadata[:type] ||= :empty
|
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.3, 9,
|
15
|
+
VERSION = [1.3, 9, 7].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(2024, 1,
|
23
|
+
VERSION_DATE = Date.new(2024, 1, 29)
|
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.3.9.
|
4
|
+
version: 1.3.9.7
|
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: 2024-01-
|
11
|
+
date: 2024-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: daemons
|