search_solr_tools 3.8.1 → 3.8.2

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: 0a52b09c914a74f9c78a245d9a763a0d27247919
4
- data.tar.gz: fbea93fb594475b29c665e86bbae0d237830b7a6
3
+ metadata.gz: ca4f809ba05cad3597c6df439428fc0b5317117d
4
+ data.tar.gz: e405c518148f717f4db43164e17316d50e6cf932
5
5
  SHA512:
6
- metadata.gz: d45bffddf5d2dbede48f569d6a7f11b63cb0dc793ef84d7dcca637a5639de6e0da8cf7439f1dfade4cd77eb7b732a19015542b22bf57ef1f7ec1ac2c588d9e91
7
- data.tar.gz: a457fd343d3dee9ef8d50c5aa2fbfc9d40b5f7d1cd41876ace0ffca23c2471a67ce827cb9fc5a12130216c93d2a02bedf8ade988a47896910cae40908e3d4ceb
6
+ metadata.gz: c8d55f862181baf91af980cc6671f575431991cf50f13075eb791cde85e2a5c4320afa637c851e0e472322b28c7461b046756f110b10b8862005d3e79b9d42fb
7
+ data.tar.gz: 25b27e677f64d8ef9cd6e567628a57b6c548939769c712f451d1032dca6e403023800ebb2bd23089fe9a2dea04964e470013f8fe22bec9adead7e65e22bf9b69
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## v3.8.2 (2017-03-29)
2
+
3
+ Bugfix
4
+
5
+ - Update NOAA WDS Paleo feed URL to use https.
6
+
1
7
  ## v3.8.1 (2017-03-29)
2
8
 
3
9
  Bugfix
@@ -11,7 +11,7 @@
11
11
  - http://www.gtnpdatabase.org/rest/boreholes/json
12
12
  - http://www.gtnpdatabase.org/rest/activelayers/json
13
13
  :ices_url: http://geo.ices.dk/geonetwork/srv/en/csw
14
- :ncdc_paleo_url: http://gis.ncdc.noaa.gov/gptpaleo/csw
14
+ :ncdc_paleo_url: https://gis.ncdc.noaa.gov/gptpaleo/csw
15
15
  :nmi_url: http://arcticdata.met.no/metamod/oai
16
16
  :nodc_url: https://data.nodc.noaa.gov/geoportal/csw
17
17
  :pdc_url: http://www.polardata.ca/oai/provider
@@ -38,12 +38,12 @@ module SearchSolrTools
38
38
  auth_ids = entries.map { |e| e.xpath("./dc:identifier[@scheme='urn:x-esri:specification:ServiceType:ArcIMS:Metadata:DocID']").text }
39
39
 
40
40
  auth_ids.map do |record|
41
- result_xml = get_results("http://gis.ncdc.noaa.gov/gptpaleo/csw?getxml=#{record}",
41
+ result_xml = get_results("https://gis.ncdc.noaa.gov/gptpaleo/csw?getxml=#{record}",
42
42
  '/rdf:RDF/rdf:Description').first
43
43
  solr_doc = create_new_solr_add_doc_with_child(@translator.translate(result_xml).root)
44
44
  insert_node = solr_doc.at_xpath('//doc')
45
45
  insert_node.add_child("<field name='authoritative_id'>#{record}</field>")
46
- insert_node.add_child("<field name='dataset_url'>http://gis.ncdc.noaa.gov/gptpaleo/catalog/search/resource/details.page?uuid=#{record}")
46
+ insert_node.add_child("<field name='dataset_url'>https://gis.ncdc.noaa.gov/gptpaleo/catalog/search/resource/details.page?uuid=#{record}")
47
47
  solr_doc.root
48
48
  end
49
49
  end
@@ -1,3 +1,3 @@
1
1
  module SearchSolrTools
2
- VERSION = '3.8.1'
2
+ VERSION = '3.8.2'
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.8.1
4
+ version: 3.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Chalstrom