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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c338059d0ec2049e415517a2e6b9b89df18cdd1
4
- data.tar.gz: 3cb8c2c60e269ec9b66c305730522b7da3ed8243
3
+ metadata.gz: 0a52b09c914a74f9c78a245d9a763a0d27247919
4
+ data.tar.gz: fbea93fb594475b29c665e86bbae0d237830b7a6
5
5
  SHA512:
6
- metadata.gz: 5334498934992c587a414e3672f98130b4125d7013035a1d35cbd335eecf248a5438696255da3f456fd51b6f7fef48b3e79ecd199a5af9200cc06c4aca7f563d
7
- data.tar.gz: 303c74385390406d79ff379efbc44a22405427d512d8e369a685f851cc50a77d54dc07229eb105529059e06f3b5f4fb4b7a70e1902a3817f9ccad424c2a9d71d
6
+ metadata.gz: d45bffddf5d2dbede48f569d6a7f11b63cb0dc793ef84d7dcca637a5639de6e0da8cf7439f1dfade4cd77eb7b732a19015542b22bf57ef1f7ec1ac2c588d9e91
7
+ data.tar.gz: a457fd343d3dee9ef8d50c5aa2fbfc9d40b5f7d1cd41876ace0ffca23c2471a67ce827cb9fc5a12130216c93d2a02bedf8ade988a47896910cae40908e3d4ceb
@@ -1,3 +1,10 @@
1
+ ## v3.8.1 (2017-03-29)
2
+
3
+ Bugfix
4
+
5
+ - Fix BCO-DMO harvester to only fail when there are issues with individual
6
+ records if `--die-on-failure` is given.
7
+
1
8
  ## v3.8.0 (2017-03-28)
2
9
 
3
10
  Changes
@@ -22,8 +22,10 @@ module SearchSolrTools
22
22
 
23
23
  def harvest_bcodmo_into_solr
24
24
  result = translate_bcodmo
25
- insert_solr_docs result[:add_docs], Base::JSON_CONTENT_TYPE
26
- fail 'Failed to harvest some records from the provider' if result[:failure_ids].length > 0
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
@@ -1,3 +1,3 @@
1
1
  module SearchSolrTools
2
- VERSION = '3.8.0'
2
+ VERSION = '3.8.1'
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.0
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-28 00:00:00.000000000 Z
15
+ date: 2017-03-29 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: iso8601