rakefile in ezcrypto-0.1.1 vs rakefile in ezcrypto-0.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.1.1' + PKG_BUILD +PKG_VERSION = '0.2' + PKG_BUILD PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" RELEASE_NAME = "REL #{PKG_VERSION}" RUBY_FORGE_PROJECT = "ezcrypto" @@ -32,11 +32,14 @@ rdoc.rdoc_dir = 'doc' rdoc.title = "EzCrypto - Simplified Crypto Library" rdoc.options << '--line-numbers --inline-source --main README' rdoc.template = "#{ENV['template']}.rb" if ENV['template'] rdoc.rdoc_files.include('README') + rdoc.rdoc_files.include('README_ACTIVE_CRYPTO') + rdoc.rdoc_files.include('CHANGELOG') rdoc.rdoc_files.include('lib/ezcrypto.rb') + rdoc.rdoc_files.include('lib/active_crypto.rb') # rdoc.rdoc_files.include('lib/ezcrypto/*.rb') } # Create compressed packages @@ -55,10 +58,10 @@ s.has_rdoc = true s.requirements << 'none' s.require_path = 'lib' - s.files = [ "rakefile", "README", "MIT-LICENSE" ] + s.files = [ "rakefile", "README", "README_ACTIVE_CRYPTO", "MIT-LICENSE","CHANGELOG" ] s.files = s.files + Dir.glob( "lib/**/*" ).delete_if { |item| item.include?( "\.svn" ) } s.files = s.files + Dir.glob( "test/**/*" ).delete_if { |item| item.include?( "\.svn" ) } end Rake::GemPackageTask.new(spec) do |p|