Sha256: d149901699aa2f4b9baa63b02930d9c3bcaecdfc90f16c941eaf795e1d71312f

Contents?: true

Size: 814 Bytes

Versions: 13

Compression:

Stored size: 814 Bytes

Contents

Description:
  This generator creates the necessary files for work that extends
  Curate's GenericWork.

Example:
  rails generate curate:work ChickenPie

  This will create:
    app/repository_models/chicken_pie.rb
    app/repository_datastreams/chicken_pie_metadata_datastream.rb
    app/services/curation_concern/chicken_pie_actor.rb
    app/controllers/curation_concern/chicken_pies_controller.rb
    app/views/curation_concern/chicken_pies/.keep
    spec/factories/chicken_pie_factory.rb
    spec/repository_models/chicken_pie_spec.rb
    spec/repository_datastreams/chicken_pie_metadata_datastream_spec.rb
    spec/services/curation_concern/chicken_pie_actor_spec.rb
    spec/controllers/curation_concern/chicken_pies_controller_spec.rb

  This will also:
    register ChickenPie as a valid curation concern

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
curate-0.6.6 lib/generators/curate/work/USAGE
curate-0.6.5 lib/generators/curate/work/USAGE
curate-0.6.4 lib/generators/curate/work/USAGE
curate-0.6.3 lib/generators/curate/work/USAGE
curate-0.6.1 lib/generators/curate/work/USAGE
curate-0.6.0 lib/generators/curate/work/USAGE
curate-0.5.6 lib/generators/curate/work/USAGE
curate-0.5.5 lib/generators/curate/work/USAGE
curate-0.5.4 lib/generators/curate/work/USAGE
curate-0.5.2 lib/generators/curate/work/USAGE
curate-0.5.1 lib/generators/curate/work/USAGE
curate-0.5.0 lib/generators/curate/work/USAGE
curate-0.4.2 lib/generators/curate/work/USAGE