dina 0.9.4.0 → 0.9.6.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: cce79c602acd586ad4956e059395760f905a7584d5ebb9cd009c18481e7788ee
|
4
|
+
data.tar.gz: 1a848937cff7fe9c1ea149d51776f8273c6ae2d29b5d760b9a26ff823e783f0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9504cdc4b88cabcd65b3583c9f5a0227589a6337dafa8444d7d824ec7c6190825f8fa05d50a9aac4684be35d4b100dc6ea749e80b3ccef58ffddabde13b77a1
|
7
|
+
data.tar.gz: f94ab142f10947cd46d37740a7fd3b35bff9d9682e04ec0b30642884fc445d80ccacf57f9b7b018de9f15554322e3f85fe7f2030a2de0974795f6245f2372f3f
|
@@ -12,6 +12,7 @@ module Dina
|
|
12
12
|
property :barcode, type: :string
|
13
13
|
property :group, type: :string
|
14
14
|
property :managedAttributes, type: :object
|
15
|
+
property :preparationManagedAttributes, type: :object
|
15
16
|
property :dwcOtherCatalogNumbers, type: :array
|
16
17
|
property :preservationType, type: :string
|
17
18
|
property :preparationFixative, type: :string
|
@@ -30,9 +30,12 @@ module Dina
|
|
30
30
|
property :createdBy, type: :string
|
31
31
|
property :createdOn, type: :time
|
32
32
|
|
33
|
+
has_one :region
|
34
|
+
|
33
35
|
validates_presence_of :group, message: "group is required"
|
34
36
|
validates_presence_of :name, message: "name is required"
|
35
37
|
validates_presence_of :type, message: "type is required"
|
38
|
+
validates_presence_of :seq, message: "seq is required"
|
36
39
|
validates_presence_of :lotNumber, message: "lotNumber is required"
|
37
40
|
|
38
41
|
def self.endpoint_path
|
data/lib/dina/version.rb
CHANGED
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.9.
|
4
|
+
version: 0.9.6.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-05-
|
11
|
+
date: 2023-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json_api_client
|
@@ -161,6 +161,7 @@ files:
|
|
161
161
|
- lib/dina/components/scheduled_action.rb
|
162
162
|
- lib/dina/components/shipment.rb
|
163
163
|
- lib/dina/exceptions.rb
|
164
|
+
- lib/dina/file_patch.rb
|
164
165
|
- lib/dina/json_api_client_patch.rb
|
165
166
|
- lib/dina/models/acquisition_event.rb
|
166
167
|
- lib/dina/models/agent/identifier.rb
|
@@ -229,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
229
230
|
- !ruby/object:Gem::Version
|
230
231
|
version: '0'
|
231
232
|
requirements: []
|
232
|
-
rubygems_version: 3.
|
233
|
+
rubygems_version: 3.4.10
|
233
234
|
signing_key:
|
234
235
|
specification_version: 4
|
235
236
|
summary: DINA ruby gem
|