Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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`.
- Host: GitHub
- URL: https://github.com/segiddins/liferaft
- Owner: segiddins
- License: mit
- Created: 2015-04-27T21:20:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-11T06:02:52.000Z (almost 7 years ago)
- Last Synced: 2024-05-02T00:23:54.125Z (6 months ago)
- Language: Ruby
- Size: 17.6 KB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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