rof 1.2.9 → 1.2.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c1e0d21b13c377bc1616d8435137e09b52cdfd3
4
- data.tar.gz: c8d80575b3ef8762150b0536f28ad2308853ee9f
3
+ metadata.gz: 66511fdab5bee572157b08b81a7d6f77427d4a66
4
+ data.tar.gz: c79ad3b7099da8584ad03f28ea3fd4adda3adf62
5
5
  SHA512:
6
- metadata.gz: 3e36246f49bf5de267b038b11226d87d04d61947991a4e8a1d86d606a59e86a506d78ef56513f9fdf06d616dc39c5f1fd29fdd19b4200e336e4cf92f926bed86
7
- data.tar.gz: e8fbc5e613f51199716a490f002cbaac8fc51c5abfd33d7146edbf771dfb1dcab8f19ec8453c4ba303e1cbb09d7c18c919dde5c9e5989e0eb009669d2289d051
6
+ metadata.gz: afa6bd61cd23265822352e662ae363d5fb39b76b91f50bcd05c4d1dc86de5e0bccf9179d6dd86a7d7e553d32b6626eb75cd42067c57d7b7c19036cb292276f17
7
+ data.tar.gz: 376983cf66101e0e7ca9471275018a345878ffa69de6f3c22a0bb5dbf9d12b916491e6536ecbab8503a743bd2cde339db21683d69617838c591f0f0469de7b59
@@ -10,7 +10,7 @@ file_path = STDOUT
10
10
  config['project_file'] = './osf_projects'
11
11
  config['package_dir'] = './FROM_OSF'
12
12
  config['output_dir'] = '.'
13
- config['solr_url'] = 'http://localhost:8080/solr'
13
+ config['solr_url'] = 'http://localhost:8080/solr/curatend'
14
14
 
15
15
  # parse the command line
16
16
  #
@@ -27,7 +27,7 @@ opt = OptionParser.new do |opts|
27
27
  opts.on("", "--output_dir output_dir", "Directory to save ROF to (defaults to .)") do |output_dir|
28
28
  config['output_dir'] = output_dir
29
29
  end
30
- opts.on("", "--solr_url solr_url", "URL of SOLR to use (defaults to http://localhost:8080/solr)") do |solr_url|
30
+ opts.on("", "--solr_url solr_url", "URL of SOLR to use (defaults to http://localhost:8080/solr/curatend)") do |solr_url|
31
31
  config['solr_url'] = solr_url
32
32
  end
33
33
  end
@@ -21,8 +21,9 @@ module ROF
21
21
  handler.namespace_prefix('bibo:')
22
22
  handler.within(['metadata'])
23
23
  end
24
- PredicateHandler.register('info:fedora/fedora-system:def/relations-external') do |handler|
25
- handler.map('#isMemberOfCollection', to: ['rels-ext', 'isMemberOfCollection'])
24
+ PredicateHandler.register('info:fedora/fedora-system:def/relations-external#') do |handler|
25
+ handler.namespace_prefix('')
26
+ handler.within(['rels-ext'])
26
27
  end
27
28
  PredicateHandler.register('http://id.loc.gov/vocabulary/relators/') do |handler|
28
29
  handler.namespace_prefix('mrel:')
@@ -53,6 +54,13 @@ module ROF
53
54
  handler.map('representativeFile', multiple: false) do |object, accumulator|
54
55
  accumulator.register_properties('representative', object)
55
56
  end
57
+ handler.map('characterization', to: ['characterization'], multiple: false, force: true)
58
+
59
+ # Discard these keys when mapping from JSON-LD to ROF
60
+ handler.skip('content')
61
+ handler.skip('thumbnail')
62
+ handler.skip('filename')
63
+ handler.skip('mimetype')
56
64
  end
57
65
 
58
66
  PredicateHandler.register('http://purl.org/dc/terms/') do |handler|
@@ -164,6 +164,12 @@ module ROF
164
164
  end
165
165
  end
166
166
 
167
+ # Skip the given slug
168
+ # @param [String] slug
169
+ def skip(slug)
170
+ map(slug) { |*| }
171
+ end
172
+
167
173
  # @api private
168
174
  # Responsible for coordinating the extraction of the location
169
175
  class LocationExtractor
@@ -92,7 +92,7 @@ module ROF
92
92
  def self.check_solr_for_previous(config, osf_project_identifier)
93
93
  solr_url = config.fetch('solr_url', nil)
94
94
  return nil if solr_url.nil?
95
- solr = RSolr.connect url: "#{solr_url}/curatend"
95
+ solr = RSolr.connect url: "#{solr_url}"
96
96
  query = solr.get 'select', params: {
97
97
  q: "desc_metadata__osf_project_identifier_ssi:#{osf_project_identifier}",
98
98
  rows: 1,
@@ -1,3 +1,3 @@
1
1
  module ROF
2
- VERSION="1.2.9"
2
+ VERSION="1.2.10"
3
3
  end
@@ -21,7 +21,8 @@ Gem::Specification.new do |spec|
21
21
  spec.require_paths = ["lib"]
22
22
 
23
23
  spec.add_dependency "rdf", "~> 2.0.1"
24
- spec.add_dependency "rdf-rdfxml"
24
+ spec.add_dependency "rdf-rdfxml", "~> 2.0.0"
25
+ spec.add_dependency "rdf-aggregate-repo", "~> 2.0.0"
25
26
  # constrain rdf-turtle since the newer version wants rdf 2.2
26
27
  spec.add_dependency "rdf-turtle", '~> 2.0.0'
27
28
  spec.add_dependency "rdf-isomorphic"
@@ -0,0 +1,81 @@
1
+ {
2
+ "@context": {
3
+ "und": "https://curate.nd.edu/show/",
4
+ "bibo": "http://purl.org/ontology/bibo/",
5
+ "dc": "http://purl.org/dc/terms/",
6
+ "ebucore": "http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#",
7
+ "foaf": "http://xmlns.com/foaf/0.1/",
8
+ "mrel": "http://id.loc.gov/vocabulary/relators/",
9
+ "nd": "https://library.nd.edu/ns/terms/",
10
+ "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
11
+ "vracore": "http://purl.org/vra/",
12
+ "frels": "info:fedora/fedora-system:def/relations-external#",
13
+ "ms": "http://www.ndltd.org/standards/metadata/etdms/1.1/",
14
+ "pav": "http://purl.org/pav/",
15
+ "fedora-model": "info:fedora/fedora-system:def/model#",
16
+ "hydra": "http://projecthydra.org/ns/relations#",
17
+ "hasModel": {
18
+ "@id": "fedora-model:hasModel",
19
+ "@type": "@id"
20
+ },
21
+ "hasEditor": {
22
+ "@id": "hydra:hasEditor",
23
+ "@type": "@id"
24
+ },
25
+ "hasEditorGroup": {
26
+ "@id": "hydra:hasEditorGroup",
27
+ "@type": "@id"
28
+ },
29
+ "hasViewer": {
30
+ "@id": "hydra:hasViewer",
31
+ "@type": "@id"
32
+ },
33
+ "hasViewerGroup": {
34
+ "@id": "hydra:hasViewerGroup",
35
+ "@type": "@id"
36
+ },
37
+ "isPartOf": {
38
+ "@id": "frels:isPartOf",
39
+ "@type": "@id"
40
+ },
41
+ "isMemberOfCollection": {
42
+ "@id": "frels:isMemberOfCollection",
43
+ "@type": "@id"
44
+ },
45
+ "isEditorOf": {
46
+ "@id": "hydra:isEditorOf",
47
+ "@type": "@id"
48
+ },
49
+ "hasMember": {
50
+ "@id": "frels:hasMember",
51
+ "@type": "@id"
52
+ },
53
+ "previousVersion": "pav:previousVersion"
54
+ },
55
+ "@id": "und:5h73pv65x8x",
56
+ "dc:dateSubmitted": {
57
+ "@value": "2017-06-26Z",
58
+ "@type": "http://www.w3.org/2001/XMLSchema#date"
59
+ },
60
+ "dc:modified": {
61
+ "@value": "2017-06-30Z",
62
+ "@type": "http://www.w3.org/2001/XMLSchema#date"
63
+ },
64
+ "dc:title": "v2exdfdmhs.zip",
65
+ "frels:isPartOf": {
66
+ "@id": "und:3484zg6774d"
67
+ },
68
+ "nd:accessEdit": "mcoppedg",
69
+ "nd:accessReadGroup": "public",
70
+ "nd:afmodel": "GenericFile",
71
+ "nd:bendoitem": "3484zg6774d",
72
+ "nd:characterization": "<fits xmlns=\"http://hul.harvard.edu/ois/xml/ns/fits/fits_output\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://hul.harvard.edu/ois/xml/ns/fits/fits_output http://hul.harvard.edu/ois/xml/xsd/fits/fits_output.xsd\" version=\"0.6.2\" timestamp=\"6/26/17 5:46 PM\">\n <identification>\n <identity format=\"ZIP Format\" mimetype=\"application/zip\" toolname=\"FITS\" toolversion=\"0.6.2\">\n <tool toolname=\"file utility\" toolversion=\"5.04\"/>\n <tool toolname=\"Exiftool\" toolversion=\"9.06\"/>\n <tool toolname=\"Droid\" toolversion=\"3.0\"/>\n <tool toolname=\"ffident\" toolversion=\"0.2\"/>\n <version toolname=\"file utility\" toolversion=\"5.04\">2.0</version>\n <externalIdentifier toolname=\"Droid\" toolversion=\"3.0\" type=\"puid\">x-fmt/263</externalIdentifier>\n </identity>\n </identification>\n <fileinfo>\n <lastmodified toolname=\"Exiftool\" toolversion=\"9.06\" status=\"SINGLE_RESULT\">2017:06:26 17:45:52-04:00</lastmodified>\n <filepath toolname=\"OIS File Information\" toolversion=\"0.1\" status=\"SINGLE_RESULT\">/tmp/und:5h73pv65x8x-content.0.zip20170626-61058-1ylrkx4.zip</filepath>\n \n <size toolname=\"OIS File Information\" toolversion=\"0.1\" status=\"SINGLE_RESULT\">55150864</size>\n <md5checksum toolname=\"OIS File Information\" toolversion=\"0.1\" status=\"SINGLE_RESULT\">3c5944ded56607b19c5c0cc1fa382012</md5checksum>\n <fslastmodified toolname=\"OIS File Information\" toolversion=\"0.1\" status=\"SINGLE_RESULT\">1498513552000</fslastmodified>\n </fileinfo>\n <filestatus/>\n <metadata/>\n</fits>",
73
+ "nd:content": "CONTENTSHOULD_NOT_BE_IN_ROF",
74
+ "nd:depositor": "batch_ingest",
75
+ "nd:filename": "FILENAME_SHOULD_NOT_BE_IN_ROF",
76
+ "nd:mimetype": "MIMETYPE_SHOULD_NOT_BE_IN_ROF",
77
+ "nd:owner": "mcoppedg",
78
+ "nd:thumbnail": {
79
+ "@id": "THUMBNAIL_SHOULD_NOT_BE_IN_ROF"
80
+ }
81
+ }
@@ -12,6 +12,7 @@ module ROF
12
12
 
13
13
  described_class.register('https://library.nd.edu/ns/terms/') do |handler|
14
14
  handler.map('accessRead', to: ['rights', 'read'])
15
+ handler.skip('to_my_loo')
15
16
  end
16
17
  described_class.register('http://purl.org/dc/terms/') do |handler|
17
18
  handler.namespace_prefix('dc:')
@@ -53,6 +54,12 @@ module ROF
53
54
  })
54
55
  end
55
56
 
57
+ it 'handles skip imperative' do
58
+ described_class.call('https://library.nd.edu/ns/terms/accessRead', object, accumulator)
59
+ described_class.call('https://library.nd.edu/ns/terms/to_my_loo', object, accumulator)
60
+ expect(accumulator.to_rof).to eq({ "rights" => { "read" => ["my-object"] } })
61
+ end
62
+
56
63
  it 'handles option without namespace' do
57
64
  described_class.call('https://library.nd.edu/ns/terms/accessRead', object, accumulator)
58
65
  expect(accumulator.to_rof).to eq({ "rights" => { "read" => ["my-object"] } })
@@ -68,6 +68,24 @@ module ROF
68
68
  end
69
69
  end
70
70
 
71
+ describe 'jsonld-translation regression verification' do
72
+ it 'discards content, thumbnail, filename, and mimetype' do
73
+ jsonld_from_curatend = JSON.load(File.read(File.join(GEM_ROOT, "spec/fixtures/jsonld-translation/5h73pv65x8x.jsonld")))
74
+ output = described_class.call(jsonld_from_curatend, {})
75
+ expect(output.size).to eq(1)
76
+ object = output.first
77
+ expect(object.fetch('characterization')).to be_a(String)
78
+ expect(object.fetch('characterization')).to eq(jsonld_from_curatend.fetch('nd:characterization'))
79
+
80
+ # Checking that we don't include the following keys.
81
+ json_doc = JSON.dump(object)
82
+ ['content', 'thumbnail', 'filename', 'mimetype'].each do |key|
83
+ value = "#{key.upcase}_SHOULD_NOT_BE_IN_ROF"
84
+ expect(json_doc).not_to include(value)
85
+ end
86
+ end
87
+ end
88
+
71
89
  describe '::REGEXP_FOR_A_CURATE_RDF_SUBJECT' do
72
90
  it 'handles data as expected' do
73
91
  [
metadata CHANGED
@@ -1,356 +1,369 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rof
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.9
4
+ version: 1.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Friesen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-14 00:00:00.000000000 Z
11
+ date: 2017-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdf
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: 2.0.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: 2.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rdf-rdfxml
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 2.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 2.0.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: rdf-aggregate-repo
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 2.0.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 2.0.0
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rdf-turtle
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
- - - "~>"
59
+ - - ~>
46
60
  - !ruby/object:Gem::Version
47
61
  version: 2.0.0
48
62
  type: :runtime
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
- - - "~>"
66
+ - - ~>
53
67
  - !ruby/object:Gem::Version
54
68
  version: 2.0.0
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rdf-isomorphic
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
- - - ">="
73
+ - - '>='
60
74
  - !ruby/object:Gem::Version
61
75
  version: '0'
62
76
  type: :runtime
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
- - - ">="
80
+ - - '>='
67
81
  - !ruby/object:Gem::Version
68
82
  version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: json-ld
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
- - - "~>"
87
+ - - ~>
74
88
  - !ruby/object:Gem::Version
75
89
  version: 2.0.0
76
90
  type: :runtime
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
- - - "~>"
94
+ - - ~>
81
95
  - !ruby/object:Gem::Version
82
96
  version: 2.0.0
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: mime-types
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
- - - "~>"
101
+ - - ~>
88
102
  - !ruby/object:Gem::Version
89
103
  version: '2.4'
90
104
  type: :runtime
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
- - - "~>"
108
+ - - ~>
95
109
  - !ruby/object:Gem::Version
96
110
  version: '2.4'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: rubydora
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
- - - "~>"
115
+ - - ~>
102
116
  - !ruby/object:Gem::Version
103
117
  version: 1.8.1
104
118
  type: :runtime
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
- - - "~>"
122
+ - - ~>
109
123
  - !ruby/object:Gem::Version
110
124
  version: 1.8.1
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: noids_client
113
127
  requirement: !ruby/object:Gem::Requirement
114
128
  requirements:
115
- - - ">="
129
+ - - '>='
116
130
  - !ruby/object:Gem::Version
117
131
  version: '0'
118
132
  type: :runtime
119
133
  prerelease: false
120
134
  version_requirements: !ruby/object:Gem::Requirement
121
135
  requirements:
122
- - - ">="
136
+ - - '>='
123
137
  - !ruby/object:Gem::Version
124
138
  version: '0'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: rsolr
127
141
  requirement: !ruby/object:Gem::Requirement
128
142
  requirements:
129
- - - "~>"
143
+ - - ~>
130
144
  - !ruby/object:Gem::Version
131
145
  version: 1.1.2
132
146
  type: :runtime
133
147
  prerelease: false
134
148
  version_requirements: !ruby/object:Gem::Requirement
135
149
  requirements:
136
- - - "~>"
150
+ - - ~>
137
151
  - !ruby/object:Gem::Version
138
152
  version: 1.1.2
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: deprecation
141
155
  requirement: !ruby/object:Gem::Requirement
142
156
  requirements:
143
- - - "~>"
157
+ - - ~>
144
158
  - !ruby/object:Gem::Version
145
159
  version: '0.1'
146
160
  type: :runtime
147
161
  prerelease: false
148
162
  version_requirements: !ruby/object:Gem::Requirement
149
163
  requirements:
150
- - - "~>"
164
+ - - ~>
151
165
  - !ruby/object:Gem::Version
152
166
  version: '0.1'
153
167
  - !ruby/object:Gem::Dependency
154
168
  name: nokogiri
155
169
  requirement: !ruby/object:Gem::Requirement
156
170
  requirements:
157
- - - "~>"
171
+ - - ~>
158
172
  - !ruby/object:Gem::Version
159
173
  version: 1.6.8.1
160
174
  type: :runtime
161
175
  prerelease: false
162
176
  version_requirements: !ruby/object:Gem::Requirement
163
177
  requirements:
164
- - - "~>"
178
+ - - ~>
165
179
  - !ruby/object:Gem::Version
166
180
  version: 1.6.8.1
167
181
  - !ruby/object:Gem::Dependency
168
182
  name: activesupport
169
183
  requirement: !ruby/object:Gem::Requirement
170
184
  requirements:
171
- - - "<"
185
+ - - <
172
186
  - !ruby/object:Gem::Version
173
187
  version: '5.0'
174
188
  type: :runtime
175
189
  prerelease: false
176
190
  version_requirements: !ruby/object:Gem::Requirement
177
191
  requirements:
178
- - - "<"
192
+ - - <
179
193
  - !ruby/object:Gem::Version
180
194
  version: '5.0'
181
195
  - !ruby/object:Gem::Dependency
182
196
  name: ebnf
183
197
  requirement: !ruby/object:Gem::Requirement
184
198
  requirements:
185
- - - "<"
199
+ - - <
186
200
  - !ruby/object:Gem::Version
187
201
  version: 1.0.2
188
202
  type: :runtime
189
203
  prerelease: false
190
204
  version_requirements: !ruby/object:Gem::Requirement
191
205
  requirements:
192
- - - "<"
206
+ - - <
193
207
  - !ruby/object:Gem::Version
194
208
  version: 1.0.2
195
209
  - !ruby/object:Gem::Dependency
196
210
  name: rdf-xsd
197
211
  requirement: !ruby/object:Gem::Requirement
198
212
  requirements:
199
- - - "~>"
213
+ - - ~>
200
214
  - !ruby/object:Gem::Version
201
215
  version: 2.0.0
202
216
  type: :runtime
203
217
  prerelease: false
204
218
  version_requirements: !ruby/object:Gem::Requirement
205
219
  requirements:
206
- - - "~>"
220
+ - - ~>
207
221
  - !ruby/object:Gem::Version
208
222
  version: 2.0.0
209
223
  - !ruby/object:Gem::Dependency
210
224
  name: bundler
211
225
  requirement: !ruby/object:Gem::Requirement
212
226
  requirements:
213
- - - "~>"
227
+ - - ~>
214
228
  - !ruby/object:Gem::Version
215
229
  version: '1.3'
216
230
  type: :development
217
231
  prerelease: false
218
232
  version_requirements: !ruby/object:Gem::Requirement
219
233
  requirements:
220
- - - "~>"
234
+ - - ~>
221
235
  - !ruby/object:Gem::Version
222
236
  version: '1.3'
223
237
  - !ruby/object:Gem::Dependency
224
238
  name: codeclimate-test-reporter
225
239
  requirement: !ruby/object:Gem::Requirement
226
240
  requirements:
227
- - - ">="
241
+ - - '>='
228
242
  - !ruby/object:Gem::Version
229
243
  version: '0'
230
244
  type: :development
231
245
  prerelease: false
232
246
  version_requirements: !ruby/object:Gem::Requirement
233
247
  requirements:
234
- - - ">="
248
+ - - '>='
235
249
  - !ruby/object:Gem::Version
236
250
  version: '0'
237
251
  - !ruby/object:Gem::Dependency
238
252
  name: fasterer
239
253
  requirement: !ruby/object:Gem::Requirement
240
254
  requirements:
241
- - - ">="
255
+ - - '>='
242
256
  - !ruby/object:Gem::Version
243
257
  version: '0'
244
258
  type: :development
245
259
  prerelease: false
246
260
  version_requirements: !ruby/object:Gem::Requirement
247
261
  requirements:
248
- - - ">="
262
+ - - '>='
249
263
  - !ruby/object:Gem::Version
250
264
  version: '0'
251
265
  - !ruby/object:Gem::Dependency
252
266
  name: rake
253
267
  requirement: !ruby/object:Gem::Requirement
254
268
  requirements:
255
- - - ">="
269
+ - - '>='
256
270
  - !ruby/object:Gem::Version
257
271
  version: '0'
258
272
  type: :development
259
273
  prerelease: false
260
274
  version_requirements: !ruby/object:Gem::Requirement
261
275
  requirements:
262
- - - ">="
276
+ - - '>='
263
277
  - !ruby/object:Gem::Version
264
278
  version: '0'
265
279
  - !ruby/object:Gem::Dependency
266
280
  name: rspec
267
281
  requirement: !ruby/object:Gem::Requirement
268
282
  requirements:
269
- - - ">="
283
+ - - '>='
270
284
  - !ruby/object:Gem::Version
271
285
  version: '0'
272
286
  type: :development
273
287
  prerelease: false
274
288
  version_requirements: !ruby/object:Gem::Requirement
275
289
  requirements:
276
- - - ">="
290
+ - - '>='
277
291
  - !ruby/object:Gem::Version
278
292
  version: '0'
279
293
  - !ruby/object:Gem::Dependency
280
294
  name: rspec-its
281
295
  requirement: !ruby/object:Gem::Requirement
282
296
  requirements:
283
- - - ">="
297
+ - - '>='
284
298
  - !ruby/object:Gem::Version
285
299
  version: '0'
286
300
  type: :development
287
301
  prerelease: false
288
302
  version_requirements: !ruby/object:Gem::Requirement
289
303
  requirements:
290
- - - ">="
304
+ - - '>='
291
305
  - !ruby/object:Gem::Version
292
306
  version: '0'
293
307
  - !ruby/object:Gem::Dependency
294
308
  name: simplecov
295
309
  requirement: !ruby/object:Gem::Requirement
296
310
  requirements:
297
- - - ">="
311
+ - - '>='
298
312
  - !ruby/object:Gem::Version
299
313
  version: '0'
300
314
  type: :development
301
315
  prerelease: false
302
316
  version_requirements: !ruby/object:Gem::Requirement
303
317
  requirements:
304
- - - ">="
318
+ - - '>='
305
319
  - !ruby/object:Gem::Version
306
320
  version: '0'
307
321
  - !ruby/object:Gem::Dependency
308
322
  name: vcr
309
323
  requirement: !ruby/object:Gem::Requirement
310
324
  requirements:
311
- - - ">="
325
+ - - '>='
312
326
  - !ruby/object:Gem::Version
313
327
  version: '0'
314
328
  type: :development
315
329
  prerelease: false
316
330
  version_requirements: !ruby/object:Gem::Requirement
317
331
  requirements:
318
- - - ">="
332
+ - - '>='
319
333
  - !ruby/object:Gem::Version
320
334
  version: '0'
321
335
  - !ruby/object:Gem::Dependency
322
336
  name: webmock
323
337
  requirement: !ruby/object:Gem::Requirement
324
338
  requirements:
325
- - - ">="
339
+ - - '>='
326
340
  - !ruby/object:Gem::Version
327
341
  version: '0'
328
342
  type: :development
329
343
  prerelease: false
330
344
  version_requirements: !ruby/object:Gem::Requirement
331
345
  requirements:
332
- - - ">="
346
+ - - '>='
333
347
  - !ruby/object:Gem::Version
334
348
  version: '0'
335
349
  - !ruby/object:Gem::Dependency
336
350
  name: equivalent-xml
337
351
  requirement: !ruby/object:Gem::Requirement
338
352
  requirements:
339
- - - ">="
353
+ - - '>='
340
354
  - !ruby/object:Gem::Version
341
355
  version: '0'
342
356
  type: :development
343
357
  prerelease: false
344
358
  version_requirements: !ruby/object:Gem::Requirement
345
359
  requirements:
346
- - - ">="
360
+ - - '>='
347
361
  - !ruby/object:Gem::Version
348
362
  version: '0'
349
363
  description: Raw Object Format
350
364
  email:
351
365
  - jeremy.n.friesen@gmail.com
352
366
  executables:
353
- - ".ruby-version"
354
367
  - bundle
355
368
  - csv_to_rof
356
369
  - fedora_to_rof
@@ -360,15 +373,13 @@ executables:
360
373
  extensions: []
361
374
  extra_rdoc_files: []
362
375
  files:
363
- - ".gitignore"
364
- - ".rspec"
365
- - ".ruby-version"
366
- - ".travis.yml"
376
+ - .gitignore
377
+ - .rspec
378
+ - .travis.yml
367
379
  - Gemfile
368
380
  - LICENSE
369
381
  - README.md
370
382
  - Rakefile
371
- - bin/.ruby-version
372
383
  - bin/bundle
373
384
  - bin/csv_to_rof
374
385
  - bin/fedora_to_rof
@@ -418,6 +429,7 @@ files:
418
429
  - spec/fixtures/for_utility_load_items_from_json_file/multiple_items.json
419
430
  - spec/fixtures/for_utility_load_items_from_json_file/parse_error.json
420
431
  - spec/fixtures/for_utility_load_items_from_json_file/single_item.json
432
+ - spec/fixtures/jsonld-translation/5h73pv65x8x.jsonld
421
433
  - spec/fixtures/jsonld_to_rof/0g354f18610.jsonld
422
434
  - spec/fixtures/jsonld_to_rof/0g354f18610.rof
423
435
  - spec/fixtures/jsonld_to_rof/2j62s467216.jsonld
@@ -485,17 +497,17 @@ require_paths:
485
497
  - lib
486
498
  required_ruby_version: !ruby/object:Gem::Requirement
487
499
  requirements:
488
- - - ">="
500
+ - - '>='
489
501
  - !ruby/object:Gem::Version
490
502
  version: '0'
491
503
  required_rubygems_version: !ruby/object:Gem::Requirement
492
504
  requirements:
493
- - - ">="
505
+ - - '>='
494
506
  - !ruby/object:Gem::Version
495
507
  version: '0'
496
508
  requirements: []
497
509
  rubyforge_project:
498
- rubygems_version: 2.4.5
510
+ rubygems_version: 2.0.14
499
511
  signing_key:
500
512
  specification_version: 4
501
513
  summary: Raw Object Format
@@ -510,6 +522,7 @@ test_files:
510
522
  - spec/fixtures/for_utility_load_items_from_json_file/multiple_items.json
511
523
  - spec/fixtures/for_utility_load_items_from_json_file/parse_error.json
512
524
  - spec/fixtures/for_utility_load_items_from_json_file/single_item.json
525
+ - spec/fixtures/jsonld-translation/5h73pv65x8x.jsonld
513
526
  - spec/fixtures/jsonld_to_rof/0g354f18610.jsonld
514
527
  - spec/fixtures/jsonld_to_rof/0g354f18610.rof
515
528
  - spec/fixtures/jsonld_to_rof/2j62s467216.jsonld
@@ -567,3 +580,4 @@ test_files:
567
580
  - spec/lib/rof_spec.rb
568
581
  - spec/spec_helper.rb
569
582
  - spec/support/an_rof_filter.rb
583
+ has_rdoc:
@@ -1 +0,0 @@
1
- 2.2.2
@@ -1 +0,0 @@
1
- 2.2.2