dina 0.8.7.0 → 0.8.9.0

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: c31f42296ba024203c085990bceddda17caf5cf4873aeb0676684e23ca945e30
4
- data.tar.gz: fcfccd1d3b1b4d3cc080cf1f76903840fb105af5ff42123a5a5aed19f77ecd48
3
+ metadata.gz: 06da6b53d4a6dd3a67417b5995be1ddba28928aa657ad89b2eb54fcf0660beb4
4
+ data.tar.gz: 7bf366bbf3f4991fb0a83159d488862b1f23572c1dd5de26817a3ebe02da5dc9
5
5
  SHA512:
6
- metadata.gz: ecc74e8af6bed12cf115d1731e6f522f4ba9b276d1ae19f10c433def22dfcad3f5a90a37137cf35d104a6bbe0d062881e3ae1ec021332a83d810203fdefbe4f9
7
- data.tar.gz: 7289164ff3a29e501412c7e5792e4f2ab996b9e3f0d47b74d936c650c24d171a4eb9a2f46c250126469721d59e8f16b80b2e4460b9efa8f4ba41bce29dbbdd92
6
+ metadata.gz: b1429c7a61756cea5bb92ecdc481a4a257fc47858e26293c45a33920982069722c1b0944c8e3b8ccbf6d7ad850eaffed3d4d97dad1df3559c6c4d4bdede678bd
7
+ data.tar.gz: 2cfd34f2c58022524b329637537cb19a0e9d729176be4e3e895593b27c12da57ad4f63c0ca650305fdbc65676233a805402d5d2ed6e0ce0dcb0213ae27e97573
@@ -16,6 +16,7 @@ module Dina
16
16
  validates_presence_of :group, message: "group is required"
17
17
  validates_presence_of :name, message: "name is required"
18
18
  validates_presence_of :vocabularyElementType, message: "vocabularyElementType is required"
19
+ validates_presence_of :managedAttributeComponent, message: "managedAttributeComponent is required"
19
20
 
20
21
  attr_accessor :accepted_components, :accepted_types
21
22
 
@@ -69,6 +69,7 @@ module Dina
69
69
  def self.accepted_types
70
70
  [
71
71
  "WHOLE_ORGANISM",
72
+ "CULTURE_STRAIN",
72
73
  "ORGANISM_PART",
73
74
  "MIXED_ORGANISMS",
74
75
  "MOLECULAR_SAMPLE"
@@ -5,6 +5,7 @@ module Dina
5
5
  property :id, type: :string, default: SecureRandom.uuid
6
6
  property :group, type: :string
7
7
  property :name, type: :string
8
+ property :barcode, type: :string
8
9
  property :storageUnitChildren, type: :array
9
10
  property :hierarchy, type: :string
10
11
  property :createdBy, type: :string
data/lib/dina/version.rb CHANGED
@@ -3,7 +3,7 @@ module Dina
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 8
6
- PATCH = 7
6
+ PATCH = 9
7
7
  BUILD = 0
8
8
 
9
9
  def self.version
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dina
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.7.0
4
+ version: 0.8.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David P. Shorthouse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-30 00:00:00.000000000 Z
11
+ date: 2023-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json_api_client