Sha256: 345e0a811b546c1c482388117da9c7c5ee58c6f1f815b890ba09c0dd4d3d7f41

Contents?: true

Size: 1.75 KB

Versions: 3

Compression:

Stored size: 1.75 KB

Contents

# Moblues [![Gem Version](https://badge.fury.io/rb/moblues.svg)](http://badge.fury.io/rb/moblues) [![Build Status](https://travis-ci.org/garriguv/moblues.svg)](https://travis-ci.org/garriguv/moblues) [![Code Climate](https://codeclimate.com/github/garriguv/moblues/badges/gpa.svg)](https://codeclimate.com/github/garriguv/moblues) [![Test Coverage](https://codeclimate.com/github/garriguv/moblues/badges/coverage.svg)](https://codeclimate.com/github/garriguv/moblues)

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      # Core Data model path
--human=HUMAN      # Path where the human files will be stored
--machine=MACHINE  # Path where the machine files will be stored
[--lang=LANG]      # The language used to generate the files (objc or swift)
                   # Default: objc

generate the machine and human files for entities contained in a Core Data model
```

## 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

3 entries across 3 versions & 1 rubygems

Version Path
moblues-0.4.0 README.md
moblues-0.3.0 README.md
moblues-0.2.0 README.md