dor-services 5.5.0 → 5.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dor/models/releaseable.rb +1 -1
- data/lib/dor/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5816c57b8b4e5666240062fc1d05f9c3a79a5681
|
4
|
+
data.tar.gz: c335ba68cf8826268990ce4079c04f22eee65c3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57beb24c72c5d2a7db54b11bd877f01d3c703d55bff7df62c14fa4a86a1e091636cefde2a66366dd15166b300bcfcabded61f267a397a52b3a3ffe9259c3268e
|
7
|
+
data.tar.gz: 9d35a701099b8c871caec1554b5ef8bd1212890337187603ca0077b067d1f67415c9fa03617fb245e3a60ae4f5a4ca39b8840c7b443b96889eb6ce99d6931b71
|
@@ -286,7 +286,7 @@ module Dor
|
|
286
286
|
# We assume a 404 means the document has never been published before and thus has no purl
|
287
287
|
Dor.logger.warn "[Attempt #{attempt_number}] GET #{url} -- #{exception.class}: #{exception.message}; #{total_delay} seconds elapsed."
|
288
288
|
raise exception unless exception.is_a? OpenURI::HTTPError
|
289
|
-
return Nokogiri::HTML::Document.new if exception.
|
289
|
+
return Nokogiri::HTML::Document.new if exception.io.status.first == '404' # ["404", "Not Found"] from OpenURI::Meta.status
|
290
290
|
end
|
291
291
|
|
292
292
|
with_retries(:max_retries => 3, :base_sleep_seconds => 3, :max_sleep_seconds => 5, :handler => handler) do |attempt|
|
data/lib/dor/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dor-services
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.5.
|
4
|
+
version: 5.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Klein
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2016-03-
|
17
|
+
date: 2016-03-02 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: active-fedora
|
@@ -645,7 +645,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
645
645
|
version: 1.3.6
|
646
646
|
requirements: []
|
647
647
|
rubyforge_project:
|
648
|
-
rubygems_version: 2.4.
|
648
|
+
rubygems_version: 2.4.8
|
649
649
|
signing_key:
|
650
650
|
specification_version: 4
|
651
651
|
summary: Ruby implmentation of DOR services used by the SULAIR Digital Library
|