zizia 5.2.0 → 6.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +17 -3
  3. data/.github_changelog_generator +1 -1
  4. data/CHANGELOG.md +194 -17
  5. data/README.md +39 -21
  6. data/app/assets/stylesheets/zizia/_button.scss +10 -0
  7. data/app/assets/stylesheets/zizia/zizia.scss +1 -5
  8. data/app/controllers/zizia/csv_import_details_controller.rb +3 -3
  9. data/app/helpers/zizia/application_helper.rb +6 -0
  10. data/app/importers/modular_importer.rb +10 -6
  11. data/app/lib/zizia/metadata_details.rb +14 -14
  12. data/app/uploaders/zizia/csv_manifest_validator.rb +2 -2
  13. data/app/views/zizia/csv_import_details/_pre_ingest_files_table.html.erb +31 -22
  14. data/app/views/zizia/csv_import_details/show.html.erb +5 -1
  15. data/app/views/zizia/csv_imports/_record_count.html.erb +1 -1
  16. data/config/initializers/content_deposit_event_job_prepends.rb +10 -0
  17. data/config/initializers/file_set_attached_event_job_prepends.rb +12 -0
  18. data/config/initializers/prepends.rb +2 -0
  19. data/db/migrate/20191114021032_add_status_to_pre_ingest_file.rb +5 -0
  20. data/db/migrate/20191210223833_add_status_to_pre_ingest_work.rb +5 -0
  21. data/lib/zizia/hyrax/hyrax_basic_metadata_mapper.rb +10 -1
  22. data/lib/zizia/parser.rb +6 -6
  23. data/lib/zizia/version.rb +1 -1
  24. data/spec/dummy/.gitignore +1 -1
  25. data/spec/dummy/app/models/work.rb +1 -1
  26. data/spec/dummy/db/schema.rb +2 -0
  27. data/spec/dummy/db/test.sqlite3 +0 -0
  28. data/spec/dummy/spec/fixtures/csv_import/csv_files_with_problems/extra - headers.csv +4 -4
  29. data/spec/dummy/spec/fixtures/csv_import/good/all_fields.csv +2 -2
  30. data/spec/dummy/spec/fixtures/csv_import/good/all_fields_multi.csv +2 -0
  31. data/spec/dummy/spec/support/capybara.rb +1 -0
  32. data/spec/dummy/spec/system/csv_import_details_page_spec.rb +29 -4
  33. data/spec/dummy/spec/system/import_csv_with_warnings_spec.rb +1 -1
  34. data/spec/dummy/spec/system/import_file_status_spec.rb +95 -0
  35. data/spec/dummy/spec/system/import_from_csv_spec.rb +8 -9
  36. data/spec/factories/pre_ingest_work.rb +0 -1
  37. data/spec/models/zizia/application_job_spec.rb +12 -0
  38. data/spec/support/hyrax/basic_metadata.rb +3 -0
  39. data/spec/zizia/csv_format_validator_spec.rb +1 -1
  40. data/spec/zizia/hyrax/hyrax_basic_metadata_mapper_spec.rb +5 -1
  41. data/zizia.gemspec +12 -10
  42. metadata +84 -35
  43. data/.travis.yml +0 -12
@@ -1,12 +0,0 @@
1
- language: ruby
2
- sudo: false
3
- cache: bundler
4
- dist: trusty
5
-
6
- rvm:
7
- - 2.3.8
8
- - 2.4.5
9
- - 2.5.3
10
- script:
11
- - RAILS_ENV='test' bundle exec rake db:migrate
12
- - bundle exec rake