hydra-works 0.17.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -1
- data/.rubocop.yml +1 -0
- data/.travis.yml +2 -2
- data/CHANGELOG.md +621 -0
- data/CODE_OF_CONDUCT.md +36 -0
- data/CONTRIBUTING.md +23 -21
- data/LICENSE +14 -16
- data/README.md +28 -1
- data/SUPPORT.md +5 -0
- data/hydra-works.gemspec +10 -9
- data/lib/hydra/works/characterization.rb +5 -4
- data/lib/hydra/works/characterization/fits_document.rb +22 -8
- data/lib/hydra/works/characterization/schema/audio_schema.rb +2 -0
- data/lib/hydra/works/characterization/schema/video_schema.rb +2 -0
- data/lib/hydra/works/services/add_external_file_to_file_set.rb +1 -1
- data/lib/hydra/works/services/add_file_to_file_set.rb +1 -1
- data/lib/hydra/works/version.rb +1 -1
- data/spec/fixtures/fits_1.2.0_avi.xml +83 -0
- data/spec/fixtures/fits_1.2.0_jpg.xml +76 -0
- data/spec/fixtures/fits_1.2.0_mp3.xml +51 -0
- data/spec/fixtures/fits_1.2.0_mp4.xml +88 -0
- data/spec/hydra/works/characterization_spec.rb +12 -5
- data/spec/hydra/works/models/collection_spec.rb +12 -0
- data/spec/hydra/works/models/concerns/file_set/contained_files_spec.rb +3 -16
- data/spec/hydra/works/services/characterization_service_spec.rb +70 -26
- data/use-cases/princeton_book_use_case.md +1 -1
- metadata +66 -35
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hydra-works
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.2.10
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '5.2'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
29
|
+
version: 4.2.10
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '5.2'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: hydra-derivatives
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,6 +64,20 @@ dependencies:
|
|
58
64
|
- - ">="
|
59
65
|
- !ruby/object:Gem::Version
|
60
66
|
version: 0.3.3
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: hydra-pcdm
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0.9'
|
74
|
+
type: :runtime
|
75
|
+
prerelease: false
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0.9'
|
61
81
|
- !ruby/object:Gem::Dependency
|
62
82
|
name: om
|
63
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,91 +107,91 @@ dependencies:
|
|
87
107
|
- !ruby/object:Gem::Version
|
88
108
|
version: '1.7'
|
89
109
|
- !ruby/object:Gem::Dependency
|
90
|
-
name:
|
110
|
+
name: coveralls
|
91
111
|
requirement: !ruby/object:Gem::Requirement
|
92
112
|
requirements:
|
93
|
-
- - "
|
113
|
+
- - ">="
|
94
114
|
- !ruby/object:Gem::Version
|
95
|
-
version: '
|
115
|
+
version: '0'
|
96
116
|
type: :development
|
97
117
|
prerelease: false
|
98
118
|
version_requirements: !ruby/object:Gem::Requirement
|
99
119
|
requirements:
|
100
|
-
- - "
|
120
|
+
- - ">="
|
101
121
|
- !ruby/object:Gem::Version
|
102
|
-
version: '
|
122
|
+
version: '0'
|
103
123
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
124
|
+
name: fcrepo_wrapper
|
105
125
|
requirement: !ruby/object:Gem::Requirement
|
106
126
|
requirements:
|
107
127
|
- - "~>"
|
108
128
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
129
|
+
version: '0.1'
|
110
130
|
type: :development
|
111
131
|
prerelease: false
|
112
132
|
version_requirements: !ruby/object:Gem::Requirement
|
113
133
|
requirements:
|
114
134
|
- - "~>"
|
115
135
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
136
|
+
version: '0.1'
|
117
137
|
- !ruby/object:Gem::Dependency
|
118
|
-
name:
|
138
|
+
name: rake
|
119
139
|
requirement: !ruby/object:Gem::Requirement
|
120
140
|
requirements:
|
121
|
-
- - "
|
141
|
+
- - "~>"
|
122
142
|
- !ruby/object:Gem::Version
|
123
|
-
version: '0'
|
143
|
+
version: '10.0'
|
124
144
|
type: :development
|
125
145
|
prerelease: false
|
126
146
|
version_requirements: !ruby/object:Gem::Requirement
|
127
147
|
requirements:
|
128
|
-
- - "
|
148
|
+
- - "~>"
|
129
149
|
- !ruby/object:Gem::Version
|
130
|
-
version: '0'
|
150
|
+
version: '10.0'
|
131
151
|
- !ruby/object:Gem::Dependency
|
132
|
-
name:
|
152
|
+
name: rspec
|
133
153
|
requirement: !ruby/object:Gem::Requirement
|
134
154
|
requirements:
|
135
|
-
- - "
|
155
|
+
- - ">="
|
136
156
|
- !ruby/object:Gem::Version
|
137
|
-
version: '0
|
157
|
+
version: '0'
|
138
158
|
type: :development
|
139
159
|
prerelease: false
|
140
160
|
version_requirements: !ruby/object:Gem::Requirement
|
141
161
|
requirements:
|
142
|
-
- - "
|
162
|
+
- - ">="
|
143
163
|
- !ruby/object:Gem::Version
|
144
|
-
version: '0
|
164
|
+
version: '0'
|
145
165
|
- !ruby/object:Gem::Dependency
|
146
|
-
name:
|
166
|
+
name: rspec-rails
|
147
167
|
requirement: !ruby/object:Gem::Requirement
|
148
168
|
requirements:
|
149
169
|
- - "~>"
|
150
170
|
- !ruby/object:Gem::Version
|
151
|
-
version: '
|
171
|
+
version: '3.1'
|
152
172
|
type: :development
|
153
173
|
prerelease: false
|
154
174
|
version_requirements: !ruby/object:Gem::Requirement
|
155
175
|
requirements:
|
156
176
|
- - "~>"
|
157
177
|
- !ruby/object:Gem::Version
|
158
|
-
version: '
|
178
|
+
version: '3.1'
|
159
179
|
- !ruby/object:Gem::Dependency
|
160
|
-
name:
|
180
|
+
name: solr_wrapper
|
161
181
|
requirement: !ruby/object:Gem::Requirement
|
162
182
|
requirements:
|
163
|
-
- - "
|
183
|
+
- - "~>"
|
164
184
|
- !ruby/object:Gem::Version
|
165
|
-
version: '0'
|
185
|
+
version: '0.4'
|
166
186
|
type: :development
|
167
187
|
prerelease: false
|
168
188
|
version_requirements: !ruby/object:Gem::Requirement
|
169
189
|
requirements:
|
170
|
-
- - "
|
190
|
+
- - "~>"
|
171
191
|
- !ruby/object:Gem::Version
|
172
|
-
version: '0'
|
192
|
+
version: '0.4'
|
173
193
|
- !ruby/object:Gem::Dependency
|
174
|
-
name:
|
194
|
+
name: sqlite3
|
175
195
|
requirement: !ruby/object:Gem::Requirement
|
176
196
|
requirements:
|
177
197
|
- - ">="
|
@@ -184,7 +204,7 @@ dependencies:
|
|
184
204
|
- - ">="
|
185
205
|
- !ruby/object:Gem::Version
|
186
206
|
version: '0'
|
187
|
-
description: Using this data model should enable easy collaboration amongst
|
207
|
+
description: Using this data model should enable easy collaboration amongst Samvera
|
188
208
|
projects.
|
189
209
|
email:
|
190
210
|
- justin@curationexperts.com
|
@@ -198,11 +218,14 @@ files:
|
|
198
218
|
- ".rubocop.yml"
|
199
219
|
- ".rubocop_todo.yml"
|
200
220
|
- ".travis.yml"
|
221
|
+
- CHANGELOG.md
|
222
|
+
- CODE_OF_CONDUCT.md
|
201
223
|
- CONTRIBUTING.md
|
202
224
|
- Gemfile
|
203
225
|
- LICENSE
|
204
226
|
- README.md
|
205
227
|
- Rakefile
|
228
|
+
- SUPPORT.md
|
206
229
|
- hydra-works.gemspec
|
207
230
|
- lib/hydra/works.rb
|
208
231
|
- lib/hydra/works/characterization.rb
|
@@ -267,6 +290,10 @@ files:
|
|
267
290
|
- spec/fixtures/fits_0.8.5_mp4.xml
|
268
291
|
- spec/fixtures/fits_0.8.5_pdf.xml
|
269
292
|
- spec/fixtures/fits_0.8.5_tiff.xml
|
293
|
+
- spec/fixtures/fits_1.2.0_avi.xml
|
294
|
+
- spec/fixtures/fits_1.2.0_jpg.xml
|
295
|
+
- spec/fixtures/fits_1.2.0_mp3.xml
|
296
|
+
- spec/fixtures/fits_1.2.0_mp4.xml
|
270
297
|
- spec/fixtures/fits_netcdf_two_mimetypes.xml
|
271
298
|
- spec/fixtures/image.jp2
|
272
299
|
- spec/fixtures/pdf_fits.xml
|
@@ -306,7 +333,7 @@ files:
|
|
306
333
|
- use-cases/scholarsphere_use_case.md
|
307
334
|
- use-cases/stanford_data_model_use_case.md
|
308
335
|
- use-cases/ucin_linked_resource_use_case.md
|
309
|
-
homepage: https://github.com/
|
336
|
+
homepage: https://github.com/samvera/hydra-works
|
310
337
|
licenses:
|
311
338
|
- APACHE2
|
312
339
|
metadata: {}
|
@@ -329,7 +356,7 @@ rubyforge_project:
|
|
329
356
|
rubygems_version: 2.6.14
|
330
357
|
signing_key:
|
331
358
|
specification_version: 4
|
332
|
-
summary: Fundamental repository data model for
|
359
|
+
summary: Fundamental repository data model for Samvera applications
|
333
360
|
test_files:
|
334
361
|
- spec/fixtures/Example.ogg
|
335
362
|
- spec/fixtures/charter.docx
|
@@ -345,6 +372,10 @@ test_files:
|
|
345
372
|
- spec/fixtures/fits_0.8.5_mp4.xml
|
346
373
|
- spec/fixtures/fits_0.8.5_pdf.xml
|
347
374
|
- spec/fixtures/fits_0.8.5_tiff.xml
|
375
|
+
- spec/fixtures/fits_1.2.0_avi.xml
|
376
|
+
- spec/fixtures/fits_1.2.0_jpg.xml
|
377
|
+
- spec/fixtures/fits_1.2.0_mp3.xml
|
378
|
+
- spec/fixtures/fits_1.2.0_mp4.xml
|
348
379
|
- spec/fixtures/fits_netcdf_two_mimetypes.xml
|
349
380
|
- spec/fixtures/image.jp2
|
350
381
|
- spec/fixtures/pdf_fits.xml
|