dina 3.0.0.0 → 3.1.0.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b5df9be26541369dc33ef722b3e1c3683bc1fc981585f15a5915dfe65d7621b
|
4
|
+
data.tar.gz: 292638ee427d55bfecd10af5a67f60cbba64ebabc3594438b803a54ab295261d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b3dcde98ba46f4abd3ffb66750c9c7d90856da5b5f81d4d766bcac4e8028aa6287d4599ae0e3df9d3d7fa4c8edf647748cde129294476de46b96bb84f91c0fb
|
7
|
+
data.tar.gz: cd6f4bd3867f55ca17c7b8eed0d9024896d26ce3656e5c7b3a2d16f60fa635455469b1a7346756603bd524e7695230f3dc66a28755edfd03322f3dfb3eb3ab54
|
@@ -25,6 +25,7 @@ module Dina
|
|
25
25
|
property :stateChangedOn, type: :date
|
26
26
|
property :stateChangeRemarks, type: :string
|
27
27
|
property :materialSampleRemarks, type: :string
|
28
|
+
property :sourceSet, type: :string
|
28
29
|
property :extensionValues, type: :hash
|
29
30
|
property :restrictionFieldsExtension, type: :hash
|
30
31
|
property :restrictionRemarks, type: :string
|
@@ -40,13 +41,13 @@ module Dina
|
|
40
41
|
property :targetOrganismPrimaryScientificName, type: :string
|
41
42
|
property :allowDuplicateName, type: :boolean
|
42
43
|
|
43
|
-
has_one :collection, class_name: "Collection"
|
44
44
|
has_one :collectingEvent, class_name: "CollectingEvent"
|
45
|
+
has_one :collection, class_name: "Collection"
|
45
46
|
has_one :preparationType, class_name: "PreparationType"
|
46
47
|
has_one :preparationMethod, class_name: "PreparationMethod"
|
47
48
|
has_one :parentMaterialSample, class_name: "MaterialSample"
|
48
49
|
has_one :preparationProtocol, class_name: "Protocol"
|
49
|
-
has_one :
|
50
|
+
has_one :storageUnitUsage, class_name: "StorageUnitUsage"
|
50
51
|
has_many :preparedBy, class_name: "Person"
|
51
52
|
has_many :attachment, class_name: "Attachment"
|
52
53
|
has_many :projects, class_name: "Project"
|
@@ -5,6 +5,7 @@ module Dina
|
|
5
5
|
property :id, type: :string, default: SecureRandom.uuid_v7
|
6
6
|
property :group, type: :string
|
7
7
|
property :name, type: :string
|
8
|
+
property :isGeneric, type: :boolean
|
8
9
|
property :barcode, type: :string
|
9
10
|
property :storageUnitChildren, type: :array
|
10
11
|
property :hierarchy, type: :string
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require_rel '../base_model'
|
2
|
+
|
3
|
+
module Dina
|
4
|
+
class StorageUnitUsage < BaseModel
|
5
|
+
property :id, type: :string, default: SecureRandom.uuid_v7
|
6
|
+
property :usageType, type: :string
|
7
|
+
property :wellRow, type: :string
|
8
|
+
property :wellColumn, type: :string
|
9
|
+
property :cellNumber, type: :string
|
10
|
+
property :storageUnitName, type: :string
|
11
|
+
property :createdBy, type: :string
|
12
|
+
property :createdOn, type: :time
|
13
|
+
|
14
|
+
has_one :storage_unit, class_name: "StorageUnit"
|
15
|
+
has_one :storage_unit_type, class_name: "StorageUnitType"
|
16
|
+
|
17
|
+
validates_presence_of :usageType, message: "usageType is required"
|
18
|
+
|
19
|
+
def self.endpoint_path
|
20
|
+
"collection-api/"
|
21
|
+
end
|
22
|
+
|
23
|
+
def self.table_name
|
24
|
+
"storage-unit-usage"
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
data/lib/dina/version.rb
CHANGED
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
|
+
version: 3.1.0.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: 2024-
|
12
|
+
date: 2024-07-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_api_client
|
@@ -198,6 +198,7 @@ files:
|
|
198
198
|
- lib/dina/models/sequence/thermocycler_profile.rb
|
199
199
|
- lib/dina/models/storage/storage_unit.rb
|
200
200
|
- lib/dina/models/storage/storage_unit_type.rb
|
201
|
+
- lib/dina/models/storage/storage_unit_usage.rb
|
201
202
|
- lib/dina/models/transaction/transaction.rb
|
202
203
|
- lib/dina/models/user.rb
|
203
204
|
- lib/dina/rest_client_request_patch.rb
|