assembly-utils 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 5d8110962de88ec569fe2a0c023ec15461ac1415
4
- data.tar.gz: 0523642bd19b3411e4d2fc0b9b23c8fb98fb7472
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MGI1YTQ1MDVhZDgwY2JiZjEzNjUwZDJkMzI1MDBhMjMxMjc1YzdjNg==
5
+ data.tar.gz: !binary |-
6
+ Zjg2ZDkwMmI2YjIwODAzZWQxMzE0ZjAyMGI0YjM3M2NmNDNjYzM3OQ==
5
7
  SHA512:
6
- metadata.gz: 29e0095812d153b507de8636c95d8263744e135fa68eebf14cc71352f0e790b7c983aa3ab9c798c8693fdac591665ec0593095c1df02caef105e213905d798cd
7
- data.tar.gz: 162b128163a38a4232acc4763a7e3fda0b4effad80cb900abd06c3d49b9fba1f317480e9200b707eade6ccba6f9600b0df7f404223871fbd6eabc1bd8ee2b53a
8
+ metadata.gz: !binary |-
9
+ N2Y2ZjAwMWQzYTQ3OTRjNjdmNDcyZmY1Y2ZiOWY4ZDI1NGQwMmU3MWZjMzhh
10
+ NDI2OTA0NTE0M2NhNjAyNTZjNTNlNDUyMGY3MmY4N2I3NmI3YzViNmZkZmQ5
11
+ NTM4NjRmZDllMDkxZWU2YjllYWRlZWY3NTcyMmVlMTdiMmYwZTc=
12
+ data.tar.gz: !binary |-
13
+ NjNjYWZjN2I1NmY5OGJjM2Y1NzM1ZDc2MWZhNzg3ZDk3MGZlZDc1N2JjZDc0
14
+ ZjUzNDBlOThlZDkzOGM1ODY3MmMzMzJhZDlmOWQyYmQ2YWNiNjNmYmM3MjZk
15
+ YjkwYjJlY2UzYTMzM2MxOGNiOWE5Nzc0ZjUwMTJhODI4ZmRiYjM=
data/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+ © 2012 The Board of Trustees of the Leland Stanford Junior University.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
data/README.rdoc CHANGED
@@ -37,6 +37,7 @@ Ruby gem of methods useful for assembly and accessioning. Contains classes to ma
37
37
  - 1.2.4 add some additional methods to check the state of an object
38
38
  - 1.2.5-1.2.7 update gemfile to newer version of dor-services gem and other related/dependent gems
39
39
  - 1.2.8 add a new constant for technical metadata filename
40
+ - 1.4.1 update gems
40
41
 
41
42
  ==Running tests
42
43
 
@@ -28,6 +28,7 @@ Gem::Specification.new do |s|
28
28
 
29
29
  s.add_dependency 'activesupport'
30
30
  s.add_dependency 'activeresource'
31
+ s.add_dependency 'addressable', '2.3.5'
31
32
 
32
33
  s.add_development_dependency "rake"
33
34
  s.add_development_dependency "rspec", "~> 2.6"
@@ -3,6 +3,6 @@ module Assembly
3
3
  # Main Utils class
4
4
  class Utils
5
5
  # Project version number
6
- VERSION = "1.4.0"
6
+ VERSION = "1.4.1"
7
7
  end
8
8
  end
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  TEST_PID='druid:dd999dd9999'
2
2
  TEST_PID_FILENAME=TEST_PID.gsub(':','_')
3
- TEST_APO_OBJECT='druid:nt592gh9590' # this is a real APO object in dor-dev that must exist for the tests to pass
3
+ TEST_APO_OBJECT='druid:qv648vd4392' # this is a real APO object in dor-dev that must exist for the tests to pass
4
4
  PATH = File.expand_path(File.dirname(__FILE__))
5
5
  TEST_OUTPUT_DIR=File.join(PATH,'test_data','output')
6
6
  ENV['ROBOT_ENVIRONMENT']='development'
@@ -0,0 +1,242 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <foxml:digitalObject VERSION="1.1" PID="druid:dd999dd9999"
3
+ xmlns:foxml="info:fedora/fedora-system:def/foxml#"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
6
+ <foxml:objectProperties>
7
+ <foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
8
+ <foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="This is only a test."/>
9
+ <foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="argo-dev.stanford.edu"/>
10
+ <foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2014-05-15T17:46:52.797Z"/>
11
+ <foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2014-07-09T19:38:49.461Z"/>
12
+ </foxml:objectProperties>
13
+ <foxml:datastream ID="AUDIT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="false">
14
+ <foxml:datastreamVersion ID="AUDIT.0" LABEL="Audit Trail for this object" CREATED="2014-05-15T17:46:52.797Z" MIMETYPE="text/xml" FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit">
15
+ <foxml:xmlContent>
16
+ <audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#">
17
+ <audit:record ID="AUDREC1">
18
+ <audit:process type="Fedora API-M"/>
19
+ <audit:action>addDatastream</audit:action>
20
+ <audit:componentID>RELS-EXT</audit:componentID>
21
+ <audit:responsibility>argo-dev.stanford.edu</audit:responsibility>
22
+ <audit:date>2014-05-15T17:46:52.967Z</audit:date>
23
+ <audit:justification></audit:justification>
24
+ </audit:record>
25
+ <audit:record ID="AUDREC2">
26
+ <audit:process type="Fedora API-M"/>
27
+ <audit:action>addDatastream</audit:action>
28
+ <audit:componentID>identityMetadata</audit:componentID>
29
+ <audit:responsibility>argo-dev.stanford.edu</audit:responsibility>
30
+ <audit:date>2014-05-15T17:46:53.092Z</audit:date>
31
+ <audit:justification></audit:justification>
32
+ </audit:record>
33
+ <audit:record ID="AUDREC3">
34
+ <audit:process type="Fedora API-M"/>
35
+ <audit:action>addDatastream</audit:action>
36
+ <audit:componentID>workflows</audit:componentID>
37
+ <audit:responsibility>argo-dev.stanford.edu</audit:responsibility>
38
+ <audit:date>2014-05-15T17:46:53.256Z</audit:date>
39
+ <audit:justification></audit:justification>
40
+ </audit:record>
41
+ <audit:record ID="AUDREC4">
42
+ <audit:process type="Fedora API-M"/>
43
+ <audit:action>addDatastream</audit:action>
44
+ <audit:componentID>descMetadata</audit:componentID>
45
+ <audit:responsibility>argo-dev.stanford.edu</audit:responsibility>
46
+ <audit:date>2014-05-15T17:46:53.414Z</audit:date>
47
+ <audit:justification></audit:justification>
48
+ </audit:record>
49
+ <audit:record ID="AUDREC5">
50
+ <audit:process type="Fedora API-M"/>
51
+ <audit:action>addDatastream</audit:action>
52
+ <audit:componentID>rightsMetadata</audit:componentID>
53
+ <audit:responsibility>argo-dev.stanford.edu</audit:responsibility>
54
+ <audit:date>2014-05-15T17:46:53.718Z</audit:date>
55
+ <audit:justification></audit:justification>
56
+ </audit:record>
57
+ <audit:record ID="AUDREC6">
58
+ <audit:process type="Fedora API-M"/>
59
+ <audit:action>addDatastream</audit:action>
60
+ <audit:componentID>versionMetadata</audit:componentID>
61
+ <audit:responsibility>argo-dev.stanford.edu</audit:responsibility>
62
+ <audit:date>2014-05-15T17:46:53.887Z</audit:date>
63
+ <audit:justification></audit:justification>
64
+ </audit:record>
65
+ <audit:record ID="AUDREC7">
66
+ <audit:process type="Fedora API-M"/>
67
+ <audit:action>modifyDatastreamByValue</audit:action>
68
+ <audit:componentID>identityMetadata</audit:componentID>
69
+ <audit:responsibility>robots@sul-lyberservices-dev.stanford.edu</audit:responsibility>
70
+ <audit:date>2014-06-05T21:31:23.559Z</audit:date>
71
+ <audit:justification></audit:justification>
72
+ </audit:record>
73
+ <audit:record ID="AUDREC8">
74
+ <audit:process type="Fedora API-M"/>
75
+ <audit:action>modifyDatastreamByValue</audit:action>
76
+ <audit:componentID>identityMetadata</audit:componentID>
77
+ <audit:responsibility>robots@sul-lyberservices-dev.stanford.edu</audit:responsibility>
78
+ <audit:date>2014-06-05T21:42:37.248Z</audit:date>
79
+ <audit:justification></audit:justification>
80
+ </audit:record>
81
+ <audit:record ID="AUDREC9">
82
+ <audit:process type="Fedora API-M"/>
83
+ <audit:action>modifyDatastreamByReference</audit:action>
84
+ <audit:componentID>workflows</audit:componentID>
85
+ <audit:responsibility>workflows@sul-lyberservices-dev.stanford.edu</audit:responsibility>
86
+ <audit:date>2014-06-05T22:13:28.034Z</audit:date>
87
+ <audit:justification></audit:justification>
88
+ </audit:record>
89
+ <audit:record ID="AUDREC10">
90
+ <audit:process type="Fedora API-M"/>
91
+ <audit:action>setDatastreamVersionable</audit:action>
92
+ <audit:componentID>workflows</audit:componentID>
93
+ <audit:responsibility>workflows@sul-lyberservices-dev.stanford.edu</audit:responsibility>
94
+ <audit:date>2014-06-05T22:13:28.034Z</audit:date>
95
+ <audit:justification></audit:justification>
96
+ </audit:record>
97
+ <audit:record ID="AUDREC11">
98
+ <audit:process type="Fedora API-M"/>
99
+ <audit:action>addDatastream</audit:action>
100
+ <audit:componentID>provenanceMetadata</audit:componentID>
101
+ <audit:responsibility>robots@sul-lyberservices-dev.stanford.edu</audit:responsibility>
102
+ <audit:date>2014-07-09T19:38:49.461Z</audit:date>
103
+ <audit:justification></audit:justification>
104
+ </audit:record>
105
+ </audit:auditTrail>
106
+ </foxml:xmlContent>
107
+ </foxml:datastreamVersion>
108
+ </foxml:datastream>
109
+ <foxml:datastream ID="DC" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
110
+ <foxml:datastreamVersion ID="DC1.0" LABEL="Dublin Core Record for this object" CREATED="2014-05-15T17:46:52.797Z" MIMETYPE="text/xml" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" SIZE="390">
111
+ <foxml:xmlContent>
112
+ <oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
113
+ <dc:title>This is only a test.</dc:title>
114
+ <dc:identifier>druid:dd999dd9999</dc:identifier>
115
+ </oai_dc:dc>
116
+ </foxml:xmlContent>
117
+ </foxml:datastreamVersion>
118
+ </foxml:datastream>
119
+ <foxml:datastream ID="RELS-EXT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
120
+ <foxml:datastreamVersion ID="RELS-EXT.0" LABEL="Fedora Object-to-Object Relationship Metadata" CREATED="2014-05-15T17:46:52.967Z" MIMETYPE="application/rdf+xml" SIZE="458">
121
+ <foxml:xmlContent>
122
+ <rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:hydra="http://projecthydra.org/ns/relations#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
123
+ <rdf:Description rdf:about="info:fedora/druid:dd999dd9999">
124
+ <hydra:isGovernedBy rdf:resource="info:fedora/druid:fp733rq3615"></hydra:isGovernedBy>
125
+ <fedora-model:hasModel rdf:resource="info:fedora/afmodel:Dor_Item"></fedora-model:hasModel>
126
+ </rdf:Description>
127
+ </rdf:RDF>
128
+ </foxml:xmlContent>
129
+ </foxml:datastreamVersion>
130
+ </foxml:datastream>
131
+ <foxml:datastream ID="identityMetadata" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
132
+ <foxml:datastreamVersion ID="identityMetadata.0" LABEL="Identity Metadata" CREATED="2014-05-15T17:46:53.092Z" MIMETYPE="text/xml" SIZE="492">
133
+ <foxml:xmlContent>
134
+ <identityMetadata>
135
+ <sourceId source="sul "> test</sourceId>
136
+ <objectId>druid:dd999dd9999</objectId>
137
+ <objectCreator>DOR</objectCreator>
138
+ <objectLabel>This is only a test.</objectLabel>
139
+ <objectType>item</objectType>
140
+ <adminPolicy>druid:fp733rq3615</adminPolicy>
141
+ <otherId name="label"></otherId>
142
+ <otherId name="uuid">368cf6e0-6e23-11e1-8f49-a4b197fffeaa</otherId>
143
+ <tag>Process : Content Type : Book (flipbook, ltr)</tag>
144
+ <tag>Registered By : blalbrit</tag>
145
+ </identityMetadata>
146
+ </foxml:xmlContent>
147
+ </foxml:datastreamVersion>
148
+ <foxml:datastreamVersion ID="identityMetadata.1" LABEL="Identity Metadata" CREATED="2014-06-05T21:31:23.559Z" MIMETYPE="text/xml" SIZE="484">
149
+ <foxml:xmlContent>
150
+ <identityMetadata>
151
+ <sourceId source="sul "> test</sourceId>
152
+ <objectId>druid:dd999dd9999</objectId>
153
+ <objectCreator>DOR</objectCreator>
154
+ <objectLabel>My new Label</objectLabel>
155
+ <objectType>item</objectType>
156
+ <adminPolicy>druid:fp733rq3615</adminPolicy>
157
+ <otherId name="label"></otherId>
158
+ <otherId name="uuid">368cf6e0-6e23-11e1-8f49-a4b197fffeaa</otherId>
159
+ <tag>Process : Content Type : Book (flipbook, ltr)</tag>
160
+ <tag>Registered By : blalbrit</tag>
161
+ </identityMetadata>
162
+ </foxml:xmlContent>
163
+ </foxml:datastreamVersion>
164
+ <foxml:datastreamVersion ID="identityMetadata.2" LABEL="Identity Metadata" CREATED="2014-06-05T21:42:37.248Z" MIMETYPE="text/xml" SIZE="487">
165
+ <foxml:xmlContent>
166
+ <identityMetadata>
167
+ <sourceId source="sul "> test</sourceId>
168
+ <objectId>druid:dd999dd9999</objectId>
169
+ <objectCreator>DOR</objectCreator>
170
+ <objectLabel>My new Label II</objectLabel>
171
+ <objectType>item</objectType>
172
+ <adminPolicy>druid:fp733rq3615</adminPolicy>
173
+ <otherId name="label"></otherId>
174
+ <otherId name="uuid">368cf6e0-6e23-11e1-8f49-a4b197fffeaa</otherId>
175
+ <tag>Process : Content Type : Book (flipbook, ltr)</tag>
176
+ <tag>Registered By : blalbrit</tag>
177
+ </identityMetadata>
178
+ </foxml:xmlContent>
179
+ </foxml:datastreamVersion>
180
+ </foxml:datastream>
181
+ <foxml:datastream ID="workflows" STATE="A" CONTROL_GROUP="E" VERSIONABLE="false">
182
+ <foxml:datastreamVersion ID="workflows.0" LABEL="Workflows" CREATED="2014-05-15T17:46:53.256Z" MIMETYPE="application/xml">
183
+ <foxml:contentLocation TYPE="URL" REF="https://lyberservices-dev.stanford.edu/workflow/dor/objects/druid:dd999dd9999/workflows"/>
184
+ </foxml:datastreamVersion>
185
+ <foxml:datastreamVersion ID="workflows.1" LABEL="Workflow" CREATED="2014-06-05T22:13:28.034Z" MIMETYPE="application/xml">
186
+ <foxml:contentLocation TYPE="URL" REF="http://lyberservices-dev.stanford.edu/workflow/dor/objects/druid:dd999dd9999/workflows"/>
187
+ </foxml:datastreamVersion>
188
+ </foxml:datastream>
189
+ <foxml:datastream ID="descMetadata" STATE="A" CONTROL_GROUP="M" VERSIONABLE="true">
190
+ <foxml:datastreamVersion ID="descMetadata.0" LABEL="Descriptive Metadata" CREATED="2014-05-15T17:46:53.414Z" MIMETYPE="text/xml" SIZE="284">
191
+ <foxml:contentLocation TYPE="INTERNAL_ID" REF="http://sul-dor-dev.stanford.edu/fedora/get/druid:dd999dd9999/descMetadata/2014-05-15T17:46:53.414Z"/>
192
+ </foxml:datastreamVersion>
193
+ </foxml:datastream>
194
+ <foxml:datastream ID="rightsMetadata" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
195
+ <foxml:datastreamVersion ID="rightsMetadata.0" LABEL="Rights Metadata" CREATED="2014-05-15T17:46:53.718Z" MIMETYPE="text/xml" SIZE="608">
196
+ <foxml:xmlContent>
197
+ <rightsMetadata objectId="druid:fp733rq3615">
198
+ <copyright>
199
+ <human type="copyright"> Property rights reside with the repository. Copyright © Stanford University. All Rights Reserved.</human>
200
+ </copyright>
201
+ <access type="discover">
202
+ <machine>
203
+ <world></world>
204
+ </machine>
205
+ </access>
206
+ <access type="read">
207
+ <machine>
208
+ <world></world>
209
+ </machine>
210
+ </access>
211
+ <use>
212
+ <human type="useAndReproduction">To obtain permission to publish or reproduce, please contact the Special Collections Public Services Librarian at speccollref@stanford.edu.</human>
213
+ </use>
214
+ </rightsMetadata>
215
+ </foxml:xmlContent>
216
+ </foxml:datastreamVersion>
217
+ </foxml:datastream>
218
+ <foxml:datastream ID="versionMetadata" STATE="A" CONTROL_GROUP="X" VERSIONABLE="false">
219
+ <foxml:datastreamVersion ID="versionMetadata.0" LABEL="Version Metadata" CREATED="2014-05-15T17:46:53.887Z" MIMETYPE="text/xml" SIZE="136">
220
+ <foxml:xmlContent>
221
+ <versionMetadata>
222
+ <version tag="1.0.0" versionId="1">
223
+ <description>Initial Version</description>
224
+ </version>
225
+ </versionMetadata>
226
+ </foxml:xmlContent>
227
+ </foxml:datastreamVersion>
228
+ </foxml:datastream>
229
+ <foxml:datastream ID="provenanceMetadata" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
230
+ <foxml:datastreamVersion ID="provenanceMetadata.0" LABEL="Provenance Metadata" CREATED="2014-07-09T19:38:49.461Z" MIMETYPE="text/xml" SIZE="265">
231
+ <foxml:xmlContent>
232
+ <provenanceMetadata objectId="druid:dd999dd9999">
233
+ <agent name="DOR">
234
+ <what object="druid:dd999dd9999">
235
+ <event when="2014-07-09T12:38:49-07:00" who="DOR-accessionWF">DOR Common Accessioning completed</event>
236
+ </what>
237
+ </agent>
238
+ </provenanceMetadata>
239
+ </foxml:xmlContent>
240
+ </foxml:datastreamVersion>
241
+ </foxml:datastream>
242
+ </foxml:digitalObject>
data/spec/utils_spec.rb CHANGED
@@ -100,14 +100,14 @@ describe Assembly::Utils do
100
100
  Assembly::Utils.get_workflow_status(TEST_PID,'assemblyWF','jp2-create').should be_nil
101
101
  end
102
102
 
103
- # it "should indicate if the specified workflow is defined in an APO object" do
104
- # Assembly::Utils.apo_workflow_defined?(TEST_APO_OBJECT,'accessionWF').should be true
105
- # Assembly::Utils.apo_workflow_defined?(TEST_APO_OBJECT,'accessioning').should be true
106
- # end
107
- #
108
- # it "should indicate if the specified workflow is not defined in an APO object" do
109
- # Assembly::Utils.apo_workflow_defined?(TEST_APO_OBJECT,'crapsticks').should be false
110
- # end
103
+ it "should indicate if the specified workflow is defined in an APO object" do
104
+ Assembly::Utils.apo_workflow_defined?(TEST_APO_OBJECT,'accessionWF').should be true
105
+ Assembly::Utils.apo_workflow_defined?(TEST_APO_OBJECT,'accessioning').should be true
106
+ end
107
+
108
+ it "should indicate if the specified workflow is not defined in an APO object" do
109
+ Assembly::Utils.apo_workflow_defined?(TEST_APO_OBJECT,'crapsticks').should be false
110
+ end
111
111
 
112
112
  it "should indicate if the specified object is not an APO" do
113
113
  lambda{Assembly::Utils.apo_workflow_defined?(TEST_PID,'crapsticks')}.should raise_error
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: assembly-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Mangiafico
@@ -9,174 +9,188 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-07-29 00:00:00.000000000 Z
12
+ date: 2015-01-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
18
+ - - ! '>='
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - ! '>='
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: csv-mapper
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ">="
32
+ - - ! '>='
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ">="
39
+ - - ! '>='
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: fastercsv
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ">="
46
+ - - ! '>='
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ">="
53
+ - - ! '>='
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: druid-tools
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ">="
60
+ - - ! '>='
61
61
  - !ruby/object:Gem::Version
62
62
  version: 0.2.6
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
67
+ - - ! '>='
68
68
  - !ruby/object:Gem::Version
69
69
  version: 0.2.6
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: dor-services
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ">="
74
+ - - ! '>='
75
75
  - !ruby/object:Gem::Version
76
76
  version: 3.25.1
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ">="
81
+ - - ! '>='
82
82
  - !ruby/object:Gem::Version
83
83
  version: 3.25.1
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: lyber-core
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ">="
88
+ - - ! '>='
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ">="
95
+ - - ! '>='
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: dor-workflow-service
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ">="
102
+ - - ! '>='
103
103
  - !ruby/object:Gem::Version
104
104
  version: 1.3.1
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ">="
109
+ - - ! '>='
110
110
  - !ruby/object:Gem::Version
111
111
  version: 1.3.1
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: activesupport
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - ">="
116
+ - - ! '>='
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
119
  type: :runtime
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - ">="
123
+ - - ! '>='
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: activeresource
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - ">="
130
+ - - ! '>='
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  type: :runtime
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - ">="
137
+ - - ! '>='
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
+ - !ruby/object:Gem::Dependency
141
+ name: addressable
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - '='
145
+ - !ruby/object:Gem::Version
146
+ version: 2.3.5
147
+ type: :runtime
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - '='
152
+ - !ruby/object:Gem::Version
153
+ version: 2.3.5
140
154
  - !ruby/object:Gem::Dependency
141
155
  name: rake
142
156
  requirement: !ruby/object:Gem::Requirement
143
157
  requirements:
144
- - - ">="
158
+ - - ! '>='
145
159
  - !ruby/object:Gem::Version
146
160
  version: '0'
147
161
  type: :development
148
162
  prerelease: false
149
163
  version_requirements: !ruby/object:Gem::Requirement
150
164
  requirements:
151
- - - ">="
165
+ - - ! '>='
152
166
  - !ruby/object:Gem::Version
153
167
  version: '0'
154
168
  - !ruby/object:Gem::Dependency
155
169
  name: rspec
156
170
  requirement: !ruby/object:Gem::Requirement
157
171
  requirements:
158
- - - "~>"
172
+ - - ~>
159
173
  - !ruby/object:Gem::Version
160
174
  version: '2.6'
161
175
  type: :development
162
176
  prerelease: false
163
177
  version_requirements: !ruby/object:Gem::Requirement
164
178
  requirements:
165
- - - "~>"
179
+ - - ~>
166
180
  - !ruby/object:Gem::Version
167
181
  version: '2.6'
168
182
  - !ruby/object:Gem::Dependency
169
183
  name: yard
170
184
  requirement: !ruby/object:Gem::Requirement
171
185
  requirements:
172
- - - ">="
186
+ - - ! '>='
173
187
  - !ruby/object:Gem::Version
174
188
  version: '0'
175
189
  type: :development
176
190
  prerelease: false
177
191
  version_requirements: !ruby/object:Gem::Requirement
178
192
  requirements:
179
- - - ">="
193
+ - - ! '>='
180
194
  - !ruby/object:Gem::Version
181
195
  version: '0'
182
196
  description: Contains classes to manipulate DOR objects for assembly and accessioning
@@ -188,9 +202,10 @@ executables:
188
202
  extensions: []
189
203
  extra_rdoc_files: []
190
204
  files:
191
- - ".gitignore"
192
- - ".rvmrc.example"
205
+ - .gitignore
206
+ - .rvmrc.example
193
207
  - Gemfile
208
+ - LICENSE
194
209
  - README.rdoc
195
210
  - Rakefile
196
211
  - assembly-utils.gemspec
@@ -202,6 +217,7 @@ files:
202
217
  - lib/assembly-utils/utils.rb
203
218
  - lib/assembly-utils/version.rb
204
219
  - spec/spec_helper.rb
220
+ - spec/test_data/druid_aa000bb1111.xml
205
221
  - spec/test_data/druid_dd999dd9999.xml
206
222
  - spec/test_data/local_dev_revs.yaml
207
223
  - spec/test_data/test_log.yaml
@@ -215,22 +231,23 @@ require_paths:
215
231
  - lib
216
232
  required_ruby_version: !ruby/object:Gem::Requirement
217
233
  requirements:
218
- - - ">="
234
+ - - ! '>='
219
235
  - !ruby/object:Gem::Version
220
236
  version: '0'
221
237
  required_rubygems_version: !ruby/object:Gem::Requirement
222
238
  requirements:
223
- - - ">="
239
+ - - ! '>='
224
240
  - !ruby/object:Gem::Version
225
241
  version: '0'
226
242
  requirements: []
227
243
  rubyforge_project: assembly-utils
228
- rubygems_version: 2.2.2
244
+ rubygems_version: 2.4.2
229
245
  signing_key:
230
246
  specification_version: 4
231
247
  summary: Ruby gem of methods usesful for assembly and accessioning.
232
248
  test_files:
233
249
  - spec/spec_helper.rb
250
+ - spec/test_data/druid_aa000bb1111.xml
234
251
  - spec/test_data/druid_dd999dd9999.xml
235
252
  - spec/test_data/local_dev_revs.yaml
236
253
  - spec/test_data/test_log.yaml