Permalink
Browse files

modernizing docs and handlers

  • Loading branch information...
1 parent ce14602 commit 5a63fe866aa97cc66ff4824155e4478e1011497d Philip (flip) Kromer committed Aug 13, 2012
Showing with 17 additions and 13 deletions.
  1. +5 −5 Gemfile
  2. +12 −8 Rakefile
View
10 Gemfile
@@ -1,10 +1,10 @@
-source "http://rubygems.org"
+source 'http://rubygems.org'
gem 'multi_json', ">= 1.1"
# Only necessary if you want to use Configliere::Prompt
gem 'highline', ">= 1.5.2"
-gem 'jruby-openssl', :platform => :jruby if RUBY_PLATFORM =~ /jruby/
+gem 'jruby-openssl', :platform => :jruby if RUBY_PLATFORM =~ /jruby/
# Only gems that you want listed as development dependencies in the gemspec
group :development do
@@ -13,9 +13,6 @@ group :development do
gem 'yard', ">= 0.7"
gem 'rspec', ">= 2.8"
gem 'jeweler', ">= 1.6"
- #
- gem 'oj', ">= 1.2", :platform => :ruby
- gem 'json', :platform => :jruby
end
group :docs do
@@ -26,6 +23,9 @@ end
# Gems for testing and coverage
group :test do
gem 'simplecov', ">= 0.5", :platform => :ruby_19
+ #
+ gem 'oj', ">= 1.2", :platform => :ruby
+ gem 'json', :platform => :jruby
end
# Gems you would use if hacking on this gem (rather than with it)
View
@@ -24,18 +24,22 @@ end
require 'jeweler'
Jeweler::Tasks.new do |gem|
- gem.name = "configliere"
- gem.homepage = "http://infochimps.com/tools"
- gem.license = "Apache"
+ Bundler.setup(:default, :development, :test)
+ gem.name = 'configliere'
+ gem.homepage = 'https://github.com/infochimps-labs/configliere'
+ gem.license = 'Apache 2.0'
+ gem.email = 'coders@infochimps.org'
+ gem.authors = ['Infochimps']
+
gem.summary = %Q{Wise, discreet configuration management}
- gem.email = "coders@infochimps.org"
- gem.authors = ["infochimps", "mrflip"]
- gem.executables = []
- gem.description = %Q{ 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.
+ 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.
-} #'
+EOF
+
+ gem.executables = []
end
Jeweler::RubygemsDotOrgTasks.new

0 comments on commit 5a63fe8

Please sign in to comment.