Fetching contributors…
Cannot retrieve contributors at this time
46 lines (36 sloc) 1.69 KB
require 'rubygems' unless defined?(Gem)
require 'bundler/setup'
Bundler.setup(:default, :development)
require 'rake'
task :default => :rspec
require 'rspec/core/rake_task' do |spec|
Bundler.setup(:default, :development, :test)
spec.pattern = 'spec/**/*_spec.rb'
desc "Run RSpec with code coverage"
task :cov do
require 'yard' do
Bundler.setup(:default, :development, :docs)
require 'jeweler' do |gem|
Bundler.setup(:default, :development, :test) = 'configliere'
gem.homepage = ''
gem.license = 'Apache 2.0' = ''
gem.authors = ['Infochimps']
gem.summary = %Q{Wise, discreet configuration management}
gem.description = <<-EOF
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 manage settings from many sources: static constants, simple config files, environment variables, commandline options, straight ruby. You don't have to predefine anything, but you can ask configliere to type-convert, require, document or password-obscure any of its fields. Modules can define config settings independently of each other and the main program.
gem.executables = []