RubyGems Navigation menu

configliere 0.0.1

You've got a script. It's got some settings. Some settings are for this module, some are for that module. Most of them don't change. Except on your laptop, where the paths are different. Or when you're in production mode. Or when you're testing from the command line. "" So, Consigliere of mine, I think you should tell your Don what everyone knows. "" -- Don Corleone Configliere's wise counsel takes care of these problems. Design goals: * *Don't go outside the family*. Requires almost no external resources and almost no code in your script. * *Don't mess with my crew*. Settings for a model over here can be done independently of settings for a model over there, and don't require asking the boss to set something up. * *Be willing to sit down with the Five Families*. Takes settings from (at your option): ** Pre-defined defaults from constants ** Simple config files ** Environment variables ** Commandline options ** Ruby block called when all other options are in place * *Code of Silence*. Most commandline parsers force you to pre-define all your parameters in a centralized and wordy syntax. In configliere, you pre-define nothing -- commandline parameters map directly to values in the Configliere hash. * *Can hide your assets*. Rather than storing passwords and API keys in plain sight, configliere has a protection racket that can obscure values when stored to disk. fuhgeddaboudit.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.4.22 - October 20, 2014 (52.5 KB)
  2. 0.4.18 - December 05, 2012 (51.5 KB)
  3. 0.4.17 - August 17, 2012 (51.5 KB)
  4. 0.4.16 - August 13, 2012 (51.5 KB)
  5. 0.4.14 - August 13, 2012 (50.5 KB)
  6. 0.0.1 - January 06, 2010 (23 KB)
Show all versions (37 total)

Runtime Dependencies (3):

highline >= 0
openssl >= 0
yaml >= 0

Development Dependencies (2):

rspec >= 1.2.9
yard >= 0

Owners:

Authors:

  • mrflip

SHA 256 checksum:

7ef8ecba475714d4b51f7af5a5e3ad8e554c237a7fd048e2c262740e23162fd8

Total downloads 762,618

For this version 4,203

Licenses:

N/A

Required Ruby Version: None

Links: