search_solr_tools 3.5.0 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: edf215242236c46fbbc1446d8635e6c353e3a5b5
4
- data.tar.gz: 2e7cfb476acb3eefc7fee1e242448b541e5ad28b
3
+ metadata.gz: 943858adbfab17cc599ccab60711c25f757b4531
4
+ data.tar.gz: 284281a588c8cf01ffb497ac69fa2c7bdcce8b4c
5
5
  SHA512:
6
- metadata.gz: 421014020a79743501f4459a1fb0f8eab38a6ac27d165ed8e5a0ccdb6935fabce7559d96b2cf1284d3ed6f73425034bc2e6c8a05f0ecb3d7fd17ecd12d53fedf
7
- data.tar.gz: 00d07f7da0050480f077744ed8d454ed70071cfa777709eefe49e86dfa9a7c8c7e7c2a1f2fddf3f5856b00b117df5fe84c3e35c8d0a70fc59a04baaed81711b5
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
@@ -1,3 +1,3 @@
1
1
  module SearchSolrTools
2
- VERSION = '3.5.0'
2
+ VERSION = '3.5.1'
3
3
  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.0
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-11 00:00:00.000000000 Z
15
+ date: 2016-02-15 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: iso8601