Sha256: cc213932953d02f163f66b535aac7af11869400684bd8c01b25cf6a35a2d56e2

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

[![Build Status](https://travis-ci.org/stefanozanella/rupert.png?branch=master)](https://travis-ci.org/stefanozanella/rupert)
[![Code Climate](https://codeclimate.com/github/stefanozanella/rupert.png)](https://codeclimate.com/github/stefanozanella/rupert)
[![Coverage Status](https://coveralls.io/repos/stefanozanella/rupert/badge.png?branch=master)](https://coveralls.io/r/stefanozanella/rupert?branch=master)
[![Dependency Status](https://gemnasium.com/stefanozanella/rupert.png)](https://gemnasium.com/stefanozanella/rupert)

# Rupert

Pure Ruby RPM Library

## Installation

Add this line to your application's Gemfile:

    gem 'rupert'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install rupert

## Usage

You can read an RPM simply with:

    rpm = Rupert::RPM.load('rpm-4.8.0-32.el6.x86_64.rpm')

or just check if a specific file is an RPM with:

    Rupert::RPM.rpm? 'iamtrollingyou' # false

(note that loading a file that is not an RPM generates an exception)

## Contributing

1. Fork it
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 new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rupert-0.0.1 README.md