Skip to content

Commit

Permalink
Merge pull request #632 from IU-Libraries-Joint-Development/essi-2022…
Browse files Browse the repository at this point in the history
…_metadata_module_cleanup

[ESSI-2022] metadata module cleanup
  • Loading branch information
rwingiupui authored Oct 24, 2024
2 parents a7219db + 91c8846 commit 3eafffb
Show file tree
Hide file tree
Showing 20 changed files with 1 addition and 638 deletions.
10 changes: 0 additions & 10 deletions app/models/archival_material.rb
Original file line number Diff line number Diff line change
@@ -1,29 +1,19 @@
# Generated via
# `rails generate hyrax:work ArchivalMaterial`
class ArchivalMaterial < ActiveFedora::Base
include ESSI::ArchivalMaterialBehavior
include ::Hyrax::WorkBehavior
include StructuralMetadata
include ExtraLockable
# include ESSI::NumPagesMetadata
include ESSI::NumPagesBehavior
include ESSI::OCRBehavior
# include ESSI::OCRMetadata
include ESSI::PDFBehavior
#include ESSI::PDFMetadata
include ESSI::PDFDefaultDownloadable

self.indexer = ArchivalMaterialIndexer
# Change this to restrict which works can be added as a child.
# self.valid_child_concerns = []
validates :title, presence: { message: 'Your work must have a title.' }

# Include extended metadata common to most Work Types
# include ESSI::ExtendedMetadata

# This model includes metadata properties specific to the ArchivalMaterial Work Type
# include ESSI::ArchivalMaterialMetadata

# Include properties for remote metadata lookup
include ESSI::RemoteLookupMetadata

Expand Down
9 changes: 0 additions & 9 deletions app/models/bib_record.rb
Original file line number Diff line number Diff line change
@@ -1,26 +1,17 @@
# Generated via
# `rails generate hyrax:work BibRecord`
class BibRecord < ActiveFedora::Base
include ESSI::BibRecordBehavior
include ::Hyrax::WorkBehavior
include StructuralMetadata
include ExtraLockable
# include ESSI::NumPagesMetadata
include ESSI::NumPagesBehavior
include ESSI::OCRBehavior
# include ESSI::OCRMetadata

self.indexer = BibRecordIndexer
# Change this to restrict which works can be added as a child.
# self.valid_child_concerns = []
validates :title, presence: { message: 'Your work must have a title.' }

# Include extended metadata common to most Work Types
# include ESSI::ExtendedMetadata

# This model includes metadata properties specific to the BibRecord Work Type
# include ESSI::BibRecordMetadata

# Include properties for remote metadata lookup
include ESSI::RemoteLookupMetadata

Expand Down
6 changes: 0 additions & 6 deletions app/models/concerns/essi/archival_material_behavior.rb

This file was deleted.

11 changes: 0 additions & 11 deletions app/models/concerns/essi/archival_material_metadata.rb

This file was deleted.

6 changes: 0 additions & 6 deletions app/models/concerns/essi/bib_record_behavior.rb

This file was deleted.

11 changes: 0 additions & 11 deletions app/models/concerns/essi/bib_record_metadata.rb

This file was deleted.

302 changes: 0 additions & 302 deletions app/models/concerns/essi/extended_metadata.rb

This file was deleted.

6 changes: 0 additions & 6 deletions app/models/concerns/essi/image_behavior.rb

This file was deleted.

10 changes: 0 additions & 10 deletions app/models/concerns/essi/image_metadata.rb

This file was deleted.

8 changes: 0 additions & 8 deletions app/models/concerns/essi/num_pages_metadata.rb

This file was deleted.

10 changes: 0 additions & 10 deletions app/models/concerns/essi/ocr_metadata.rb

This file was deleted.

6 changes: 0 additions & 6 deletions app/models/concerns/essi/paged_resource_behavior.rb

This file was deleted.

11 changes: 0 additions & 11 deletions app/models/concerns/essi/paged_resource_metadata.rb

This file was deleted.

10 changes: 0 additions & 10 deletions app/models/concerns/essi/pdf_metadata.rb

This file was deleted.

6 changes: 0 additions & 6 deletions app/models/concerns/essi/scientific_behavior.rb

This file was deleted.

184 changes: 0 additions & 184 deletions app/models/concerns/essi/scientific_metadata.rb

This file was deleted.

Loading

0 comments on commit 3eafffb

Please sign in to comment.