Barite
Ruby on Rails (with RSpec) custom generators.
Usage
app/serializers
$ rails g response NAME
app/*/concerns
// controllers module
$ rails g concern:controller NAME
// model module
$ rails g concern:model NAME
spec//_spec.rb
inject test code with included modules
// controller
$ rails g concern:rspec MODULE_NAME --controller CONTROLLER_NAME
// model
$ rails g concern:rspec MODULE_NAME --model MODEL_NAME
rambulance setup
$ rails g rambulance:setup
Installation
Add this line to your application's Gemfile:
gem 'barite'
And then execute:
$ bundle
Or install it yourself as:
$ gem install barite
Contributing
Contribution directions go here.
License
The gem is available as open source under the terms of the MIT License.