dina 2.1.0.0 → 2.2.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: b2d410a70c6f71821ab36fd1b5b8e68823f34249f99a2215093237bf43f6ec95
4
- data.tar.gz: 6d7cbdf966733f4bb59aad4414da0a8e14e519958ad8dac24110d59a7fa336d9
3
+ metadata.gz: e527d31ca0bd584b9b366dda149a57e095915af248c52e7737ffb7cd6da8b0d3
4
+ data.tar.gz: b28a2c9952acfa1b448fc9f818383b097d9a72f6724c614accee9c452814bdbb
5
5
  SHA512:
6
- metadata.gz: 0ec042cb4af2f9ee625233895a0898ed0258dd86cbdf02d6604b1c4d0d98fcf1dd69dd4819e87252a6a6142f4effd7adcff1139e138cd929c2c31087cdff7d0c
7
- data.tar.gz: 8f73f0da0f4ca0e75a8db82a540a8c62d6dceb746edb8787c9e030f323a72d1c72dcf78f86185317f002c1657d39b5bca3237ced9aacb0dd5a3ed8eabc453109
6
+ metadata.gz: 1a9594317a290ac7d0837f5f49e3514ddc96095de9bd7755abcb6bc431ab0f1b7c94a0cc91204793b25b86276b789985af4652c6c8097c77ba29ee5694761906
7
+ data.tar.gz: 8164ce758b35eda205e76171ce12c726850f5be22c41727c18737109eb00d89d0bed5571c9950ff98d61263b738bac1195cddb035c62bea9dbd66217b210aad7
@@ -6,4 +6,5 @@ module Dina
6
6
  class ObjectInvalid < DinaException; end
7
7
  class PropertyInvalid < ObjectInvalid; end
8
8
  class PropertyValueInvalid < ObjectInvalid; end
9
+ class PropertyReadOnly < ObjectInvalid; end
9
10
  end
@@ -37,6 +37,7 @@ module Dina
37
37
  property :hostOrganism, type: :hash, default: { name: nil, remarks: nil }
38
38
  property :scheduledActions, type: :hash
39
39
  property :hierarchy, type: :hash
40
+ property :targetOrganismPrimaryScientificName, type: :string
40
41
  property :allowDuplicateName, type: :boolean
41
42
 
42
43
  has_one :collection, class_name: "Collection"
data/lib/dina/version.rb CHANGED
@@ -2,7 +2,7 @@ module Dina
2
2
  class Version
3
3
 
4
4
  MAJOR = 2
5
- MINOR = 1
5
+ MINOR = 2
6
6
  PATCH = 0
7
7
  BUILD = 0
8
8
 
data/lib/dina.rb CHANGED
@@ -11,11 +11,11 @@ module Dina
11
11
 
12
12
  JsonApiClient::Paginating::NestedParamPaginator.page_param = "offset"
13
13
  JsonApiClient::Paginating::NestedParamPaginator.per_page_param = "limit"
14
- JsonApiClient::Schema.register array: ArrayCaster
15
- JsonApiClient::Schema.register hash: HashCaster
16
- JsonApiClient::Schema.register date: DateCaster
17
- JsonApiClient::Schema.register multilingual_title: MultilingualTitleCaster
18
- JsonApiClient::Schema.register multilingual_description: MultilingualDescriptionCaster
14
+ JsonApiClient::Schema.register array: ArrayCaster,
15
+ hash: HashCaster,
16
+ date: DateCaster,
17
+ multilingual_title: MultilingualTitleCaster,
18
+ multilingual_description: MultilingualDescriptionCaster
19
19
 
20
20
  module_function
21
21
 
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: 2.1.0.0
4
+ version: 2.2.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-05-06 00:00:00.000000000 Z
12
+ date: 2024-05-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_api_client
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '1.22'
20
+ version: '1.20'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '1.22'
27
+ version: '1.20'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: keycloak
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -233,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
233
233
  - !ruby/object:Gem::Version
234
234
  version: '0'
235
235
  requirements: []
236
- rubygems_version: 3.5.3
236
+ rubygems_version: 3.5.10
237
237
  signing_key:
238
238
  specification_version: 4
239
239
  summary: DINA ruby gem