rakefile in ezcrypto-0.7 vs rakefile in ezcrypto-0.7.2

- old
+ new

@@ -6,11 +6,11 @@ require 'rake/gempackagetask' require 'rake/contrib/rubyforgepublisher' PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' PKG_NAME = 'ezcrypto' -PKG_VERSION = '0.7' + PKG_BUILD +PKG_VERSION = '0.7.2' + PKG_BUILD PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" RELEASE_NAME = "REL #{PKG_VERSION}" RUBY_FORGE_PROJECT = "ezcrypto" @@ -31,11 +31,11 @@ Rake::RDocTask.new { |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = "EzCrypto - Simplified Crypto Library" # rdoc.options << '--line-numbers --inline-source --main README #--template=jamis' rdoc.template = "#{ENV['template']}.rb" if ENV['template'] - rdoc.rdoc_files.include('README') + rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('README_ACTIVE_CRYPTO') rdoc.rdoc_files.include('README_DIGITAL_SIGNATURES') rdoc.rdoc_files.include('CHANGELOG') rdoc.rdoc_files.include('lib/*.rb') } @@ -48,22 +48,24 @@ s.summary = "Simplified encryption library." s.description = %q{Makes it easier and safer to write crypto code.} s.version = PKG_VERSION s.author = "Pelle Braendgaard" - s.email = "pelle@stakeitout.com" + s.email = "pelle@stakeventures.com" s.rubyforge_project = "ezcrypto" s.homepage = "http://ezcrypto.rubyforge.org" s.has_rdoc = true s.requirements << 'none' s.require_path = 'lib' - s.files = [ "rakefile", "README", "README_ACTIVE_CRYPTO", "MIT-LICENSE","CHANGELOG","init.rb" ] + s.files = [ "rakefile", "README.rdoc", "README_ACTIVE_CRYPTO", "README_DIGITAL_SIGNATURES", "MIT-LICENSE","CHANGELOG","init.rb" ] ["lib","test"].each do |dir| s.files = s.files + Dir.glob( "#{dir}/*" ) end + s.extra_rdoc_files = ["CHANGELOG", "README.rdoc","README_ACTIVE_CRYPTO","README_DIGITAL_SIGNATURES"] + s.test_files = Dir.glob("test/*") end Rake::GemPackageTask.new(spec) do |p| p.gem_spec = spec p.need_tar = true