dina 1.0.7.0 → 1.0.8.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: 761a480e5d017a1d0d4600cad5adbcb6a0461ca78750a588edb0082676ba6621
4
- data.tar.gz: f049320abf3e40cf1fdc0a8fa3b600687cd57980c7fade955672d66767d0189f
3
+ metadata.gz: 917397652abb2b0768af4cadfe8bf3dd1eb24a68af6e787b391c9d604af9b84c
4
+ data.tar.gz: 434bf97f14162b26121f4ce86816bdcf716932c25432b7bb2c4378caa30f26bd
5
5
  SHA512:
6
- metadata.gz: 245a9196b2a2b2e243d505007ad8e57dacf1db31695d8c1cfdb40b7e0c7565409147eab25ef87bff0004bf1b4b7f93b6234061e2b3348e83695a3f8f50fb7024
7
- data.tar.gz: d3d5e3aabe72117b5b3235ca6a28ed6829991945ff161e5ae78c60a8b7f56a81e2444903445f084afb35bfc37c159ed19d3fcdc813e648601ee65f3f6cb03919
6
+ metadata.gz: d8e655d7ac450c38480dbd9579705db8fcb4ba66a24d17db017a2dd9dcd3e26c2bf01accd258c2add7dd70fb1d49ef5c5063868fd59f81ca4c95bd8322b81829
7
+ data.tar.gz: 188fef0f7584d401d0f0f92eb27f00ff727a335fde51b76199924e8ab369cb7fe95f5b1a438f362fbc2151bc131264015a9aba4506a90fd818f81000cce018b3
@@ -71,16 +71,16 @@ module Dina
71
71
  self.geographicPlaceNameSourceDetail = nil
72
72
  end
73
73
  if self.dwcMinimumDepthInMeters && !Validator.valid_depth_elevation(value: self.dwcMinimumDepthInMeters)
74
- raise PropertyValueInvalid, "#{self.class} is invalid. Accepted value for dwcMinimumDepthInMeters must have no more than two decimal points and be less than or equal to 15000."
74
+ raise PropertyValueInvalid, "#{self.class} is invalid. Accepted value for dwcMinimumDepthInMeters must have no more than two decimal points and be >= 0 and <= 15000."
75
75
  end
76
76
  if self.dwcMaximumDepthInMeters && !Validator.valid_depth_elevation(value: self.dwcMaximumDepthInMeters)
77
- raise PropertyValueInvalid, "#{self.class} is invalid. Accepted value for dwcMaximumDepthInMeters must have no more than two decimal points and be less than or equal to 15000."
77
+ raise PropertyValueInvalid, "#{self.class} is invalid. Accepted value for dwcMaximumDepthInMeters must have no more than two decimal points and be >= 0 and <= 15000."
78
78
  end
79
79
  if self.dwcMinimumElevationInMeters && !Validator.valid_depth_elevation(value: self.dwcMinimumElevationInMeters)
80
- raise PropertyValueInvalid, "#{self.class} is invalid. Accepted value for dwcMinimumElevationInMeters must have no more than two decimal points and be less than or equal to 15000."
80
+ raise PropertyValueInvalid, "#{self.class} is invalid. Accepted value for dwcMinimumElevationInMeters must have no more than two decimal points and be >= 0 and <= 15000."
81
81
  end
82
82
  if self.dwcMaximumElevationInMeters && !Validator.valid_depth_elevation(value: self.dwcMaximumElevationInMeters)
83
- raise PropertyValueInvalid, "#{self.class} is invalid. Accepted value for dwcMaximumElevationInMeters must have no more than two decimal points and be less than or equal to 15000."
83
+ raise PropertyValueInvalid, "#{self.class} is invalid. Accepted value for dwcMaximumElevationInMeters must have no more than two decimal points and be >= 0 and <= 15000."
84
84
  end
85
85
  super
86
86
  end
data/lib/dina/version.rb CHANGED
@@ -3,7 +3,7 @@ module Dina
3
3
 
4
4
  MAJOR = 1
5
5
  MINOR = 0
6
- PATCH = 7
6
+ PATCH = 8
7
7
  BUILD = 0
8
8
 
9
9
  def self.version
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: 1.0.7.0
4
+ version: 1.0.8.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: 2023-08-21 00:00:00.000000000 Z
12
+ date: 2023-08-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_api_client