Figaro

https://github.com/laserlemon/figaro

Figaro was written to make it easy to securely configure Rails applications.

Configuration values often include sensitive information. Figaro strives to be secure by default by encouraging a convention that keeps configuration out of Git.
configuration 104 1

Fork

Dave Kimura
Dave Kimura

May 22, 2020

Copy and paste this code into your terminal

Given the following configuration file:

# config/application.yml

pusher_app_id: "2954"
pusher_key: "7381a978f7dd7f9a1117"
pusher_secret: "abdc3b896a0ffb85d373"

You can configure Pusher in an initializer:

# config/initializers/pusher.rb

Pusher.app_id = ENV["pusher_app_id"]
Pusher.key    = ENV["pusher_key"]
Pusher.secret = ENV["pusher_secret"]

DISCLAIMER: You should always review templates before running them. By running the template, you are agreeing to the terms of use.

The contents of this script as show. Any updates will be reflected in the below code and the snippet.

run "bundle add figaro"
run "bundle install"
run "bundle exec figaro install"

A place where you can thank the author, post problems, give constructive feedback, etc. Be nice!