Sha256: 7a943ac6fb17371d61dba204e73386ba375bc88bf195763a96c2c030eacda0e3
Contents?: true
Size: 1.64 KB
Versions: 3
Compression:
Stored size: 1.64 KB
Contents
[![Gem Version](https://badge.fury.io/rb/cert_munger.png)](http://badge.fury.io/rb/cert_munger) [![Coverage Status](https://coveralls.io/repos/stevenhaddox/cert_munger/badge.png)](https://coveralls.io/r/stevenhaddox/cert_munger) [![Code Climate](https://codeclimate.com/github/stevenhaddox/cert_munger/badges/gpa.svg)](https://codeclimate.com/github/stevenhaddox/cert_munger) [![Dependency Status](https://gemnasium.com/stevenhaddox/cert_munger.png)](https://gemnasium.com/stevenhaddox/cert_munger) [![Travis CI](https://travis-ci.org/stevenhaddox/cert_munger.svg?branch=master)](https://travis-ci.org/stevenhaddox/cert_munger.svg?branch=master) # CertMunger A gem that takes string input for X509 certificates and attempts to reformat them into a valid certificate. This gem extends the core String class to add the `.to_cert` and `.to_cert!` methods through the CertMunger module. ## Installation Add this line to your application's Gemfile: ```ruby gem 'cert_munger' ``` And then execute: $ bundle Or install it yourself as: $ gem install cert_munger ## Usage ```ruby # Use CertMunger on any string: new_cert = "<invalidly formatted cert string>".to_cert # Or a string read from a file (one or multiple lines): bad_cert = File.read('malformed_cert_to_parse') bad_cert.to_cert! ``` ## Contributing 1. Fork it ( https://github.com/stevenhaddox/cert_munger/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Ensure your changes have tests 4. Run the test suite (`bundle exec rake`) 5. Commit your changes (`git commit -am 'Add some feature'`) 6. Push to the branch (`git push origin my-new-feature`) 7. Create a new Pull Request
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cert_munger-0.1.0 | README.md |
cert_munger-0.0.2 | README.md |
cert_munger-0.0.1 | README.md |