项目作者: robertsimoes

项目描述 :
Rails generator extension for mutations framework
高级语言: Ruby
项目地址: git://github.com/robertsimoes/mutations_generator.git
创建时间: 2020-08-18T15:31:38Z
项目社区:https://github.com/robertsimoes/mutations_generator

开源协议:MIT License

下载


MutationsGenerator

Rails generator extension for the mutations framework.

Installation

Add this line to your application’s Gemfile:

  1. gem 'mutations_generator'

And then execute:

  1. $ bundle install

Or install it yourself as:

  1. $ gem install mutations_generator

Usage

  1. rails g mutation PumpTheJam technotronic:string:required space_jam:string:optional
  2. # created app/mutations/pump_the_jam.rb

Development

After checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

License

The gem is available as open source under the terms of the MIT License.