Sha256: ce79ffdd830b0a8be6a1caca97dc8b0cf1cb8b9399bd12d4754a664a90765887

Contents?: true

Size: 1.37 KB

Versions: 5

Compression:

Stored size: 1.37 KB

Contents

# <%= class_name %>

Introduction goes here.

## Installation

Add to your application's Gemfile

```
gem "<%= extension_name %>", github: "USERNAME/<%= extension_name %>"
```

Run the bundle command

```
$ bundle install
```

Run the install generator

```
$ bundle exec rails g <%= extension_name %>:install
```

If your server was running, restart it to find the assets properly.

## Updating

Subsequent updates can be done by bumping the version in your Gemfile then adding the new migrations

```
$ bundle exec rails <%= extension_name %>:install:migrations
```

Run migrations

```
$ bundle exec rails db:migrate
```

## Testing

First, generate a dummy application. You will be required to generate a dummy application before running tests.

```
$ bundle exec rake dummy_app
```

Run tests

```
$ bundle exec rake
```

or

```
$ bundle exec rake spec
```

or

```
$ bundle exec rspec spec
```

When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:

```
require "<%= extension_name %>/factories"
```

## Contributing

1. Fork it ( https://github.com/USERNAME/<%= extension_name %>/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
archangel-0.0.7 lib/archangel/command/templates/extension/README.md
archangel-0.0.6 lib/archangel/command/templates/extension/README.md
archangel-0.0.5 lib/archangel/command/templates/extension/README.md
archangel-0.0.4 lib/archangel/command/templates/extension/README.md
archangel-0.0.3 lib/archangel/command/templates/extension/README.md