Sha256: add9cf4a7c77691a9c8dd4981c171f26a9a31181fee2e11667fb019a6c1a521d

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

# ActiveRecord CipherStash PostgreSQL Adapter

An adapter to allow the use of the CipherStash libpq fork for encryption of data in your PostgreSQL databases.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'activerecord-cipherstash-pg-adapter'
```

Remove `gem 'pg'` from your Gemfile.

In `database.yml`, use the following adapter setting:

```yaml
development:
  adapter: cipherstash_pg
  # ... username, password, etc. as you would with postgres as normal.
```

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/cipherstash/activerecord-cipherstash-pg-adapter

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activerecord-cipherstash-pg-adapter-0.2.0 README.md