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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4b28c04587658e8efa8fcbd012d003b24d1526c1563d82d33a4ae68f561926c
4
- data.tar.gz: d835e3bf5474c897c000d7b2f096dda0946a0ee759fa9d43b017b5f4ffdf324f
3
+ metadata.gz: 39f349118de256f22be42c19f16576b65e9f6836b54e2cab6cd999b93ffa19b6
4
+ data.tar.gz: 2e44d103abb4156239e98a56287d7ce198c6277dc9eab25c4ed0921831112048
5
5
  SHA512:
6
- metadata.gz: 6121ff05020da43565f597167e0a36a948bc5d4d8507ab38128e2bfdfd72000d0bddff02e20ad3bf3ef62fd0d5dd48cc7db68c2a77c662ba24baa7185fd3763d
7
- data.tar.gz: f19fb727f8adb2620fa92c742421466cd1668991d5ce6bf80571f5a633b7f0b0767d83159871151681d0cd7469e296b6698c2efea32d65e63f570e55d5df5881
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.to_s
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, 6].freeze
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, 24)
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.6
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-24 00:00:00.000000000 Z
11
+ date: 2024-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: daemons