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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTY2Zjg1ZWZlYmI4ZTI2ZmYxZTBlYjI1NTgzYWFhZWIxOWFmZTY4Ng==
4
+ MWU4NWM0YzAyOThhYjA0YzM0Y2U2ZjYxMWI2OTk3MTIyMmFjNzJmYw==
5
5
  data.tar.gz: !binary |-
6
- ZmM5ZDU5YTQ5ZTBjY2IwMDVmYzM3YTUxODU3MTc0YmFmMDQ4MGFhNw==
6
+ NmQ2ZDIwMDFiYjI1OGZhNWUxNDU1MzgxNGEzMjZkZjM1ZWYzOTgzOA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzM2ZjgwYzRjNmE3MjFjZDM0NmIwZjczMDg0OWJkYWUwOTZkMzNiOWQzYzM1
10
- MDk1OTNmZDQ5Y2U5YjRmNjNjYmFlYTQ4NzYwMjc4ZWRhMWZiYzkwMTk0M2My
11
- YjdhYmQzMmQ5NjBjOGFhZjA4YzdlMjYwNWY0YmU5MWYwZTczNWE=
9
+ MTE2ODZkMDZiNzI4NWNhNzEwNWE0NmI5NmIxZjU3M2ZmZjZmZTA2ZTY2NWVm
10
+ NWM1ZTZlOWEwOGM2MTA4ZjM2ZTQ0OGUwNTg0ZjYwM2ViYTU3OTU1NDdkNzg5
11
+ ODk4NmZiYjhhODhjZjliZWZjZTVjNzZiMDc1OGU1YTA4MmVhMjE=
12
12
  data.tar.gz: !binary |-
13
- Njg3N2ZkNTVjYzdiZmIyYjQ1OTE3ZGY1OGY5Y2MwM2RlYTYzYzllZTk0Nzlj
14
- ZWI0MTZlYWE2NGVhMmQyOWEwNWIwOWIwOTBkMTY2NmU2OWI3MTkzZWE2MDYw
15
- ZDY2ZGFhMzhiYzIwNTBjMmQ5NjNlZjJkMTIyODIzNzMwODM2Nzg=
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('dor',pid,''))
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
 
@@ -1,7 +1,7 @@
1
1
  module Dor
2
2
  module Workflow
3
3
  module Service
4
- VERSION = "1.7.0"
4
+ VERSION = "1.7.1"
5
5
  end
6
6
  end
7
7
  end
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.0
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-05-22 00:00:00.000000000 Z
12
+ date: 2014-06-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport