Secret Key
Provides an accessor for a secret key stored in tmp
.
Compatibility
Tested with Ruby 1.8.6, 1.8.7, and 1.9.1.
Setup
sudo gem install secret_key --source http://gemcutter.org
Usage
require 'rubygems' require 'secret_key' key = SecretKey.new(File.dirname(__FILE__)).read