Sha256: 06bf88485813199500229e57502148e6bcda8a8d031978eec4d185074d519489

Contents?: true

Size: 648 Bytes

Versions: 25

Compression:

Stored size: 648 Bytes

Contents

Description:
  This generator creates the necessary files for valkyrie-native work types.

Example:
  rails generate hyrax:work_resource Monograph field:type author:string created:date isbn:string publisher:string title:string

  This will create:
    app/controllers/hyrax/monographs_controller.rb
    app/forms/monograph_form.rb
    app/indexers/monograph_indexer.rb
    app/models/monograph.rb
    app/views/hyrax/monographs/_monograph.html.erb
    config/initializers/hyrax.rb
    config/metadata/monograph.yaml
    spec/models/monograph_spec.rb
    spec/indexers/monograph_indexer_spec.rb
    spec/views/monographs/_monograph.html.erb_spec.rb

Version data entries

25 entries across 25 versions & 1 rubygems

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