Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/segiddins/liferaft

Liferaft parses Apple build numbers, like `6D1002`.
https://github.com/segiddins/liferaft

Last synced: 9 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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