README.md in encrypted-environment-0.1.0 vs README.md in encrypted-environment-0.2.0
- old
+ new
@@ -1,34 +1,35 @@
# Encrypted enironment
[](https://circleci.com/gh/pepibumur/encrypted-environment)
[](https://codecov.io/gh/pepibumur/encrypted-environment)
+[](https://badge.fury.io/rb/encrypted-environment)
Ruby utility to load encrypted variables into the environment
## Install
1. Add the following line to the Gemfile:
```
gem "encrypted-environment", git: "git@github.com:pepibumur/encrypted-environment.git"
```
+
2. Run `bundle install`
-
## Usage
```ruby
require "encrypted/environment"
Encrypted::Environment.load_from_ejson(
- "path/to/env.ejson",
+ "path/to/env.ejson",
secrets_path: "secrets",
private_key: "key"
)
Encrypted::Environment.encrypt_ejson(
"path/to/env.ejson",
secrets_path: "secrets",
private_key: "key"
)
-```
\ No newline at end of file
+```