zizia 3.1.0.alpha.01 → 4.0.0.alpha.01

Sign up to get free protection for your applications and to get access to all the features.
Files changed (199) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -3
  3. data/lib/zizia/engine.rb +8 -0
  4. data/lib/zizia/{hyrax_basic_metadata_mapper.rb → hyrax/hyrax_basic_metadata_mapper.rb} +0 -0
  5. data/lib/zizia/hyrax/hyrax_default_updater.rb +11 -0
  6. data/lib/zizia/hyrax/hyrax_delete_files_updater.rb +16 -0
  7. data/lib/zizia/hyrax/hyrax_metadata_only_updater.rb +58 -0
  8. data/lib/zizia/{hyrax_record_importer.rb → hyrax/hyrax_record_importer.rb} +45 -56
  9. data/lib/zizia/{metadata_only_stack.rb → hyrax/metadata_only_stack.rb} +0 -0
  10. data/lib/zizia/version.rb +1 -1
  11. data/lib/zizia.rb +6 -3
  12. metadata +371 -213
  13. data/.circleci/config.yml +0 -44
  14. data/.gitignore +0 -16
  15. data/.rubocop.yml +0 -81
  16. data/.rubocop_todo.yml +0 -21
  17. data/.solr_wrapper +0 -8
  18. data/.travis.yml +0 -12
  19. data/Gemfile +0 -14
  20. data/Rakefile +0 -38
  21. data/app/assets/config/zizia_manifest.js +0 -2
  22. data/app/assets/images/zizia/.keep +0 -0
  23. data/app/assets/javascripts/zizia/DisplayUploadedFile.es6 +0 -43
  24. data/app/assets/javascripts/zizia/application.js +0 -13
  25. data/app/assets/javascripts/zizia/zizia.js +0 -6
  26. data/app/assets/stylesheets/zizia/_file_upload.scss +0 -17
  27. data/app/assets/stylesheets/zizia/application.css +0 -15
  28. data/app/assets/stylesheets/zizia/zizia.scss +0 -1
  29. data/app/controllers/zizia/application_controller.rb +0 -6
  30. data/app/controllers/zizia/csv_imports_controller.rb +0 -53
  31. data/app/controllers/zizia/importer_documentation_controller.rb +0 -11
  32. data/app/helpers/importer_documentation_helper.rb +0 -13
  33. data/app/helpers/zizia/application_helper.rb +0 -14
  34. data/app/importers/modular_importer.rb +0 -31
  35. data/app/jobs/zizia/application_job.rb +0 -5
  36. data/app/jobs/zizia/start_csv_import_job.rb +0 -14
  37. data/app/models/zizia/application_record.rb +0 -6
  38. data/app/models/zizia/csv_import.rb +0 -21
  39. data/app/models/zizia/csv_import_detail.rb +0 -13
  40. data/app/models/zizia/pre_ingest_file.rb +0 -6
  41. data/app/models/zizia/pre_ingest_work.rb +0 -6
  42. data/app/uploaders/zizia/csv_manifest_uploader.rb +0 -62
  43. data/app/uploaders/zizia/csv_manifest_validator.rb +0 -163
  44. data/app/views/layouts/zizia/application.html.erb +0 -14
  45. data/app/views/zizia/csv_imports/_actions.html.erb +0 -3
  46. data/app/views/zizia/csv_imports/_collection_selection.html.erb +0 -3
  47. data/app/views/zizia/csv_imports/_error.html.erb +0 -10
  48. data/app/views/zizia/csv_imports/_file_upload.html.erb +0 -3
  49. data/app/views/zizia/csv_imports/_form.html.erb +0 -75
  50. data/app/views/zizia/csv_imports/_no_collection.html.erb +0 -7
  51. data/app/views/zizia/csv_imports/_record_count.html.erb +0 -7
  52. data/app/views/zizia/csv_imports/_start_import_form.html.erb +0 -9
  53. data/app/views/zizia/csv_imports/index.html.erb +0 -21
  54. data/app/views/zizia/csv_imports/new.html.erb +0 -2
  55. data/app/views/zizia/csv_imports/preview.html.erb +0 -76
  56. data/app/views/zizia/csv_imports/show.html.erb +0 -31
  57. data/app/views/zizia/importer_documentation/guide.html.erb +0 -1
  58. data/bin/rails +0 -15
  59. data/config/routes.rb +0 -9
  60. data/db/migrate/201901162141281_create_zizia_csv_imports.rb +0 -10
  61. data/db/migrate/201901162203121_add_manifest_to_zizia_csv_imports.rb +0 -6
  62. data/db/migrate/201901241536541_add_fedora_collection_id_to_zizia_csv_imports.rb +0 -5
  63. data/db/migrate/20190911133657_create_zizia_pre_ingest_files.rb +0 -12
  64. data/db/migrate/20190911134002_create_zizia_pre_ingest_works.rb +0 -9
  65. data/db/migrate/20190911142616_create_zizia_csv_import_details.rb +0 -8
  66. data/docs/_config.yml +0 -1
  67. data/docs/customizing_metadata.md +0 -41
  68. data/docs/index.md +0 -113
  69. data/log/.keep +0 -0
  70. data/solr/config/_rest_managed.json +0 -3
  71. data/solr/config/admin-extra.html +0 -31
  72. data/solr/config/elevate.xml +0 -36
  73. data/solr/config/mapping-ISOLatin1Accent.txt +0 -246
  74. data/solr/config/protwords.txt +0 -21
  75. data/solr/config/routes.rb +0 -9
  76. data/solr/config/schema.xml +0 -366
  77. data/solr/config/scripts.conf +0 -24
  78. data/solr/config/solrconfig.xml +0 -322
  79. data/solr/config/spellings.txt +0 -2
  80. data/solr/config/stopwords.txt +0 -58
  81. data/solr/config/stopwords_en.txt +0 -58
  82. data/solr/config/synonyms.txt +0 -31
  83. data/solr/config/xslt/example.xsl +0 -132
  84. data/solr/config/xslt/example_atom.xsl +0 -67
  85. data/solr/config/xslt/example_rss.xsl +0 -66
  86. data/solr/config/xslt/luke.xsl +0 -337
  87. data/spec/controllers/importer_documentation_controller_spec.rb +0 -14
  88. data/spec/dummy/.gitignore +0 -23
  89. data/spec/dummy/Gemfile +0 -57
  90. data/spec/dummy/README.md +0 -24
  91. data/spec/dummy/Rakefile +0 -6
  92. data/spec/dummy/app/assets/config/manifest.js +0 -3
  93. data/spec/dummy/app/assets/csv/import_manifest.csv +0 -1
  94. data/spec/dummy/app/assets/images/.keep +0 -0
  95. data/spec/dummy/app/assets/javascripts/application.js +0 -15
  96. data/spec/dummy/app/assets/javascripts/cable.js +0 -13
  97. data/spec/dummy/app/assets/javascripts/channels/.keep +0 -0
  98. data/spec/dummy/app/assets/markdown/importer_guide.md +0 -256
  99. data/spec/dummy/app/assets/stylesheets/application.css +0 -15
  100. data/spec/dummy/app/channels/application_cable/channel.rb +0 -4
  101. data/spec/dummy/app/channels/application_cable/connection.rb +0 -4
  102. data/spec/dummy/app/controllers/application_controller.rb +0 -3
  103. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  104. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  105. data/spec/dummy/app/jobs/application_job.rb +0 -2
  106. data/spec/dummy/app/mailers/application_mailer.rb +0 -4
  107. data/spec/dummy/app/models/application_record.rb +0 -3
  108. data/spec/dummy/app/models/concerns/.keep +0 -0
  109. data/spec/dummy/app/models/user.rb +0 -2
  110. data/spec/dummy/app/views/layouts/application.html.erb +0 -14
  111. data/spec/dummy/app/views/layouts/mailer.html.erb +0 -13
  112. data/spec/dummy/app/views/layouts/mailer.text.erb +0 -1
  113. data/spec/dummy/bin/bundle +0 -3
  114. data/spec/dummy/bin/rails +0 -9
  115. data/spec/dummy/bin/rake +0 -9
  116. data/spec/dummy/bin/setup +0 -38
  117. data/spec/dummy/bin/spring +0 -17
  118. data/spec/dummy/bin/update +0 -29
  119. data/spec/dummy/bin/yarn +0 -11
  120. data/spec/dummy/config/application.rb +0 -18
  121. data/spec/dummy/config/boot.rb +0 -3
  122. data/spec/dummy/config/cable.yml +0 -10
  123. data/spec/dummy/config/database.yml +0 -25
  124. data/spec/dummy/config/environment.rb +0 -5
  125. data/spec/dummy/config/environments/development.rb +0 -54
  126. data/spec/dummy/config/environments/production.rb +0 -91
  127. data/spec/dummy/config/environments/test.rb +0 -42
  128. data/spec/dummy/config/initializers/application_controller_renderer.rb +0 -8
  129. data/spec/dummy/config/initializers/assets.rb +0 -14
  130. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  131. data/spec/dummy/config/initializers/cookies_serializer.rb +0 -5
  132. data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  133. data/spec/dummy/config/initializers/inflections.rb +0 -16
  134. data/spec/dummy/config/initializers/mime_types.rb +0 -4
  135. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  136. data/spec/dummy/config/locales/en.yml +0 -33
  137. data/spec/dummy/config/puma.rb +0 -56
  138. data/spec/dummy/config/routes.rb +0 -4
  139. data/spec/dummy/config/secrets.yml +0 -32
  140. data/spec/dummy/config/spring.rb +0 -6
  141. data/spec/dummy/config.ru +0 -5
  142. data/spec/dummy/db/migrate/20190911165049_create_users.rb +0 -8
  143. data/spec/dummy/db/schema.rb +0 -55
  144. data/spec/dummy/db/seeds.rb +0 -7
  145. data/spec/dummy/lib/assets/.keep +0 -0
  146. data/spec/dummy/lib/tasks/.keep +0 -0
  147. data/spec/dummy/log/.keep +0 -0
  148. data/spec/dummy/package.json +0 -5
  149. data/spec/dummy/public/404.html +0 -67
  150. data/spec/dummy/public/422.html +0 -67
  151. data/spec/dummy/public/500.html +0 -66
  152. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  153. data/spec/dummy/public/apple-touch-icon.png +0 -0
  154. data/spec/dummy/public/favicon.ico +0 -0
  155. data/spec/dummy/public/robots.txt +0 -1
  156. data/spec/dummy/test/application_system_test_case.rb +0 -5
  157. data/spec/dummy/test/controllers/.keep +0 -0
  158. data/spec/dummy/test/fixtures/.keep +0 -0
  159. data/spec/dummy/test/fixtures/files/.keep +0 -0
  160. data/spec/dummy/test/fixtures/users.yml +0 -11
  161. data/spec/dummy/test/helpers/.keep +0 -0
  162. data/spec/dummy/test/integration/.keep +0 -0
  163. data/spec/dummy/test/mailers/.keep +0 -0
  164. data/spec/dummy/test/models/.keep +0 -0
  165. data/spec/dummy/test/models/user_test.rb +0 -7
  166. data/spec/dummy/test/system/.keep +0 -0
  167. data/spec/dummy/test/test_helper.rb +0 -10
  168. data/spec/dummy/vendor/.keep +0 -0
  169. data/spec/fixtures/bad_example.csv +0 -2
  170. data/spec/fixtures/dog.jpg +0 -0
  171. data/spec/fixtures/example.csv +0 -4
  172. data/spec/fixtures/hyrax/example.csv +0 -3
  173. data/spec/fixtures/images/animals/cat.png +0 -0
  174. data/spec/fixtures/images/zizia.png +0 -0
  175. data/spec/fixtures/zizia.png +0 -0
  176. data/spec/integration/csv_import_detail_spec.rb +0 -48
  177. data/spec/integration/import_csv_spec.rb +0 -27
  178. data/spec/integration/import_hyrax_csv.rb +0 -71
  179. data/spec/models/csv_import_spec.rb +0 -18
  180. data/spec/spec_helper.rb +0 -31
  181. data/spec/support/hyrax/basic_metadata.rb +0 -30
  182. data/spec/support/hyrax/core_metadata.rb +0 -15
  183. data/spec/support/shared_contexts/with_work_type.rb +0 -101
  184. data/spec/uploaders/csv_manifest_uploader_spec.rb +0 -30
  185. data/spec/views/zizia/importer_documentation/guide.html.erb_spec.rb +0 -13
  186. data/spec/zizia/csv_format_validator_spec.rb +0 -38
  187. data/spec/zizia/csv_parser_spec.rb +0 -73
  188. data/spec/zizia/csv_template_spec.rb +0 -15
  189. data/spec/zizia/hash_mapper_spec.rb +0 -8
  190. data/spec/zizia/hyrax_basic_metadata_mapper_spec.rb +0 -190
  191. data/spec/zizia/hyrax_record_importer_spec.rb +0 -176
  192. data/spec/zizia/importer_spec.rb +0 -46
  193. data/spec/zizia/input_record_spec.rb +0 -71
  194. data/spec/zizia/record_importer_spec.rb +0 -53
  195. data/spec/zizia/title_validator_spec.rb +0 -23
  196. data/spec/zizia/validator_spec.rb +0 -9
  197. data/spec/zizia/version_spec.rb +0 -7
  198. data/spec/zizia_spec.rb +0 -20
  199. data/zizia.gemspec +0 -42
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zizia
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.alpha.01
4
+ version: 4.0.0.alpha.01
5
5
  platform: ruby
6
6
  authors:
7
7
  - Data Curation Experts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-12 00:00:00.000000000 Z
11
+ date: 2019-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active-fedora
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 5.1.7
33
+ version: 5.1.4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 5.1.7
40
+ version: 5.1.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: carrierwave
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -67,21 +67,77 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: sassc-rails
70
+ name: bixby
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: bootstrap-sass
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.0'
76
90
  type: :runtime
77
91
  prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: byebug
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
78
106
  version_requirements: !ruby/object:Gem::Requirement
79
107
  requirements:
80
108
  - - ">="
81
109
  - !ruby/object:Gem::Version
82
110
  version: '0'
83
111
  - !ruby/object:Gem::Dependency
84
- name: yard
112
+ name: capybara
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '2.13'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '2.13'
125
+ - !ruby/object:Gem::Dependency
126
+ name: coffee-rails
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '4.2'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '4.2'
139
+ - !ruby/object:Gem::Dependency
140
+ name: coveralls
85
141
  requirement: !ruby/object:Gem::Requirement
86
142
  requirements:
87
143
  - - ">="
@@ -95,7 +151,63 @@ dependencies:
95
151
  - !ruby/object:Gem::Version
96
152
  version: '0'
97
153
  - !ruby/object:Gem::Dependency
98
- name: bixby
154
+ name: devise
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: devise-guests
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '0.6'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '0.6'
181
+ - !ruby/object:Gem::Dependency
182
+ name: factory_bot
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: fcrepo_wrapper
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: ffaker
99
211
  requirement: !ruby/object:Gem::Requirement
100
212
  requirements:
101
213
  - - ">="
@@ -108,14 +220,70 @@ dependencies:
108
220
  - - ">="
109
221
  - !ruby/object:Gem::Version
110
222
  version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: font-awesome-rails
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ">="
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ type: :runtime
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
237
+ - !ruby/object:Gem::Dependency
238
+ name: hydra-role-management
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - ">="
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
244
+ type: :runtime
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ version: '0'
111
251
  - !ruby/object:Gem::Dependency
112
252
  name: hyrax
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - '='
256
+ - !ruby/object:Gem::Version
257
+ version: 2.5.1
258
+ type: :runtime
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - '='
263
+ - !ruby/object:Gem::Version
264
+ version: 2.5.1
265
+ - !ruby/object:Gem::Dependency
266
+ name: hyrax-spec
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - ">="
270
+ - !ruby/object:Gem::Version
271
+ version: '0'
272
+ type: :development
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ version: '0'
279
+ - !ruby/object:Gem::Dependency
280
+ name: jbuilder
113
281
  requirement: !ruby/object:Gem::Requirement
114
282
  requirements:
115
283
  - - "~>"
116
284
  - !ruby/object:Gem::Version
117
285
  version: '2.5'
118
- type: :development
286
+ type: :runtime
119
287
  prerelease: false
120
288
  version_requirements: !ruby/object:Gem::Requirement
121
289
  requirements:
@@ -123,19 +291,95 @@ dependencies:
123
291
  - !ruby/object:Gem::Version
124
292
  version: '2.5'
125
293
  - !ruby/object:Gem::Dependency
126
- name: hyrax-spec
294
+ name: jquery-rails
127
295
  requirement: !ruby/object:Gem::Requirement
128
296
  requirements:
129
297
  - - ">="
130
298
  - !ruby/object:Gem::Version
131
299
  version: '0'
300
+ type: :runtime
301
+ prerelease: false
302
+ version_requirements: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - ">="
305
+ - !ruby/object:Gem::Version
306
+ version: '0'
307
+ - !ruby/object:Gem::Dependency
308
+ name: listen
309
+ requirement: !ruby/object:Gem::Requirement
310
+ requirements:
311
+ - - ">="
312
+ - !ruby/object:Gem::Version
313
+ version: 3.0.5
314
+ - - "<"
315
+ - !ruby/object:Gem::Version
316
+ version: '3.2'
317
+ type: :runtime
318
+ prerelease: false
319
+ version_requirements: !ruby/object:Gem::Requirement
320
+ requirements:
321
+ - - ">="
322
+ - !ruby/object:Gem::Version
323
+ version: 3.0.5
324
+ - - "<"
325
+ - !ruby/object:Gem::Version
326
+ version: '3.2'
327
+ - !ruby/object:Gem::Dependency
328
+ name: puma
329
+ requirement: !ruby/object:Gem::Requirement
330
+ requirements:
331
+ - - "~>"
332
+ - !ruby/object:Gem::Version
333
+ version: '3.7'
132
334
  type: :development
133
335
  prerelease: false
336
+ version_requirements: !ruby/object:Gem::Requirement
337
+ requirements:
338
+ - - "~>"
339
+ - !ruby/object:Gem::Version
340
+ version: '3.7'
341
+ - !ruby/object:Gem::Dependency
342
+ name: rake
343
+ requirement: !ruby/object:Gem::Requirement
344
+ requirements:
345
+ - - ">="
346
+ - !ruby/object:Gem::Version
347
+ version: '0'
348
+ type: :runtime
349
+ prerelease: false
134
350
  version_requirements: !ruby/object:Gem::Requirement
135
351
  requirements:
136
352
  - - ">="
137
353
  - !ruby/object:Gem::Version
138
354
  version: '0'
355
+ - !ruby/object:Gem::Dependency
356
+ name: riiif
357
+ requirement: !ruby/object:Gem::Requirement
358
+ requirements:
359
+ - - "~>"
360
+ - !ruby/object:Gem::Version
361
+ version: '2.0'
362
+ type: :runtime
363
+ prerelease: false
364
+ version_requirements: !ruby/object:Gem::Requirement
365
+ requirements:
366
+ - - "~>"
367
+ - !ruby/object:Gem::Version
368
+ version: '2.0'
369
+ - !ruby/object:Gem::Dependency
370
+ name: rsolr
371
+ requirement: !ruby/object:Gem::Requirement
372
+ requirements:
373
+ - - ">="
374
+ - !ruby/object:Gem::Version
375
+ version: '1.0'
376
+ type: :runtime
377
+ prerelease: false
378
+ version_requirements: !ruby/object:Gem::Requirement
379
+ requirements:
380
+ - - ">="
381
+ - !ruby/object:Gem::Version
382
+ version: '1.0'
139
383
  - !ruby/object:Gem::Dependency
140
384
  name: rspec
141
385
  requirement: !ruby/object:Gem::Requirement
@@ -179,7 +423,21 @@ dependencies:
179
423
  - !ruby/object:Gem::Version
180
424
  version: '0'
181
425
  - !ruby/object:Gem::Dependency
182
- name: coveralls
426
+ name: sass-rails
427
+ requirement: !ruby/object:Gem::Requirement
428
+ requirements:
429
+ - - "~>"
430
+ - !ruby/object:Gem::Version
431
+ version: 5.0.4
432
+ type: :runtime
433
+ prerelease: false
434
+ version_requirements: !ruby/object:Gem::Requirement
435
+ requirements:
436
+ - - "~>"
437
+ - !ruby/object:Gem::Version
438
+ version: 5.0.4
439
+ - !ruby/object:Gem::Dependency
440
+ name: selenium-webdriver
183
441
  requirement: !ruby/object:Gem::Requirement
184
442
  requirements:
185
443
  - - ">="
@@ -194,48 +452,118 @@ dependencies:
194
452
  version: '0'
195
453
  - !ruby/object:Gem::Dependency
196
454
  name: solr_wrapper
455
+ requirement: !ruby/object:Gem::Requirement
456
+ requirements:
457
+ - - ">="
458
+ - !ruby/object:Gem::Version
459
+ version: '0.3'
460
+ type: :runtime
461
+ prerelease: false
462
+ version_requirements: !ruby/object:Gem::Requirement
463
+ requirements:
464
+ - - ">="
465
+ - !ruby/object:Gem::Version
466
+ version: '0.3'
467
+ - !ruby/object:Gem::Dependency
468
+ name: spring
469
+ requirement: !ruby/object:Gem::Requirement
470
+ requirements:
471
+ - - ">="
472
+ - !ruby/object:Gem::Version
473
+ version: '0'
474
+ type: :development
475
+ prerelease: false
476
+ version_requirements: !ruby/object:Gem::Requirement
477
+ requirements:
478
+ - - ">="
479
+ - !ruby/object:Gem::Version
480
+ version: '0'
481
+ - !ruby/object:Gem::Dependency
482
+ name: spring-watcher-listen
197
483
  requirement: !ruby/object:Gem::Requirement
198
484
  requirements:
199
485
  - - "~>"
200
486
  - !ruby/object:Gem::Version
201
- version: '2.1'
487
+ version: 2.0.0
202
488
  type: :development
203
489
  prerelease: false
204
490
  version_requirements: !ruby/object:Gem::Requirement
205
491
  requirements:
206
492
  - - "~>"
207
493
  - !ruby/object:Gem::Version
208
- version: '2.1'
494
+ version: 2.0.0
209
495
  - !ruby/object:Gem::Dependency
210
- name: fcrepo_wrapper
496
+ name: sqlite3
211
497
  requirement: !ruby/object:Gem::Requirement
212
498
  requirements:
213
499
  - - "~>"
214
500
  - !ruby/object:Gem::Version
215
- version: '0.9'
216
- type: :development
501
+ version: 1.3.0
502
+ type: :runtime
217
503
  prerelease: false
218
504
  version_requirements: !ruby/object:Gem::Requirement
219
505
  requirements:
220
506
  - - "~>"
221
507
  - !ruby/object:Gem::Version
222
- version: '0.9'
508
+ version: 1.3.0
223
509
  - !ruby/object:Gem::Dependency
224
- name: byebug
510
+ name: turbolinks
511
+ requirement: !ruby/object:Gem::Requirement
512
+ requirements:
513
+ - - "~>"
514
+ - !ruby/object:Gem::Version
515
+ version: '5'
516
+ type: :runtime
517
+ prerelease: false
518
+ version_requirements: !ruby/object:Gem::Requirement
519
+ requirements:
520
+ - - "~>"
521
+ - !ruby/object:Gem::Version
522
+ version: '5'
523
+ - !ruby/object:Gem::Dependency
524
+ name: twitter-typeahead-rails
525
+ requirement: !ruby/object:Gem::Requirement
526
+ requirements:
527
+ - - '='
528
+ - !ruby/object:Gem::Version
529
+ version: 0.11.1.pre.corejavascript
530
+ type: :runtime
531
+ prerelease: false
532
+ version_requirements: !ruby/object:Gem::Requirement
533
+ requirements:
534
+ - - '='
535
+ - !ruby/object:Gem::Version
536
+ version: 0.11.1.pre.corejavascript
537
+ - !ruby/object:Gem::Dependency
538
+ name: uglifier
225
539
  requirement: !ruby/object:Gem::Requirement
226
540
  requirements:
227
541
  - - ">="
228
542
  - !ruby/object:Gem::Version
229
- version: '0'
543
+ version: 1.3.0
544
+ type: :runtime
545
+ prerelease: false
546
+ version_requirements: !ruby/object:Gem::Requirement
547
+ requirements:
548
+ - - ">="
549
+ - !ruby/object:Gem::Version
550
+ version: 1.3.0
551
+ - !ruby/object:Gem::Dependency
552
+ name: web-console
553
+ requirement: !ruby/object:Gem::Requirement
554
+ requirements:
555
+ - - ">="
556
+ - !ruby/object:Gem::Version
557
+ version: 3.3.0
230
558
  type: :development
231
559
  prerelease: false
232
560
  version_requirements: !ruby/object:Gem::Requirement
233
561
  requirements:
234
562
  - - ">="
235
563
  - !ruby/object:Gem::Version
236
- version: '0'
564
+ version: 3.3.0
237
565
  - !ruby/object:Gem::Dependency
238
- name: rake
566
+ name: yard
239
567
  requirement: !ruby/object:Gem::Requirement
240
568
  requirements:
241
569
  - - ">="
@@ -249,13 +577,27 @@ dependencies:
249
577
  - !ruby/object:Gem::Version
250
578
  version: '0'
251
579
  - !ruby/object:Gem::Dependency
252
- name: sqlite3
580
+ name: font-awesome-sass
581
+ requirement: !ruby/object:Gem::Requirement
582
+ requirements:
583
+ - - "~>"
584
+ - !ruby/object:Gem::Version
585
+ version: 4.4.0
586
+ type: :runtime
587
+ prerelease: false
588
+ version_requirements: !ruby/object:Gem::Requirement
589
+ requirements:
590
+ - - "~>"
591
+ - !ruby/object:Gem::Version
592
+ version: 4.4.0
593
+ - !ruby/object:Gem::Dependency
594
+ name: sidekiq
253
595
  requirement: !ruby/object:Gem::Requirement
254
596
  requirements:
255
597
  - - ">="
256
598
  - !ruby/object:Gem::Version
257
599
  version: '0'
258
- type: :development
600
+ type: :runtime
259
601
  prerelease: false
260
602
  version_requirements: !ruby/object:Gem::Requirement
261
603
  requirements:
@@ -269,74 +611,21 @@ executables: []
269
611
  extensions: []
270
612
  extra_rdoc_files: []
271
613
  files:
272
- - ".circleci/config.yml"
273
- - ".gitignore"
274
- - ".rubocop.yml"
275
- - ".rubocop_todo.yml"
276
- - ".solr_wrapper"
277
- - ".travis.yml"
278
- - Gemfile
279
614
  - README.md
280
- - Rakefile
281
- - app/assets/config/zizia_manifest.js
282
- - app/assets/images/zizia/.keep
283
- - app/assets/javascripts/zizia/DisplayUploadedFile.es6
284
- - app/assets/javascripts/zizia/application.js
285
- - app/assets/javascripts/zizia/zizia.js
286
- - app/assets/stylesheets/zizia/_file_upload.scss
287
- - app/assets/stylesheets/zizia/application.css
288
- - app/assets/stylesheets/zizia/zizia.scss
289
- - app/controllers/zizia/application_controller.rb
290
- - app/controllers/zizia/csv_imports_controller.rb
291
- - app/controllers/zizia/importer_documentation_controller.rb
292
- - app/helpers/importer_documentation_helper.rb
293
- - app/helpers/zizia/application_helper.rb
294
- - app/importers/modular_importer.rb
295
- - app/jobs/zizia/application_job.rb
296
- - app/jobs/zizia/start_csv_import_job.rb
297
- - app/models/zizia/application_record.rb
298
- - app/models/zizia/csv_import.rb
299
- - app/models/zizia/csv_import_detail.rb
300
- - app/models/zizia/pre_ingest_file.rb
301
- - app/models/zizia/pre_ingest_work.rb
302
- - app/uploaders/zizia/csv_manifest_uploader.rb
303
- - app/uploaders/zizia/csv_manifest_validator.rb
304
- - app/views/layouts/zizia/application.html.erb
305
- - app/views/zizia/csv_imports/_actions.html.erb
306
- - app/views/zizia/csv_imports/_collection_selection.html.erb
307
- - app/views/zizia/csv_imports/_error.html.erb
308
- - app/views/zizia/csv_imports/_file_upload.html.erb
309
- - app/views/zizia/csv_imports/_form.html.erb
310
- - app/views/zizia/csv_imports/_no_collection.html.erb
311
- - app/views/zizia/csv_imports/_record_count.html.erb
312
- - app/views/zizia/csv_imports/_start_import_form.html.erb
313
- - app/views/zizia/csv_imports/index.html.erb
314
- - app/views/zizia/csv_imports/new.html.erb
315
- - app/views/zizia/csv_imports/preview.html.erb
316
- - app/views/zizia/csv_imports/show.html.erb
317
- - app/views/zizia/importer_documentation/guide.html.erb
318
- - bin/rails
319
- - config/routes.rb
320
- - db/migrate/201901162141281_create_zizia_csv_imports.rb
321
- - db/migrate/201901162203121_add_manifest_to_zizia_csv_imports.rb
322
- - db/migrate/201901241536541_add_fedora_collection_id_to_zizia_csv_imports.rb
323
- - db/migrate/20190911133657_create_zizia_pre_ingest_files.rb
324
- - db/migrate/20190911134002_create_zizia_pre_ingest_works.rb
325
- - db/migrate/20190911142616_create_zizia_csv_import_details.rb
326
- - docs/_config.yml
327
- - docs/customizing_metadata.md
328
- - docs/index.md
329
615
  - lib/zizia.rb
330
616
  - lib/zizia/always_invalid_validator.rb
331
617
  - lib/zizia/csv_template.rb
332
618
  - lib/zizia/engine.rb
333
619
  - lib/zizia/hash_mapper.rb
334
- - lib/zizia/hyrax_basic_metadata_mapper.rb
335
- - lib/zizia/hyrax_record_importer.rb
620
+ - lib/zizia/hyrax/hyrax_basic_metadata_mapper.rb
621
+ - lib/zizia/hyrax/hyrax_default_updater.rb
622
+ - lib/zizia/hyrax/hyrax_delete_files_updater.rb
623
+ - lib/zizia/hyrax/hyrax_metadata_only_updater.rb
624
+ - lib/zizia/hyrax/hyrax_record_importer.rb
625
+ - lib/zizia/hyrax/metadata_only_stack.rb
336
626
  - lib/zizia/importer.rb
337
627
  - lib/zizia/input_record.rb
338
628
  - lib/zizia/metadata_mapper.rb
339
- - lib/zizia/metadata_only_stack.rb
340
629
  - lib/zizia/parser.rb
341
630
  - lib/zizia/parsers/csv_parser.rb
342
631
  - lib/zizia/record_importer.rb
@@ -349,137 +638,6 @@ files:
349
638
  - lib/zizia/validators/csv_format_validator.rb
350
639
  - lib/zizia/validators/title_validator.rb
351
640
  - lib/zizia/version.rb
352
- - log/.keep
353
- - solr/config/_rest_managed.json
354
- - solr/config/admin-extra.html
355
- - solr/config/elevate.xml
356
- - solr/config/mapping-ISOLatin1Accent.txt
357
- - solr/config/protwords.txt
358
- - solr/config/routes.rb
359
- - solr/config/schema.xml
360
- - solr/config/scripts.conf
361
- - solr/config/solrconfig.xml
362
- - solr/config/spellings.txt
363
- - solr/config/stopwords.txt
364
- - solr/config/stopwords_en.txt
365
- - solr/config/synonyms.txt
366
- - solr/config/xslt/example.xsl
367
- - solr/config/xslt/example_atom.xsl
368
- - solr/config/xslt/example_rss.xsl
369
- - solr/config/xslt/luke.xsl
370
- - spec/controllers/importer_documentation_controller_spec.rb
371
- - spec/dummy/.gitignore
372
- - spec/dummy/Gemfile
373
- - spec/dummy/README.md
374
- - spec/dummy/Rakefile
375
- - spec/dummy/app/assets/config/manifest.js
376
- - spec/dummy/app/assets/csv/import_manifest.csv
377
- - spec/dummy/app/assets/images/.keep
378
- - spec/dummy/app/assets/javascripts/application.js
379
- - spec/dummy/app/assets/javascripts/cable.js
380
- - spec/dummy/app/assets/javascripts/channels/.keep
381
- - spec/dummy/app/assets/markdown/importer_guide.md
382
- - spec/dummy/app/assets/stylesheets/application.css
383
- - spec/dummy/app/channels/application_cable/channel.rb
384
- - spec/dummy/app/channels/application_cable/connection.rb
385
- - spec/dummy/app/controllers/application_controller.rb
386
- - spec/dummy/app/controllers/concerns/.keep
387
- - spec/dummy/app/helpers/application_helper.rb
388
- - spec/dummy/app/jobs/application_job.rb
389
- - spec/dummy/app/mailers/application_mailer.rb
390
- - spec/dummy/app/models/application_record.rb
391
- - spec/dummy/app/models/concerns/.keep
392
- - spec/dummy/app/models/user.rb
393
- - spec/dummy/app/views/layouts/application.html.erb
394
- - spec/dummy/app/views/layouts/mailer.html.erb
395
- - spec/dummy/app/views/layouts/mailer.text.erb
396
- - spec/dummy/bin/bundle
397
- - spec/dummy/bin/rails
398
- - spec/dummy/bin/rake
399
- - spec/dummy/bin/setup
400
- - spec/dummy/bin/spring
401
- - spec/dummy/bin/update
402
- - spec/dummy/bin/yarn
403
- - spec/dummy/config.ru
404
- - spec/dummy/config/application.rb
405
- - spec/dummy/config/boot.rb
406
- - spec/dummy/config/cable.yml
407
- - spec/dummy/config/database.yml
408
- - spec/dummy/config/environment.rb
409
- - spec/dummy/config/environments/development.rb
410
- - spec/dummy/config/environments/production.rb
411
- - spec/dummy/config/environments/test.rb
412
- - spec/dummy/config/initializers/application_controller_renderer.rb
413
- - spec/dummy/config/initializers/assets.rb
414
- - spec/dummy/config/initializers/backtrace_silencers.rb
415
- - spec/dummy/config/initializers/cookies_serializer.rb
416
- - spec/dummy/config/initializers/filter_parameter_logging.rb
417
- - spec/dummy/config/initializers/inflections.rb
418
- - spec/dummy/config/initializers/mime_types.rb
419
- - spec/dummy/config/initializers/wrap_parameters.rb
420
- - spec/dummy/config/locales/en.yml
421
- - spec/dummy/config/puma.rb
422
- - spec/dummy/config/routes.rb
423
- - spec/dummy/config/secrets.yml
424
- - spec/dummy/config/spring.rb
425
- - spec/dummy/db/migrate/20190911165049_create_users.rb
426
- - spec/dummy/db/schema.rb
427
- - spec/dummy/db/seeds.rb
428
- - spec/dummy/lib/assets/.keep
429
- - spec/dummy/lib/tasks/.keep
430
- - spec/dummy/log/.keep
431
- - spec/dummy/package.json
432
- - spec/dummy/public/404.html
433
- - spec/dummy/public/422.html
434
- - spec/dummy/public/500.html
435
- - spec/dummy/public/apple-touch-icon-precomposed.png
436
- - spec/dummy/public/apple-touch-icon.png
437
- - spec/dummy/public/favicon.ico
438
- - spec/dummy/public/robots.txt
439
- - spec/dummy/test/application_system_test_case.rb
440
- - spec/dummy/test/controllers/.keep
441
- - spec/dummy/test/fixtures/.keep
442
- - spec/dummy/test/fixtures/files/.keep
443
- - spec/dummy/test/fixtures/users.yml
444
- - spec/dummy/test/helpers/.keep
445
- - spec/dummy/test/integration/.keep
446
- - spec/dummy/test/mailers/.keep
447
- - spec/dummy/test/models/.keep
448
- - spec/dummy/test/models/user_test.rb
449
- - spec/dummy/test/system/.keep
450
- - spec/dummy/test/test_helper.rb
451
- - spec/dummy/vendor/.keep
452
- - spec/fixtures/bad_example.csv
453
- - spec/fixtures/dog.jpg
454
- - spec/fixtures/example.csv
455
- - spec/fixtures/hyrax/example.csv
456
- - spec/fixtures/images/animals/cat.png
457
- - spec/fixtures/images/zizia.png
458
- - spec/fixtures/zizia.png
459
- - spec/integration/csv_import_detail_spec.rb
460
- - spec/integration/import_csv_spec.rb
461
- - spec/integration/import_hyrax_csv.rb
462
- - spec/models/csv_import_spec.rb
463
- - spec/spec_helper.rb
464
- - spec/support/hyrax/basic_metadata.rb
465
- - spec/support/hyrax/core_metadata.rb
466
- - spec/support/shared_contexts/with_work_type.rb
467
- - spec/uploaders/csv_manifest_uploader_spec.rb
468
- - spec/views/zizia/importer_documentation/guide.html.erb_spec.rb
469
- - spec/zizia/csv_format_validator_spec.rb
470
- - spec/zizia/csv_parser_spec.rb
471
- - spec/zizia/csv_template_spec.rb
472
- - spec/zizia/hash_mapper_spec.rb
473
- - spec/zizia/hyrax_basic_metadata_mapper_spec.rb
474
- - spec/zizia/hyrax_record_importer_spec.rb
475
- - spec/zizia/importer_spec.rb
476
- - spec/zizia/input_record_spec.rb
477
- - spec/zizia/record_importer_spec.rb
478
- - spec/zizia/title_validator_spec.rb
479
- - spec/zizia/validator_spec.rb
480
- - spec/zizia/version_spec.rb
481
- - spec/zizia_spec.rb
482
- - zizia.gemspec
483
641
  homepage:
484
642
  licenses:
485
643
  - Apache-2.0
@@ -499,7 +657,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
499
657
  - !ruby/object:Gem::Version
500
658
  version: 1.3.1
501
659
  requirements: []
502
- rubygems_version: 3.0.3
660
+ rubygems_version: 3.0.4
503
661
  signing_key:
504
662
  specification_version: 4
505
663
  summary: Hyrax importers.