search_solr_tools 4.2.0 → 5.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -1
  3. data/README.md +3 -3
  4. data/lib/search_solr_tools.rb +6 -7
  5. data/lib/search_solr_tools/harvesters/adc.rb +2 -0
  6. data/lib/search_solr_tools/harvesters/ade_auto_suggest.rb +2 -0
  7. data/lib/search_solr_tools/harvesters/auto_suggest.rb +1 -0
  8. data/lib/search_solr_tools/harvesters/base.rb +8 -2
  9. data/lib/search_solr_tools/harvesters/bcodmo.rb +1 -0
  10. data/lib/search_solr_tools/harvesters/data_one.rb +2 -0
  11. data/lib/search_solr_tools/harvesters/echo.rb +2 -0
  12. data/lib/search_solr_tools/harvesters/gtnp.rb +1 -0
  13. data/lib/search_solr_tools/harvesters/ices.rb +3 -0
  14. data/lib/search_solr_tools/harvesters/ncdc_paleo.rb +3 -0
  15. data/lib/search_solr_tools/harvesters/nmi.rb +2 -0
  16. data/lib/search_solr_tools/harvesters/nodc.rb +3 -0
  17. data/lib/search_solr_tools/harvesters/nsidc_auto_suggest.rb +2 -0
  18. data/lib/search_solr_tools/harvesters/oai.rb +3 -0
  19. data/lib/search_solr_tools/harvesters/pdc.rb +2 -0
  20. data/lib/search_solr_tools/harvesters/r2r.rb +2 -2
  21. data/lib/search_solr_tools/harvesters/rda.rb +2 -0
  22. data/lib/search_solr_tools/harvesters/tdar.rb +2 -0
  23. data/lib/search_solr_tools/harvesters/usgs.rb +3 -0
  24. data/lib/search_solr_tools/helpers/data_one_format.rb +3 -3
  25. data/lib/search_solr_tools/helpers/iso_to_solr.rb +1 -0
  26. data/lib/search_solr_tools/helpers/iso_to_solr_format.rb +2 -2
  27. data/lib/search_solr_tools/helpers/ncdc_paleo_format.rb +3 -3
  28. data/lib/search_solr_tools/helpers/r2r_format.rb +3 -3
  29. data/lib/search_solr_tools/helpers/selectors.rb +1 -2
  30. data/lib/search_solr_tools/helpers/solr_format.rb +1 -0
  31. data/lib/search_solr_tools/helpers/tdar_format.rb +3 -3
  32. data/lib/search_solr_tools/helpers/translate_spatial_coverage.rb +2 -2
  33. data/lib/search_solr_tools/helpers/translate_temporal_coverage.rb +1 -1
  34. data/lib/search_solr_tools/helpers/usgs_format.rb +2 -2
  35. data/lib/search_solr_tools/selectors/adc.rb +2 -1
  36. data/lib/search_solr_tools/selectors/data_one.rb +2 -1
  37. data/lib/search_solr_tools/selectors/echo_iso.rb +2 -1
  38. data/lib/search_solr_tools/selectors/ices_iso.rb +2 -1
  39. data/lib/search_solr_tools/selectors/ncdc_paleo.rb +2 -1
  40. data/lib/search_solr_tools/selectors/nmi.rb +2 -1
  41. data/lib/search_solr_tools/selectors/nodc_iso.rb +2 -1
  42. data/lib/search_solr_tools/selectors/pdc_iso.rb +2 -1
  43. data/lib/search_solr_tools/selectors/r2r.rb +3 -1
  44. data/lib/search_solr_tools/selectors/rda.rb +2 -1
  45. data/lib/search_solr_tools/selectors/tdar_opensearch.rb +3 -1
  46. data/lib/search_solr_tools/selectors/usgs_iso.rb +3 -1
  47. data/lib/search_solr_tools/translators/bcodmo_json.rb +3 -0
  48. data/lib/search_solr_tools/translators/eol_to_solr.rb +6 -0
  49. data/lib/search_solr_tools/translators/gtnp_json.rb +3 -0
  50. data/lib/search_solr_tools/translators/nsidc_json.rb +3 -0
  51. data/lib/search_solr_tools/version.rb +1 -1
  52. data/search_solr_tools.gemspec +21 -22
  53. metadata +44 -54
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5929841e7bf672bf499a73bbfd49a4f7b13db0238cfd57c3705d59513351fc30
4
- data.tar.gz: f4a8809af8058bb43f24a0a0842b89e5158ca96ae16145d65f63dd8a6030f8bd
3
+ metadata.gz: 763cb91da974c8cfa5841996b861f5a0492d950d3abf39fd62813af3a521ce22
4
+ data.tar.gz: d1d8ea0232c02f91f739baae6387a1ca71a03030962f0919904d03635b2d7ba2
5
5
  SHA512:
6
- metadata.gz: 867c37d6e1b39d2a7de7a001c0aec4cc0891338f0d3504e7de8062b3ff88aeef1e8794f312f97b038bd4b1a4936e58e5629ea97907c417d13e9ead01d502cfb4
7
- data.tar.gz: d0eb4c0cdd073d4c34c8460a72e767347d52dcc0d03de007c829e7d6b2a20075e8013d1764db39e74e4d62a62e43537599b28d98b8ab0cbe163499663b578e64
6
+ metadata.gz: 7c4bc5946b0a19f0634a28acfc6ff2282098ad3a730fb1060c4360f1a25a10edc78278c4ea123da688a4eeeaf62887ef6d86ec2ca24bebfd51f08783926d1681
7
+ data.tar.gz: 248141e1bc29f26b60795b1d4f73f9dda804ddbf1841ffbc490ca7690fe84fb2d1fb5b501c3f8df23cd8c9c11efd7dd66b65e0394114005f5e22c9b81b002781
@@ -1,9 +1,27 @@
1
- ## v4.1.0 (2019-08-12)
1
+ ## v5.0.1 (2020-07-02)
2
+
3
+ - Bug fix: some requires weren't included that needed to be.
4
+
5
+ ## v5.0.0 (2020-07-02)
6
+
7
+ - Update Ruby to 2.6.5, update gem dependencies to more recent version.
8
+ - Updates to correspond with an update to Solr 8.5.2
9
+
10
+ ## v4.2.1 (2019-08-13)
11
+
12
+ - Patch release to include updated CHANGELOG.
13
+
14
+ ## v4.2.0 (2019-08-12)
2
15
 
3
16
  - Update dataset-catalog-services URL to only fetch current (*not* retired)
4
17
  metadata records.
5
18
  - Add a few more gem release notes to README.
6
19
 
20
+ Note: v4.1.0 was prematurely released and, in theory, yanked. However, on the
21
+ second try at publishing 4.1.0, Rubygems complained about the attempt to
22
+ republish a gem. The version was therefore bumped again to 4.2.0 as the path of
23
+ least resistance to a successful publish. v4.1.0 should not be used.
24
+
7
25
  ## v4.0.1 (2019-07-08)
8
26
 
9
27
  - Update CHANGELOG and release instructions.
data/README.md CHANGED
@@ -61,7 +61,7 @@ Once you have the gem built in the project directory, install the utility:
61
61
 
62
62
  ### Requirements
63
63
 
64
- * Ruby > 2.0.0
64
+ * Ruby > 2.6.5
65
65
  * [Bundler](http://bundler.io/)
66
66
  * Requirements for nokogiri:
67
67
  * [libxml2/libxml2-dev](http://xmlsoft.org/)
@@ -105,7 +105,7 @@ Please be sure to run them in the `bundle exec` context if you're utilizing bund
105
105
 
106
106
  Requirements:
107
107
 
108
- * Ruby > 2.0.0
108
+ * Ruby > 2.6.5
109
109
  * [Bundler](http://bundler.io/)
110
110
  * [Gem Release](https://github.com/svenfuchs/gem-release)
111
111
  * [Rake](https://github.com/ruby/rake)
@@ -150,7 +150,7 @@ order to publish a new version of the gem to Rubygems. To get the lastest API ke
150
150
  ### SOLR
151
151
 
152
152
  To harvest data utilizing the gem, you will need an installed instance of [Solr
153
- 8.1.1](https://lucene.apache.org/solr/guide/)
153
+ 8.5.3](https://lucene.apache.org/solr/guide/)
154
154
 
155
155
  #### NSIDC
156
156
 
@@ -1,8 +1,7 @@
1
- require 'require_all'
2
- require_relative './search_solr_tools/config/environments'
3
- require_relative './search_solr_tools/version'
1
+ require_relative 'search_solr_tools/config/environments'
2
+ require_relative 'search_solr_tools/version'
4
3
 
5
- require_rel './search_solr_tools/helpers'
6
- require_rel './search_solr_tools/selectors'
7
- require_rel './search_solr_tools/harvesters'
8
- require_rel './search_solr_tools/translators'
4
+ require_relative 'search_solr_tools/helpers/selectors'
5
+ %w( selectors harvesters translators ).each do |subdir|
6
+ Dir[File.join(__dir__, 'search_solr_tools', subdir, '*.rb')].each { |file| require file }
7
+ end
@@ -1,3 +1,5 @@
1
+ require_relative 'base'
2
+
1
3
  module SearchSolrTools
2
4
  module Harvesters
3
5
  class Adc < Base
@@ -1,3 +1,5 @@
1
+ require_relative 'auto_suggest'
2
+
1
3
  module SearchSolrTools
2
4
  module Harvesters
3
5
  class AdeAutoSuggest < AutoSuggest
@@ -1,3 +1,4 @@
1
+ require_relative 'base'
1
2
  require 'json'
2
3
  require 'rest-client'
3
4
 
@@ -5,6 +5,12 @@ require 'rest-client'
5
5
  require 'rsolr'
6
6
  require 'time'
7
7
 
8
+ require 'search_solr_tools'
9
+ require_relative '../helpers/iso_namespaces'
10
+ require_relative '../helpers/solr_format'
11
+ require_relative '../helpers/iso_to_solr'
12
+
13
+
8
14
  module SearchSolrTools
9
15
  module Harvesters
10
16
  # base class for solr harvesters
@@ -43,7 +49,7 @@ module SearchSolrTools
43
49
  constraints = sanitize_data_centers_constraints(constraints)
44
50
  delete_query = "last_update:[* TO #{timestamp}] AND #{constraints}"
45
51
  solr = RSolr.connect url: solr_url + "/#{solr_core}"
46
- unchanged_count = (solr.get 'select', params: { q: delete_query, rows: 0 })['response']['numFound'].to_i
52
+ unchanged_count = (solr.get 'select', params: { wt: :ruby, q: delete_query, rows: 0 })['response']['numFound'].to_i
47
53
  if unchanged_count == 0
48
54
  puts "All documents were updated after #{timestamp}, nothing to delete"
49
55
  else
@@ -61,7 +67,7 @@ module SearchSolrTools
61
67
  end
62
68
 
63
69
  def remove_documents(solr, delete_query, constraints, force, numfound)
64
- all_response_count = (solr.get 'select', params: { q: constraints, rows: 0 })['response']['numFound']
70
+ all_response_count = (solr.get 'select', params: { wt: :ruby, q: constraints, rows: 0 })['response']['numFound']
65
71
  if force || (numfound / all_response_count.to_f < DELETE_DOCUMENTS_RATIO)
66
72
  puts "Deleting #{numfound} documents for #{constraints}"
67
73
  solr.delete_by_query delete_query
@@ -1,3 +1,4 @@
1
+ require_relative 'base'
1
2
  require 'json'
2
3
  require 'rest-client'
3
4
 
@@ -1,3 +1,5 @@
1
+ require_relative 'base'
2
+
1
3
  module SearchSolrTools
2
4
  module Harvesters
3
5
  class DataOne < Base
@@ -1,3 +1,5 @@
1
+ require_relative 'base'
2
+
1
3
  module SearchSolrTools
2
4
  module Harvesters
3
5
  # Harvests data from ECHO and inserts it into Solr after it has been translated
@@ -1,3 +1,4 @@
1
+ require_relative 'base'
1
2
  require 'json'
2
3
  require 'rest-client'
3
4
 
@@ -1,3 +1,6 @@
1
+ require_relative 'base'
2
+ require_relative '../helpers/csw_iso_query_builder'
3
+
1
4
  module SearchSolrTools
2
5
  module Harvesters
3
6
  # Harvests data from ICES and inserts it into Solr after it has been translated
@@ -1,3 +1,6 @@
1
+ require_relative 'base'
2
+ require_relative '../helpers/csw_iso_query_builder'
3
+
1
4
  module SearchSolrTools
2
5
  module Harvesters
3
6
  # Harvests data from NODC PALEO and inserts it into Solr after it has been translated
@@ -1,3 +1,5 @@
1
+ require_relative 'oai'
2
+
1
3
  module SearchSolrTools
2
4
  module Harvesters
3
5
  class Nmi < Oai
@@ -1,3 +1,6 @@
1
+ require_relative 'base'
2
+ require_relative '../helpers/csw_iso_query_builder'
3
+
1
4
  module SearchSolrTools
2
5
  module Harvesters
3
6
  # Harvests data from NODC and inserts it into Solr after it has been translated
@@ -1,3 +1,5 @@
1
+ require_relative 'auto_suggest'
2
+
1
3
  module SearchSolrTools
2
4
  module Harvesters
3
5
  class NsidcAutoSuggest < AutoSuggest
@@ -1,3 +1,6 @@
1
+ require_relative 'base'
2
+ require_relative '../helpers/query_builder'
3
+
1
4
  require 'json'
2
5
 
3
6
  module SearchSolrTools
@@ -1,3 +1,5 @@
1
+ require_relative 'oai'
2
+
1
3
  module SearchSolrTools
2
4
  module Harvesters
3
5
  # Harvests data from Polar data catalogue and inserts it into
@@ -1,8 +1,8 @@
1
+ require_relative 'base'
2
+
1
3
  require 'nokogiri'
2
4
  require 'rest-client'
3
5
 
4
- require_relative 'base'
5
-
6
6
  module SearchSolrTools
7
7
  module Harvesters
8
8
  class R2R < Base
@@ -1,3 +1,5 @@
1
+ require_relative 'oai'
2
+
1
3
  module SearchSolrTools
2
4
  module Harvesters
3
5
  # Harvests the RDA feed
@@ -1,3 +1,5 @@
1
+ require_relative 'base'
2
+
1
3
  module SearchSolrTools
2
4
  module Harvesters
3
5
  # Harvests data from TDAR and inserts it into Solr after it has been translated
@@ -1,3 +1,6 @@
1
+ require_relative 'base'
2
+ require_relative '../helpers/csw_iso_query_builder'
3
+
1
4
  module SearchSolrTools
2
5
  module Harvesters
3
6
  # Harvests data from USGS and inserts it into Solr after it has been translated
@@ -1,6 +1,6 @@
1
- require_relative './iso_namespaces'
2
- require_relative './iso_to_solr_format'
3
- require_relative './solr_format'
1
+ require_relative 'iso_namespaces'
2
+ require_relative 'iso_to_solr_format'
3
+ require_relative 'solr_format'
4
4
 
5
5
  module SearchSolrTools
6
6
  module Helpers
@@ -1,3 +1,4 @@
1
+ require_relative 'selectors'
1
2
  require 'nokogiri'
2
3
 
3
4
  module SearchSolrTools
@@ -1,7 +1,7 @@
1
1
  require 'date'
2
2
 
3
- require_relative './iso_namespaces'
4
- require_relative './solr_format'
3
+ require_relative 'iso_namespaces'
4
+ require_relative 'solr_format'
5
5
 
6
6
  module SearchSolrTools
7
7
  module Helpers
@@ -1,8 +1,8 @@
1
1
  require 'date'
2
2
 
3
- require_relative './iso_namespaces'
4
- require_relative './solr_format'
5
- require_relative './iso_to_solr_format'
3
+ require_relative 'iso_namespaces'
4
+ require_relative 'solr_format'
5
+ require_relative 'iso_to_solr_format'
6
6
 
7
7
  module SearchSolrTools
8
8
  module Helpers
@@ -1,6 +1,6 @@
1
- require_relative './iso_namespaces'
2
- require_relative './iso_to_solr_format'
3
- require_relative './solr_format'
1
+ require_relative 'iso_namespaces'
2
+ require_relative 'iso_to_solr_format'
3
+ require_relative 'solr_format'
4
4
 
5
5
  module SearchSolrTools
6
6
  module Helpers
@@ -1,5 +1,4 @@
1
- require 'require_all'
2
- require_rel '../selectors'
1
+ Dir[File.join(__dir__, '..', 'selectors', '*.rb')].each { |file| require file }
3
2
 
4
3
  module SearchSolrTools
5
4
  module Helpers
@@ -2,6 +2,7 @@ require 'date'
2
2
  require 'iso8601'
3
3
 
4
4
  require_relative 'bounding_box_util'
5
+ require_relative 'facet_configuration'
5
6
 
6
7
  module SearchSolrTools
7
8
  module Helpers
@@ -1,6 +1,6 @@
1
- require_relative './iso_namespaces'
2
- require_relative './iso_to_solr_format'
3
- require_relative './solr_format'
1
+ require_relative 'iso_namespaces'
2
+ require_relative 'iso_to_solr_format'
3
+ require_relative 'solr_format'
4
4
 
5
5
  module SearchSolrTools
6
6
  module Helpers
@@ -1,7 +1,7 @@
1
1
  require 'rgeo/geo_json'
2
2
 
3
- require 'search_solr_tools/helpers/bounding_box_util'
4
- require 'search_solr_tools/helpers/iso_to_solr_format'
3
+ require_relative 'bounding_box_util'
4
+ require_relative 'iso_to_solr_format'
5
5
 
6
6
  module SearchSolrTools
7
7
  module Helpers
@@ -1,6 +1,6 @@
1
1
  require 'rgeo/geo_json'
2
2
 
3
- require 'search_solr_tools/helpers/solr_format'
3
+ require_relative 'solr_format'
4
4
 
5
5
  module SearchSolrTools
6
6
  module Helpers
@@ -1,5 +1,5 @@
1
- require_relative './iso_namespaces'
2
- require_relative './iso_to_solr_format'
1
+ require_relative 'iso_namespaces'
2
+ require_relative 'iso_to_solr_format'
3
3
 
4
4
  module SearchSolrTools
5
5
  module Helpers
@@ -1,4 +1,5 @@
1
- require 'search_solr_tools'
1
+ require_relative '../helpers/solr_format'
2
+ require_relative '../helpers/data_one_format'
2
3
 
3
4
  module SearchSolrTools
4
5
  module Selectors
@@ -1,4 +1,5 @@
1
- require 'search_solr_tools'
1
+ require_relative '../helpers/data_one_format'
2
+ require_relative '../helpers/solr_format'
2
3
 
3
4
  module SearchSolrTools
4
5
  module Selectors
@@ -1,4 +1,5 @@
1
- require 'search_solr_tools'
1
+ require_relative '../helpers/solr_format'
2
+ require_relative '../helpers/iso_to_solr_format'
2
3
 
3
4
  module SearchSolrTools
4
5
  module Selectors
@@ -1,4 +1,5 @@
1
- require 'search_solr_tools'
1
+ require_relative '../helpers/solr_format'
2
+ require_relative '../helpers/iso_to_solr_format'
2
3
 
3
4
  module SearchSolrTools
4
5
  module Selectors
@@ -1,4 +1,5 @@
1
- require 'search_solr_tools'
1
+ require_relative '../helpers/solr_format'
2
+ require_relative '../helpers/ncdc_paleo_format'
2
3
 
3
4
  module SearchSolrTools
4
5
  module Selectors
@@ -1,4 +1,5 @@
1
- require 'search_solr_tools'
1
+ require_relative '../helpers/solr_format'
2
+ require_relative '../helpers/iso_to_solr_format'
2
3
 
3
4
  module SearchSolrTools
4
5
  module Selectors
@@ -1,4 +1,5 @@
1
- require 'search_solr_tools'
1
+ require_relative '../helpers/solr_format'
2
+ require_relative '../helpers/iso_to_solr_format'
2
3
 
3
4
  module SearchSolrTools
4
5
  module Selectors
@@ -1,4 +1,5 @@
1
- require 'search_solr_tools'
1
+ require_relative '../helpers/solr_format'
2
+ require_relative '../helpers/iso_to_solr_format'
2
3
 
3
4
  module SearchSolrTools
4
5
  module Selectors
@@ -1,4 +1,6 @@
1
- require 'search_solr_tools'
1
+ require_relative '../helpers/solr_format'
2
+ require_relative '../helpers/iso_to_solr_format'
3
+ require_relative '../helpers/r2r_format'
2
4
 
3
5
  module SearchSolrTools
4
6
  module Selectors
@@ -1,4 +1,5 @@
1
- require 'search_solr_tools'
1
+ require_relative '../helpers/solr_format'
2
+ require_relative '../helpers/iso_to_solr_format'
2
3
 
3
4
  module SearchSolrTools
4
5
  module Selectors
@@ -1,4 +1,6 @@
1
- require 'search_solr_tools'
1
+ require_relative '../helpers/solr_format'
2
+ require_relative '../helpers/iso_to_solr_format'
3
+ require_relative '../helpers/tdar_format'
2
4
 
3
5
  module SearchSolrTools
4
6
  module Selectors
@@ -1,4 +1,6 @@
1
- require 'search_solr_tools'
1
+ require_relative '../helpers/solr_format'
2
+ require_relative '../helpers/iso_to_solr_format'
3
+ require_relative '../helpers/usgs_format'
2
4
 
3
5
  module SearchSolrTools
4
6
  module Selectors
@@ -4,6 +4,9 @@ require 'rgeo/geo_json'
4
4
  require 'rgeo/wkrep/wkt_parser'
5
5
 
6
6
  require 'search_solr_tools'
7
+ require_relative '../helpers/solr_format'
8
+ require_relative '../helpers/translate_temporal_coverage'
9
+ require_relative '../helpers/translate_spatial_coverage'
7
10
 
8
11
  module SearchSolrTools
9
12
  module Translators
@@ -1,3 +1,9 @@
1
+ require 'search_solr_tools'
2
+ require_relative '../helpers/solr_format'
3
+ require_relative '../helpers/translate_temporal_coverage'
4
+ require_relative '../helpers/translate_spatial_coverage'
5
+ require_relative '../helpers/bounding_box_util'
6
+
1
7
  module SearchSolrTools
2
8
  module Translators
3
9
  # Translates an EOL THREDDS dataset link set into a SOLR json ingest record
@@ -3,6 +3,9 @@ require 'rest-client'
3
3
  require 'rgeo/geo_json'
4
4
 
5
5
  require 'search_solr_tools'
6
+ require_relative '../helpers/solr_format'
7
+ require_relative '../helpers/translate_temporal_coverage'
8
+ require_relative '../helpers/translate_spatial_coverage'
6
9
 
7
10
  module SearchSolrTools
8
11
  module Translators
@@ -2,6 +2,9 @@
2
2
  require 'rgeo/geo_json'
3
3
 
4
4
  require 'search_solr_tools'
5
+ require_relative '../helpers/solr_format'
6
+ require_relative '../helpers/translate_temporal_coverage'
7
+ require_relative '../helpers/translate_spatial_coverage'
5
8
 
6
9
  module SearchSolrTools
7
10
  module Translators
@@ -1,3 +1,3 @@
1
1
  module SearchSolrTools
2
- VERSION = '4.2.0'
2
+ VERSION = '5.0.1.release.1'
3
3
  end
@@ -7,8 +7,8 @@ gem_files = %(CHANGELOG.md COPYING README.md bin/ lib/ search_solr_tools.gemspec
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = 'search_solr_tools'
9
9
  spec.version = SearchSolrTools::VERSION
10
- spec.authors = ['Chris Chalstrom', 'Michael Brandt', 'Jonathan Kovarik', 'Luis Lopez', 'Stuart Reed']
11
- spec.email = ['cchalstr@nsidc.org', 'mbrandt@colorado.edu', 'kovarik@nsidc.org', 'luis.lopezespinosa@colorado.edu', 'stuart.reed@colorado.edu']
10
+ spec.authors = ['Chris Chalstrom', 'Michael Brandt', 'Jonathan Kovarik', 'Luis Lopez', 'Stuart Reed', 'Julia Collins', 'Scott Lewis']
11
+ spec.email = ['cchalstr@nsidc.org', 'mbrandt@colorado.edu', 'kovarik@nsidc.org', 'luis.lopezespinosa@colorado.edu', 'stuart.reed@colorado.edu', 'jcollins@nsidc.org', 'scott.lewis@nsidc.org']
12
12
  spec.summary = 'Tools to harvest and manage various scientific dataset feeds in a Solr instance.'
13
13
  spec.description = <<-EOF
14
14
  Ruby translators to transform various metadata feeds into solr documents and
@@ -23,25 +23,24 @@ Gem::Specification.new do |spec|
23
23
  spec.test_files = spec.files.grep(/^(test|spec|features)\//)
24
24
  spec.require_paths = ['lib']
25
25
 
26
- spec.required_ruby_version = '~> 2.0'
26
+ spec.required_ruby_version = '~> 2.6.5'
27
27
 
28
- spec.add_runtime_dependency 'ffi-geos', '~> 1.2.0'
29
- spec.add_runtime_dependency 'iso8601', '~> 0.8'
30
- spec.add_runtime_dependency 'multi_json', '~> 1.11'
31
- spec.add_runtime_dependency 'nokogiri', '~> 1.10.3'
32
- spec.add_runtime_dependency 'require_all', '~> 1.3'
33
- spec.add_runtime_dependency 'rest-client', '~> 2.0.2'
34
- spec.add_runtime_dependency 'rgeo', '~> 0.3'
35
- spec.add_runtime_dependency 'rgeo-geojson', '~> 0.3'
36
- spec.add_runtime_dependency 'rsolr', '~> 1.0'
37
- spec.add_runtime_dependency 'thor', '~> 0.18'
38
- spec.add_development_dependency 'gem-release', '~> 0.7'
39
- spec.add_development_dependency 'guard', '~> 2.12'
40
- spec.add_development_dependency 'guard-rspec', '~> 4.6'
41
- spec.add_development_dependency 'guard-rubocop', '~> 1.2'
42
- spec.add_development_dependency 'rake', '~> 10.4'
43
- spec.add_development_dependency 'rspec', '~> 3.2'
44
- spec.add_development_dependency 'rubocop', '~> 0.71.0'
45
- spec.add_development_dependency 'webmock', '~> 3.6.0'
46
- spec.add_development_dependency 'listen', '3.0.5'
28
+ spec.add_runtime_dependency 'ffi-geos', '~> 2.1.0'
29
+ spec.add_runtime_dependency 'iso8601', '~> 0.12.2'
30
+ spec.add_runtime_dependency 'multi_json', '~> 1.14.1'
31
+ spec.add_runtime_dependency 'nokogiri', '~> 1.10.9'
32
+ spec.add_runtime_dependency 'rest-client', '~> 2.1.0'
33
+ spec.add_runtime_dependency 'rgeo', '~> 2.1.1'
34
+ spec.add_runtime_dependency 'rgeo-geojson', '~> 2.1.1'
35
+ spec.add_runtime_dependency 'rsolr', '~> 2.3.0'
36
+ spec.add_runtime_dependency 'thor', '~> 1.0.1'
37
+ spec.add_development_dependency 'gem-release', '~> 2.1.1'
38
+ spec.add_development_dependency 'guard', '~> 2.16.2'
39
+ spec.add_development_dependency 'guard-rspec', '~> 4.7.3'
40
+ spec.add_development_dependency 'guard-rubocop', '~> 1.3'
41
+ spec.add_development_dependency 'rake', '~> 13.0.1'
42
+ spec.add_development_dependency 'rspec', '~> 3.9.0'
43
+ spec.add_development_dependency 'rubocop', '~> 0.86.0'
44
+ spec.add_development_dependency 'webmock', '~> 3.8.3'
45
+ spec.add_development_dependency 'listen', '3.2.1'
47
46
  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: 4.2.0
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Chalstrom
@@ -9,10 +9,12 @@ authors:
9
9
  - Jonathan Kovarik
10
10
  - Luis Lopez
11
11
  - Stuart Reed
12
+ - Julia Collins
13
+ - Scott Lewis
12
14
  autorequire:
13
15
  bindir: bin
14
16
  cert_chain: []
15
- date: 2019-08-13 00:00:00.000000000 Z
17
+ date: 2020-07-02 00:00:00.000000000 Z
16
18
  dependencies:
17
19
  - !ruby/object:Gem::Dependency
18
20
  name: ffi-geos
@@ -20,266 +22,252 @@ dependencies:
20
22
  requirements:
21
23
  - - "~>"
22
24
  - !ruby/object:Gem::Version
23
- version: 1.2.0
25
+ version: 2.1.0
24
26
  type: :runtime
25
27
  prerelease: false
26
28
  version_requirements: !ruby/object:Gem::Requirement
27
29
  requirements:
28
30
  - - "~>"
29
31
  - !ruby/object:Gem::Version
30
- version: 1.2.0
32
+ version: 2.1.0
31
33
  - !ruby/object:Gem::Dependency
32
34
  name: iso8601
33
35
  requirement: !ruby/object:Gem::Requirement
34
36
  requirements:
35
37
  - - "~>"
36
38
  - !ruby/object:Gem::Version
37
- version: '0.8'
39
+ version: 0.12.2
38
40
  type: :runtime
39
41
  prerelease: false
40
42
  version_requirements: !ruby/object:Gem::Requirement
41
43
  requirements:
42
44
  - - "~>"
43
45
  - !ruby/object:Gem::Version
44
- version: '0.8'
46
+ version: 0.12.2
45
47
  - !ruby/object:Gem::Dependency
46
48
  name: multi_json
47
49
  requirement: !ruby/object:Gem::Requirement
48
50
  requirements:
49
51
  - - "~>"
50
52
  - !ruby/object:Gem::Version
51
- version: '1.11'
53
+ version: 1.14.1
52
54
  type: :runtime
53
55
  prerelease: false
54
56
  version_requirements: !ruby/object:Gem::Requirement
55
57
  requirements:
56
58
  - - "~>"
57
59
  - !ruby/object:Gem::Version
58
- version: '1.11'
60
+ version: 1.14.1
59
61
  - !ruby/object:Gem::Dependency
60
62
  name: nokogiri
61
63
  requirement: !ruby/object:Gem::Requirement
62
64
  requirements:
63
65
  - - "~>"
64
66
  - !ruby/object:Gem::Version
65
- version: 1.10.3
67
+ version: 1.10.9
66
68
  type: :runtime
67
69
  prerelease: false
68
70
  version_requirements: !ruby/object:Gem::Requirement
69
71
  requirements:
70
72
  - - "~>"
71
73
  - !ruby/object:Gem::Version
72
- version: 1.10.3
73
- - !ruby/object:Gem::Dependency
74
- name: require_all
75
- requirement: !ruby/object:Gem::Requirement
76
- requirements:
77
- - - "~>"
78
- - !ruby/object:Gem::Version
79
- version: '1.3'
80
- type: :runtime
81
- prerelease: false
82
- version_requirements: !ruby/object:Gem::Requirement
83
- requirements:
84
- - - "~>"
85
- - !ruby/object:Gem::Version
86
- version: '1.3'
74
+ version: 1.10.9
87
75
  - !ruby/object:Gem::Dependency
88
76
  name: rest-client
89
77
  requirement: !ruby/object:Gem::Requirement
90
78
  requirements:
91
79
  - - "~>"
92
80
  - !ruby/object:Gem::Version
93
- version: 2.0.2
81
+ version: 2.1.0
94
82
  type: :runtime
95
83
  prerelease: false
96
84
  version_requirements: !ruby/object:Gem::Requirement
97
85
  requirements:
98
86
  - - "~>"
99
87
  - !ruby/object:Gem::Version
100
- version: 2.0.2
88
+ version: 2.1.0
101
89
  - !ruby/object:Gem::Dependency
102
90
  name: rgeo
103
91
  requirement: !ruby/object:Gem::Requirement
104
92
  requirements:
105
93
  - - "~>"
106
94
  - !ruby/object:Gem::Version
107
- version: '0.3'
95
+ version: 2.1.1
108
96
  type: :runtime
109
97
  prerelease: false
110
98
  version_requirements: !ruby/object:Gem::Requirement
111
99
  requirements:
112
100
  - - "~>"
113
101
  - !ruby/object:Gem::Version
114
- version: '0.3'
102
+ version: 2.1.1
115
103
  - !ruby/object:Gem::Dependency
116
104
  name: rgeo-geojson
117
105
  requirement: !ruby/object:Gem::Requirement
118
106
  requirements:
119
107
  - - "~>"
120
108
  - !ruby/object:Gem::Version
121
- version: '0.3'
109
+ version: 2.1.1
122
110
  type: :runtime
123
111
  prerelease: false
124
112
  version_requirements: !ruby/object:Gem::Requirement
125
113
  requirements:
126
114
  - - "~>"
127
115
  - !ruby/object:Gem::Version
128
- version: '0.3'
116
+ version: 2.1.1
129
117
  - !ruby/object:Gem::Dependency
130
118
  name: rsolr
131
119
  requirement: !ruby/object:Gem::Requirement
132
120
  requirements:
133
121
  - - "~>"
134
122
  - !ruby/object:Gem::Version
135
- version: '1.0'
123
+ version: 2.3.0
136
124
  type: :runtime
137
125
  prerelease: false
138
126
  version_requirements: !ruby/object:Gem::Requirement
139
127
  requirements:
140
128
  - - "~>"
141
129
  - !ruby/object:Gem::Version
142
- version: '1.0'
130
+ version: 2.3.0
143
131
  - !ruby/object:Gem::Dependency
144
132
  name: thor
145
133
  requirement: !ruby/object:Gem::Requirement
146
134
  requirements:
147
135
  - - "~>"
148
136
  - !ruby/object:Gem::Version
149
- version: '0.18'
137
+ version: 1.0.1
150
138
  type: :runtime
151
139
  prerelease: false
152
140
  version_requirements: !ruby/object:Gem::Requirement
153
141
  requirements:
154
142
  - - "~>"
155
143
  - !ruby/object:Gem::Version
156
- version: '0.18'
144
+ version: 1.0.1
157
145
  - !ruby/object:Gem::Dependency
158
146
  name: gem-release
159
147
  requirement: !ruby/object:Gem::Requirement
160
148
  requirements:
161
149
  - - "~>"
162
150
  - !ruby/object:Gem::Version
163
- version: '0.7'
151
+ version: 2.1.1
164
152
  type: :development
165
153
  prerelease: false
166
154
  version_requirements: !ruby/object:Gem::Requirement
167
155
  requirements:
168
156
  - - "~>"
169
157
  - !ruby/object:Gem::Version
170
- version: '0.7'
158
+ version: 2.1.1
171
159
  - !ruby/object:Gem::Dependency
172
160
  name: guard
173
161
  requirement: !ruby/object:Gem::Requirement
174
162
  requirements:
175
163
  - - "~>"
176
164
  - !ruby/object:Gem::Version
177
- version: '2.12'
165
+ version: 2.16.2
178
166
  type: :development
179
167
  prerelease: false
180
168
  version_requirements: !ruby/object:Gem::Requirement
181
169
  requirements:
182
170
  - - "~>"
183
171
  - !ruby/object:Gem::Version
184
- version: '2.12'
172
+ version: 2.16.2
185
173
  - !ruby/object:Gem::Dependency
186
174
  name: guard-rspec
187
175
  requirement: !ruby/object:Gem::Requirement
188
176
  requirements:
189
177
  - - "~>"
190
178
  - !ruby/object:Gem::Version
191
- version: '4.6'
179
+ version: 4.7.3
192
180
  type: :development
193
181
  prerelease: false
194
182
  version_requirements: !ruby/object:Gem::Requirement
195
183
  requirements:
196
184
  - - "~>"
197
185
  - !ruby/object:Gem::Version
198
- version: '4.6'
186
+ version: 4.7.3
199
187
  - !ruby/object:Gem::Dependency
200
188
  name: guard-rubocop
201
189
  requirement: !ruby/object:Gem::Requirement
202
190
  requirements:
203
191
  - - "~>"
204
192
  - !ruby/object:Gem::Version
205
- version: '1.2'
193
+ version: '1.3'
206
194
  type: :development
207
195
  prerelease: false
208
196
  version_requirements: !ruby/object:Gem::Requirement
209
197
  requirements:
210
198
  - - "~>"
211
199
  - !ruby/object:Gem::Version
212
- version: '1.2'
200
+ version: '1.3'
213
201
  - !ruby/object:Gem::Dependency
214
202
  name: rake
215
203
  requirement: !ruby/object:Gem::Requirement
216
204
  requirements:
217
205
  - - "~>"
218
206
  - !ruby/object:Gem::Version
219
- version: '10.4'
207
+ version: 13.0.1
220
208
  type: :development
221
209
  prerelease: false
222
210
  version_requirements: !ruby/object:Gem::Requirement
223
211
  requirements:
224
212
  - - "~>"
225
213
  - !ruby/object:Gem::Version
226
- version: '10.4'
214
+ version: 13.0.1
227
215
  - !ruby/object:Gem::Dependency
228
216
  name: rspec
229
217
  requirement: !ruby/object:Gem::Requirement
230
218
  requirements:
231
219
  - - "~>"
232
220
  - !ruby/object:Gem::Version
233
- version: '3.2'
221
+ version: 3.9.0
234
222
  type: :development
235
223
  prerelease: false
236
224
  version_requirements: !ruby/object:Gem::Requirement
237
225
  requirements:
238
226
  - - "~>"
239
227
  - !ruby/object:Gem::Version
240
- version: '3.2'
228
+ version: 3.9.0
241
229
  - !ruby/object:Gem::Dependency
242
230
  name: rubocop
243
231
  requirement: !ruby/object:Gem::Requirement
244
232
  requirements:
245
233
  - - "~>"
246
234
  - !ruby/object:Gem::Version
247
- version: 0.71.0
235
+ version: 0.86.0
248
236
  type: :development
249
237
  prerelease: false
250
238
  version_requirements: !ruby/object:Gem::Requirement
251
239
  requirements:
252
240
  - - "~>"
253
241
  - !ruby/object:Gem::Version
254
- version: 0.71.0
242
+ version: 0.86.0
255
243
  - !ruby/object:Gem::Dependency
256
244
  name: webmock
257
245
  requirement: !ruby/object:Gem::Requirement
258
246
  requirements:
259
247
  - - "~>"
260
248
  - !ruby/object:Gem::Version
261
- version: 3.6.0
249
+ version: 3.8.3
262
250
  type: :development
263
251
  prerelease: false
264
252
  version_requirements: !ruby/object:Gem::Requirement
265
253
  requirements:
266
254
  - - "~>"
267
255
  - !ruby/object:Gem::Version
268
- version: 3.6.0
256
+ version: 3.8.3
269
257
  - !ruby/object:Gem::Dependency
270
258
  name: listen
271
259
  requirement: !ruby/object:Gem::Requirement
272
260
  requirements:
273
261
  - - '='
274
262
  - !ruby/object:Gem::Version
275
- version: 3.0.5
263
+ version: 3.2.1
276
264
  type: :development
277
265
  prerelease: false
278
266
  version_requirements: !ruby/object:Gem::Requirement
279
267
  requirements:
280
268
  - - '='
281
269
  - !ruby/object:Gem::Version
282
- version: 3.0.5
270
+ version: 3.2.1
283
271
  description: |2
284
272
  Ruby translators to transform various metadata feeds into solr documents and
285
273
  a command-line utility to access/utilize the gem's translators to harvest
@@ -290,6 +278,8 @@ email:
290
278
  - kovarik@nsidc.org
291
279
  - luis.lopezespinosa@colorado.edu
292
280
  - stuart.reed@colorado.edu
281
+ - jcollins@nsidc.org
282
+ - scott.lewis@nsidc.org
293
283
  executables:
294
284
  - search_solr_tools
295
285
  extensions: []
@@ -369,14 +359,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
369
359
  requirements:
370
360
  - - "~>"
371
361
  - !ruby/object:Gem::Version
372
- version: '2.0'
362
+ version: 2.6.5
373
363
  required_rubygems_version: !ruby/object:Gem::Requirement
374
364
  requirements:
375
365
  - - ">="
376
366
  - !ruby/object:Gem::Version
377
367
  version: '0'
378
368
  requirements: []
379
- rubygems_version: 3.0.3
369
+ rubygems_version: 3.0.8
380
370
  signing_key:
381
371
  specification_version: 4
382
372
  summary: Tools to harvest and manage various scientific dataset feeds in a Solr instance.