Browse files

modify Rakefile and CHANGES for building a gem file.

  • Loading branch information...
1 parent 53b61f1 commit 8c3b05cf42e2b583251079dcc49af90ce51f6de9 @mrkn committed Aug 18, 2008
Showing with 6 additions and 2 deletions.
  1. +3 −0 CHANGES
  2. +3 −2 Rakefile
View
3 CHANGES
@@ -1,5 +1,8 @@
+= Measure Changes
+
== Version 0.1.0
This is the first preview release of Measure, a library for handling
measurement numbers for Ruby.
+* Implemented basic one-dimensional mesurement number scheme.
View
5 Rakefile
@@ -96,8 +96,9 @@ task :publish_packages => [ :verify_user, :package, :pkg ] do
File.join('pkg', "#{PKG_FILE_NAME}.gem"),
File.join('pkg', "#{PKG_FILE_NAME}.zip"),
File.join('pkg', "#{PKG_FILE_NAME}.tgz"),
+ 'CHANGES'
]
- unless Measure::VERSION::RELEASE_CANDIDATE
+ unless defined? Measure::VERSION::RELEASE_CANDIDATE and Measure::VERSION::RELEASE_CANDIDATE
require 'meta_project'
require 'rake/contrib/xforge'
@@ -134,7 +135,7 @@ end
desc 'Publish news on RubyForge'
task :publish_news => [ :verify_user ] do
- unless Measure::VERSION::RELEASE_CANDIDATE
+ unless defined? Measure::VERSION::RELEASE_CANDIDATE and Measure::VERSION::RELEASE_CANDIDATE
require 'meta_project'
require 'rake/contrib/xforge'

0 comments on commit 8c3b05c

Please sign in to comment.