search_solr_tools 3.5.0 → 3.5.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 943858adbfab17cc599ccab60711c25f757b4531
|
4
|
+
data.tar.gz: 284281a588c8cf01ffb497ac69fa2c7bdcce8b4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8207ca6773734a3df364812c61516b108f47b60e7e7839f4acbaa61ad3d3f035d4e5e1273420bf58bee944809e0be6a60babcfdb9aed36d170c61bbe8e598cc1
|
7
|
+
data.tar.gz: b0756d5ba461c485ad6aaaf2fc7ba28861ebc4c204b262769c7d8ba5c39792fa543b41fb37395ce9e57380bb4c2388a79f66c035089c1d43a57dcf4adf2655fa
|
@@ -8,6 +8,7 @@ module SearchSolrTools
|
|
8
8
|
module Translators
|
9
9
|
# Translates GTN-P json to solr json format
|
10
10
|
class GtnpJsonToSolr
|
11
|
+
# rubocop:disable Metrics/MethodLength
|
11
12
|
# rubocop:disable AbcSize
|
12
13
|
def translate(json_doc, json_record)
|
13
14
|
json_geo = json_doc['geo'].nil? ? json_doc['coordinates'] : json_doc['geo']['coordinates']
|
@@ -26,6 +27,7 @@ module SearchSolrTools
|
|
26
27
|
'spatial_area' => spatial_values[:spatial_area],
|
27
28
|
'spatial' => spatial_values[:spatial_index],
|
28
29
|
'temporal_coverages' => Helpers::SolrFormat::NOT_SPECIFIED,
|
30
|
+
'facet_temporal_duration' => Helpers::SolrFormat::NOT_SPECIFIED,
|
29
31
|
'authors' => parse_people(json_doc)
|
30
32
|
}
|
31
33
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: search_solr_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.5.
|
4
|
+
version: 3.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Chalstrom
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2016-02-
|
15
|
+
date: 2016-02-15 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: iso8601
|