Sha256: 2ef6e665570bb0de3a9e5ab53a3b52173c0487b3e6fbc669c688b9548a2da7d5
Contents?: true
Size: 1.52 KB
Versions: 3
Compression:
Stored size: 1.52 KB
Contents
# SimpleInteraction::Rails This is a work in progress tests are missing! And test generator is missing too This simply add a generator to your rails app to create interaction files ## Installation Add this line to your application's Gemfile: ```ruby gem 'simple_interaction-rails' ``` And then execute: $ bundle Or install it yourself as: $ gem install simple_interaction-rails ## Usage ``` rails generate interaction NAME [options] Options: [--skip-namespace], [--no-skip-namespace] # Skip namespace (affects only isolated applications) [--requirements=one two three] # Indicates when to generate requirements Runtime options: -f, [--force] # Overwrite files that already exist -p, [--pretend], [--no-pretend] # Run but do not make any changes -q, [--quiet], [--no-quiet] # Suppress status output -s, [--skip], [--no-skip] # Skip files that already exist Description: Generates a new interaction on app/interactions folder Example: rails generate interaction Users::Create options This will create: app/interactions/users/create.rb module Users class Create requires options end end ``` ## Contributing 1. Fork it ( https://github.com/[my-github-username]/simple_interaction-rails/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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
simple_interaction-rails-0.0.3 | README.md |
simple_interaction-rails-0.0.2 | README.md |
simple_interaction-rails-0.0.1 | README.md |