Rakefile in sawmill-0.0.1 vs Rakefile in sawmill-0.0.2
- old
+ new
@@ -78,20 +78,20 @@
s_.summary = 'Sawmill is a logging and log analysis system for Ruby.'
s_.version = ::Sawmill::VERSION_STRING
s_.author = 'Daniel Azuma'
s_.email = 'dazuma@gmail.com'
s_.description = 'Sawmill is a logging and log analysis system for Ruby. It extends the basic Ruby logging facility with log records and parsing abilities.'
- s_.homepage = 'http://github.com/dazuma/sawmill'
+ s_.homepage = 'http://virtuoso.rubyforge.org/sawmill'
s_.rubyforge_project = 'virtuoso'
s_.required_ruby_version = '>= 1.8.6'
s_.files = ::FileList['lib/**/*.rb', 'tests/**/*.rb', '*.rdoc', 'Rakefile'].to_a
s_.extra_rdoc_files = extra_rdoc_files_
s_.has_rdoc = true
s_.test_files = ::FileList['tests/tc_*.rb']
s_.platform = ::Gem::Platform::RUBY
- s_.add_dependency('blockenspiel', '>= 0.2.1')
- s_.add_dependency('versionomy', '>= 0.1.1')
+ s_.add_dependency('blockenspiel', '>= 0.2.2')
+ s_.add_dependency('versionomy', '>= 0.1.2')
end
::Rake::GemPackageTask.new(gemspec_) do |task_|
task_.need_zip = false
task_.need_tar = true
end
@@ -104,12 +104,12 @@
username_ = config_['username']
sh "rsync -av --delete doc/ #{username_}@rubyforge.org:/var/www/gforge-projects/virtuoso/sawmill"
end
-# Publish gem
-task :publish_gem_to_rubyforge => [:package] do |t_|
+# Release gem ro rubyforge
+task :release_gem_to_rubyforge => [:package] do |t_|
v_ = ::ENV["VERSION"]
abort "Must supply VERSION=x.y.z" unless v_
if v_ != ::Sawmill::VERSION_STRING
abort "Versions don't match: #{v_} vs #{::Sawmill::VERSION_STRING}"
end
@@ -129,12 +129,12 @@
puts "Releasing sawmill #{v_} to RubyForge"
rf_.add_release('virtuoso', 'sawmill', v_, gem_pkg_, tgz_pkg_)
end
-# Publish gem
-task :publish_gem_to_gemcutter => [:package] do |t_|
+# Release gem to gemcutter
+task :release_gem_to_gemcutter => [:package] do |t_|
v_ = ::ENV["VERSION"]
abort "Must supply VERSION=x.y.z" unless v_
if v_ != ::Sawmill::VERSION_STRING
abort "Versions don't match: #{v_} vs #{::Sawmill::VERSION_STRING}"
end
@@ -142,6 +142,6 @@
`cd pkg && gem push sawmill-#{v_}.gem`
end
# Publish everything
-task :publish => [:publish_gem_to_gemcutter, :publish_gem_to_rubyforge, :publish_rdoc_to_rubyforge]
+task :release => [:release_gem_to_gemcutter, :release_gem_to_rubyforge, :publish_rdoc_to_rubyforge]