ddr-models 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (188) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +12 -0
  3. data/README.md +5 -0
  4. data/Rakefile +37 -0
  5. data/app/models/attachment.rb +7 -0
  6. data/app/models/collection.rb +54 -0
  7. data/app/models/component.rb +15 -0
  8. data/app/models/item.rb +19 -0
  9. data/app/models/solr_document.rb +36 -0
  10. data/app/models/target.rb +8 -0
  11. data/config/initializers/active_fedora_base.rb +77 -0
  12. data/config/initializers/active_fedora_datastream.rb +5 -0
  13. data/config/initializers/ddr.rb +8 -0
  14. data/config/initializers/devise.rb +245 -0
  15. data/config/initializers/devise.rb~ +245 -0
  16. data/config/initializers/subscriptions.rb +15 -0
  17. data/config/routes.rb +2 -0
  18. data/db/migrate/20141021233359_create_events.rb +28 -0
  19. data/db/migrate/20141021234156_create_minted_ids.rb +19 -0
  20. data/db/migrate/20141103192146_create_workflow_state.rb +13 -0
  21. data/db/migrate/20141104181418_create_users.rb +34 -0
  22. data/db/migrate/20141104181418_create_users.rb~ +6 -0
  23. data/lib/ddr-models.rb +1 -0
  24. data/lib/ddr/actions.rb +8 -0
  25. data/lib/ddr/actions/fixity_check.rb +35 -0
  26. data/lib/ddr/auth.rb +45 -0
  27. data/lib/ddr/auth.rb~ +47 -0
  28. data/lib/ddr/auth/ability.rb +204 -0
  29. data/lib/ddr/auth/ability.rb~ +204 -0
  30. data/lib/ddr/auth/group_service.rb +53 -0
  31. data/lib/ddr/auth/group_service.rb~ +53 -0
  32. data/lib/ddr/auth/grouper_service.rb +76 -0
  33. data/lib/ddr/auth/grouper_service.rb~ +77 -0
  34. data/lib/ddr/auth/remote_group_service.rb +35 -0
  35. data/lib/ddr/auth/remote_group_service.rb~ +35 -0
  36. data/lib/ddr/auth/superuser.rb +13 -0
  37. data/lib/ddr/auth/superuser.rb~ +9 -0
  38. data/lib/ddr/auth/user.rb +71 -0
  39. data/lib/ddr/auth/user.rb~ +65 -0
  40. data/lib/ddr/configurable.rb +34 -0
  41. data/lib/ddr/datastreams.rb +32 -0
  42. data/lib/ddr/datastreams/content_metadata_datastream.rb +147 -0
  43. data/lib/ddr/datastreams/datastream_behavior.rb +95 -0
  44. data/lib/ddr/datastreams/descriptive_metadata_datastream.rb +84 -0
  45. data/lib/ddr/datastreams/properties_datastream.rb +25 -0
  46. data/lib/ddr/datastreams/role_assignments_datastream.rb +19 -0
  47. data/lib/ddr/events.rb +17 -0
  48. data/lib/ddr/events/creation_event.rb +12 -0
  49. data/lib/ddr/events/event.rb +163 -0
  50. data/lib/ddr/events/fixity_check_event.rb +43 -0
  51. data/lib/ddr/events/ingestion_event.rb +12 -0
  52. data/lib/ddr/events/preservation_event_behavior.rb +37 -0
  53. data/lib/ddr/events/preservation_event_type.rb +24 -0
  54. data/lib/ddr/events/reindex_object_after_save.rb +18 -0
  55. data/lib/ddr/events/update_event.rb +9 -0
  56. data/lib/ddr/events/validation_event.rb +11 -0
  57. data/lib/ddr/events/virus_check_event.rb +30 -0
  58. data/lib/ddr/index_fields.rb +39 -0
  59. data/lib/ddr/metadata.rb +22 -0
  60. data/lib/ddr/metadata/duke_terms.rb +15 -0
  61. data/lib/ddr/metadata/premis_event.rb +59 -0
  62. data/lib/ddr/metadata/rdf_vocabulary_parser.rb +45 -0
  63. data/lib/ddr/metadata/roles_vocabulary.rb +10 -0
  64. data/lib/ddr/metadata/sources/duketerms.rdf.xml +856 -0
  65. data/lib/ddr/metadata/vocabulary.rb +37 -0
  66. data/lib/ddr/models.rb +60 -0
  67. data/lib/ddr/models/access_controllable.rb +23 -0
  68. data/lib/ddr/models/base.rb +37 -0
  69. data/lib/ddr/models/describable.rb +81 -0
  70. data/lib/ddr/models/engine.rb +58 -0
  71. data/lib/ddr/models/error.rb +12 -0
  72. data/lib/ddr/models/event_loggable.rb +36 -0
  73. data/lib/ddr/models/file_management.rb +183 -0
  74. data/lib/ddr/models/fixity_checkable.rb +20 -0
  75. data/lib/ddr/models/governable.rb +48 -0
  76. data/lib/ddr/models/has_attachments.rb +12 -0
  77. data/lib/ddr/models/has_children.rb +21 -0
  78. data/lib/ddr/models/has_content.rb +114 -0
  79. data/lib/ddr/models/has_content_metadata.rb +16 -0
  80. data/lib/ddr/models/has_properties.rb +15 -0
  81. data/lib/ddr/models/has_role_assignments.rb +17 -0
  82. data/lib/ddr/models/has_thumbnail.rb +27 -0
  83. data/lib/ddr/models/has_workflow.rb +29 -0
  84. data/lib/ddr/models/indexing.rb +53 -0
  85. data/lib/ddr/models/licensable.rb +28 -0
  86. data/lib/ddr/models/minted_id.rb +10 -0
  87. data/lib/ddr/models/permanent_identification.rb +48 -0
  88. data/lib/ddr/models/solr_document.rb +193 -0
  89. data/lib/ddr/models/version.rb +5 -0
  90. data/lib/ddr/notifications.rb +15 -0
  91. data/lib/ddr/services.rb +8 -0
  92. data/lib/ddr/services/id_service.rb +48 -0
  93. data/lib/ddr/utils.rb +153 -0
  94. data/lib/ddr/workflow.rb +8 -0
  95. data/lib/ddr/workflow/workflow_state.rb +39 -0
  96. data/spec/dummy/README.rdoc +28 -0
  97. data/spec/dummy/Rakefile +6 -0
  98. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  99. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  100. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  101. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  102. data/spec/dummy/app/models/user.rb +5 -0
  103. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  104. data/spec/dummy/bin/bundle +3 -0
  105. data/spec/dummy/bin/rails +4 -0
  106. data/spec/dummy/bin/rake +4 -0
  107. data/spec/dummy/config.ru +4 -0
  108. data/spec/dummy/config/application.rb +29 -0
  109. data/spec/dummy/config/boot.rb +5 -0
  110. data/spec/dummy/config/database.yml +25 -0
  111. data/spec/dummy/config/environment.rb +5 -0
  112. data/spec/dummy/config/environments/development.rb +37 -0
  113. data/spec/dummy/config/environments/production.rb +78 -0
  114. data/spec/dummy/config/environments/test.rb +39 -0
  115. data/spec/dummy/config/initializers/assets.rb +8 -0
  116. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  117. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  118. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  119. data/spec/dummy/config/initializers/inflections.rb +16 -0
  120. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  121. data/spec/dummy/config/initializers/session_store.rb +3 -0
  122. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  123. data/spec/dummy/config/locales/en.yml +23 -0
  124. data/spec/dummy/config/routes.rb +56 -0
  125. data/spec/dummy/config/secrets.yml +22 -0
  126. data/spec/dummy/db/development.sqlite3 +0 -0
  127. data/spec/dummy/db/schema.rb +80 -0
  128. data/spec/dummy/db/test.sqlite3 +0 -0
  129. data/spec/dummy/log/development.log +4974 -0
  130. data/spec/dummy/log/test.log +55627 -0
  131. data/spec/dummy/public/404.html +67 -0
  132. data/spec/dummy/public/422.html +67 -0
  133. data/spec/dummy/public/500.html +66 -0
  134. data/spec/dummy/public/favicon.ico +0 -0
  135. data/spec/factories/attachment_factories.rb +15 -0
  136. data/spec/factories/collection_factories.rb +16 -0
  137. data/spec/factories/component_factories.rb +15 -0
  138. data/spec/factories/event_factories.rb +7 -0
  139. data/spec/factories/item_factories.rb +16 -0
  140. data/spec/factories/target_factories.rb +11 -0
  141. data/spec/factories/test_model_factories.rb +133 -0
  142. data/spec/factories/user_factories.rb +7 -0
  143. data/spec/factories/user_factories.rb~ +7 -0
  144. data/spec/features/grouper_integration_spec.rb~ +21 -0
  145. data/spec/fixtures/contentMetadata.xml +37 -0
  146. data/spec/fixtures/image1.tiff +0 -0
  147. data/spec/fixtures/image2.tiff +0 -0
  148. data/spec/fixtures/image3.tiff +0 -0
  149. data/spec/fixtures/library-devil.tiff +0 -0
  150. data/spec/fixtures/sample.docx +0 -0
  151. data/spec/fixtures/sample.pdf +0 -0
  152. data/spec/fixtures/target.png +0 -0
  153. data/spec/models/ability_spec.rb +248 -0
  154. data/spec/models/ability_spec.rb~ +245 -0
  155. data/spec/models/active_fedora_base_spec.rb +107 -0
  156. data/spec/models/active_fedora_datastream_spec.rb +121 -0
  157. data/spec/models/attachment_spec.rb +13 -0
  158. data/spec/models/collection_spec.rb +33 -0
  159. data/spec/models/component_spec.rb +8 -0
  160. data/spec/models/descriptive_metadata_datastream_spec.rb +102 -0
  161. data/spec/models/events_spec.rb +64 -0
  162. data/spec/models/file_management_spec.rb +179 -0
  163. data/spec/models/has_role_assignments_spec.rb +29 -0
  164. data/spec/models/has_workflow_spec.rb +54 -0
  165. data/spec/models/item_spec.rb +8 -0
  166. data/spec/models/permanent_identification_spec.rb +65 -0
  167. data/spec/models/role_assignments_datastream_spec.rb +25 -0
  168. data/spec/models/superuser_spec.rb +13 -0
  169. data/spec/models/superuser_spec.rb~ +13 -0
  170. data/spec/models/target_spec.rb +8 -0
  171. data/spec/models/user_spec.rb +60 -0
  172. data/spec/models/user_spec.rb~ +56 -0
  173. data/spec/services/group_service_spec.rb +75 -0
  174. data/spec/services/group_service_spec.rb~ +71 -0
  175. data/spec/services/id_service_spec.rb +33 -0
  176. data/spec/spec_helper.rb +125 -0
  177. data/spec/support/shared_examples_for_access_controllables.rb +6 -0
  178. data/spec/support/shared_examples_for_associations.rb +8 -0
  179. data/spec/support/shared_examples_for_ddr_models.rb +7 -0
  180. data/spec/support/shared_examples_for_describables.rb +63 -0
  181. data/spec/support/shared_examples_for_event_loggables.rb +3 -0
  182. data/spec/support/shared_examples_for_events.rb +179 -0
  183. data/spec/support/shared_examples_for_governables.rb +17 -0
  184. data/spec/support/shared_examples_for_has_content.rb +136 -0
  185. data/spec/support/shared_examples_for_has_content_metadata.rb +74 -0
  186. data/spec/support/shared_examples_for_has_properties.rb +5 -0
  187. data/spec/support/shared_examples_for_indexing.rb +36 -0
  188. metadata +562 -0
metadata ADDED
@@ -0,0 +1,562 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ddr-models
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Jim Coble
8
+ - David Chandek-Stark
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-11-06 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: 4.1.6
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 4.1.6
28
+ - !ruby/object:Gem::Dependency
29
+ name: active-fedora
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '7.0'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '7.0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: hydra-core
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '7.2'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '7.2'
56
+ - !ruby/object:Gem::Dependency
57
+ name: hydra-derivatives
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: hydra-validations
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: clamav
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ type: :runtime
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: noid
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: '0.7'
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '0.7'
112
+ - !ruby/object:Gem::Dependency
113
+ name: ddr-antivirus
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - "~>"
117
+ - !ruby/object:Gem::Version
118
+ version: '1.2'
119
+ type: :runtime
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: '1.2'
126
+ - !ruby/object:Gem::Dependency
127
+ name: devise-remote-user
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ type: :runtime
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ - !ruby/object:Gem::Dependency
141
+ name: grouper-rest-client
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ type: :runtime
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ - !ruby/object:Gem::Dependency
155
+ name: bundler
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - "~>"
159
+ - !ruby/object:Gem::Version
160
+ version: '1.7'
161
+ type: :development
162
+ prerelease: false
163
+ version_requirements: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - "~>"
166
+ - !ruby/object:Gem::Version
167
+ version: '1.7'
168
+ - !ruby/object:Gem::Dependency
169
+ name: rake
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ type: :development
176
+ prerelease: false
177
+ version_requirements: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ - !ruby/object:Gem::Dependency
183
+ name: sqlite3
184
+ requirement: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ type: :development
190
+ prerelease: false
191
+ version_requirements: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ">="
194
+ - !ruby/object:Gem::Version
195
+ version: '0'
196
+ - !ruby/object:Gem::Dependency
197
+ name: rspec-rails
198
+ requirement: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - "~>"
201
+ - !ruby/object:Gem::Version
202
+ version: '3.1'
203
+ type: :development
204
+ prerelease: false
205
+ version_requirements: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - "~>"
208
+ - !ruby/object:Gem::Version
209
+ version: '3.1'
210
+ - !ruby/object:Gem::Dependency
211
+ name: factory_girl_rails
212
+ requirement: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - "~>"
215
+ - !ruby/object:Gem::Version
216
+ version: '4.4'
217
+ type: :development
218
+ prerelease: false
219
+ version_requirements: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - "~>"
222
+ - !ruby/object:Gem::Version
223
+ version: '4.4'
224
+ - !ruby/object:Gem::Dependency
225
+ name: jettywrapper
226
+ requirement: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - ">="
229
+ - !ruby/object:Gem::Version
230
+ version: '0'
231
+ type: :development
232
+ prerelease: false
233
+ version_requirements: !ruby/object:Gem::Requirement
234
+ requirements:
235
+ - - ">="
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
238
+ - !ruby/object:Gem::Dependency
239
+ name: database_cleaner
240
+ requirement: !ruby/object:Gem::Requirement
241
+ requirements:
242
+ - - ">="
243
+ - !ruby/object:Gem::Version
244
+ version: '0'
245
+ type: :development
246
+ prerelease: false
247
+ version_requirements: !ruby/object:Gem::Requirement
248
+ requirements:
249
+ - - ">="
250
+ - !ruby/object:Gem::Version
251
+ version: '0'
252
+ description: Models used in the Duke Digital Repository
253
+ email:
254
+ - lib-drs@duke.edu
255
+ executables: []
256
+ extensions: []
257
+ extra_rdoc_files: []
258
+ files:
259
+ - LICENSE.txt
260
+ - README.md
261
+ - Rakefile
262
+ - app/models/attachment.rb
263
+ - app/models/collection.rb
264
+ - app/models/component.rb
265
+ - app/models/item.rb
266
+ - app/models/solr_document.rb
267
+ - app/models/target.rb
268
+ - config/initializers/active_fedora_base.rb
269
+ - config/initializers/active_fedora_datastream.rb
270
+ - config/initializers/ddr.rb
271
+ - config/initializers/devise.rb
272
+ - config/initializers/devise.rb~
273
+ - config/initializers/subscriptions.rb
274
+ - config/routes.rb
275
+ - db/migrate/20141021233359_create_events.rb
276
+ - db/migrate/20141021234156_create_minted_ids.rb
277
+ - db/migrate/20141103192146_create_workflow_state.rb
278
+ - db/migrate/20141104181418_create_users.rb
279
+ - db/migrate/20141104181418_create_users.rb~
280
+ - lib/ddr-models.rb
281
+ - lib/ddr/actions.rb
282
+ - lib/ddr/actions/fixity_check.rb
283
+ - lib/ddr/auth.rb
284
+ - lib/ddr/auth.rb~
285
+ - lib/ddr/auth/ability.rb
286
+ - lib/ddr/auth/ability.rb~
287
+ - lib/ddr/auth/group_service.rb
288
+ - lib/ddr/auth/group_service.rb~
289
+ - lib/ddr/auth/grouper_service.rb
290
+ - lib/ddr/auth/grouper_service.rb~
291
+ - lib/ddr/auth/remote_group_service.rb
292
+ - lib/ddr/auth/remote_group_service.rb~
293
+ - lib/ddr/auth/superuser.rb
294
+ - lib/ddr/auth/superuser.rb~
295
+ - lib/ddr/auth/user.rb
296
+ - lib/ddr/auth/user.rb~
297
+ - lib/ddr/configurable.rb
298
+ - lib/ddr/datastreams.rb
299
+ - lib/ddr/datastreams/content_metadata_datastream.rb
300
+ - lib/ddr/datastreams/datastream_behavior.rb
301
+ - lib/ddr/datastreams/descriptive_metadata_datastream.rb
302
+ - lib/ddr/datastreams/properties_datastream.rb
303
+ - lib/ddr/datastreams/role_assignments_datastream.rb
304
+ - lib/ddr/events.rb
305
+ - lib/ddr/events/creation_event.rb
306
+ - lib/ddr/events/event.rb
307
+ - lib/ddr/events/fixity_check_event.rb
308
+ - lib/ddr/events/ingestion_event.rb
309
+ - lib/ddr/events/preservation_event_behavior.rb
310
+ - lib/ddr/events/preservation_event_type.rb
311
+ - lib/ddr/events/reindex_object_after_save.rb
312
+ - lib/ddr/events/update_event.rb
313
+ - lib/ddr/events/validation_event.rb
314
+ - lib/ddr/events/virus_check_event.rb
315
+ - lib/ddr/index_fields.rb
316
+ - lib/ddr/metadata.rb
317
+ - lib/ddr/metadata/duke_terms.rb
318
+ - lib/ddr/metadata/premis_event.rb
319
+ - lib/ddr/metadata/rdf_vocabulary_parser.rb
320
+ - lib/ddr/metadata/roles_vocabulary.rb
321
+ - lib/ddr/metadata/sources/duketerms.rdf.xml
322
+ - lib/ddr/metadata/vocabulary.rb
323
+ - lib/ddr/models.rb
324
+ - lib/ddr/models/access_controllable.rb
325
+ - lib/ddr/models/base.rb
326
+ - lib/ddr/models/describable.rb
327
+ - lib/ddr/models/engine.rb
328
+ - lib/ddr/models/error.rb
329
+ - lib/ddr/models/event_loggable.rb
330
+ - lib/ddr/models/file_management.rb
331
+ - lib/ddr/models/fixity_checkable.rb
332
+ - lib/ddr/models/governable.rb
333
+ - lib/ddr/models/has_attachments.rb
334
+ - lib/ddr/models/has_children.rb
335
+ - lib/ddr/models/has_content.rb
336
+ - lib/ddr/models/has_content_metadata.rb
337
+ - lib/ddr/models/has_properties.rb
338
+ - lib/ddr/models/has_role_assignments.rb
339
+ - lib/ddr/models/has_thumbnail.rb
340
+ - lib/ddr/models/has_workflow.rb
341
+ - lib/ddr/models/indexing.rb
342
+ - lib/ddr/models/licensable.rb
343
+ - lib/ddr/models/minted_id.rb
344
+ - lib/ddr/models/permanent_identification.rb
345
+ - lib/ddr/models/solr_document.rb
346
+ - lib/ddr/models/version.rb
347
+ - lib/ddr/notifications.rb
348
+ - lib/ddr/services.rb
349
+ - lib/ddr/services/id_service.rb
350
+ - lib/ddr/utils.rb
351
+ - lib/ddr/workflow.rb
352
+ - lib/ddr/workflow/workflow_state.rb
353
+ - spec/dummy/README.rdoc
354
+ - spec/dummy/Rakefile
355
+ - spec/dummy/app/assets/javascripts/application.js
356
+ - spec/dummy/app/assets/stylesheets/application.css
357
+ - spec/dummy/app/controllers/application_controller.rb
358
+ - spec/dummy/app/helpers/application_helper.rb
359
+ - spec/dummy/app/models/user.rb
360
+ - spec/dummy/app/views/layouts/application.html.erb
361
+ - spec/dummy/bin/bundle
362
+ - spec/dummy/bin/rails
363
+ - spec/dummy/bin/rake
364
+ - spec/dummy/config.ru
365
+ - spec/dummy/config/application.rb
366
+ - spec/dummy/config/boot.rb
367
+ - spec/dummy/config/database.yml
368
+ - spec/dummy/config/environment.rb
369
+ - spec/dummy/config/environments/development.rb
370
+ - spec/dummy/config/environments/production.rb
371
+ - spec/dummy/config/environments/test.rb
372
+ - spec/dummy/config/initializers/assets.rb
373
+ - spec/dummy/config/initializers/backtrace_silencers.rb
374
+ - spec/dummy/config/initializers/cookies_serializer.rb
375
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
376
+ - spec/dummy/config/initializers/inflections.rb
377
+ - spec/dummy/config/initializers/mime_types.rb
378
+ - spec/dummy/config/initializers/session_store.rb
379
+ - spec/dummy/config/initializers/wrap_parameters.rb
380
+ - spec/dummy/config/locales/en.yml
381
+ - spec/dummy/config/routes.rb
382
+ - spec/dummy/config/secrets.yml
383
+ - spec/dummy/db/development.sqlite3
384
+ - spec/dummy/db/schema.rb
385
+ - spec/dummy/db/test.sqlite3
386
+ - spec/dummy/log/development.log
387
+ - spec/dummy/log/test.log
388
+ - spec/dummy/public/404.html
389
+ - spec/dummy/public/422.html
390
+ - spec/dummy/public/500.html
391
+ - spec/dummy/public/favicon.ico
392
+ - spec/factories/attachment_factories.rb
393
+ - spec/factories/collection_factories.rb
394
+ - spec/factories/component_factories.rb
395
+ - spec/factories/event_factories.rb
396
+ - spec/factories/item_factories.rb
397
+ - spec/factories/target_factories.rb
398
+ - spec/factories/test_model_factories.rb
399
+ - spec/factories/user_factories.rb
400
+ - spec/factories/user_factories.rb~
401
+ - spec/features/grouper_integration_spec.rb~
402
+ - spec/fixtures/contentMetadata.xml
403
+ - spec/fixtures/image1.tiff
404
+ - spec/fixtures/image2.tiff
405
+ - spec/fixtures/image3.tiff
406
+ - spec/fixtures/library-devil.tiff
407
+ - spec/fixtures/sample.docx
408
+ - spec/fixtures/sample.pdf
409
+ - spec/fixtures/target.png
410
+ - spec/models/ability_spec.rb
411
+ - spec/models/ability_spec.rb~
412
+ - spec/models/active_fedora_base_spec.rb
413
+ - spec/models/active_fedora_datastream_spec.rb
414
+ - spec/models/attachment_spec.rb
415
+ - spec/models/collection_spec.rb
416
+ - spec/models/component_spec.rb
417
+ - spec/models/descriptive_metadata_datastream_spec.rb
418
+ - spec/models/events_spec.rb
419
+ - spec/models/file_management_spec.rb
420
+ - spec/models/has_role_assignments_spec.rb
421
+ - spec/models/has_workflow_spec.rb
422
+ - spec/models/item_spec.rb
423
+ - spec/models/permanent_identification_spec.rb
424
+ - spec/models/role_assignments_datastream_spec.rb
425
+ - spec/models/superuser_spec.rb
426
+ - spec/models/superuser_spec.rb~
427
+ - spec/models/target_spec.rb
428
+ - spec/models/user_spec.rb
429
+ - spec/models/user_spec.rb~
430
+ - spec/services/group_service_spec.rb
431
+ - spec/services/group_service_spec.rb~
432
+ - spec/services/id_service_spec.rb
433
+ - spec/spec_helper.rb
434
+ - spec/support/shared_examples_for_access_controllables.rb
435
+ - spec/support/shared_examples_for_associations.rb
436
+ - spec/support/shared_examples_for_ddr_models.rb
437
+ - spec/support/shared_examples_for_describables.rb
438
+ - spec/support/shared_examples_for_event_loggables.rb
439
+ - spec/support/shared_examples_for_events.rb
440
+ - spec/support/shared_examples_for_governables.rb
441
+ - spec/support/shared_examples_for_has_content.rb
442
+ - spec/support/shared_examples_for_has_content_metadata.rb
443
+ - spec/support/shared_examples_for_has_properties.rb
444
+ - spec/support/shared_examples_for_indexing.rb
445
+ homepage: https://github.com/duke-libraries/ddr-models
446
+ licenses:
447
+ - BSD-3-Clause
448
+ metadata: {}
449
+ post_install_message:
450
+ rdoc_options: []
451
+ require_paths:
452
+ - lib
453
+ - app/models
454
+ required_ruby_version: !ruby/object:Gem::Requirement
455
+ requirements:
456
+ - - ">="
457
+ - !ruby/object:Gem::Version
458
+ version: '0'
459
+ required_rubygems_version: !ruby/object:Gem::Requirement
460
+ requirements:
461
+ - - ">="
462
+ - !ruby/object:Gem::Version
463
+ version: '0'
464
+ requirements: []
465
+ rubyforge_project:
466
+ rubygems_version: 2.2.2
467
+ signing_key:
468
+ specification_version: 4
469
+ summary: Models used in the Duke Digital Repository
470
+ test_files:
471
+ - spec/dummy/app/assets/javascripts/application.js
472
+ - spec/dummy/app/assets/stylesheets/application.css
473
+ - spec/dummy/app/controllers/application_controller.rb
474
+ - spec/dummy/app/helpers/application_helper.rb
475
+ - spec/dummy/app/models/user.rb
476
+ - spec/dummy/app/views/layouts/application.html.erb
477
+ - spec/dummy/bin/bundle
478
+ - spec/dummy/bin/rails
479
+ - spec/dummy/bin/rake
480
+ - spec/dummy/config/application.rb
481
+ - spec/dummy/config/boot.rb
482
+ - spec/dummy/config/database.yml
483
+ - spec/dummy/config/environment.rb
484
+ - spec/dummy/config/environments/development.rb
485
+ - spec/dummy/config/environments/production.rb
486
+ - spec/dummy/config/environments/test.rb
487
+ - spec/dummy/config/initializers/assets.rb
488
+ - spec/dummy/config/initializers/backtrace_silencers.rb
489
+ - spec/dummy/config/initializers/cookies_serializer.rb
490
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
491
+ - spec/dummy/config/initializers/inflections.rb
492
+ - spec/dummy/config/initializers/mime_types.rb
493
+ - spec/dummy/config/initializers/session_store.rb
494
+ - spec/dummy/config/initializers/wrap_parameters.rb
495
+ - spec/dummy/config/locales/en.yml
496
+ - spec/dummy/config/routes.rb
497
+ - spec/dummy/config/secrets.yml
498
+ - spec/dummy/config.ru
499
+ - spec/dummy/db/development.sqlite3
500
+ - spec/dummy/db/schema.rb
501
+ - spec/dummy/db/test.sqlite3
502
+ - spec/dummy/log/development.log
503
+ - spec/dummy/log/test.log
504
+ - spec/dummy/public/404.html
505
+ - spec/dummy/public/422.html
506
+ - spec/dummy/public/500.html
507
+ - spec/dummy/public/favicon.ico
508
+ - spec/dummy/Rakefile
509
+ - spec/dummy/README.rdoc
510
+ - spec/factories/attachment_factories.rb
511
+ - spec/factories/collection_factories.rb
512
+ - spec/factories/component_factories.rb
513
+ - spec/factories/event_factories.rb
514
+ - spec/factories/item_factories.rb
515
+ - spec/factories/target_factories.rb
516
+ - spec/factories/test_model_factories.rb
517
+ - spec/factories/user_factories.rb
518
+ - spec/factories/user_factories.rb~
519
+ - spec/features/grouper_integration_spec.rb~
520
+ - spec/fixtures/contentMetadata.xml
521
+ - spec/fixtures/image1.tiff
522
+ - spec/fixtures/image2.tiff
523
+ - spec/fixtures/image3.tiff
524
+ - spec/fixtures/library-devil.tiff
525
+ - spec/fixtures/sample.docx
526
+ - spec/fixtures/sample.pdf
527
+ - spec/fixtures/target.png
528
+ - spec/models/ability_spec.rb
529
+ - spec/models/ability_spec.rb~
530
+ - spec/models/active_fedora_base_spec.rb
531
+ - spec/models/active_fedora_datastream_spec.rb
532
+ - spec/models/attachment_spec.rb
533
+ - spec/models/collection_spec.rb
534
+ - spec/models/component_spec.rb
535
+ - spec/models/descriptive_metadata_datastream_spec.rb
536
+ - spec/models/events_spec.rb
537
+ - spec/models/file_management_spec.rb
538
+ - spec/models/has_role_assignments_spec.rb
539
+ - spec/models/has_workflow_spec.rb
540
+ - spec/models/item_spec.rb
541
+ - spec/models/permanent_identification_spec.rb
542
+ - spec/models/role_assignments_datastream_spec.rb
543
+ - spec/models/superuser_spec.rb
544
+ - spec/models/superuser_spec.rb~
545
+ - spec/models/target_spec.rb
546
+ - spec/models/user_spec.rb
547
+ - spec/models/user_spec.rb~
548
+ - spec/services/group_service_spec.rb
549
+ - spec/services/group_service_spec.rb~
550
+ - spec/services/id_service_spec.rb
551
+ - spec/spec_helper.rb
552
+ - spec/support/shared_examples_for_access_controllables.rb
553
+ - spec/support/shared_examples_for_associations.rb
554
+ - spec/support/shared_examples_for_ddr_models.rb
555
+ - spec/support/shared_examples_for_describables.rb
556
+ - spec/support/shared_examples_for_event_loggables.rb
557
+ - spec/support/shared_examples_for_events.rb
558
+ - spec/support/shared_examples_for_governables.rb
559
+ - spec/support/shared_examples_for_has_content.rb
560
+ - spec/support/shared_examples_for_has_content_metadata.rb
561
+ - spec/support/shared_examples_for_has_properties.rb
562
+ - spec/support/shared_examples_for_indexing.rb