dor-workflow-service 1.7.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/dor/services/workflow_service.rb +3 -2
- data/lib/dor/workflow_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MWU4NWM0YzAyOThhYjA0YzM0Y2U2ZjYxMWI2OTk3MTIyMmFjNzJmYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NmQ2ZDIwMDFiYjI1OGZhNWUxNDU1MzgxNGEzMjZkZjM1ZWYzOTgzOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTE2ODZkMDZiNzI4NWNhNzEwNWE0NmI5NmIxZjU3M2ZmZjZmZTA2ZTY2NWVm
|
10
|
+
NWM1ZTZlOWEwOGM2MTA4ZjM2ZTQ0OGUwNTg0ZjYwM2ViYTU3OTU1NDdkNzg5
|
11
|
+
ODk4NmZiYjhhODhjZjliZWZjZTVjNzZiMDc1OGU1YTA4MmVhMjE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDdiYjBlNWVhZWJlN2UwMjEwMWI3MTJkNjAxMzc0NTkzZDNjYzFkYWYxYTFh
|
14
|
+
MmJiYmNjYzg2NWFmMmYwMGRhMDY1MDAyZWVlYzdkYzhlMjY1MzgxNWE5Yjg0
|
15
|
+
MzA1MjdmNTY4ZTE2NjUwMDY5NzgyOTZiYTJlN2UzYTAxNDIzMmE=
|
@@ -102,12 +102,13 @@ module Dor
|
|
102
102
|
# This method only works when this gem is used in a project that is configured to connect to DOR
|
103
103
|
#
|
104
104
|
# @param [String] pid of druid
|
105
|
+
# @param [String] repo repository for the object. Defaults to 'dor'
|
105
106
|
# @return [Array<String>] list of worklows
|
106
107
|
# @example
|
107
108
|
# Dor::WorkflowService.get_workflows('druid:sr100hp0609')
|
108
109
|
# => ["accessionWF", "assemblyWF", "disseminationWF"]
|
109
|
-
def get_workflows(pid)
|
110
|
-
xml_doc=Nokogiri::XML(get_workflow_xml(
|
110
|
+
def get_workflows(pid, repo='dor')
|
111
|
+
xml_doc=Nokogiri::XML(get_workflow_xml(repo,pid,''))
|
111
112
|
return xml_doc.xpath('//workflow').collect {|workflow| workflow['id']}
|
112
113
|
end
|
113
114
|
|
data/lib/dor/workflow_version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dor-workflow-service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Willy Mene
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-06-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|