search_solr_tools 3.8.0 → 3.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/search_solr_tools/harvesters/bcodmo.rb +4 -2
- data/lib/search_solr_tools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a52b09c914a74f9c78a245d9a763a0d27247919
|
4
|
+
data.tar.gz: fbea93fb594475b29c665e86bbae0d237830b7a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d45bffddf5d2dbede48f569d6a7f11b63cb0dc793ef84d7dcca637a5639de6e0da8cf7439f1dfade4cd77eb7b732a19015542b22bf57ef1f7ec1ac2c588d9e91
|
7
|
+
data.tar.gz: a457fd343d3dee9ef8d50c5aa2fbfc9d40b5f7d1cd41876ace0ffca23c2471a67ce827cb9fc5a12130216c93d2a02bedf8ade988a47896910cae40908e3d4ceb
|
data/CHANGELOG.md
CHANGED
@@ -22,8 +22,10 @@ module SearchSolrTools
|
|
22
22
|
|
23
23
|
def harvest_bcodmo_into_solr
|
24
24
|
result = translate_bcodmo
|
25
|
-
insert_solr_docs
|
26
|
-
|
25
|
+
insert_solr_docs(result[:add_docs], Base::JSON_CONTENT_TYPE)
|
26
|
+
|
27
|
+
errors_exist = result[:failure_ids].length > 0
|
28
|
+
fail 'Failed to harvest some records from BCO-DMO' if errors_exist && @die_on_failure
|
27
29
|
end
|
28
30
|
|
29
31
|
def translate_bcodmo
|
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.
|
4
|
+
version: 3.8.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: 2017-03-
|
15
|
+
date: 2017-03-29 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: iso8601
|