workflow-archiver 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/dor/workflow_archiver.rb +3 -3
- 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: 32c9418414ffb16cf6a2fbc5023624cad5ff8eb9
|
4
|
+
data.tar.gz: c6591215bdfd57fa70bf923d18fc3e1f6a9f44ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4a8f4f7a62ea751aadf48b0e6c32998cbb90aed4298ca577e69e1503fd471dca8f518be1d01fcb273099d4d2c873761d685c5c6e03e2a08fdcee6be97414575
|
7
|
+
data.tar.gz: 1347883e472fe0d14e124d33c326e64e31f5be58240b8fb1e91b0752cac00e635fbf34387650c28be6670cd1e4f3b999aeacb7854ca1ba28fbdac84943cdaf10
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.1
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
1
|
+
require 'faraday'
|
2
2
|
require 'confstruct'
|
3
3
|
require 'lyber_core'
|
4
4
|
require 'sequel'
|
@@ -26,8 +26,8 @@ module Dor
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def set_current_version
|
29
|
-
self.version =
|
30
|
-
rescue
|
29
|
+
self.version = Faraday.get WorkflowArchiver.config.dor_service_uri + "/dor/v1/objects/#{druid}/versions/current"
|
30
|
+
rescue Faraday::Error::ClientError => ise
|
31
31
|
raise unless ise.inspect =~ /Unable to find.*in fedora/
|
32
32
|
LyberCore::Log.warn ise.inspect.to_s
|
33
33
|
LyberCore::Log.warn "Moving workflow rows with version set to '1'"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workflow-archiver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Willy Mene
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lyber-core
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: faraday
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|