hydra-works 0.16.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. checksums.yaml +5 -5
  2. data/.circleci/config.yml +59 -0
  3. data/.gitignore +3 -1
  4. data/.rubocop.yml +2 -6
  5. data/.rubocop_todo.yml +5 -0
  6. data/.solr_wrapper +1 -0
  7. data/CHANGELOG.md +621 -0
  8. data/CODE_OF_CONDUCT.md +36 -0
  9. data/CONTRIBUTING.md +23 -21
  10. data/Gemfile +11 -3
  11. data/LICENSE +14 -16
  12. data/README.md +54 -12
  13. data/SUPPORT.md +5 -0
  14. data/hydra-works.gemspec +15 -13
  15. data/lib/hydra/works/characterization.rb +5 -4
  16. data/lib/hydra/works/characterization/fits_document.rb +348 -144
  17. data/lib/hydra/works/characterization/schema/audio_schema.rb +2 -0
  18. data/lib/hydra/works/characterization/schema/video_schema.rb +2 -0
  19. data/lib/hydra/works/models/concerns/collection_behavior.rb +44 -0
  20. data/lib/hydra/works/models/concerns/file_set_behavior.rb +20 -0
  21. data/lib/hydra/works/models/concerns/work_behavior.rb +54 -0
  22. data/lib/hydra/works/services/add_external_file_to_file_set.rb +1 -1
  23. data/lib/hydra/works/services/add_file_to_file_set.rb +1 -1
  24. data/lib/hydra/works/services/characterization_service.rb +5 -0
  25. data/lib/hydra/works/services/determine_original_name.rb +1 -1
  26. data/lib/hydra/works/version.rb +1 -1
  27. data/lib/hydra/works/virus_scanner.rb +18 -2
  28. data/spec/fixtures/fits_0.8.5_tiff.xml +78 -0
  29. data/spec/fixtures/fits_1.2.0_avi.xml +83 -0
  30. data/spec/fixtures/fits_1.2.0_jpg.xml +76 -0
  31. data/spec/fixtures/fits_1.2.0_mp3.xml +51 -0
  32. data/spec/fixtures/fits_1.2.0_mp4.xml +88 -0
  33. data/spec/fixtures/fits_netcdf_two_mimetypes.xml +35 -0
  34. data/spec/hydra/works/characterization_spec.rb +12 -5
  35. data/spec/hydra/works/models/collection_spec.rb +162 -0
  36. data/spec/hydra/works/models/concerns/file_set/contained_files_spec.rb +3 -16
  37. data/spec/hydra/works/models/file_set_spec.rb +47 -0
  38. data/spec/hydra/works/models/work_spec.rb +213 -7
  39. data/spec/hydra/works/services/characterization_service_spec.rb +90 -27
  40. data/spec/hydra/works/services/persist_derivatives_spec.rb +6 -6
  41. data/spec/hydra/works/virus_scanner_spec.rb +31 -0
  42. data/use-cases/princeton_book_use_case.md +1 -1
  43. metadata +77 -67
  44. data/.travis.yml +0 -15
  45. data/lib/hydra/works/characterization/fits_mapper.rb +0 -0
  46. data/solr/config/_rest_managed.json +0 -3
  47. data/solr/config/admin-extra.html +0 -31
  48. data/solr/config/elevate.xml +0 -36
  49. data/solr/config/mapping-ISOLatin1Accent.txt +0 -246
  50. data/solr/config/protwords.txt +0 -21
  51. data/solr/config/schema.xml +0 -372
  52. data/solr/config/scripts.conf +0 -24
  53. data/solr/config/solrconfig.xml +0 -419
  54. data/solr/config/spellings.txt +0 -2
  55. data/solr/config/stopwords.txt +0 -58
  56. data/solr/config/stopwords_en.txt +0 -58
  57. data/solr/config/synonyms.txt +0 -31
  58. data/solr/config/xslt/example.xsl +0 -132
  59. data/solr/config/xslt/example_atom.xsl +0 -67
  60. data/solr/config/xslt/example_rss.xsl +0 -66
  61. data/solr/config/xslt/luke.xsl +0 -337
  62. data/spec/fixtures/eicar.txt +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c1d6b6f3987a8df560123eee26e60f231fad1e8a
4
- data.tar.gz: fefe3540d414cf554eea479f2de2249ee0417071
2
+ SHA256:
3
+ metadata.gz: 2e59b8a3c691e329daaa38e524c2042a10135c137165c89cbcffc27ac82f955a
4
+ data.tar.gz: 73b6203943cdd78963127d7c998645f4e8763eaa3f85e8a2d57fddce0e3aa043
5
5
  SHA512:
6
- metadata.gz: 8eb1fb9eae7a8dd692008ccc0c30c2707f694717e2d0d59e190afce5466557b25a26692e63be6dca281a083d96603d1a66c59d7503d0b3b17bdf35e2c159728f
7
- data.tar.gz: 60c735f5169ae1f41a9b8a33013147961b830d536e4c41fd4f3b28b76709a731d192983966798276ca30ec44612a67b8bcb214f6712ae93251e60ad5fd22fcd4
6
+ metadata.gz: 730f2f0abdc3e7451924e4d95b03be499c7de24eeefcc4f282b9bde0cc0167a1a70d52ed39534c5de5d7d76c013aa41f1e8b6dfbd61000201b658f2b039463e7
7
+ data.tar.gz: 3720b79fe1ef451ef274638c2373b8c48b425c6010b57638dc396e28a21920252c7c895f44e4a114b100936cb3192754cbf5642a617250c62070692ac9927b6a
@@ -0,0 +1,59 @@
1
+ ---
2
+ version: 2.1
3
+ orbs:
4
+ samvera: samvera/circleci-orb@0
5
+ jobs:
6
+ test:
7
+ parameters:
8
+ ruby_version:
9
+ type: string
10
+ bundler_version:
11
+ type: string
12
+ default: 1.17.3
13
+ rails_version:
14
+ type: string
15
+ environment:
16
+ RAILS_VERSION: << parameters.rails_version >>
17
+ NOKOGIRI_USE_SYSTEM_LIBRARIES: true
18
+ executor:
19
+ name: 'samvera/ruby_fcrepo_solr'
20
+ ruby_version: << parameters.ruby_version >>
21
+ steps:
22
+ - run: 'sudo apt-get update && sudo apt-get install clamav'
23
+ - run: 'sudo freshclam'
24
+ - samvera/cached_checkout
25
+ - samvera/bundle_for_gem:
26
+ ruby_version: << parameters.ruby_version >>
27
+ bundler_version: << parameters.bundler_version >>
28
+ project: hydra-works
29
+ - samvera/install_solr_active_fedora_core
30
+ - samvera/parallel_rspec
31
+
32
+ workflows:
33
+ version: 2
34
+ ci:
35
+ jobs:
36
+ - test:
37
+ name: ruby2-7_rails6-0
38
+ ruby_version: 2.7.1
39
+ rails_version: 6.0.3.1
40
+ - test:
41
+ name: ruby2-6_rails6-0
42
+ ruby_version: 2.6.6
43
+ rails_version: 6.0.3.1
44
+ - test:
45
+ name: ruby2-5_rails6-0
46
+ ruby_version: 2.5.8
47
+ rails_version: 6.0.3.1
48
+ - test:
49
+ name: ruby2-7_rails5-2
50
+ ruby_version: 2.7.1
51
+ rails_version: 5.2.4.3
52
+ - test:
53
+ name: ruby2-6_rails5-2
54
+ ruby_version: 2.6.6
55
+ rails_version: 5.2.4.3
56
+ - test:
57
+ name: ruby2-5_rails5-2
58
+ ruby_version: 2.5.8
59
+ rails_version: 5.2.4.3
data/.gitignore CHANGED
@@ -13,11 +13,13 @@ spec/internal
13
13
  *.so
14
14
  *.o
15
15
  *.a
16
+ fits.log
16
17
  mkmf.log
17
18
  jetty
18
19
  fcrepo4-data
19
20
  fcrepo4-test-data/
21
+ .byebug_history
20
22
  .DS_Store
21
23
  .ruby-gemset
22
24
  .ruby-version
23
- /spec/examples.txt
25
+ /spec/examples.txt
@@ -2,16 +2,16 @@ require: rubocop-rspec
2
2
  inherit_from: .rubocop_todo.yml
3
3
 
4
4
  AllCops:
5
+ TargetRubyVersion: 2.3
5
6
  DisplayCopNames: true
6
7
  Include:
7
8
  - '**/Rakefile'
8
9
  Exclude:
9
10
  - 'vendor/**/*'
10
- - 'spec/internal/bin/*'
11
- - 'spec/internal/db/schema.rb'
12
11
 
13
12
  Metrics/BlockLength:
14
13
  Exclude:
14
+ - 'lib/hydra/works/characterization/fits_document.rb'
15
15
  - 'spec/**/*.rb'
16
16
 
17
17
  # By default RSpec/MessageSpies has the following:
@@ -66,10 +66,6 @@ RSpec/FilePath:
66
66
  RSpec/InstanceVariable:
67
67
  Enabled: false
68
68
 
69
- RSpec/DescribedClass:
70
- Exclude:
71
- - spec/hydra/works/models/concerns/generic_file/characterization_spec.rb
72
-
73
69
  RSpec/AnyInstance:
74
70
  Exclude:
75
71
  - spec/hydra/works/services/persist_derivatives_spec.rb
@@ -63,6 +63,7 @@ RSpec/NamedSubject:
63
63
  RSpec/NestedGroups:
64
64
  Exclude:
65
65
  - 'spec/hydra/works/models/collection_spec.rb'
66
+ - 'spec/hydra/works/models/file_set_spec.rb'
66
67
  - 'spec/hydra/works/models/work_spec.rb'
67
68
  - 'spec/hydra/works/services/characterization_service_spec.rb'
68
69
  - 'spec/hydra/works/services/virus_checker_service_spec.rb'
@@ -103,3 +104,7 @@ Style/NumericPredicate:
103
104
  Exclude:
104
105
  - 'spec/**/*'
105
106
  - 'lib/hydra/works/virus_scanner.rb'
107
+
108
+ Style/FrozenStringLiteralComment:
109
+ Exclude:
110
+ - '**/*'
@@ -0,0 +1 @@
1
+ version: 7.7.2
@@ -0,0 +1,621 @@
1
+ # v1.0.0 2018-08-17
2
+
3
+ 2018-08-17: Updates to release 1.0.0 [jrgriffiniii]
4
+
5
+ 2018-08-16: Updating the Travis CI build matrix to test against Ruby releases
6
+ 2.5.1 and 2.4.4 [jrgriffiniii]
7
+
8
+ 2018-08-13: Resolve #344; Catch various stale Hydra references [Noah Botimer]
9
+
10
+ 2018-04-28: Test reversed nested collection relationships (#333) [Adam Wead]
11
+
12
+ 2018-04-04: Fix characterization of audio and video files with Fits 1.2.0 [Chris
13
+ Colvard]
14
+
15
+ 2018-04-02: PR to address Issues 336 337 (#338) [Esmé Cowles]
16
+
17
+ # v0.17.0 2018-02-15
18
+
19
+ 2018-02-15: Bump version to 0.17.0 [Chris Colvard]
20
+
21
+ 2018-02-09: Fix #334 - Add a cleanup phase to CharacterizationService [Noah
22
+ Botimer]
23
+
24
+ 2017-07-25: Change derivatives specs to use FileSet.create instead of
25
+ FileSet.new [Anna Headley]
26
+
27
+ 2017-06-23: only store largest height, width for characterization, fixes #327
28
+ [Anna Headley]
29
+
30
+ 2017-06-23: Replace projecthydra with samvera in links [mjgiarlo]
31
+
32
+ 2017-06-23: Fix testing instructions in README, fixes #328 [Anna Headley]
33
+
34
+ 2017-06-15: tweak YARD [atz]
35
+
36
+ 2017-05-09: Pin rubocop-rspec [cbeer]
37
+
38
+ 2017-05-09: Update travis build matrix [cbeer]
39
+
40
+ 2017-03-21: Exclude eicar.txt from .gem to avoid false positives from virus
41
+ scanners [Michael Klein]
42
+
43
+ 2017-03-17: Removing spec/internal as that no longer exists [Jeremy Friesen]
44
+
45
+ 2017-03-16: Removing an exclusion for a non-existent file [Jeremy Friesen]
46
+
47
+ 2017-03-02: Bump version to 0.16.0 [Michael J. Giarlo]
48
+
49
+ 2016-11-16: AddFileToFileSet: fix @param documentation [Alex Dunn]
50
+
51
+ 2017-02-28: Removing content read from file input to save memory [Carolyn Cole]
52
+
53
+ # v0.16.0 2017-03-02
54
+
55
+ 2017-01-31: Allows adding URL redirects as files [Andrew Myers]
56
+
57
+ 2017-01-25: Updating CONTRIBUTING.md as per Hydra v11.0.0 [Jeremy Friesen]
58
+
59
+ 2017-01-24: Updating Rubocop version (and adding a TODO list) [Jeremy Friesen]
60
+
61
+ 2017-01-23: Ensuring up to date system gems [Jeremy Friesen]
62
+
63
+ 2017-01-18: Changing how the file is retrieved for virus checking If the
64
+ content has a path just use that If the file is not saved to fedora use the
65
+ content If the file is save use the datastream [Carolyn Cole]
66
+
67
+ 2017-01-11: Changing to use stream instead of content so that the content is
68
+ streamed from fedora [Carolyn Cole]
69
+
70
+ # v0.15.0 2016-11-30
71
+
72
+ 2016-11-30: Bumping version to 0.15 [Esmé Cowles]
73
+
74
+ 2016-07-28: Updating hydra-pcdm dependency and adding test coverage for
75
+ member_of_collections method on Works [Esmé Cowles]
76
+
77
+ # v0.14.0 2016-09-06
78
+
79
+ 2016-09-06: Bump to version 0.14.0 [Adam Wead]
80
+
81
+ 2016-09-02: Use services for determining mime type and filename [Adam Wead]
82
+
83
+ 2016-08-30: Update rspec configuration with current best practices [Chris Beer]
84
+
85
+ # v0.13.0 2016-08-23
86
+
87
+ 2016-08-23: Upping the version for release 0.13.0 [Carolyn Cole]
88
+
89
+ 2016-08-22: Use plain OM::XML::Document without the datastream [Adam Wead]
90
+
91
+ 2016-06-01: clarify virus detection method names - detection method returns true
92
+ if virus is detected - custom ActiveModel validation is more idiomatic [Benjamin
93
+ Armintor]
94
+
95
+ 2016-05-24: Change badge URLs to reflect promotion out of labs [Michael J.
96
+ Giarlo]
97
+
98
+ 2016-05-24: Updating README [Adam Wead]
99
+
100
+ # v0.12.0 2016-05-24
101
+
102
+ 2016-05-24: Bump to verion 0.12.0 [Adam Wead]
103
+
104
+ 2016-05-23: Only use mime-type as defined on the file in ActiveFedora [Adam
105
+ Wead]
106
+
107
+ # v0.11.0 2016-05-17
108
+
109
+ 2016-05-16: Bump to version 0.11.0 [Michael J. Giarlo]
110
+
111
+ 2016-05-16: Use our own VirusScanner, fixes #296 [Adam Wead]
112
+
113
+ # v0.10.0 2016-05-13
114
+
115
+ 2016-05-13: Bump to version 0.10.0 [Adam Wead]
116
+
117
+ 2016-05-05: Persist characterization metadata on Hydra::PCDM::File [Adam Wead]
118
+
119
+ 2016-05-06: Extracting VirusCheckService from module mixin [Jeremy Friesen]
120
+
121
+ 2016-05-05: Refactoring to remove exclusions for rubocop [Jeremy Friesen]
122
+
123
+ 2016-05-04: Tightening dependency of hydra-pcdm [Jeremy Friesen]
124
+
125
+ # v0.9.0 2016-05-04
126
+
127
+ 2016-05-04: Bump to v0.9.0 [Michael J. Giarlo]
128
+
129
+ 2016-04-20: Don't require ActiveFedora::Aggregation anymore [Adam Wead]
130
+
131
+ 2016-04-11: Address compatibility with Solr 6 [Hector Correa]
132
+
133
+ 2016-04-11: Use the same property names (creator and language) as
134
+ CurationConcerns instead of custom properties. This is required because they
135
+ share the same predicate dc:creator and dc:language [Hector Correa]
136
+
137
+ 2016-03-28: Update README with updated diagram of domain model [Michael J.
138
+ Giarlo]
139
+
140
+ 2016-03-08: Read content of original_file when doing AV Scan. This makes it so
141
+ ClamAV scanfile will scan file content instead of to_s. Add spec to verify that
142
+ file contents are being read. Add eicar antivirus testing file as a fixture for
143
+ integration testing. [Colin Gross]
144
+
145
+ # v0.8.1 2016-03-25
146
+
147
+ 2016-03-25: Bump to 0.8.1 [Trey Pendragon]
148
+
149
+ 2016-03-25: Make sure types are associated [Trey Pendragon]
150
+
151
+ # v0.8 2016-03-25
152
+
153
+ 2016-03-25: Bump version to 0.8 [Trey Pendragon]
154
+
155
+ 2016-03-25: Update Hydra PCDM [Trey Pendragon]
156
+
157
+ 2016-03-23: Deprecate ordered_file_sets [Justin Coyne]
158
+
159
+ 2016-03-04: * Improving test coverage * Removing MimeTypes #collection? method
160
+ that duplicated FileSetBehavior#collection? [Esmé Cowles]
161
+
162
+ 2016-03-23: Pin rubocop to 0.37. Fixes #281 [Justin Coyne]
163
+
164
+ 2016-03-23: Update README to more clearly distinguish Hydra::Works from PCDM
165
+ Works [Michael J. Giarlo]
166
+
167
+ 2016-03-14: Wrap documentation [ci skip] [Justin Coyne]
168
+
169
+ 2016-03-01: FileSets and Works should barf clearly when a Collection is added as
170
+ a member [Michael J. Giarlo]
171
+
172
+ 2016-03-01: Remove outdated hydra-jetty documentation [Michael J. Giarlo]
173
+
174
+ 2016-02-05: Collections should not allow FileSets as members. Fixes #257
175
+ [Michael J. Giarlo]
176
+
177
+ # v0.7.1 2016-02-24
178
+
179
+ 2016-02-24: Bump to 0.7.1 [Justin Coyne]
180
+
181
+ 2016-02-23: When destroying a work, remove it from its parents. Fixes #260
182
+ [Justin Coyne]
183
+
184
+ 2016-02-23: Use a random port to start FCrepo and Solr [Justin Coyne]
185
+
186
+ 2016-02-23: Update to work with the new version of rubocop [Justin Coyne]
187
+
188
+ 2016-02-05: Run solr and fedora on default test ports [Justin Coyne]
189
+
190
+ # v0.7.0 2016-02-05
191
+
192
+ 2016-02-05: Preparing for 0.7.0 release [Adam Wead]
193
+
194
+ 2016-02-05: Support AF 9.8.x (w/ Solr 5 and FCR 4.5) [Michael J. Giarlo]
195
+
196
+ 2016-02-04: Update to hydra-pcdm 0.4.0 [Michael J. Giarlo]
197
+
198
+ 2016-02-04: Update README.md [Michael J. Giarlo]
199
+
200
+ 2016-02-04: Do not use deprecated SimpleCov MultiFormatter syntax [Michael J.
201
+ Giarlo]
202
+
203
+ 2016-02-04: README should not recommend using `members.<<` [Michael J. Giarlo]
204
+
205
+ 2016-02-04: Correct the usage examples in the README. [Michael J. Giarlo]
206
+
207
+ 2016-02-03: Remove stale references to engine_cart. [Michael J. Giarlo]
208
+
209
+ 2016-02-03: Dump outdated references to generic things. Confusing. [Michael J.
210
+ Giarlo]
211
+
212
+ 2016-02-03: Rename characterization term. [Michael J. Giarlo]
213
+
214
+ 2016-02-03: Do not declare engine_cart as a dependency, because we do not use
215
+ engine_cart. [Michael J. Giarlo]
216
+
217
+ 2016-02-03: Fix Rubocop violations [Michael J. Giarlo]
218
+
219
+ 2016-02-03: Fixed typo [David Chandek-Stark]
220
+
221
+ # v0.6.0 2015-12-11
222
+
223
+ 2015-12-11: Bump version to 0.6.0 [Justin Coyne]
224
+
225
+ 2015-12-07: Removed FileSet#file_format [Justin Coyne]
226
+
227
+ 2015-12-07: Remove the interstital nodes before deleting a FileSet [Justin
228
+ Coyne]
229
+
230
+ 2015-12-07: Refactor tests [Justin Coyne]
231
+
232
+ 2015-12-07: Remove the tests for related_object. That code is in Hydra::PCDM
233
+ [Justin Coyne]
234
+
235
+ # v0.5.0 2015-11-30
236
+
237
+ 2015-11-30: Bump version to 0.5.0 [Justin Coyne]
238
+
239
+ 2015-11-30: Don't overwrite solrconfig.xml if it already exists [Justin Coyne]
240
+
241
+ 2015-11-13: generic_file rename to file_set. [Colin Gross]
242
+
243
+ 2015-11-13: Add homepage to gemspec [Justin Coyne]
244
+
245
+ 2015-11-11: remove deprecated alias_methods and classes [Nikitas Tampakis]
246
+
247
+ 2015-11-11: fix deprecation warning typo [Nikitas Tampakis]
248
+
249
+ # v0.4.0 2015-11-04
250
+
251
+ 2015-11-04: Bump version to 0.4.0 [Justin Coyne]
252
+
253
+ 2015-10-29: RDF::DC11 has moved to RDF::Vocab [Justin Coyne]
254
+
255
+ 2015-10-28: Use the Rails logger for warnings. Fixes #198 [Justin Coyne]
256
+
257
+ 2015-10-28: Remove deprecated methods [Justin Coyne]
258
+
259
+ # v0.3.0 2015-10-21
260
+
261
+ 2015-10-21: Bump version to 0.3.0 [Justin Coyne]
262
+
263
+ 2015-10-21: Bump dependency on hydra-pcdm to 0.3.0 [Justin Coyne]
264
+
265
+ 2015-10-20: Don't override methods from PCDM [Trey Terrell]
266
+
267
+ 2015-10-19: Separate orderings for works/file_sets [Trey Terrell]
268
+
269
+ 2015-10-19: Add new ordering for works. [Trey Terrell]
270
+
271
+ 2015-10-15: bump dependency on hydra-file_characterization to >= 0.3.3 [Justin
272
+ Coyne]
273
+
274
+ 2015-10-14: Move classes into the Hydra::Works::Characterization namespace
275
+ [Justin Coyne]
276
+
277
+ 2015-10-13: Add fits 0.6.2 jpg output as fixture. Add coverage for fits 0.6.2
278
+ image output. Use EBUCore.hashValue predicate for file digest.
279
+ RDF::Vocab::PREMIS.hasMessageDigest is reserved by Fedora4. Add integration
280
+ coverage for persisting values. [Colin Gross]
281
+
282
+ 2015-10-12: Mock FileSet.save for less integration testing. Add integration test
283
+ so full call chain is still hit once. Rename vars for file_set. [Colin Gross]
284
+
285
+ 2015-10-12: Renaming for file_set in spec/support. Update spec vars to file_set
286
+ in ch12n spec. [Colin Gross]
287
+
288
+ 2015-10-13: Use a different predicate for FITS checksum [Justin Coyne]
289
+
290
+ 2015-10-13: You can't shift onto an ActiveTriples property [Justin Coyne]
291
+
292
+ 2015-10-13: Remove block child objects. [Trey Terrell]
293
+
294
+ 2015-10-13: Remove Filter Associations [Trey Terrell]
295
+
296
+ 2015-10-07: Bump gemspec to a released version of hydra-derivatives [Justin
297
+ Coyne]
298
+
299
+ 2015-10-07: Remove FullTextExtraction [Justin Coyne]
300
+
301
+ 2015-10-07: Remove custom mapping of file_title and file_author. Fixes #226 This
302
+ will avoid over writing existing title and author values. Update property names
303
+ in document ch12n schema. Update ch12n spec for new property names. [Colin
304
+ Gross]
305
+
306
+ 2015-10-05: Rename GenericFile to FileSet [Justin Coyne]
307
+
308
+ 2015-10-05: Change work predicate from GenericWork to Work [Justin Coyne]
309
+
310
+ 2015-10-05: Drop prefixes on works_collection?, works_generic_file? and
311
+ works_generic_work? [Justin Coyne]
312
+
313
+ 2015-10-01: Make characterization service. Open a File when given a String
314
+ source. Use stateful ch12n service object to simplify function signatures. Add
315
+ pending to derivatives integration test for docx thumbnail. Refactor of use of
316
+ derivatives needs to be done at least for docx. [Colin Gross]
317
+
318
+ 2015-09-09: Get characterization from curation concerns. Implement store
319
+ metadata values in properties. Add fits outputs as fixtures for specs. Mock add
320
+ file to generic file service in spec to avoid save. Mock ldp_source.head as
321
+ Faraday::Response.new to avoid save. Refactor file ch13n call. Update default
322
+ properties and predicates. Skip test that actually calls fits.sh in CI Add
323
+ premade modules for major media types. Check term to mapping then respond_to
324
+ term for different property names. Add media type specific term-property
325
+ mapping. Add Ch13n::Base and use Ch13n top level as umbrella. Use
326
+ ActiveTriples::Schema to apply properties. Add merge strategy to handle property
327
+ and predicate conflicts. Add specs for including modules with overlapping
328
+ predicates and properties. [Colin Gross]
329
+
330
+ 2015-10-05: Update hydra-derivatives to the master branch [Justin Coyne]
331
+
332
+ 2015-09-29: Use hydra-derivatives 3.0.0.alpha [Justin Coyne]
333
+
334
+ 2015-09-28: full text indexing of a local file [Justin Coyne]
335
+
336
+ 2015-09-28: Remove unused Thumbnail module [Justin Coyne]
337
+
338
+ # v0.2.0 2015-09-18
339
+
340
+ 2015-09-18: Fix 211 - Rework association names. drop parent_ and child_ [E.
341
+ Lynette Rayle]
342
+
343
+ 2015-09-04: additional jetty config and dependencies [Nikitas Tampakis]
344
+
345
+ 2015-09-04: add hydra_works:jetty:config task [Nikitas Tampakis]
346
+
347
+ 2015-09-03: Align rubocop with curation_concens configuration [Justin Coyne]
348
+
349
+ 2015-09-03: Code coverage for the FullTextExtractionService [Justin Coyne]
350
+
351
+ 2015-08-26: move full text extraction from curation concerns to works. [Jose
352
+ Blanco]
353
+
354
+ 2015-08-31: Prevents Rubocop from inspecting bin directory and schema.rb in
355
+ spec/internal [Matt Zumwalt]
356
+
357
+ 2015-08-25: Rubocop autocorrect should transform rspec describe messages with
358
+ "NOT" and "only" properly [Michael J. Giarlo]
359
+
360
+ 2015-08-21: Update documentation to show IoDecorator [Justin Coyne]
361
+
362
+ 2015-08-17: Deleted contains= from spec and lib [Nabeela Jaffer]
363
+
364
+ 2015-08-19: Updated to use hydra-pcdm #176 [Justin Coyne]
365
+
366
+ 2015-08-14: Use Rubocop to ensure consistently styled code. [Michael J. Giarlo]
367
+
368
+ # v0.1.0 2015-08-11
369
+
370
+ 2015-08-11: Bump version to 0.1.0 [Michael J. Giarlo]
371
+
372
+ 2015-08-11: Update README to remove service objects and update the API [Michael
373
+ J. Giarlo]
374
+
375
+ 2015-08-10: update dependencies, remove processor [Nikitas Tampakis]
376
+
377
+ 2015-08-07: Update PersistDerivative call signature. Hydra::Derivatives will not
378
+ pass opts to output_file_service. Do not version deriviatives such as thumbnails
379
+ by default. Change default value of versioning to false. [Colin Gross]
380
+
381
+ 2015-08-07: Bump pcdm and af-aggregation version pins. [Colin Gross]
382
+
383
+ 2015-07-15: Test coverage for Hydra::Works::GenericFile::Derivatives. [Nikitas
384
+ Tampakis]
385
+
386
+ 2015-08-06: Removing deprecated services and child accessors [Esmé Cowles]
387
+
388
+ 2015-08-06: Changing RDF Vocabulary namespace to projecthydra.org [Esmé Cowles]
389
+
390
+ 2015-08-06: Adding test coverage for poorly-covered classes and modules [Esmé
391
+ Cowles]
392
+
393
+ 2015-07-31: deprecate validations in lib/hydra/works.rb. [Jose Blanco]
394
+
395
+ 2015-07-29: move tests: add, get, and remove FROM services/generic_file TO
396
+ models/generic_file_spec.rb clean up models/generic_file_spec.rb comments.
397
+ remove services/*_related_object_spec.rb - not needed any more fix tests that
398
+ check for raised errors. [Jose Blanco]
399
+
400
+ 2015-07-30: Migrating virus check functionality from CurationConcerns [Esmé
401
+ Cowles]
402
+
403
+ 2015-07-28: Removing solr tests [Esmé Cowles]
404
+
405
+ 2015-07-28: Unskipping related_objects validation now that hydra-pcdm#153 is
406
+ resolved [Esmé Cowles]
407
+
408
+ 2015-07-24: Adding test for generic_file_ids [Esmé Cowles]
409
+
410
+ 2015-07-28: Moving generic_work service tests to model spec [Esmé Cowles]
411
+
412
+ 2015-07-24: Removing parent/child relationship between GenericFiles -- they are
413
+ leaf nodes now [Esmé Cowles]
414
+
415
+ 2015-07-15: Update AddFileToGenericFile use IO in lieu of path. Refactor file
416
+ check to responds_to? :read. If present, use metadata methods of file. Add
417
+ metadata defaults depending on available methods. [Colin Gross]
418
+
419
+ 2015-07-27: Moving collection service tests to collection model spec [Esmé
420
+ Cowles]
421
+
422
+ 2015-07-24: Adding coveralls/simplecov filter to exclude /spec from test
423
+ coverage calculation [Esmé Cowles]
424
+
425
+ 2015-07-23: Update activefedora-aggregation version to ~> 0.3 [Colin Gross]
426
+
427
+ 2015-07-21: use filters, parent/child API, indexers, deprecate services [E.
428
+ Lynette Rayle]
429
+
430
+ 2015-07-21: Improving test performance [Esmé Cowles]
431
+
432
+ 2015-07-21: Remove extra space [Justin Coyne]
433
+
434
+ 2015-07-20: Adding a file should not check for viruses twice Also refactored to
435
+ (hopefully) simplify the code. [Justin Coyne]
436
+
437
+ 2015-07-20: First optimization pass to change create to new whenever possible
438
+ [E. Lynette Rayle]
439
+
440
+ 2015-07-20: ignore .ruby-* files [E. Lynette Rayle]
441
+
442
+ 2015-07-15: Refactor AddFileToGenericFile to not call send [Justin Coyne]
443
+
444
+ 2015-07-13: Refactor logic for readability [Justin Coyne]
445
+
446
+ 2015-07-13: simplify build matrix. Ensure we use jdk 8 [Justin Coyne]
447
+
448
+ 2015-07-13: Remove unnecessary self pointer [Justin Coyne]
449
+
450
+ 2015-07-10: test generic_files association on subclass [Matt Zumwalt]
451
+
452
+ 2015-06-25: Persist derivatives output service. [Kevin Reiss]
453
+
454
+ 2015-07-07: AddFileToGenericFile validates the generic_file before attempting to
455
+ save [Matt Zumwalt]
456
+
457
+ 2015-07-06: AddFile and UploadFile services accept mime_type and original_name
458
+ keyword arguments. ref #136 [Matt Zumwalt]
459
+
460
+ 2015-07-06: AddFile service relies on kargs to know whether to version (instead
461
+ of inspecting the File object) [Matt Zumwalt]
462
+
463
+ 2015-06-25: makes versioning optional in AddFile service. refs
464
+ pulibrary/curation_concerns#24 [Matt Zumwalt]
465
+
466
+ 2015-06-23: Adds Versioning and improves handling of contained files * relies
467
+ on ActiveFedora’s new directly_contains_one method for ContainedFiles * adds
468
+ Versioning to GenericWorks * adds ability to update versioned Files with
469
+ AddFile service * simplifies UploadFile service and makes it run a bit faster
470
+ [Matt Zumwalt]
471
+
472
+ # v0.0.1 2015-06-05
473
+
474
+ 2015-06-05: Use hydra-pcdm 0.0.1 [Adam Wead]
475
+
476
+ 2015-06-04: removes functionality that has been pushed down to hydra-pcdm :
477
+ AddType and MimeType Services and File filtering methods [Matt Zumwalt]
478
+
479
+ 2015-06-04: imporves behavior of contained files (thumbnail, etc.) [Matt
480
+ Zumwalt]
481
+
482
+ 2015-06-03: adds AddFileToGenericFile service [Matt Zumwalt]
483
+
484
+ 2015-06-01: adds activefedora-aggregations and hydra-pcdm to the gemspec [Matt
485
+ Zumwalt]
486
+
487
+ 2015-06-01: Fixes bug from last merge (somehow we missed changing this file)
488
+ [Matt Zumwalt]
489
+
490
+ 2015-05-28: refactors namespaces to match Code Shredding document [Matt Zumwalt]
491
+
492
+ 2015-05-29: Moves a generic file from one generic work to another. Fixes #76
493
+ [Hector Correa]
494
+
495
+ 2015-05-19: Remove hydra-head and hydra-collections as dependencies. Fixes #99
496
+ [Justin Coyne]
497
+
498
+ 2015-05-19: Refactor upload to generic_file dir; Remove tests covered by pcdm
499
+ [E. Lynette Rayle]
500
+
501
+ 2015-05-18: Add services for removing collections, generic works, generic files,
502
+ and related objects [E. Lynette Rayle]
503
+
504
+ 2015-05-14: New services for adding and getting collections, generic works, and
505
+ generic files. De-dup tests. [E. Lynette Rayle]
506
+
507
+ 2015-05-15: Services for file upload and thumbnail generation [Adam Wead]
508
+
509
+ 2015-05-14: Identify contained file types in a Hydra::Works::GenericFile [Adam
510
+ Wead]
511
+
512
+ 2015-05-14: Use AF branch with latest AT version and patch from @terrellt [Adam
513
+ Wead]
514
+
515
+ 2015-05-13: README should make clear that Gemfile needs to point at GitHub for
516
+ now [Michael J. Giarlo]
517
+
518
+ 2015-05-13: add multiple types for collections, generic works, and generic files
519
+ [E. Lynette Rayle]
520
+
521
+ 2015-05-05: Communicate provided functionality, intended uses, and relationship
522
+ to other gems. Fixes #53. [Michael J. Giarlo]
523
+
524
+ 2015-05-12: bring hydra works inline with pcdm [E. Lynette Rayle]
525
+
526
+ 2015-05-06: Expand generic work, generic file, begin collection and file [Kevin
527
+ Reiss]
528
+
529
+ 2015-05-06: commit as is of what was done post LDCX [Joe Atzberger]
530
+
531
+ 2015-05-07: gitignore jetty [Joe Atzberger]
532
+
533
+ 2015-05-05: adds hydra Contribution Guidelines [Matt Zumwalt]
534
+
535
+ 2015-05-04: Update dependencies. Ignore the spec/internal directory [Justin
536
+ Coyne]
537
+
538
+ 2015-03-27: A fresh start on hydra-works [Justin Coyne]
539
+
540
+ 2015-02-17: Adding and structuring the geospatial use cases for the Lafayette
541
+ College Libraries [jrgriffiniii]
542
+
543
+ 2015-02-12: Update README.md [Justin Coyne]
544
+
545
+ 2015-02-11: Remove copy_visibility_to_files [Justin Coyne]
546
+
547
+ 2015-02-11: Rename `generic_file` association to `files` [Justin Coyne]
548
+
549
+ 2015-02-11: Add pending test for destroying files when works are destroyed
550
+ [Justin Coyne]
551
+
552
+ 2015-02-11: Remove to_solr [Justin Coyne]
553
+
554
+ 2015-02-11: remove embargo [Justin Coyne]
555
+
556
+ 2015-02-11: Remove Curatable [Justin Coyne]
557
+
558
+ 2015-02-11: Removing human_readable_type since it is not part of the main model
559
+ [Carolyn Cole]
560
+
561
+ 2015-02-11: Removing has_representative, since it is not a part of basic work
562
+ [Carolyn Cole]
563
+
564
+ 2015-02-11: Add more association tests [Justin Coyne]
565
+
566
+ 2015-02-11: Use index_collection_ids from Hydra::Collections [Justin Coyne]
567
+
568
+ 2015-02-03: Support Fedora 4 [Justin Coyne]
569
+
570
+ 2015-01-08: Add GenericFile [Justin Coyne]
571
+
572
+ 2015-01-08: Separate Work from GenericWork Work is meant to be an Abstract class
573
+ where GenericWork is meant to have DC metadata. It is expected that GenericWork
574
+ will be used if the application has DC based metadata, otherwise the application
575
+ will create their own work class extending Hydra::Works::Work. [Justin Coyne]
576
+
577
+ 2015-01-08: Update to fedora-4 [Justin Coyne]
578
+
579
+ 2015-01-08: Remove dependency on sufia-models [Justin Coyne]
580
+
581
+ 2014-10-28: Adding Conference Event Use Case [Jeremy Friesen]
582
+
583
+ 2014-10-16: Stanford cases [Joe Atzberger]
584
+
585
+ 2014-10-16: Remove placeholder in populated directory [Joe Atzberger]
586
+
587
+ 2014-10-14: Adds Northwestern DisplaySet and AdminSet use case. [Thomas Scherz]
588
+
589
+ 2014-10-14: Adds Northwesten Playlist Use Case [Thomas Scherz]
590
+
591
+ 2014-10-14: Adds UCinn LinkedResource use case. [Thomas Scherz]
592
+
593
+ 2014-10-08: Adds Princeton use cases with examples. [Jon Stroop]
594
+
595
+ 2014-10-09: Clarifying Use Case Timeline [Jeremy Friesen]
596
+
597
+ 2014-10-09: Removing WithLinkedResource module [Jeremy Friesen]
598
+
599
+ 2014-10-09: Opening multiple sponsorships of use cases [Jeremy Friesen]
600
+
601
+ 2014-10-09: Updating CONTRIBUTING.md to render < and > tags [Jeremy Friesen]
602
+
603
+ 2014-10-08: Adds Penn State ScholarSphere work use case, per #9 [Michael J.
604
+ Giarlo]
605
+
606
+ 2014-10-08: Adding CONTRIBUTING document [Jeremy Friesen]
607
+
608
+ 2014-10-08: Update copyright year [Justin Coyne]
609
+
610
+ 2014-10-08: Use Apache 2 license [Justin Coyne]
611
+
612
+ 2014-10-08: Update Readme [Justin Coyne]
613
+
614
+ 2014-10-08: Remove the WithEditors module, it is not a core concern. Fixes #2
615
+ [Justin Coyne]
616
+
617
+ 2014-10-06: Add code from worthwhile-models [Justin Coyne]
618
+
619
+ 2014-10-03: Update license and gem metadata. [Justin Coyne]
620
+
621
+ 2014-10-03: Generated gem [Justin Coyne]