dina 3.4.0.0 → 3.4.2.0

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: ad42d2bbf02a3b8ba6274c9eee94395ebc78662e33dd3e37ae30a51ca94f1ad7
4
- data.tar.gz: 4699b92330b897870325169a484b43f2263f3bc44ad15bd8757e6f058e3ff0d7
3
+ metadata.gz: '0587dfc4b5877107ebf5ac3c40cbe7f66b8acea29b3c36b05a6b2660b31fb2a9'
4
+ data.tar.gz: fe29fef355b071b9ac0d57de17624773ff2b21a4bf92bfc1698c9196f3d8cf5a
5
5
  SHA512:
6
- metadata.gz: f6a4d51327f4b877b1f082f9f27aadbfe4edc356084143a5626884448e2c863a532373d58189e22ff62cdfa0ee659031e43aa8ad1c9b3654313f6e66c7e00845
7
- data.tar.gz: 49736d5bbb411f4b72a238cd7cbb4425a48852fc2760d486e0803f8353e90735747caf9849708c605a659f4e8a4588b56c4e139b4c3781b915ffc7170c6ec3bb
6
+ metadata.gz: 9ea406eb442ffebe2f1b8525aa7fa4ae422379dd867578ce65e0c7343054021be0236b43a45e12dfe022c5490a3a93062ff5d227fdc42801d1c0d6cb82d789d5
7
+ data.tar.gz: 39d9e20cc884b8ca09de6a239f0b2d3d600d72806a7bcb23fd186b98193a1281bd0053461f36de2bc113bda64c55b6f7b561ef50a709811a87895d4e1ebfc4ee
@@ -6,6 +6,7 @@ module Dina
6
6
  property :version, type: :integer
7
7
  property :dwcCatalogNumber, type: :string
8
8
  property :materialSampleName, type: :string
9
+ property :identifiers, type: :hash
9
10
  property :materialSampleType, type: :string
10
11
  property :createdBy, type: :string
11
12
  property :createdOn, type: :time
@@ -42,6 +43,7 @@ module Dina
42
43
  property :targetOrganismPrimaryScientificName, type: :string
43
44
  property :allowDuplicateName, type: :boolean
44
45
 
46
+
45
47
  has_one :collectingEvent, class_name: "CollectingEvent"
46
48
  has_one :collection, class_name: "Collection"
47
49
  has_one :preparationType, class_name: "PreparationType"
@@ -12,8 +12,8 @@ module Dina
12
12
  property :createdBy, type: :string
13
13
  property :createdOn, type: :time
14
14
 
15
- has_one :storage_unit_type, class_name: "StorageUnitType"
16
- has_one :parent_storage_unit, class_name: "StorageUnit"
15
+ has_one :storageUnitType, class_name: "StorageUnitType"
16
+ has_one :parentStorageUnit, class_name: "StorageUnit"
17
17
 
18
18
  validates_presence_of :group, message: "group is required"
19
19
 
@@ -11,8 +11,8 @@ module Dina
11
11
  property :createdBy, type: :string
12
12
  property :createdOn, type: :time
13
13
 
14
- has_one :storage_unit, class_name: "StorageUnit"
15
- has_one :storage_unit_type, class_name: "StorageUnitType"
14
+ has_one :storageUnit, class_name: "StorageUnit"
15
+ has_one :storageUnitType, class_name: "StorageUnitType"
16
16
 
17
17
  validates_presence_of :usageType, message: "usageType is required"
18
18
 
data/lib/dina/version.rb CHANGED
@@ -3,7 +3,7 @@ module Dina
3
3
 
4
4
  MAJOR = 3
5
5
  MINOR = 4
6
- PATCH = 0
6
+ PATCH = 2
7
7
  BUILD = 0
8
8
 
9
9
  def self.version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dina
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0.0
4
+ version: 3.4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David P. Shorthouse
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2026-04-28 00:00:00.000000000 Z
12
+ date: 2026-05-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_api_client