Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/manveru/pgpass

The Ruby way to find, parse, and use .pgpass files
https://github.com/manveru/pgpass

Last synced: about 2 months ago
JSON representation

The Ruby way to find, parse, and use .pgpass files

Awesome Lists containing this project

README

        

# pgpass

This little library helps you finding, parsing, and using entries in .pgpass
files.

## Example usage

entry = Pgpass.match(database: 'sample_db', user: 'manveru')
DB = Sequel.connect(entry.to_url)

## License

MIT all the way, see the LICENSE file.