Sha256: d67ee3307fce8941231a4fdf87c6a8865159f03a4640b19ea70fd4f7c4051942

Contents?: true

Size: 938 Bytes

Versions: 25

Compression:

Stored size: 938 Bytes

Contents

Description:
  This generator creates the necessary files for new work types.

Example:
  rails generate hyrax:work ScholarlyPaper

  This will create:
    app/models/scholarly_paper.rb
    app/actors/hyrax/actors/scholarly_paper_actor.rb
    app/controllers/hyrax/scholarly_papers_controller.rb
    app/indexers/scholarly_paper_indexer.rb
    app/forms/hyrax/scholarly_paper_form.rb
    app/presenters/hyrax/scholarly_paper_presenter.rb
    app/views/hyrax/scholarly_papers/_scholarly_paper.html.erb
    config/locales/scholarly_paper.*.yml
    spec/models/scholarly_paper_spec.rb
    spec/features/create_scholarly_paper_spec.rb
    spec/actors/hyrax/actors/scholarly_paper_actor_spec.rb
    spec/controllers/hyrax/scholarly_papers_controller_spec.rb
    spec/forms/hyrax/scholarly_paper_form_spec.rb
    spec/presenters/hyrax/scholarly_paper_presenter_spec.rb

  This will also:
    register ScholarlyPaper as a valid curation concern

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
hyrax-5.0.1 lib/generators/hyrax/work/USAGE
hyrax-5.0.0 lib/generators/hyrax/work/USAGE
hyrax-5.0.0.rc3 lib/generators/hyrax/work/USAGE
hyrax-5.0.0.rc2 lib/generators/hyrax/work/USAGE
hyrax-5.0.0.rc1 lib/generators/hyrax/work/USAGE
hyrax-3.6.0 lib/generators/hyrax/work/USAGE
hyrax-4.0.0 lib/generators/hyrax/work/USAGE
hyrax-4.0.0.rc3 lib/generators/hyrax/work/USAGE
hyrax-4.0.0.rc2 lib/generators/hyrax/work/USAGE
hyrax-4.0.0.rc1 lib/generators/hyrax/work/USAGE
hyrax-3.5.0 lib/generators/hyrax/work/USAGE
hyrax-4.0.0.beta2 lib/generators/hyrax/work/USAGE
hyrax-3.4.2 lib/generators/hyrax/work/USAGE
hyrax-4.0.0.beta1 lib/generators/hyrax/work/USAGE
hyrax-3.4.1 lib/generators/hyrax/work/USAGE
hyrax-3.4.0 lib/generators/hyrax/work/USAGE
hyrax-3.3.0 lib/generators/hyrax/work/USAGE
hyrax-3.2.0 lib/generators/hyrax/work/USAGE
hyrax-3.1.0 lib/generators/hyrax/work/USAGE
hyrax-3.0.2 lib/generators/hyrax/work/USAGE