whatisinternet/sortable_answer

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# SortableAnswer

[![Gem Version](https://badge.fury.io/rb/sortable_answer.svg)](http://badge.fury.io/rb/sortable_answer)
[![Build Status](https://travis-ci.org/whatisinternet/sortable_answer.svg?branch=master)](https://travis-ci.org/whatisinternet/sortable_answer)
[![Code Climate](https://codeclimate.com/github/whatisinternet/sortable_answer/badges/gpa.svg)](https://codeclimate.com/github/whatisinternet/sortable_answer)
[![Test Coverage](https://codeclimate.com/github/whatisinternet/sortable_answer/badges/coverage.svg)](https://codeclimate.com/github/whatisinternet/sortable_answer)

This is a simple ruby implementation for the sortable code challenge.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'sortable_answer'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install sortable_answer

## Usage

```
SortableAnswer products.txt listings.txt |>out.txt
```

## Contributing

1. Fork it ( https://github.com/whatisinternet/sortable_answer/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