Rakefile in datamapper-0.9.7 vs Rakefile in datamapper-0.9.8

- old
+ new

@@ -3,22 +3,22 @@ require 'rubygems' require 'rake' gems = %w(dm-core dm-aggregates dm-migrations dm-serializer dm-timestamps dm-validations dm-cli dm-is-tree dm-observer dm-types) -AUTHOR = "Sam Smoot" -EMAIL = "ssmoot@gmail.com" -GEM_NAME = "datamapper" -GEM_VERSION = "0.9.7" -GEM_DEPENDENCIES = [["dm-core", GEM_VERSION], *gems.collect { |g| [g, GEM_VERSION] }] -GEM_CLEAN = ['**/*.{gem,DS_Store}', '*.db', "doc/rdoc", ".config", "**/coverage", "cache", "lib/merb-more.rb"] +AUTHOR = 'Sam Smoot' +EMAIL = 'ssmoot@gmail.com' +GEM_NAME = 'datamapper' +GEM_VERSION = '0.9.8' +GEM_DEPENDENCIES = [['dm-core', GEM_VERSION], *gems.collect { |g| [g, GEM_VERSION] }] +GEM_CLEAN = %w[ **/*.{gem,DS_Store} *.db doc/rdoc .config **/coverage cache ] GEM_EXTRAS = { :has_rdoc => false } -PROJECT_NAME = "datamapper" -PROJECT_URL = "http://datamapper.org" -PROJECT_DESCRIPTION = "Faster, Better, Simpler." -PROJECT_SUMMARY = "An Object/Relational Mapper for Ruby" +PROJECT_NAME = 'datamapper' +PROJECT_URL = 'http://datamapper.org' +PROJECT_DESCRIPTION = 'Faster, Better, Simpler.' +PROJECT_SUMMARY = 'An Object/Relational Mapper for Ruby' WINDOWS = (RUBY_PLATFORM =~ /win32|mingw|bccwin|cygwin/) rescue nil SUDO = WINDOWS ? '' : ('sudo' unless ENV['SUDOLESS']) @@ -29,13 +29,13 @@ ## HOE TASKS require 'hoe' -@config_file = "~/.rubyforge/user-config.yml" +@config_file = '~/.rubyforge/user-config.yml' @config = nil -RUBYFORGE_USERNAME = "unknown" +RUBYFORGE_USERNAME = 'unknown' def rubyforge_username unless @config begin @config = YAML.load(File.read(File.expand_path(@config_file))) rescue @@ -45,10 +45,10 @@ - See http://newgem.rubyforge.org/rubyforge.html for more details EOS exit end end - RUBYFORGE_USERNAME.replace @config["username"] + RUBYFORGE_USERNAME.replace @config['username'] end hoe = Hoe.new(GEM_NAME, GEM_VERSION) do |p| p.developer(AUTHOR, EMAIL)