Rakefile in net_dav-0.3.2 vs Rakefile in net_dav-0.3.3

- old
+ new

@@ -4,11 +4,11 @@ begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "net_dav" gem.summary = %Q{WebDAV client library in the style of Net::HTTP} - gem.description = %Q{WebDAV client library in the style of Net::HTTP} + gem.description = %Q{WebDAV client library in the style of Net::HTTP, using Net::HTTP and libcurl, if installed} gem.email = "c1.github@niftybox.net" gem.homepage = "http://github.com/devrandom/net_dav" gem.authors = ["Miron Cuperman"] gem.add_dependency "nokogiri", ">= 1.3.0" gem.add_development_dependency "rspec", ">= 1.2.0" @@ -34,14 +34,21 @@ task :spec => :check_dependencies task :default => :spec -task "dist" => [:clean, :release] +desc "release with no version change" +task :dist => [:clean, :release] -task "dist:patch" => [:clean, "version:bump:patch", :release] +namespace :dist do + desc "release patch" + task :patch => [:clean, "version:bump:patch", :release] + desc "release with minor version bump" + task :minor => [:clean, "version:bump:minor", :release] +end -task "dist:minor" => [:clean, "version:bump:minor", :release] +desc "build gem into pkg directory" +task :gem => [:build] task :clean do Dir.glob("**/*~").each do |file| File.unlink file end