Sha256: 17afc9568dcec6cd6e8979ff0beaf650d639f8f9d4d6b1f2c894a7a4177caa16

Contents?: true

Size: 1.65 KB

Versions: 1

Compression:

Stored size: 1.65 KB

Contents

# Moblues [![Build Status](https://magnum.travis-ci.com/garriguv/moblues.svg?token=GCky67DnySmgxHiFqjq3&branch=master)](https://magnum.travis-ci.com/garriguv/moblues) [![Code Climate](https://codeclimate.com/repos/547ac5cfe30ba05abc1d6329/badges/3c5aba53610a96394d9f/gpa.svg)](https://codeclimate.com/repos/547ac5cfe30ba05abc1d6329/feed) [![Test Coverage](https://codeclimate.com/repos/547ac5cfe30ba05abc1d6329/badges/3c5aba53610a96394d9f/coverage.svg)](https://codeclimate.com/repos/547ac5cfe30ba05abc1d6329/feed)

Generates files for entities defined in a Core Data model. Inspired by [mogenerator](https://github.com/rentzsch/mogenerator).

For each entity in the Core Data model, moblues will create two files: a machine file and a human file. The machine file will be overwritten each time and shouldn't be modified. Moblues will only create the human file if it doesn't exist.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'moblues'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install moblues

## Usage

```
Usage:
  moblues generate --human=HUMAN --machine=MACHINE --model=MODEL

Options:
  --model=MODEL      # CoreData model path
  --human=HUMAN      # Path where the human files will be stored
  --machine=MACHINE  # Path where the machine files will be stored

generate the machine and human files
```

## Contributing

1. Fork it ( https://github.com/garriguv/moblues/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
6. You're awesome! :+1:

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
moblues-0.0.1 README.md