Sha256: 3e3758bfea08227e6586850d0bb1bfe33171fb04e26de2f22a0f5a21bbd5929e

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

# Liferaft

[![Build Status](http://img.shields.io/travis/neonichu/liferaft/master.svg?style=flat)](https://travis-ci.org/neonichu/liferaft)
[![Coverage Status](https://coveralls.io/repos/neonichu/liferaft/badge.svg)](https://coveralls.io/r/neonichu/liferaft)
[![Gem Version](http://img.shields.io/gem/v/liferaft.svg?style=flat)](http://badge.fury.io/rb/liferaft)
[![Code Climate](http://img.shields.io/codeclimate/github/neonichu/liferaft.svg?style=flat)](https://codeclimate.com/github/neonichu/liferaft)

Liferaft parses Apple build numbers, like `6D1002`.

## Usage

```ruby
v = Version.new('6D1002')

puts '#{v.major}.#{v.minor}.#{v.patch} Build #{v.build}'
## => '6.3.1 Build 2'
```

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'liferaft'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install liferaft

## Contributing

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
liferaft-0.0.3 README.md