DiffResource

Gem Version Dependency Status Build Status Code Climate Test Coverage

Installation

Add this line to your application's Gemfile:

gem 'diff_resource'

And then execute:

$ bundle

Or install it yourself as:

$ gem install diff_resource

Usage

output your resource file's diff list, you execute under command

Usage:

diff_resource create <directory> <comparison> <file> [<options>] -t, --type=TYPE

Options:

  • -t, --type=TYPE : resource file type
  • -o, [--output=OUTPUT] : output file path.
  • -c, [--compare=COMPARE] : comparison target type. other directory or git object

Arguments:

  • directory: resource file root path
  • comparison: compare directory path or git hash
  • file: resource file name format ex) test.resource, *.resource, *-en.resource

Show detail, you execute under command

diff_resource help create

Development

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 to create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

  1. Fork it ( https://github.com/katsugeneration/diff-resource/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