ddr-models 2.11.0 → 3.0.0.alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/.travis.yml +7 -6
- data/Gemfile +2 -3
- data/Rakefile +5 -5
- data/app/controllers/users/sessions_controller.rb +5 -0
- data/app/helpers/models_helper.rb +7 -0
- data/app/models/attachment.rb +3 -5
- data/app/models/collection.rb +12 -79
- data/app/models/component.rb +8 -67
- data/app/models/item.rb +8 -73
- data/app/models/target.rb +6 -5
- data/config/initializers/active_fedora_base.rb +11 -30
- data/config/initializers/{active_fedora_datastream.rb → active_fedora_file.rb} +1 -1
- data/config/initializers/devise.rb +2 -3
- data/config/initializers/subscriptions.rb +2 -19
- data/ddr-models.gemspec +10 -14
- data/lib/ddr/actions/fixity_check.rb +1 -1
- data/lib/ddr/actions/virus_check.rb +17 -10
- data/lib/ddr/auth.rb +6 -38
- data/lib/ddr/auth/ability.rb +1 -5
- data/lib/ddr/auth/ability_definitions/collection_ability_definitions.rb +0 -16
- data/lib/ddr/auth/ability_definitions/datastream_ability_definitions.rb +10 -4
- data/lib/ddr/auth/ability_definitions/role_based_ability_definitions.rb +16 -9
- data/lib/ddr/auth/ability_factory.rb +25 -2
- data/lib/ddr/auth/abstract_ability.rb +1 -2
- data/lib/ddr/auth/auth_context.rb +0 -18
- data/lib/ddr/auth/auth_context_factory.rb +2 -0
- data/lib/ddr/auth/group.rb +0 -6
- data/lib/ddr/auth/grouper_gateway.rb +0 -24
- data/lib/ddr/auth/permissions.rb +1 -12
- data/lib/ddr/auth/role_based_access_controls_enforcement.rb +5 -5
- data/lib/ddr/auth/roles.rb +1 -11
- data/lib/ddr/auth/roles/role_set.rb +0 -7
- data/lib/ddr/auth/roles/roles_datastream.rb +9 -0
- data/lib/ddr/contacts.rb +25 -0
- data/lib/ddr/datastreams.rb +10 -28
- data/lib/ddr/datastreams/datastream_behavior.rb +30 -100
- data/lib/ddr/datastreams/descriptive_metadata_datastream.rb +28 -31
- data/lib/ddr/datastreams/fits_datastream.rb +9 -22
- data/lib/ddr/datastreams/metadata_datastream.rb +17 -31
- data/lib/ddr/derivatives.rb +13 -16
- data/lib/ddr/derivatives/derivative.rb +68 -0
- data/lib/ddr/derivatives/{generator.rb → generators/generator.rb} +11 -7
- data/lib/ddr/derivatives/generators/png_generator.rb +23 -0
- data/lib/ddr/derivatives/generators/ptif_generator.rb +56 -0
- data/lib/ddr/derivatives/multires_image.rb +59 -0
- data/lib/ddr/derivatives/thumbnail.rb +36 -0
- data/lib/ddr/events.rb +0 -1
- data/lib/ddr/events/deletion_event.rb +9 -5
- data/lib/ddr/events/event.rb +8 -13
- data/lib/ddr/events/fixity_check_event.rb +0 -6
- data/lib/ddr/events/ingestion_event.rb +9 -5
- data/lib/ddr/events/update_event.rb +4 -17
- data/lib/ddr/index.rb +4 -4
- data/lib/ddr/index/abstract_query_result.rb +4 -3
- data/lib/ddr/index/connection.rb +9 -28
- data/lib/ddr/index/csv_query_result.rb +32 -47
- data/lib/ddr/index/field.rb +1 -11
- data/lib/ddr/index/fields.rb +16 -99
- data/lib/ddr/index/filter.rb +30 -103
- data/lib/ddr/index/filters.rb +19 -0
- data/lib/ddr/index/query.rb +11 -58
- data/lib/ddr/index/query_builder.rb +36 -147
- data/lib/ddr/index/query_clause.rb +19 -79
- data/lib/ddr/index/query_result.rb +4 -36
- data/lib/ddr/index/query_value.rb +18 -0
- data/lib/ddr/index/response.rb +2 -19
- data/lib/ddr/jobs.rb +12 -0
- data/lib/ddr/jobs/fits_file_characterization.rb +51 -0
- data/lib/ddr/jobs/permanent_id.rb +23 -0
- data/lib/ddr/managers.rb +1 -0
- data/lib/ddr/managers/derivatives_manager.rb +53 -93
- data/lib/ddr/managers/permanent_id_manager.rb +91 -0
- data/lib/ddr/managers/technical_metadata_manager.rb +10 -24
- data/lib/ddr/managers/workflow_manager.rb +10 -29
- data/lib/ddr/models.rb +50 -101
- data/lib/ddr/models/access_controllable.rb +12 -0
- data/lib/ddr/models/admin_set.rb +5 -16
- data/lib/ddr/models/base.rb +45 -165
- data/lib/ddr/models/describable.rb +19 -21
- data/lib/ddr/models/engine.rb +11 -39
- data/lib/ddr/models/error.rb +0 -3
- data/lib/ddr/models/file_management.rb +36 -72
- data/lib/ddr/models/finding_aid.rb +2 -35
- data/lib/ddr/models/fixity_checkable.rb +4 -0
- data/lib/ddr/models/governable.rb +3 -1
- data/lib/ddr/models/has_admin_metadata.rb +82 -56
- data/lib/ddr/models/has_attachments.rb +3 -1
- data/lib/ddr/models/has_children.rb +3 -7
- data/lib/ddr/models/has_content.rb +35 -32
- data/lib/ddr/models/has_multires_image.rb +7 -12
- data/lib/ddr/models/has_struct_metadata.rb +44 -6
- data/lib/ddr/models/has_thumbnail.rb +1 -4
- data/lib/ddr/models/indexing.rb +97 -186
- data/lib/ddr/models/licenses/admin_policy_license.rb +11 -0
- data/lib/ddr/models/licenses/effective_license.rb +9 -0
- data/lib/ddr/models/licenses/inherited_license.rb +9 -0
- data/lib/ddr/models/licenses/license.rb +21 -0
- data/lib/ddr/models/licenses/parent_license.rb +11 -0
- data/lib/ddr/models/metadata/descriptive_metadata.rb +50 -0
- data/lib/ddr/models/metadata/metadata.rb +37 -0
- data/lib/ddr/models/metadata/metadata_mapper.rb +32 -0
- data/lib/ddr/models/metadata/metadata_mappers.rb +18 -0
- data/lib/ddr/models/metadata/metadata_term.rb +24 -0
- data/lib/ddr/models/metadata/metadata_vocabularies.rb +18 -0
- data/lib/ddr/models/metadata/metadata_vocabulary.rb +34 -0
- data/lib/ddr/models/solr_document.rb +24 -156
- data/lib/ddr/models/struct_div.rb +63 -0
- data/lib/ddr/models/structure.rb +39 -175
- data/lib/ddr/models/version.rb +1 -1
- data/lib/ddr/models/year_facet.rb +118 -60
- data/lib/ddr/notifications.rb +12 -10
- data/lib/ddr/utils.rb +15 -28
- data/lib/ddr/vocab.rb +17 -15
- data/lib/ddr/vocab/asset.rb +17 -42
- data/lib/ddr/vocab/contact.rb +7 -5
- data/lib/ddr/vocab/display.rb +8 -6
- data/lib/ddr/vocab/duke_terms.rb +10 -8
- data/lib/ddr/vocab/rdf_vocabulary_parser.rb +39 -37
- data/lib/ddr/vocab/roles.rb +19 -17
- data/lib/ddr/vocab/sources/duketerms.rdf +8 -22
- data/lib/ddr/vocab/vocabulary.rb +26 -26
- data/spec/auth/ability_factory_spec.rb +1 -18
- data/spec/auth/ability_spec.rb +15 -119
- data/spec/auth/effective_permissions_spec.rb +1 -1
- data/spec/auth/effective_roles_spec.rb +1 -1
- data/spec/auth/ldap_gateway_spec.rb +9 -0
- data/spec/contacts/contacts_spec.rb +26 -0
- data/spec/controllers/including_role_based_access_controls_enforcement_spec.rb +5 -5
- data/spec/derivatives/multires_image_spec.rb +48 -0
- data/spec/derivatives/png_generator_spec.rb +8 -13
- data/spec/derivatives/ptif_generator_spec.rb +11 -9
- data/spec/derivatives/thumbnail_spec.rb +48 -0
- data/spec/dummy/config/environments/test.rb +1 -1
- data/spec/dummy/db/schema.rb +23 -25
- data/spec/factories/attachment_factories.rb +2 -2
- data/spec/factories/collection_factories.rb +2 -3
- data/spec/factories/component_factories.rb +2 -2
- data/spec/factories/item_factories.rb +2 -2
- data/spec/factories/structure_factories.rb +2 -8
- data/spec/factories/test_model_factories.rb +12 -4
- data/spec/fixtures/fits/document.xml +44 -42
- data/spec/fixtures/fits/image.xml +41 -42
- data/spec/helpers/models_helper_spec.rb +11 -0
- data/spec/index/filter_spec.rb +30 -208
- data/spec/index/filters_spec.rb +17 -0
- data/spec/index/query_spec.rb +10 -82
- data/spec/jobs/fits_file_characterization_spec.rb +52 -0
- data/spec/managers/derivatives_manager_spec.rb +105 -107
- data/spec/managers/technical_metadata_manager_spec.rb +27 -34
- data/spec/models/active_fedora_base_spec.rb +105 -5
- data/spec/models/active_fedora_datastream_spec.rb +39 -106
- data/spec/models/admin_set_spec.rb +10 -43
- data/spec/models/attachment_spec.rb +2 -3
- data/spec/models/collection_spec.rb +11 -225
- data/spec/models/component_spec.rb +4 -106
- data/spec/models/descriptive_metadata_spec.rb +38 -0
- data/spec/models/effective_license_spec.rb +64 -0
- data/spec/models/events_spec.rb +59 -52
- data/spec/models/file_management_spec.rb +13 -113
- data/spec/models/finding_aid_spec.rb +8 -31
- data/spec/models/has_admin_metadata_spec.rb +122 -131
- data/spec/models/has_children_spec.rb +3 -3
- data/spec/models/has_struct_metadata_spec.rb +37 -50
- data/spec/models/indexing_spec.rb +23 -160
- data/spec/models/item_spec.rb +2 -133
- data/spec/models/license_spec.rb +24 -0
- data/spec/models/solr_document_spec.rb +47 -236
- data/spec/models/struct_div_spec.rb +70 -0
- data/spec/models/structure_spec.rb +11 -89
- data/spec/models/target_spec.rb +2 -4
- data/spec/models/year_facet_spec.rb +23 -50
- data/spec/spec_helper.rb +13 -17
- data/spec/support/ezid_mock_identifier.rb +2 -2
- data/spec/support/shared_examples_for_auth_contexts.rb +0 -33
- data/spec/support/shared_examples_for_ddr_models.rb +94 -142
- data/spec/support/shared_examples_for_describables.rb +36 -31
- data/spec/support/shared_examples_for_governables.rb +2 -3
- data/spec/support/shared_examples_for_has_content.rb +46 -101
- data/spec/support/shared_examples_for_indexing.rb +6 -6
- data/spec/support/shared_examples_for_non_collection_models.rb +1 -32
- data/spec/support/structural_metadata_helper.rb +59 -230
- data/spec/utils_spec.rb +2 -0
- metadata +96 -229
- data/.ruby-version +0 -1
- data/config/initializers/rsolr_monkey_patches.rb +0 -7
- data/config/initializers/rubydora_monkey_patch.rb +0 -11
- data/config/locales/ddr-models.en.yml +0 -81
- data/db/migrate/20161021201011_add_permanent_id_to_events.rb +0 -8
- data/lib/ddr/auth/ability_definitions/admin_set_ability_definitions.rb +0 -9
- data/lib/ddr/auth/ability_definitions/lock_ability_definitions.rb +0 -13
- data/lib/ddr/auth/ability_definitions/publication_ability_definitions.rb +0 -16
- data/lib/ddr/datastreams/administrative_metadata_datastream.rb +0 -75
- data/lib/ddr/datastreams/caption_datastream.rb +0 -5
- data/lib/ddr/datastreams/content_datastream.rb +0 -17
- data/lib/ddr/datastreams/delete_external_files.rb +0 -29
- data/lib/ddr/datastreams/external_file_datastream.rb +0 -80
- data/lib/ddr/datastreams/intermediate_file_datastream.rb +0 -5
- data/lib/ddr/datastreams/multires_image_datastream.rb +0 -5
- data/lib/ddr/datastreams/streamable_media_datastream.rb +0 -5
- data/lib/ddr/derivatives/png_generator.rb +0 -17
- data/lib/ddr/derivatives/ptif_generator.rb +0 -55
- data/lib/ddr/derivatives/update_derivatives.rb +0 -25
- data/lib/ddr/events/deaccession_event.rb +0 -8
- data/lib/ddr/index/field_attribute.rb +0 -22
- data/lib/ddr/index/query_params.rb +0 -40
- data/lib/ddr/index/sort_order.rb +0 -28
- data/lib/ddr/models/cache.rb +0 -20
- data/lib/ddr/models/captionable.rb +0 -37
- data/lib/ddr/models/contact.rb +0 -23
- data/lib/ddr/models/file_characterization.rb +0 -37
- data/lib/ddr/models/has_intermediate_file.rb +0 -41
- data/lib/ddr/models/language.rb +0 -31
- data/lib/ddr/models/media_type.rb +0 -22
- data/lib/ddr/models/permanent_id.rb +0 -240
- data/lib/ddr/models/rights_statement.rb +0 -25
- data/lib/ddr/models/streamable.rb +0 -37
- data/lib/ddr/models/structures/agent.rb +0 -49
- data/lib/ddr/models/structures/component_type_term.rb +0 -29
- data/lib/ddr/models/structures/div.rb +0 -64
- data/lib/ddr/models/structures/f_locat.rb +0 -54
- data/lib/ddr/models/structures/file.rb +0 -52
- data/lib/ddr/models/structures/file_grp.rb +0 -35
- data/lib/ddr/models/structures/file_sec.rb +0 -22
- data/lib/ddr/models/structures/fptr.rb +0 -31
- data/lib/ddr/models/structures/mets_hdr.rb +0 -37
- data/lib/ddr/models/structures/mptr.rb +0 -49
- data/lib/ddr/models/structures/struct_map.rb +0 -40
- data/lib/ddr/models/with_content_file.rb +0 -37
- data/spec/datastreams/external_file_datastream_spec.rb +0 -48
- data/spec/dummy/config/structure_component_type.yml +0 -18
- data/spec/fixtures/abcd1234.vtt +0 -38
- data/spec/fixtures/arrow1rightred_e0.gif +0 -0
- data/spec/fixtures/extractedText1.txt +0 -1
- data/spec/fixtures/extractedText2.txt +0 -1
- data/spec/fixtures/extractedText3.txt +0 -3
- data/spec/fixtures/imageA.jpg +0 -0
- data/spec/fixtures/imageB.jpg +0 -0
- data/spec/index/csv_query_result_spec.rb +0 -44
- data/spec/index/fields_spec.rb +0 -380
- data/spec/index/query_builder_spec.rb +0 -140
- data/spec/index/query_clause_spec.rb +0 -68
- data/spec/models/cache_spec.rb +0 -32
- data/spec/models/contact_spec.rb +0 -56
- data/spec/models/descriptive_metadata_datastream_spec.rb +0 -139
- data/spec/models/file_characterization_spec.rb +0 -39
- data/spec/models/language_spec.rb +0 -59
- data/spec/models/media_type_spec.rb +0 -46
- data/spec/models/permanent_id_spec.rb +0 -432
- data/spec/models/rights_statement_spec.rb +0 -55
- data/spec/models/structures/agent_spec.rb +0 -30
- data/spec/models/structures/component_type_term_spec.rb +0 -14
- data/spec/models/structures/div_spec.rb +0 -26
- data/spec/models/structures/f_locat_spec.rb +0 -78
- data/spec/models/structures/file_grp_spec.rb +0 -23
- data/spec/models/structures/file_sec_spec.rb +0 -22
- data/spec/models/structures/file_spec.rb +0 -60
- data/spec/models/structures/fptr_spec.rb +0 -23
- data/spec/models/structures/mets_hdr_spec.rb +0 -26
- data/spec/models/structures/mptr_spec.rb +0 -25
- data/spec/models/structures/struct_map_spec.rb +0 -24
- data/spec/models/with_content_file_spec.rb +0 -37
- data/spec/support/shared_examples_for_associations.rb +0 -8
- data/spec/support/shared_examples_for_captionable.rb +0 -23
- data/spec/support/shared_examples_for_has_intermediate_file.rb +0 -28
- data/spec/support/shared_examples_for_publication.rb +0 -43
- data/spec/support/shared_examples_for_streamable_media.rb +0 -23
data/spec/utils_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ddr-models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0.alpha.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Coble
|
@@ -9,90 +9,64 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-10-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: 4.2.7
|
21
|
-
- - "<"
|
18
|
+
- - "~>"
|
22
19
|
- !ruby/object:Gem::Version
|
23
|
-
version:
|
20
|
+
version: 4.1.13
|
24
21
|
type: :runtime
|
25
22
|
prerelease: false
|
26
23
|
version_requirements: !ruby/object:Gem::Requirement
|
27
24
|
requirements:
|
28
|
-
- - "
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
version: 4.2.7
|
31
|
-
- - "<"
|
25
|
+
- - "~>"
|
32
26
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
27
|
+
version: 4.1.13
|
34
28
|
- !ruby/object:Gem::Dependency
|
35
|
-
name:
|
29
|
+
name: active-triples
|
36
30
|
requirement: !ruby/object:Gem::Requirement
|
37
31
|
requirements:
|
38
|
-
- - "
|
32
|
+
- - "~>"
|
39
33
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
34
|
+
version: 0.7.2
|
41
35
|
type: :runtime
|
42
36
|
prerelease: false
|
43
37
|
version_requirements: !ruby/object:Gem::Requirement
|
44
38
|
requirements:
|
45
|
-
- - "
|
39
|
+
- - "~>"
|
46
40
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
41
|
+
version: 0.7.2
|
48
42
|
- !ruby/object:Gem::Dependency
|
49
43
|
name: active-fedora
|
50
|
-
requirement: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 7.3.1
|
55
|
-
- - "<"
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
version: '8'
|
58
|
-
type: :runtime
|
59
|
-
prerelease: false
|
60
|
-
version_requirements: !ruby/object:Gem::Requirement
|
61
|
-
requirements:
|
62
|
-
- - ">="
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
version: 7.3.1
|
65
|
-
- - "<"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '8'
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
name: rubydora
|
70
44
|
requirement: !ruby/object:Gem::Requirement
|
71
45
|
requirements:
|
72
46
|
- - "~>"
|
73
47
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
48
|
+
version: '9.5'
|
75
49
|
type: :runtime
|
76
50
|
prerelease: false
|
77
51
|
version_requirements: !ruby/object:Gem::Requirement
|
78
52
|
requirements:
|
79
53
|
- - "~>"
|
80
54
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
55
|
+
version: '9.5'
|
82
56
|
- !ruby/object:Gem::Dependency
|
83
57
|
name: hydra-core
|
84
58
|
requirement: !ruby/object:Gem::Requirement
|
85
59
|
requirements:
|
86
60
|
- - "~>"
|
87
61
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
62
|
+
version: '9.3'
|
89
63
|
type: :runtime
|
90
64
|
prerelease: false
|
91
65
|
version_requirements: !ruby/object:Gem::Requirement
|
92
66
|
requirements:
|
93
67
|
- - "~>"
|
94
68
|
- !ruby/object:Gem::Version
|
95
|
-
version: '
|
69
|
+
version: '9.3'
|
96
70
|
- !ruby/object:Gem::Dependency
|
97
71
|
name: hydra-validations
|
98
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -155,14 +129,20 @@ dependencies:
|
|
155
129
|
requirements:
|
156
130
|
- - "~>"
|
157
131
|
- !ruby/object:Gem::Version
|
158
|
-
version: '1.
|
132
|
+
version: '1.1'
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: 1.1.1
|
159
136
|
type: :runtime
|
160
137
|
prerelease: false
|
161
138
|
version_requirements: !ruby/object:Gem::Requirement
|
162
139
|
requirements:
|
163
140
|
- - "~>"
|
164
141
|
- !ruby/object:Gem::Version
|
165
|
-
version: '1.
|
142
|
+
version: '1.1'
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 1.1.1
|
166
146
|
- !ruby/object:Gem::Dependency
|
167
147
|
name: resque
|
168
148
|
requirement: !ruby/object:Gem::Requirement
|
@@ -197,14 +177,14 @@ dependencies:
|
|
197
177
|
requirements:
|
198
178
|
- - "~>"
|
199
179
|
- !ruby/object:Gem::Version
|
200
|
-
version: '0.
|
180
|
+
version: '0.11'
|
201
181
|
type: :runtime
|
202
182
|
prerelease: false
|
203
183
|
version_requirements: !ruby/object:Gem::Requirement
|
204
184
|
requirements:
|
205
185
|
- - "~>"
|
206
186
|
- !ruby/object:Gem::Version
|
207
|
-
version: '0.
|
187
|
+
version: '0.11'
|
208
188
|
- !ruby/object:Gem::Dependency
|
209
189
|
name: cancancan
|
210
190
|
requirement: !ruby/object:Gem::Requirement
|
@@ -220,81 +200,53 @@ dependencies:
|
|
220
200
|
- !ruby/object:Gem::Version
|
221
201
|
version: '1.12'
|
222
202
|
- !ruby/object:Gem::Dependency
|
223
|
-
name: ddr-
|
224
|
-
requirement: !ruby/object:Gem::Requirement
|
225
|
-
requirements:
|
226
|
-
- - "~>"
|
227
|
-
- !ruby/object:Gem::Version
|
228
|
-
version: 2.1.1
|
229
|
-
type: :runtime
|
230
|
-
prerelease: false
|
231
|
-
version_requirements: !ruby/object:Gem::Requirement
|
232
|
-
requirements:
|
233
|
-
- - "~>"
|
234
|
-
- !ruby/object:Gem::Version
|
235
|
-
version: 2.1.1
|
236
|
-
- !ruby/object:Gem::Dependency
|
237
|
-
name: virtus
|
238
|
-
requirement: !ruby/object:Gem::Requirement
|
239
|
-
requirements:
|
240
|
-
- - "~>"
|
241
|
-
- !ruby/object:Gem::Version
|
242
|
-
version: 1.0.5
|
243
|
-
type: :runtime
|
244
|
-
prerelease: false
|
245
|
-
version_requirements: !ruby/object:Gem::Requirement
|
246
|
-
requirements:
|
247
|
-
- - "~>"
|
248
|
-
- !ruby/object:Gem::Version
|
249
|
-
version: 1.0.5
|
250
|
-
- !ruby/object:Gem::Dependency
|
251
|
-
name: hashie
|
203
|
+
name: ddr-aux-client
|
252
204
|
requirement: !ruby/object:Gem::Requirement
|
253
205
|
requirements:
|
254
206
|
- - "~>"
|
255
207
|
- !ruby/object:Gem::Version
|
256
|
-
version: '
|
257
|
-
- - "
|
208
|
+
version: '1.2'
|
209
|
+
- - ">="
|
258
210
|
- !ruby/object:Gem::Version
|
259
|
-
version:
|
211
|
+
version: 1.2.2
|
260
212
|
type: :runtime
|
261
213
|
prerelease: false
|
262
214
|
version_requirements: !ruby/object:Gem::Requirement
|
263
215
|
requirements:
|
264
216
|
- - "~>"
|
265
217
|
- !ruby/object:Gem::Version
|
266
|
-
version: '
|
267
|
-
- - "
|
218
|
+
version: '1.2'
|
219
|
+
- - ">="
|
268
220
|
- !ruby/object:Gem::Version
|
269
|
-
version:
|
221
|
+
version: 1.2.2
|
270
222
|
- !ruby/object:Gem::Dependency
|
271
|
-
name:
|
223
|
+
name: ddr-antivirus
|
272
224
|
requirement: !ruby/object:Gem::Requirement
|
273
225
|
requirements:
|
274
|
-
- -
|
226
|
+
- - '='
|
275
227
|
- !ruby/object:Gem::Version
|
276
|
-
version:
|
228
|
+
version: 2.0.0
|
277
229
|
type: :runtime
|
278
230
|
prerelease: false
|
279
231
|
version_requirements: !ruby/object:Gem::Requirement
|
280
232
|
requirements:
|
281
|
-
- -
|
233
|
+
- - '='
|
282
234
|
- !ruby/object:Gem::Version
|
283
|
-
version:
|
235
|
+
version: 2.0.0
|
284
236
|
- !ruby/object:Gem::Dependency
|
285
237
|
name: bundler
|
286
238
|
requirement: !ruby/object:Gem::Requirement
|
287
239
|
requirements:
|
288
240
|
- - "~>"
|
289
241
|
- !ruby/object:Gem::Version
|
290
|
-
version: '1.
|
242
|
+
version: '1.10'
|
291
243
|
type: :development
|
292
244
|
prerelease: false
|
293
245
|
version_requirements: !ruby/object:Gem::Requirement
|
294
246
|
requirements:
|
295
247
|
- - "~>"
|
296
248
|
- !ruby/object:Gem::Version
|
297
|
-
version: '1.
|
249
|
+
version: '1.10'
|
298
250
|
- !ruby/object:Gem::Dependency
|
299
251
|
name: rake
|
300
252
|
requirement: !ruby/object:Gem::Requirement
|
@@ -371,14 +323,14 @@ dependencies:
|
|
371
323
|
requirements:
|
372
324
|
- - "~>"
|
373
325
|
- !ruby/object:Gem::Version
|
374
|
-
version: '
|
326
|
+
version: '2.0'
|
375
327
|
type: :development
|
376
328
|
prerelease: false
|
377
329
|
version_requirements: !ruby/object:Gem::Requirement
|
378
330
|
requirements:
|
379
331
|
- - "~>"
|
380
332
|
- !ruby/object:Gem::Version
|
381
|
-
version: '
|
333
|
+
version: '2.0'
|
382
334
|
- !ruby/object:Gem::Dependency
|
383
335
|
name: database_cleaner
|
384
336
|
requirement: !ruby/object:Gem::Requirement
|
@@ -393,20 +345,6 @@ dependencies:
|
|
393
345
|
- - ">="
|
394
346
|
- !ruby/object:Gem::Version
|
395
347
|
version: '0'
|
396
|
-
- !ruby/object:Gem::Dependency
|
397
|
-
name: byebug
|
398
|
-
requirement: !ruby/object:Gem::Requirement
|
399
|
-
requirements:
|
400
|
-
- - ">="
|
401
|
-
- !ruby/object:Gem::Version
|
402
|
-
version: '0'
|
403
|
-
type: :development
|
404
|
-
prerelease: false
|
405
|
-
version_requirements: !ruby/object:Gem::Requirement
|
406
|
-
requirements:
|
407
|
-
- - ">="
|
408
|
-
- !ruby/object:Gem::Version
|
409
|
-
version: '0'
|
410
348
|
description: Models used in the Duke Digital Repository
|
411
349
|
email:
|
412
350
|
- lib-drs@duke.edu
|
@@ -416,7 +354,6 @@ extra_rdoc_files: []
|
|
416
354
|
files:
|
417
355
|
- ".gitignore"
|
418
356
|
- ".rspec"
|
419
|
-
- ".ruby-version"
|
420
357
|
- ".travis.yml"
|
421
358
|
- Gemfile
|
422
359
|
- LICENSE.txt
|
@@ -424,6 +361,7 @@ files:
|
|
424
361
|
- Rakefile
|
425
362
|
- app/controllers/users/omniauth_callbacks_controller.rb
|
426
363
|
- app/controllers/users/sessions_controller.rb
|
364
|
+
- app/helpers/models_helper.rb
|
427
365
|
- app/models/.keep
|
428
366
|
- app/models/attachment.rb
|
429
367
|
- app/models/collection.rb
|
@@ -434,12 +372,9 @@ files:
|
|
434
372
|
- app/views/devise/shared/_links.erb
|
435
373
|
- bin/rails
|
436
374
|
- config/initializers/active_fedora_base.rb
|
437
|
-
- config/initializers/
|
375
|
+
- config/initializers/active_fedora_file.rb
|
438
376
|
- config/initializers/devise.rb
|
439
|
-
- config/initializers/rsolr_monkey_patches.rb
|
440
|
-
- config/initializers/rubydora_monkey_patch.rb
|
441
377
|
- config/initializers/subscriptions.rb
|
442
|
-
- config/locales/ddr-models.en.yml
|
443
378
|
- config/routes.rb
|
444
379
|
- db/migrate/20141021233359_create_events.rb
|
445
380
|
- db/migrate/20141021234156_create_minted_ids.rb
|
@@ -452,7 +387,6 @@ files:
|
|
452
387
|
- db/migrate/20150130134416_add_user_key_to_events.rb
|
453
388
|
- db/migrate/20150710211530_change_events_exception_to_text.rb
|
454
389
|
- db/migrate/20150713171838_add_limit_to_events_exception.rb
|
455
|
-
- db/migrate/20161021201011_add_permanent_id_to_events.rb
|
456
390
|
- ddr-models.gemspec
|
457
391
|
- lib/ddr-models.rb
|
458
392
|
- lib/ddr/actions.rb
|
@@ -461,7 +395,6 @@ files:
|
|
461
395
|
- lib/ddr/auth.rb
|
462
396
|
- lib/ddr/auth/ability.rb
|
463
397
|
- lib/ddr/auth/ability_definitions.rb
|
464
|
-
- lib/ddr/auth/ability_definitions/admin_set_ability_definitions.rb
|
465
398
|
- lib/ddr/auth/ability_definitions/alias_ability_definitions.rb
|
466
399
|
- lib/ddr/auth/ability_definitions/attachment_ability_definitions.rb
|
467
400
|
- lib/ddr/auth/ability_definitions/collection_ability_definitions.rb
|
@@ -469,8 +402,6 @@ files:
|
|
469
402
|
- lib/ddr/auth/ability_definitions/datastream_ability_definitions.rb
|
470
403
|
- lib/ddr/auth/ability_definitions/event_ability_definitions.rb
|
471
404
|
- lib/ddr/auth/ability_definitions/item_ability_definitions.rb
|
472
|
-
- lib/ddr/auth/ability_definitions/lock_ability_definitions.rb
|
473
|
-
- lib/ddr/auth/ability_definitions/publication_ability_definitions.rb
|
474
405
|
- lib/ddr/auth/ability_definitions/role_based_ability_definitions.rb
|
475
406
|
- lib/ddr/auth/ability_definitions/superuser_ability_definitions.rb
|
476
407
|
- lib/ddr/auth/ability_factory.rb
|
@@ -502,33 +433,28 @@ files:
|
|
502
433
|
- lib/ddr/auth/roles/role_set_query.rb
|
503
434
|
- lib/ddr/auth/roles/role_type.rb
|
504
435
|
- lib/ddr/auth/roles/role_types.rb
|
436
|
+
- lib/ddr/auth/roles/roles_datastream.rb
|
505
437
|
- lib/ddr/auth/superuser_ability.rb
|
506
438
|
- lib/ddr/auth/test_helpers.rb
|
507
439
|
- lib/ddr/auth/user.rb
|
508
440
|
- lib/ddr/auth/web_auth_context.rb
|
441
|
+
- lib/ddr/contacts.rb
|
509
442
|
- lib/ddr/datastreams.rb
|
510
|
-
- lib/ddr/datastreams/administrative_metadata_datastream.rb
|
511
|
-
- lib/ddr/datastreams/caption_datastream.rb
|
512
|
-
- lib/ddr/datastreams/content_datastream.rb
|
513
443
|
- lib/ddr/datastreams/datastream_behavior.rb
|
514
|
-
- lib/ddr/datastreams/delete_external_files.rb
|
515
444
|
- lib/ddr/datastreams/descriptive_metadata_datastream.rb
|
516
|
-
- lib/ddr/datastreams/external_file_datastream.rb
|
517
445
|
- lib/ddr/datastreams/fits_datastream.rb
|
518
|
-
- lib/ddr/datastreams/intermediate_file_datastream.rb
|
519
446
|
- lib/ddr/datastreams/metadata_datastream.rb
|
520
|
-
- lib/ddr/datastreams/multires_image_datastream.rb
|
521
447
|
- lib/ddr/datastreams/plain_text_datastream.rb
|
522
|
-
- lib/ddr/datastreams/streamable_media_datastream.rb
|
523
448
|
- lib/ddr/datastreams/structural_metadata_datastream.rb
|
524
449
|
- lib/ddr/derivatives.rb
|
525
|
-
- lib/ddr/derivatives/
|
526
|
-
- lib/ddr/derivatives/
|
527
|
-
- lib/ddr/derivatives/
|
528
|
-
- lib/ddr/derivatives/
|
450
|
+
- lib/ddr/derivatives/derivative.rb
|
451
|
+
- lib/ddr/derivatives/generators/generator.rb
|
452
|
+
- lib/ddr/derivatives/generators/png_generator.rb
|
453
|
+
- lib/ddr/derivatives/generators/ptif_generator.rb
|
454
|
+
- lib/ddr/derivatives/multires_image.rb
|
455
|
+
- lib/ddr/derivatives/thumbnail.rb
|
529
456
|
- lib/ddr/events.rb
|
530
457
|
- lib/ddr/events/creation_event.rb
|
531
|
-
- lib/ddr/events/deaccession_event.rb
|
532
458
|
- lib/ddr/events/deletion_event.rb
|
533
459
|
- lib/ddr/events/event.rb
|
534
460
|
- lib/ddr/events/fixity_check_event.rb
|
@@ -544,35 +470,35 @@ files:
|
|
544
470
|
- lib/ddr/index/csv_query_result.rb
|
545
471
|
- lib/ddr/index/document_builder.rb
|
546
472
|
- lib/ddr/index/field.rb
|
547
|
-
- lib/ddr/index/field_attribute.rb
|
548
473
|
- lib/ddr/index/fields.rb
|
549
474
|
- lib/ddr/index/filter.rb
|
475
|
+
- lib/ddr/index/filters.rb
|
550
476
|
- lib/ddr/index/query.rb
|
551
477
|
- lib/ddr/index/query_builder.rb
|
552
478
|
- lib/ddr/index/query_clause.rb
|
553
|
-
- lib/ddr/index/query_params.rb
|
554
479
|
- lib/ddr/index/query_result.rb
|
480
|
+
- lib/ddr/index/query_value.rb
|
555
481
|
- lib/ddr/index/response.rb
|
556
|
-
- lib/ddr/index/sort_order.rb
|
557
482
|
- lib/ddr/index/unique_key_field.rb
|
483
|
+
- lib/ddr/jobs.rb
|
484
|
+
- lib/ddr/jobs/fits_file_characterization.rb
|
485
|
+
- lib/ddr/jobs/permanent_id.rb
|
558
486
|
- lib/ddr/managers.rb
|
559
487
|
- lib/ddr/managers/derivatives_manager.rb
|
560
488
|
- lib/ddr/managers/manager.rb
|
489
|
+
- lib/ddr/managers/permanent_id_manager.rb
|
561
490
|
- lib/ddr/managers/technical_metadata_manager.rb
|
562
491
|
- lib/ddr/managers/workflow_manager.rb
|
563
492
|
- lib/ddr/metadata.rb
|
564
493
|
- lib/ddr/metadata/premis_event.rb
|
565
494
|
- lib/ddr/models.rb
|
495
|
+
- lib/ddr/models/access_controllable.rb
|
566
496
|
- lib/ddr/models/admin_set.rb
|
567
497
|
- lib/ddr/models/base.rb
|
568
|
-
- lib/ddr/models/cache.rb
|
569
|
-
- lib/ddr/models/captionable.rb
|
570
|
-
- lib/ddr/models/contact.rb
|
571
498
|
- lib/ddr/models/describable.rb
|
572
499
|
- lib/ddr/models/engine.rb
|
573
500
|
- lib/ddr/models/error.rb
|
574
501
|
- lib/ddr/models/event_loggable.rb
|
575
|
-
- lib/ddr/models/file_characterization.rb
|
576
502
|
- lib/ddr/models/file_management.rb
|
577
503
|
- lib/ddr/models/finding_aid.rb
|
578
504
|
- lib/ddr/models/fixity_checkable.rb
|
@@ -581,31 +507,26 @@ files:
|
|
581
507
|
- lib/ddr/models/has_attachments.rb
|
582
508
|
- lib/ddr/models/has_children.rb
|
583
509
|
- lib/ddr/models/has_content.rb
|
584
|
-
- lib/ddr/models/has_intermediate_file.rb
|
585
510
|
- lib/ddr/models/has_multires_image.rb
|
586
511
|
- lib/ddr/models/has_struct_metadata.rb
|
587
512
|
- lib/ddr/models/has_thumbnail.rb
|
588
513
|
- lib/ddr/models/indexing.rb
|
589
|
-
- lib/ddr/models/
|
590
|
-
- lib/ddr/models/
|
591
|
-
- lib/ddr/models/
|
592
|
-
- lib/ddr/models/
|
514
|
+
- lib/ddr/models/licenses/admin_policy_license.rb
|
515
|
+
- lib/ddr/models/licenses/effective_license.rb
|
516
|
+
- lib/ddr/models/licenses/inherited_license.rb
|
517
|
+
- lib/ddr/models/licenses/license.rb
|
518
|
+
- lib/ddr/models/licenses/parent_license.rb
|
519
|
+
- lib/ddr/models/metadata/descriptive_metadata.rb
|
520
|
+
- lib/ddr/models/metadata/metadata.rb
|
521
|
+
- lib/ddr/models/metadata/metadata_mapper.rb
|
522
|
+
- lib/ddr/models/metadata/metadata_mappers.rb
|
523
|
+
- lib/ddr/models/metadata/metadata_term.rb
|
524
|
+
- lib/ddr/models/metadata/metadata_vocabularies.rb
|
525
|
+
- lib/ddr/models/metadata/metadata_vocabulary.rb
|
593
526
|
- lib/ddr/models/solr_document.rb
|
594
|
-
- lib/ddr/models/
|
527
|
+
- lib/ddr/models/struct_div.rb
|
595
528
|
- lib/ddr/models/structure.rb
|
596
|
-
- lib/ddr/models/structures/agent.rb
|
597
|
-
- lib/ddr/models/structures/component_type_term.rb
|
598
|
-
- lib/ddr/models/structures/div.rb
|
599
|
-
- lib/ddr/models/structures/f_locat.rb
|
600
|
-
- lib/ddr/models/structures/file.rb
|
601
|
-
- lib/ddr/models/structures/file_grp.rb
|
602
|
-
- lib/ddr/models/structures/file_sec.rb
|
603
|
-
- lib/ddr/models/structures/fptr.rb
|
604
|
-
- lib/ddr/models/structures/mets_hdr.rb
|
605
|
-
- lib/ddr/models/structures/mptr.rb
|
606
|
-
- lib/ddr/models/structures/struct_map.rb
|
607
529
|
- lib/ddr/models/version.rb
|
608
|
-
- lib/ddr/models/with_content_file.rb
|
609
530
|
- lib/ddr/models/year_facet.rb
|
610
531
|
- lib/ddr/notifications.rb
|
611
532
|
- lib/ddr/utils.rb
|
@@ -627,6 +548,7 @@ files:
|
|
627
548
|
- spec/auth/effective_roles_spec.rb
|
628
549
|
- spec/auth/group_spec.rb
|
629
550
|
- spec/auth/groups_spec.rb
|
551
|
+
- spec/auth/ldap_gateway_spec.rb
|
630
552
|
- spec/auth/roles/detached_role_set_spec.rb
|
631
553
|
- spec/auth/roles/property_role_set_spec.rb
|
632
554
|
- spec/auth/roles/role_set_query_spec.rb
|
@@ -635,13 +557,15 @@ files:
|
|
635
557
|
- spec/auth/superuser_ability_spec.rb
|
636
558
|
- spec/auth/user_spec.rb
|
637
559
|
- spec/auth/web_auth_context_spec.rb
|
560
|
+
- spec/contacts/contacts_spec.rb
|
638
561
|
- spec/controllers/application_controller_spec.rb
|
639
562
|
- spec/controllers/including_role_based_access_controls_enforcement_spec.rb
|
640
563
|
- spec/controllers/users/sessions_controller_spec.rb
|
641
|
-
- spec/datastreams/external_file_datastream_spec.rb
|
642
564
|
- spec/datastreams/fits_datastream_spec.rb
|
565
|
+
- spec/derivatives/multires_image_spec.rb
|
643
566
|
- spec/derivatives/png_generator_spec.rb
|
644
567
|
- spec/derivatives/ptif_generator_spec.rb
|
568
|
+
- spec/derivatives/thumbnail_spec.rb
|
645
569
|
- spec/dummy/README.rdoc
|
646
570
|
- spec/dummy/Rakefile
|
647
571
|
- spec/dummy/app/assets/images/.keep
|
@@ -679,7 +603,6 @@ files:
|
|
679
603
|
- spec/dummy/config/locales/en.yml
|
680
604
|
- spec/dummy/config/routes.rb
|
681
605
|
- spec/dummy/config/secrets.yml
|
682
|
-
- spec/dummy/config/structure_component_type.yml
|
683
606
|
- spec/dummy/db/schema.rb
|
684
607
|
- spec/dummy/lib/assets/.keep
|
685
608
|
- spec/dummy/log/.keep
|
@@ -701,41 +624,31 @@ files:
|
|
701
624
|
- spec/factories/user_factories.rb
|
702
625
|
- spec/fixtures/16bit.tif
|
703
626
|
- spec/fixtures/8bit.tif
|
704
|
-
- spec/fixtures/abcd1234.vtt
|
705
|
-
- spec/fixtures/arrow1rightred_e0.gif
|
706
627
|
- spec/fixtures/bird.jpg
|
707
|
-
- spec/fixtures/extractedText1.txt
|
708
|
-
- spec/fixtures/extractedText2.txt
|
709
|
-
- spec/fixtures/extractedText3.txt
|
710
628
|
- spec/fixtures/fits/document.xml
|
711
629
|
- spec/fixtures/fits/image.xml
|
712
|
-
- spec/fixtures/imageA.jpg
|
713
630
|
- spec/fixtures/imageA.tif
|
714
|
-
- spec/fixtures/imageB.jpg
|
715
631
|
- spec/fixtures/imageB.tif
|
716
632
|
- spec/fixtures/imageC.tif
|
717
633
|
- spec/fixtures/sample.docx
|
718
634
|
- spec/fixtures/sample.pdf
|
719
635
|
- spec/fixtures/target.png
|
720
|
-
- spec/
|
721
|
-
- spec/index/fields_spec.rb
|
636
|
+
- spec/helpers/models_helper_spec.rb
|
722
637
|
- spec/index/filter_spec.rb
|
723
|
-
- spec/index/
|
724
|
-
- spec/index/query_clause_spec.rb
|
638
|
+
- spec/index/filters_spec.rb
|
725
639
|
- spec/index/query_spec.rb
|
640
|
+
- spec/jobs/fits_file_characterization_spec.rb
|
726
641
|
- spec/managers/derivatives_manager_spec.rb
|
727
642
|
- spec/managers/technical_metadata_manager_spec.rb
|
728
643
|
- spec/models/active_fedora_base_spec.rb
|
729
644
|
- spec/models/active_fedora_datastream_spec.rb
|
730
645
|
- spec/models/admin_set_spec.rb
|
731
646
|
- spec/models/attachment_spec.rb
|
732
|
-
- spec/models/cache_spec.rb
|
733
647
|
- spec/models/collection_spec.rb
|
734
648
|
- spec/models/component_spec.rb
|
735
|
-
- spec/models/
|
736
|
-
- spec/models/
|
649
|
+
- spec/models/descriptive_metadata_spec.rb
|
650
|
+
- spec/models/effective_license_spec.rb
|
737
651
|
- spec/models/events_spec.rb
|
738
|
-
- spec/models/file_characterization_spec.rb
|
739
652
|
- spec/models/file_management_spec.rb
|
740
653
|
- spec/models/finding_aid_spec.rb
|
741
654
|
- spec/models/has_admin_metadata_spec.rb
|
@@ -743,43 +656,24 @@ files:
|
|
743
656
|
- spec/models/has_struct_metadata_spec.rb
|
744
657
|
- spec/models/indexing_spec.rb
|
745
658
|
- spec/models/item_spec.rb
|
746
|
-
- spec/models/
|
747
|
-
- spec/models/media_type_spec.rb
|
748
|
-
- spec/models/permanent_id_spec.rb
|
749
|
-
- spec/models/rights_statement_spec.rb
|
659
|
+
- spec/models/license_spec.rb
|
750
660
|
- spec/models/solr_document_spec.rb
|
661
|
+
- spec/models/struct_div_spec.rb
|
751
662
|
- spec/models/structure_spec.rb
|
752
|
-
- spec/models/structures/agent_spec.rb
|
753
|
-
- spec/models/structures/component_type_term_spec.rb
|
754
|
-
- spec/models/structures/div_spec.rb
|
755
|
-
- spec/models/structures/f_locat_spec.rb
|
756
|
-
- spec/models/structures/file_grp_spec.rb
|
757
|
-
- spec/models/structures/file_sec_spec.rb
|
758
|
-
- spec/models/structures/file_spec.rb
|
759
|
-
- spec/models/structures/fptr_spec.rb
|
760
|
-
- spec/models/structures/mets_hdr_spec.rb
|
761
|
-
- spec/models/structures/mptr_spec.rb
|
762
|
-
- spec/models/structures/struct_map_spec.rb
|
763
663
|
- spec/models/target_spec.rb
|
764
|
-
- spec/models/with_content_file_spec.rb
|
765
664
|
- spec/models/year_facet_spec.rb
|
766
665
|
- spec/routing/user_routing_spec.rb
|
767
666
|
- spec/spec_helper.rb
|
768
667
|
- spec/support/ezid_mock_identifier.rb
|
769
|
-
- spec/support/shared_examples_for_associations.rb
|
770
668
|
- spec/support/shared_examples_for_auth_contexts.rb
|
771
|
-
- spec/support/shared_examples_for_captionable.rb
|
772
669
|
- spec/support/shared_examples_for_ddr_models.rb
|
773
670
|
- spec/support/shared_examples_for_describables.rb
|
774
671
|
- spec/support/shared_examples_for_events.rb
|
775
672
|
- spec/support/shared_examples_for_governables.rb
|
776
673
|
- spec/support/shared_examples_for_has_content.rb
|
777
|
-
- spec/support/shared_examples_for_has_intermediate_file.rb
|
778
674
|
- spec/support/shared_examples_for_indexing.rb
|
779
675
|
- spec/support/shared_examples_for_non_collection_models.rb
|
780
|
-
- spec/support/shared_examples_for_publication.rb
|
781
676
|
- spec/support/shared_examples_for_role_sets.rb
|
782
|
-
- spec/support/shared_examples_for_streamable_media.rb
|
783
677
|
- spec/support/structural_metadata_helper.rb
|
784
678
|
- spec/utils_spec.rb
|
785
679
|
homepage: https://github.com/duke-libraries/ddr-models
|
@@ -798,12 +692,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
798
692
|
version: '0'
|
799
693
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
800
694
|
requirements:
|
801
|
-
- - "
|
695
|
+
- - ">"
|
802
696
|
- !ruby/object:Gem::Version
|
803
|
-
version:
|
697
|
+
version: 1.3.1
|
804
698
|
requirements: []
|
805
699
|
rubyforge_project:
|
806
|
-
rubygems_version: 2.
|
700
|
+
rubygems_version: 2.4.3
|
807
701
|
signing_key:
|
808
702
|
specification_version: 4
|
809
703
|
summary: Models used in the Duke Digital Repository
|
@@ -817,6 +711,7 @@ test_files:
|
|
817
711
|
- spec/auth/effective_roles_spec.rb
|
818
712
|
- spec/auth/group_spec.rb
|
819
713
|
- spec/auth/groups_spec.rb
|
714
|
+
- spec/auth/ldap_gateway_spec.rb
|
820
715
|
- spec/auth/roles/detached_role_set_spec.rb
|
821
716
|
- spec/auth/roles/property_role_set_spec.rb
|
822
717
|
- spec/auth/roles/role_set_query_spec.rb
|
@@ -825,13 +720,15 @@ test_files:
|
|
825
720
|
- spec/auth/superuser_ability_spec.rb
|
826
721
|
- spec/auth/user_spec.rb
|
827
722
|
- spec/auth/web_auth_context_spec.rb
|
723
|
+
- spec/contacts/contacts_spec.rb
|
828
724
|
- spec/controllers/application_controller_spec.rb
|
829
725
|
- spec/controllers/including_role_based_access_controls_enforcement_spec.rb
|
830
726
|
- spec/controllers/users/sessions_controller_spec.rb
|
831
|
-
- spec/datastreams/external_file_datastream_spec.rb
|
832
727
|
- spec/datastreams/fits_datastream_spec.rb
|
728
|
+
- spec/derivatives/multires_image_spec.rb
|
833
729
|
- spec/derivatives/png_generator_spec.rb
|
834
730
|
- spec/derivatives/ptif_generator_spec.rb
|
731
|
+
- spec/derivatives/thumbnail_spec.rb
|
835
732
|
- spec/dummy/README.rdoc
|
836
733
|
- spec/dummy/Rakefile
|
837
734
|
- spec/dummy/app/assets/images/.keep
|
@@ -869,7 +766,6 @@ test_files:
|
|
869
766
|
- spec/dummy/config/locales/en.yml
|
870
767
|
- spec/dummy/config/routes.rb
|
871
768
|
- spec/dummy/config/secrets.yml
|
872
|
-
- spec/dummy/config/structure_component_type.yml
|
873
769
|
- spec/dummy/db/schema.rb
|
874
770
|
- spec/dummy/lib/assets/.keep
|
875
771
|
- spec/dummy/log/.keep
|
@@ -891,41 +787,31 @@ test_files:
|
|
891
787
|
- spec/factories/user_factories.rb
|
892
788
|
- spec/fixtures/16bit.tif
|
893
789
|
- spec/fixtures/8bit.tif
|
894
|
-
- spec/fixtures/abcd1234.vtt
|
895
|
-
- spec/fixtures/arrow1rightred_e0.gif
|
896
790
|
- spec/fixtures/bird.jpg
|
897
|
-
- spec/fixtures/extractedText1.txt
|
898
|
-
- spec/fixtures/extractedText2.txt
|
899
|
-
- spec/fixtures/extractedText3.txt
|
900
791
|
- spec/fixtures/fits/document.xml
|
901
792
|
- spec/fixtures/fits/image.xml
|
902
|
-
- spec/fixtures/imageA.jpg
|
903
793
|
- spec/fixtures/imageA.tif
|
904
|
-
- spec/fixtures/imageB.jpg
|
905
794
|
- spec/fixtures/imageB.tif
|
906
795
|
- spec/fixtures/imageC.tif
|
907
796
|
- spec/fixtures/sample.docx
|
908
797
|
- spec/fixtures/sample.pdf
|
909
798
|
- spec/fixtures/target.png
|
910
|
-
- spec/
|
911
|
-
- spec/index/fields_spec.rb
|
799
|
+
- spec/helpers/models_helper_spec.rb
|
912
800
|
- spec/index/filter_spec.rb
|
913
|
-
- spec/index/
|
914
|
-
- spec/index/query_clause_spec.rb
|
801
|
+
- spec/index/filters_spec.rb
|
915
802
|
- spec/index/query_spec.rb
|
803
|
+
- spec/jobs/fits_file_characterization_spec.rb
|
916
804
|
- spec/managers/derivatives_manager_spec.rb
|
917
805
|
- spec/managers/technical_metadata_manager_spec.rb
|
918
806
|
- spec/models/active_fedora_base_spec.rb
|
919
807
|
- spec/models/active_fedora_datastream_spec.rb
|
920
808
|
- spec/models/admin_set_spec.rb
|
921
809
|
- spec/models/attachment_spec.rb
|
922
|
-
- spec/models/cache_spec.rb
|
923
810
|
- spec/models/collection_spec.rb
|
924
811
|
- spec/models/component_spec.rb
|
925
|
-
- spec/models/
|
926
|
-
- spec/models/
|
812
|
+
- spec/models/descriptive_metadata_spec.rb
|
813
|
+
- spec/models/effective_license_spec.rb
|
927
814
|
- spec/models/events_spec.rb
|
928
|
-
- spec/models/file_characterization_spec.rb
|
929
815
|
- spec/models/file_management_spec.rb
|
930
816
|
- spec/models/finding_aid_spec.rb
|
931
817
|
- spec/models/has_admin_metadata_spec.rb
|
@@ -933,42 +819,23 @@ test_files:
|
|
933
819
|
- spec/models/has_struct_metadata_spec.rb
|
934
820
|
- spec/models/indexing_spec.rb
|
935
821
|
- spec/models/item_spec.rb
|
936
|
-
- spec/models/
|
937
|
-
- spec/models/media_type_spec.rb
|
938
|
-
- spec/models/permanent_id_spec.rb
|
939
|
-
- spec/models/rights_statement_spec.rb
|
822
|
+
- spec/models/license_spec.rb
|
940
823
|
- spec/models/solr_document_spec.rb
|
824
|
+
- spec/models/struct_div_spec.rb
|
941
825
|
- spec/models/structure_spec.rb
|
942
|
-
- spec/models/structures/agent_spec.rb
|
943
|
-
- spec/models/structures/component_type_term_spec.rb
|
944
|
-
- spec/models/structures/div_spec.rb
|
945
|
-
- spec/models/structures/f_locat_spec.rb
|
946
|
-
- spec/models/structures/file_grp_spec.rb
|
947
|
-
- spec/models/structures/file_sec_spec.rb
|
948
|
-
- spec/models/structures/file_spec.rb
|
949
|
-
- spec/models/structures/fptr_spec.rb
|
950
|
-
- spec/models/structures/mets_hdr_spec.rb
|
951
|
-
- spec/models/structures/mptr_spec.rb
|
952
|
-
- spec/models/structures/struct_map_spec.rb
|
953
826
|
- spec/models/target_spec.rb
|
954
|
-
- spec/models/with_content_file_spec.rb
|
955
827
|
- spec/models/year_facet_spec.rb
|
956
828
|
- spec/routing/user_routing_spec.rb
|
957
829
|
- spec/spec_helper.rb
|
958
830
|
- spec/support/ezid_mock_identifier.rb
|
959
|
-
- spec/support/shared_examples_for_associations.rb
|
960
831
|
- spec/support/shared_examples_for_auth_contexts.rb
|
961
|
-
- spec/support/shared_examples_for_captionable.rb
|
962
832
|
- spec/support/shared_examples_for_ddr_models.rb
|
963
833
|
- spec/support/shared_examples_for_describables.rb
|
964
834
|
- spec/support/shared_examples_for_events.rb
|
965
835
|
- spec/support/shared_examples_for_governables.rb
|
966
836
|
- spec/support/shared_examples_for_has_content.rb
|
967
|
-
- spec/support/shared_examples_for_has_intermediate_file.rb
|
968
837
|
- spec/support/shared_examples_for_indexing.rb
|
969
838
|
- spec/support/shared_examples_for_non_collection_models.rb
|
970
|
-
- spec/support/shared_examples_for_publication.rb
|
971
839
|
- spec/support/shared_examples_for_role_sets.rb
|
972
|
-
- spec/support/shared_examples_for_streamable_media.rb
|
973
840
|
- spec/support/structural_metadata_helper.rb
|
974
841
|
- spec/utils_spec.rb
|