Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oddcamp/secretservice
Ensures that any secrets defined in secrets.yml are set.
https://github.com/oddcamp/secretservice
Last synced: about 2 months ago
JSON representation
Ensures that any secrets defined in secrets.yml are set.
- Host: GitHub
- URL: https://github.com/oddcamp/secretservice
- Owner: oddcamp
- License: mit
- Created: 2014-09-26T10:38:33.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-11T20:33:20.000Z (about 10 years ago)
- Last Synced: 2024-12-01T12:09:42.887Z (2 months ago)
- Language: Ruby
- Homepage:
- Size: 159 KB
- Stars: 3
- Watchers: 12
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
![Secret Service Rails Gem](http://www.kollegorna.se/images/secretservice.svg)
# Secret Service
[![Gem Version](https://badge.fury.io/rb/secretservice.svg)](http://badge.fury.io/rb/secretservice)
[![Code Climate](https://codeclimate.com/github/kollegorna/secretservice/badges/gpa.svg)](https://codeclimate.com/github/kollegorna/secretservice)Undercover secret service agents that check if you have set all the
required env variables in Rails secrets.yml## Installation
Add this line to your application's Gemfile:
```ruby
gem 'secretservice'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install secretservice
## Usage
Once you include it in the Gemfile, Secret Service starts it's undercover operation.If you violate the law then Secret Service will throw you messages like:
```
bin/rails: HEY! SecretService got you! (SecretService::MissingSecrets)
Missing secrets: pusher_app_id, pusher_app_key, pusher_app_secret
```## Contributing
1. Fork it ( https://github.com/kollegorna/secretservice/fork )
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 a new Pull Request