dina 0.9.4.0 → 0.9.5.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: d06eb1e572f4c55b16a7b893bd3fea99ffca487dad23ad5d4de13f308c75523d
|
4
|
+
data.tar.gz: deccef76c135b0104168419af5e86b1eedb7c53791514b94e25a3470b7701707
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4284a33272a78a24cca9d71cea8ff79099051eacc18f35dc033559fff6a7a2a7401818e07b8807d3e054a9bc5d274d76a5ee5d591bd8d3a5c6529ee4525b702
|
7
|
+
data.tar.gz: 8b6cae7de323e6a140a04aaff9559b7ac49d34aeb8aa966cfdcd8fe2a968087019eeb72304f530370195747b97a92eea0cf07007fa14379387e60e9446cd4cfa
|
@@ -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.5.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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json_api_client
|