dina 1.0.0.0 → 1.0.1.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: 19e690231bb618d0e35421466a61c550095d2f3bfe6ee83b258e03f8e6873f7d
4
- data.tar.gz: 6733125d440e421b987e2c09bfb2d479d33d20f350f355033bb6bc9c22a104b0
3
+ metadata.gz: 2d2a097b00eeb5c7b3c635dd0d51aa07522184b1450fd236f04d0fe24f31c327
4
+ data.tar.gz: b02dddb19f47c77135c2adc1e14c58438c8f68deebd3bde2090af43f14ae7a72
5
5
  SHA512:
6
- metadata.gz: 40e453289825aec7185c1c7bf7d316c4f75a13ffcf26f419b9f965aa2434154207da2a7d43dfcdc6d0ef08dac10cf2c6a931a36dcdbe348f73d87098d063217c
7
- data.tar.gz: aef21cc4aed3d0670809fa0fec20488b9702d8abcf7b653c3d44e33f4d9f27448c3cc3712a04f4bb320bc5ecb882af71cbc751a8d3d1fc945c8d48c18d30825a
6
+ metadata.gz: d27f56063e50804ded7c43c3a67a0cce731c5473857e0e075f21892204ac8acbf266eae22fae093c90b665b31c263a27532d4316c00451f5d27c2212c344a1ec
7
+ data.tar.gz: b22951760cf2a7e3d6c4a3bf13a036d6430d514030ae25aa9ec8bca1b8aa6e4d003da75dcd7462b554c1306cc6a4c7ec83140ef2a2234f963fcb4bbcd6e0c017
@@ -45,7 +45,6 @@ module Dina
45
45
  has_one :preparation_method, class_name: "PreparationMethod"
46
46
  has_one :parent_material_sample, class_name: "MaterialSample"
47
47
  has_one :preparation_protocol, class_name: "Protocol"
48
- has_one :acquisition_event, class_name: "AcquisitionEvent"
49
48
  has_one :storage_unit, class_name: "StorageUnit"
50
49
  has_many :prepared_by, class_name: "Person"
51
50
  has_many :attachment, class_name: "Attachment"
data/lib/dina/version.rb CHANGED
@@ -3,7 +3,7 @@ module Dina
3
3
 
4
4
  MAJOR = 1
5
5
  MINOR = 0
6
- PATCH = 0
6
+ PATCH = 1
7
7
  BUILD = 0
8
8
 
9
9
  def self.version
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: 1.0.0.0
4
+ version: 1.0.1.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-31 00:00:00.000000000 Z
11
+ date: 2023-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json_api_client
@@ -163,7 +163,6 @@ files:
163
163
  - lib/dina/exceptions.rb
164
164
  - lib/dina/file_patch.rb
165
165
  - lib/dina/json_api_client_patch.rb
166
- - lib/dina/models/acquisition_event.rb
167
166
  - lib/dina/models/agent/identifier.rb
168
167
  - lib/dina/models/agent/organization.rb
169
168
  - lib/dina/models/agent/person.rb
@@ -1,24 +0,0 @@
1
- require_rel 'base_model'
2
-
3
- module Dina
4
- class AcquisitionEvent < BaseModel
5
- property :id, type: :string, default: SecureRandom.uuid
6
- property :group, type: :string
7
- property :receivedDate, type: :date
8
- property :receptionRemarks, type: :string
9
- property :isolatedOn, type: :date
10
- property :isolationRemarks, type: :string
11
- property :createdBy, type: :string
12
- property :createdOn, type: :time
13
-
14
- validates_presence_of :group, message: "group is required"
15
-
16
- def self.endpoint_path
17
- "collection-api/"
18
- end
19
-
20
- def self.table_name
21
- "acquisition-event"
22
- end
23
- end
24
- end