Sha256: 30ced45a64914bfcb83adde3b46d039301488a9cb757e05f6d80f1445a12c08b

Contents?: true

Size: 835 Bytes

Versions: 21

Compression:

Stored size: 835 Bytes

Contents

Description:
    The adaptor generator creates stubs for a new adaptor.

    The generator takes an adaptor name.
    The adaptor name may be given in CamelCase or under_score and should
    not be suffixed with 'Adaptor'.  To create an adaptor within a
    module, specify the adaptor name as 'module/adaptor'.

    The generator creates an adaptor class in app/adaptors
    and a functional test suite in test/functional.

Example:
    ./script/generate adaptor AddClient

    Add client adaptor.
        Adaptor:    app/adaptors/add_client_adaptor.rb
        Test:       test/functional/add_client_adaptor_test.rb

Modules Example:
    ./script/generate adaptor 'admin/add_client'

    Add client adaptor.
        Adaptor:    app/adaptors/admin/add_client_adaptor.rb
        Test:       test/functional/admin/add_client_adaptor.rb

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
adaptation-1.0.1 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.0.5 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.0.8 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.0.9 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.1.0 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.0.2 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.0.6 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.0.7 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.0.3 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.0.4 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.0.1 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.1.2 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.1.1 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.1.10 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.1.3 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.1.4 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.1.5 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.1.6 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.1.7 lib/rails_generator/generators/components/adaptor/USAGE
adaptation-0.1.8 lib/rails_generator/generators/components/adaptor/USAGE