search_solr_tools 5.2.0 → 6.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: 9b3fc4d94ab6cb6b394ebff1a2c50fb36908d8201199e0702d613ead1cc91621
4
- data.tar.gz: 8c8e9a764304e2c09e05ee88f28e4f388a846d7e2e61a23b12b123167affdc1b
3
+ metadata.gz: cded5837c68e69c4dd22f9aea6b3efab1d4cc21570daba1b91b9561d7cde1216
4
+ data.tar.gz: 73a840e47c0cbc41a3fb13e62ca85735e20d87dc9f4b0acfd3d522ef1874ad34
5
5
  SHA512:
6
- metadata.gz: e812f59ba6e2776db5b52ecff4a38121b815f645d632812a88010b57f3c34013d00596b8305f9e5e29464f33259ee072b62c4fc94b084ed63ca1e13f4d59b8a9
7
- data.tar.gz: 65570df8008e4fd9ea82c492a88cfa0ec9805ff28b688b43e222ca588e969b87d8264be33c3a2cf5034af0788cd496615698fc1ea863df0ba6fef65032e2e755
6
+ metadata.gz: 5056c01da21c54b3b4c86ddef264d2e0f9dbe83db472677ac1076a31a5e42e97a6ad0cd0a037b0431374a2d243bfc398dfcfa631863d3d4f3b3b334751b6e2c6
7
+ data.tar.gz: 39418c870ebada693b8ef2b75460d04e8ed0d1f9764e534d2195fa59fb5daaec4ae002ae4f016d05449a1a8a593b7e931261965b5756c664c6edfc7c94e6e3b1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## v6.1.0 (2022-07-14)
2
+
3
+ - Updated a few other dependencies that weren't at the newest versions.
4
+
5
+ ## v6.0.0 (2022-07-14)
6
+
7
+ - Updated Ruby to 3.2.2, updated gem dependencies to more recent versions.
8
+
1
9
  ## v5.2.0 (2022-08-31)
2
10
 
3
11
  - Updated the call for identifiers for the json harvester to use the
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Gem Version](https://badge.fury.io/rb/search_solr_tools.svg)](http://badge.fury.io/rb/search_solr_tools) [![Build Status](https://travis-ci.org/nsidc/search-solr-tools.svg?branch=master)](https://travis-ci.org/nsidc/search-solr-tools)
1
+ [![Gem Version](https://badge.fury.io/rb/search_solr_tools.svg)](http://badge.fury.io/rb/search_solr_tools)
2
2
 
3
3
  # NSIDC Search Solr Tools
4
4
 
@@ -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.6.5
64
+ * Ruby > 3.2.2
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.6.5
108
+ * Ruby > 3.2.2
109
109
  * [Bundler](http://bundler.io/)
110
110
  * [Gem Release](https://github.com/svenfuchs/gem-release)
111
111
  * [Rake](https://github.com/ruby/rake)
@@ -209,6 +209,7 @@ license is included in the file COPYING.
209
209
  ### Citation Information
210
210
 
211
211
  Andy Grauch, Brendan Billingsley, Chris Chalstrom, Danielle Harper, Ian
212
- Truslove, Jonathan Kovarik, Luis Lopez, Miao Liu, Michael Brandt, Stuart Reed
213
- (2013): Arctic Data Explorer SOLR Search software tools. The National Snow and
214
- Ice Data Center. Software. http://ezid.cdlib.org/id/doi:10.7265/N5JQ0XZM
212
+ Truslove, Jonathan Kovarik, Luis Lopez, Miao Liu, Michael Brandt, Stuart Reed,
213
+ Julia Collins, Scott Lewis
214
+ (2023): Arctic Data Explorer SOLR Search software tools. The National Snow and
215
+ Ice Data Center. Software.
@@ -20,7 +20,7 @@ class SolrHarvestCLI < Thor
20
20
  puts 'CODE | DESCRIPTION'
21
21
  puts '-----+------------'
22
22
  codes.each do |c, text|
23
- puts format('%4<code>d | %<text>s', code: c, text: text)
23
+ puts format('%4<code>d | %<text>s', code: c, text:)
24
24
  end
25
25
  end
26
26
 
@@ -178,7 +178,7 @@ module SearchSolrTools
178
178
 
179
179
  begin
180
180
  puts "Request: #{request_url}"
181
- response = open(request_url, read_timeout: timeout, 'Content-Type' => content_type)
181
+ response = URI.open(request_url, read_timeout: timeout, 'Content-Type' => content_type)
182
182
  rescue OpenURI::HTTPError, Timeout::Error, Errno::ETIMEDOUT => e
183
183
  retries_left -= 1
184
184
  puts "## REQUEST FAILED ## #{e.class} ## Retrying #{retries_left} more times..."
@@ -1,3 +1,3 @@
1
1
  module SearchSolrTools
2
- VERSION = '5.2.0'
2
+ VERSION = '6.1.0'
3
3
  end
@@ -23,24 +23,27 @@ 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.6.5'
26
+ spec.required_ruby_version = '~> 3.2.2'
27
27
 
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'
28
+ spec.add_runtime_dependency 'ffi-geos', '~> 2.4.0'
29
+ spec.add_runtime_dependency 'iso8601', '~> 0.13.0'
30
+ spec.add_runtime_dependency 'multi_json', '~> 1.15.0'
31
+ spec.add_runtime_dependency 'nokogiri', '~> 1.15.3'
32
32
  spec.add_runtime_dependency 'rest-client', '~> 2.1.0'
33
- spec.add_runtime_dependency 'rgeo', '~> 2.1.1'
33
+ spec.add_runtime_dependency 'rgeo', '~> 3.0.0'
34
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'
35
+ spec.add_runtime_dependency 'rsolr', '~> 2.5.0'
36
+ spec.add_runtime_dependency 'thor', '~> 1.2.2'
37
+
38
+ spec.add_development_dependency 'gem-release', '~> 2.2.2'
39
+ spec.add_development_dependency 'guard', '~> 2.18.0'
39
40
  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'
41
+ spec.add_development_dependency 'guard-rubocop', '~> 1.5.0'
42
+ spec.add_development_dependency 'listen', '3.8.0'
43
+ spec.add_development_dependency 'rake', '~> 13.0.6'
44
+ spec.add_development_dependency 'rspec', '~> 3.12.0'
45
+ spec.add_development_dependency 'rubocop', '~> 1.54.2'
46
+ spec.add_development_dependency 'rubocop-rake', '~> 0.6.0'
47
+ spec.add_development_dependency 'rubocop-rspec', '~> 2.22.0'
48
+ spec.add_development_dependency 'webmock', '~> 3.18.1'
46
49
  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: 5.2.0
4
+ version: 6.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Chalstrom
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2022-08-31 00:00:00.000000000 Z
17
+ date: 2023-07-17 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: ffi-geos
@@ -22,56 +22,56 @@ dependencies:
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: 2.1.0
25
+ version: 2.4.0
26
26
  type: :runtime
27
27
  prerelease: false
28
28
  version_requirements: !ruby/object:Gem::Requirement
29
29
  requirements:
30
30
  - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: 2.1.0
32
+ version: 2.4.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: iso8601
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: 0.12.2
39
+ version: 0.13.0
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: 0.12.2
46
+ version: 0.13.0
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: multi_json
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 1.14.1
53
+ version: 1.15.0
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 1.14.1
60
+ version: 1.15.0
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: nokogiri
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: 1.10.9
67
+ version: 1.15.3
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 1.10.9
74
+ version: 1.15.3
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: rest-client
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -92,14 +92,14 @@ dependencies:
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: 2.1.1
95
+ version: 3.0.0
96
96
  type: :runtime
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: 2.1.1
102
+ version: 3.0.0
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: rgeo-geojson
105
105
  requirement: !ruby/object:Gem::Requirement
@@ -120,56 +120,56 @@ dependencies:
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: 2.3.0
123
+ version: 2.5.0
124
124
  type: :runtime
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
- version: 2.3.0
130
+ version: 2.5.0
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: thor
133
133
  requirement: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - "~>"
136
136
  - !ruby/object:Gem::Version
137
- version: 1.0.1
137
+ version: 1.2.2
138
138
  type: :runtime
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: 1.0.1
144
+ version: 1.2.2
145
145
  - !ruby/object:Gem::Dependency
146
146
  name: gem-release
147
147
  requirement: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - "~>"
150
150
  - !ruby/object:Gem::Version
151
- version: 2.1.1
151
+ version: 2.2.2
152
152
  type: :development
153
153
  prerelease: false
154
154
  version_requirements: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - "~>"
157
157
  - !ruby/object:Gem::Version
158
- version: 2.1.1
158
+ version: 2.2.2
159
159
  - !ruby/object:Gem::Dependency
160
160
  name: guard
161
161
  requirement: !ruby/object:Gem::Requirement
162
162
  requirements:
163
163
  - - "~>"
164
164
  - !ruby/object:Gem::Version
165
- version: 2.16.2
165
+ version: 2.18.0
166
166
  type: :development
167
167
  prerelease: false
168
168
  version_requirements: !ruby/object:Gem::Requirement
169
169
  requirements:
170
170
  - - "~>"
171
171
  - !ruby/object:Gem::Version
172
- version: 2.16.2
172
+ version: 2.18.0
173
173
  - !ruby/object:Gem::Dependency
174
174
  name: guard-rspec
175
175
  requirement: !ruby/object:Gem::Requirement
@@ -190,84 +190,112 @@ dependencies:
190
190
  requirements:
191
191
  - - "~>"
192
192
  - !ruby/object:Gem::Version
193
- version: '1.3'
193
+ version: 1.5.0
194
194
  type: :development
195
195
  prerelease: false
196
196
  version_requirements: !ruby/object:Gem::Requirement
197
197
  requirements:
198
198
  - - "~>"
199
199
  - !ruby/object:Gem::Version
200
- version: '1.3'
200
+ version: 1.5.0
201
+ - !ruby/object:Gem::Dependency
202
+ name: listen
203
+ requirement: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - '='
206
+ - !ruby/object:Gem::Version
207
+ version: 3.8.0
208
+ type: :development
209
+ prerelease: false
210
+ version_requirements: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - '='
213
+ - !ruby/object:Gem::Version
214
+ version: 3.8.0
201
215
  - !ruby/object:Gem::Dependency
202
216
  name: rake
203
217
  requirement: !ruby/object:Gem::Requirement
204
218
  requirements:
205
219
  - - "~>"
206
220
  - !ruby/object:Gem::Version
207
- version: 13.0.1
221
+ version: 13.0.6
208
222
  type: :development
209
223
  prerelease: false
210
224
  version_requirements: !ruby/object:Gem::Requirement
211
225
  requirements:
212
226
  - - "~>"
213
227
  - !ruby/object:Gem::Version
214
- version: 13.0.1
228
+ version: 13.0.6
215
229
  - !ruby/object:Gem::Dependency
216
230
  name: rspec
217
231
  requirement: !ruby/object:Gem::Requirement
218
232
  requirements:
219
233
  - - "~>"
220
234
  - !ruby/object:Gem::Version
221
- version: 3.9.0
235
+ version: 3.12.0
222
236
  type: :development
223
237
  prerelease: false
224
238
  version_requirements: !ruby/object:Gem::Requirement
225
239
  requirements:
226
240
  - - "~>"
227
241
  - !ruby/object:Gem::Version
228
- version: 3.9.0
242
+ version: 3.12.0
229
243
  - !ruby/object:Gem::Dependency
230
244
  name: rubocop
231
245
  requirement: !ruby/object:Gem::Requirement
232
246
  requirements:
233
247
  - - "~>"
234
248
  - !ruby/object:Gem::Version
235
- version: 0.86.0
249
+ version: 1.54.2
236
250
  type: :development
237
251
  prerelease: false
238
252
  version_requirements: !ruby/object:Gem::Requirement
239
253
  requirements:
240
254
  - - "~>"
241
255
  - !ruby/object:Gem::Version
242
- version: 0.86.0
256
+ version: 1.54.2
243
257
  - !ruby/object:Gem::Dependency
244
- name: webmock
258
+ name: rubocop-rake
245
259
  requirement: !ruby/object:Gem::Requirement
246
260
  requirements:
247
261
  - - "~>"
248
262
  - !ruby/object:Gem::Version
249
- version: 3.8.3
263
+ version: 0.6.0
250
264
  type: :development
251
265
  prerelease: false
252
266
  version_requirements: !ruby/object:Gem::Requirement
253
267
  requirements:
254
268
  - - "~>"
255
269
  - !ruby/object:Gem::Version
256
- version: 3.8.3
270
+ version: 0.6.0
257
271
  - !ruby/object:Gem::Dependency
258
- name: listen
272
+ name: rubocop-rspec
259
273
  requirement: !ruby/object:Gem::Requirement
260
274
  requirements:
261
- - - '='
275
+ - - "~>"
262
276
  - !ruby/object:Gem::Version
263
- version: 3.2.1
277
+ version: 2.22.0
264
278
  type: :development
265
279
  prerelease: false
266
280
  version_requirements: !ruby/object:Gem::Requirement
267
281
  requirements:
268
- - - '='
282
+ - - "~>"
283
+ - !ruby/object:Gem::Version
284
+ version: 2.22.0
285
+ - !ruby/object:Gem::Dependency
286
+ name: webmock
287
+ requirement: !ruby/object:Gem::Requirement
288
+ requirements:
289
+ - - "~>"
290
+ - !ruby/object:Gem::Version
291
+ version: 3.18.1
292
+ type: :development
293
+ prerelease: false
294
+ version_requirements: !ruby/object:Gem::Requirement
295
+ requirements:
296
+ - - "~>"
269
297
  - !ruby/object:Gem::Version
270
- version: 3.2.1
298
+ version: 3.18.1
271
299
  description: |2
272
300
  Ruby translators to transform various metadata feeds into solr documents and
273
301
  a command-line utility to access/utilize the gem's translators to harvest
@@ -361,14 +389,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
361
389
  requirements:
362
390
  - - "~>"
363
391
  - !ruby/object:Gem::Version
364
- version: 2.6.5
392
+ version: 3.2.2
365
393
  required_rubygems_version: !ruby/object:Gem::Requirement
366
394
  requirements:
367
395
  - - ">="
368
396
  - !ruby/object:Gem::Version
369
397
  version: '0'
370
398
  requirements: []
371
- rubygems_version: 3.0.8
399
+ rubygems_version: 3.4.10
372
400
  signing_key:
373
401
  specification_version: 4
374
402
  summary: Tools to harvest and manage various scientific dataset feeds in a Solr instance.