harvestdor-indexer 1.0.0 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +1 -0
- data/harvestdor-indexer.gemspec +1 -1
- data/lib/harvestdor-indexer.rb +12 -2
- data/lib/harvestdor-indexer/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/before_all_call.yml +48 -0
- data/spec/fixtures/vcr_cassettes/cant_find_whitelist_call.yml +48 -0
- data/spec/fixtures/vcr_cassettes/empty_array_no_blacklist_config_call.yml +48 -0
- data/spec/fixtures/vcr_cassettes/empty_array_no_whitelist_config_call.yml +48 -0
- data/spec/fixtures/vcr_cassettes/get_collection_druids_call.yml +18 -20
- data/spec/fixtures/vcr_cassettes/ignore_druids_in_blacklist_and_whitelist_call.yml +48 -0
- data/spec/fixtures/vcr_cassettes/ignore_druids_in_blacklist_call.yml +61 -20
- data/spec/fixtures/vcr_cassettes/know_what_is_in_blacklist_call.yml +46 -0
- data/spec/fixtures/vcr_cassettes/know_what_is_in_whitelist_call.yml +46 -0
- data/spec/fixtures/vcr_cassettes/load_blacklist_once_call.yml +48 -0
- data/spec/fixtures/vcr_cassettes/load_whitelist_once_call.yml +48 -0
- data/spec/fixtures/vcr_cassettes/no_blacklist_config_call.yml +61 -20
- data/spec/fixtures/vcr_cassettes/no_blacklist_found_call.yml +48 -0
- data/spec/fixtures/vcr_cassettes/no_whitelist_config_call.yml +61 -20
- data/spec/fixtures/vcr_cassettes/process_druids_whitelist_call.yml +48 -0
- data/spec/fixtures/vcr_cassettes/rsolr_client_config_call.yml +48 -0
- data/spec/fixtures/vcr_cassettes/single_rsolr_connection_call.yml +61 -20
- data/spec/unit/harvestdor-indexer_spec.rb +114 -72
- metadata +30 -6
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: harvestdor-indexer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Naomi Dushay
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-11-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rsolr
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
name: dor-fetcher
|
73
73
|
version_requirements: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
|
-
- - '
|
75
|
+
- - '='
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 1.0.
|
77
|
+
version: 1.0.5
|
78
78
|
requirement: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - '
|
80
|
+
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.0.
|
82
|
+
version: 1.0.5
|
83
83
|
prerelease: false
|
84
84
|
type: :runtime
|
85
85
|
- !ruby/object:Gem::Dependency
|
@@ -217,11 +217,23 @@ files:
|
|
217
217
|
- spec/config/ap.yml
|
218
218
|
- spec/config/ap_blacklist.txt
|
219
219
|
- spec/config/ap_whitelist.txt
|
220
|
+
- spec/fixtures/vcr_cassettes/before_all_call.yml
|
221
|
+
- spec/fixtures/vcr_cassettes/cant_find_whitelist_call.yml
|
222
|
+
- spec/fixtures/vcr_cassettes/empty_array_no_blacklist_config_call.yml
|
223
|
+
- spec/fixtures/vcr_cassettes/empty_array_no_whitelist_config_call.yml
|
220
224
|
- spec/fixtures/vcr_cassettes/exception_no_MODS_call.yml
|
221
225
|
- spec/fixtures/vcr_cassettes/get_collection_druids_call.yml
|
226
|
+
- spec/fixtures/vcr_cassettes/ignore_druids_in_blacklist_and_whitelist_call.yml
|
222
227
|
- spec/fixtures/vcr_cassettes/ignore_druids_in_blacklist_call.yml
|
228
|
+
- spec/fixtures/vcr_cassettes/know_what_is_in_blacklist_call.yml
|
229
|
+
- spec/fixtures/vcr_cassettes/know_what_is_in_whitelist_call.yml
|
230
|
+
- spec/fixtures/vcr_cassettes/load_blacklist_once_call.yml
|
231
|
+
- spec/fixtures/vcr_cassettes/load_whitelist_once_call.yml
|
223
232
|
- spec/fixtures/vcr_cassettes/no_blacklist_config_call.yml
|
233
|
+
- spec/fixtures/vcr_cassettes/no_blacklist_found_call.yml
|
224
234
|
- spec/fixtures/vcr_cassettes/no_whitelist_config_call.yml
|
235
|
+
- spec/fixtures/vcr_cassettes/process_druids_whitelist_call.yml
|
236
|
+
- spec/fixtures/vcr_cassettes/rsolr_client_config_call.yml
|
225
237
|
- spec/fixtures/vcr_cassettes/single_rsolr_connection_call.yml
|
226
238
|
- spec/spec_helper.rb
|
227
239
|
- spec/unit/harvestdor-indexer_spec.rb
|
@@ -252,11 +264,23 @@ test_files:
|
|
252
264
|
- spec/config/ap.yml
|
253
265
|
- spec/config/ap_blacklist.txt
|
254
266
|
- spec/config/ap_whitelist.txt
|
267
|
+
- spec/fixtures/vcr_cassettes/before_all_call.yml
|
268
|
+
- spec/fixtures/vcr_cassettes/cant_find_whitelist_call.yml
|
269
|
+
- spec/fixtures/vcr_cassettes/empty_array_no_blacklist_config_call.yml
|
270
|
+
- spec/fixtures/vcr_cassettes/empty_array_no_whitelist_config_call.yml
|
255
271
|
- spec/fixtures/vcr_cassettes/exception_no_MODS_call.yml
|
256
272
|
- spec/fixtures/vcr_cassettes/get_collection_druids_call.yml
|
273
|
+
- spec/fixtures/vcr_cassettes/ignore_druids_in_blacklist_and_whitelist_call.yml
|
257
274
|
- spec/fixtures/vcr_cassettes/ignore_druids_in_blacklist_call.yml
|
275
|
+
- spec/fixtures/vcr_cassettes/know_what_is_in_blacklist_call.yml
|
276
|
+
- spec/fixtures/vcr_cassettes/know_what_is_in_whitelist_call.yml
|
277
|
+
- spec/fixtures/vcr_cassettes/load_blacklist_once_call.yml
|
278
|
+
- spec/fixtures/vcr_cassettes/load_whitelist_once_call.yml
|
258
279
|
- spec/fixtures/vcr_cassettes/no_blacklist_config_call.yml
|
280
|
+
- spec/fixtures/vcr_cassettes/no_blacklist_found_call.yml
|
259
281
|
- spec/fixtures/vcr_cassettes/no_whitelist_config_call.yml
|
282
|
+
- spec/fixtures/vcr_cassettes/process_druids_whitelist_call.yml
|
283
|
+
- spec/fixtures/vcr_cassettes/rsolr_client_config_call.yml
|
260
284
|
- spec/fixtures/vcr_cassettes/single_rsolr_connection_call.yml
|
261
285
|
- spec/spec_helper.rb
|
262
286
|
- spec/unit/harvestdor-indexer_spec.rb
|