Sha256: e663e6ff3e40b0aed40a02b5120845e46f810c59dd84d650a16a92d3c0d11b97

Contents?: true

Size: 660 Bytes

Versions: 62

Compression:

Stored size: 660 Bytes

Contents

Description:
    Generates a new decorator for a given PATH in a Workarea platform
    component (or plugin), and a decorator for its unit test from the existing
    codebase in your host app.

Example:
    rails generate workarea:decorator app/models/workarea/search/storefront/product.rb

    This will create:
        app/models/workarea/search/storefront/product.decorator
        test/models/workarea/search/storefront/product_test.decorator (if a test exists)

    If no tests exist, it will also show a huge warning message stating the class you're
    about to decorate has NO tests, so anything you change must be also
    verified in the unit tests.

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.5.15 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.36 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.14 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.35 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.13 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.34 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.12 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.33 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.11 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.10 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.32 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.9 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.31 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.8 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.30 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.7 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.29 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.6 lib/generators/workarea/decorator/USAGE
workarea-core-3.4.28 lib/generators/workarea/decorator/USAGE
workarea-core-3.5.5 lib/generators/workarea/decorator/USAGE