dina 0.8.0.0 → 0.8.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c6ae5abbf48a7b17f398ef9b7847f4e2a971f1819669c0202147a085cd20268
|
4
|
+
data.tar.gz: e59a3c1ab3548dba76c6294dcc7536b9c8644be776123b367c1484b7a5981122
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4693d5abe72117aa16129a3f436ea7548537371446e6bc2ed335ddf03f4e2890816ffcf7093c02a481ec436b50c1d13203a1794d7ea119d59014488b33871c2
|
7
|
+
data.tar.gz: bfea8c578a6afdf3f30ea7857f1ebaafff6168a0952a47c0d6a8ab8c4c316eb1e05ce821a1cc66d6728016e85c99811b91c420817a34ec43996e9214506ff290
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module Dina
|
2
|
+
class GeographicSource
|
3
|
+
attr_accessor :sourceUrl
|
4
|
+
attr_accessor :customGeographicPlace
|
5
|
+
attr_accessor :selectedGeographicPlace
|
6
|
+
attr_accessor :higherGeographicPlaces
|
7
|
+
attr_accessor :stateProvince
|
8
|
+
attr_accessor :country
|
9
|
+
attr_accessor :recordedOn
|
10
|
+
|
11
|
+
def initialize
|
12
|
+
end
|
13
|
+
|
14
|
+
def to_hash
|
15
|
+
hash = {}
|
16
|
+
instance_variables.each { |var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
|
17
|
+
hash.deep_symbolize_keys
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
21
|
+
end
|
@@ -35,7 +35,7 @@ module Dina
|
|
35
35
|
property :notPubliclyReleasableReason, type: :string, default: nil
|
36
36
|
property :tags, type: :array, default: []
|
37
37
|
property :geographicPlaceNameSource, type: :string
|
38
|
-
property :geographicPlaceNameSourceDetail, type: :
|
38
|
+
property :geographicPlaceNameSourceDetail, type: :object, default: {}
|
39
39
|
property :managedAttributes, type: :array, default: []
|
40
40
|
property :geoReferenceAssertions, type: :array, default: []
|
41
41
|
property :eventGeom, type: :string
|
data/lib/dina/version.rb
CHANGED
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: 0.8.
|
4
|
+
version: 0.8.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David P. Shorthouse
|
@@ -153,6 +153,7 @@ files:
|
|
153
153
|
- lib/dina/components/address.rb
|
154
154
|
- lib/dina/components/agent_role.rb
|
155
155
|
- lib/dina/components/determination.rb
|
156
|
+
- lib/dina/components/geographic_source.rb
|
156
157
|
- lib/dina/components/georeference_assertion.rb
|
157
158
|
- lib/dina/components/shipment.rb
|
158
159
|
- lib/dina/exceptions.rb
|