Permalink
Browse files

release task, with cleaning, unignore gemspec

  • Loading branch information...
1 parent 9d38b80 commit 255f10af66edfccac477105aeb3f4496609bc7c2 @devrandom committed Oct 29, 2009
Showing with 71 additions and 1 deletion.
  1. +0 −1 .gitignore
  2. +9 −0 Rakefile
  3. +62 −0 net_dav.gemspec
View
@@ -17,6 +17,5 @@ tmtags
coverage
rdoc
pkg
-*.gemspec
## PROJECT::SPECIFIC
View
@@ -36,6 +36,15 @@ task :spec => :check_dependencies
task :default => :spec
+task :release => [:clean, :gemspec, 'gemcutter:release']
+
+task :clean do
+ Dir.glob("**/*~").each do |file|
+ File.unlink file
+ end
+ puts "cleaned"
+end
+
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
View
@@ -0,0 +1,62 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{net_dav}
+ s.version = "0.0.2"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Miron Cuperman"]
+ s.date = %q{2009-10-29}
+ s.default_executable = %q{dav}
+ s.description = %q{WebDAV client library in the style of Net::HTTP}
+ s.email = %q{c1.github@niftybox.net}
+ s.executables = ["dav"]
+ s.extra_rdoc_files = [
+ "LICENSE",
+ "README.rdoc"
+ ]
+ s.files = [
+ ".document",
+ ".gitignore",
+ "LICENSE",
+ "README.rdoc",
+ "Rakefile",
+ "VERSION",
+ "bin/dav",
+ "lib/net/dav.rb",
+ "net_dav.gemspec",
+ "spec/net_dav_spec.rb",
+ "spec/spec.opts",
+ "spec/spec_helper.rb",
+ "tmp/.gitignore"
+ ]
+ s.homepage = %q{http://github.com/devrandom/net_dav}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.5}
+ s.summary = %q{WebDAV client library in the style of Net::HTTP}
+ s.test_files = [
+ "spec/net_dav_spec.rb",
+ "spec/spec_helper.rb"
+ ]
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<nokogiri>, [">= 1.3.0"])
+ s.add_development_dependency(%q<rspec>, [">= 1.2.0"])
+ else
+ s.add_dependency(%q<nokogiri>, [">= 1.3.0"])
+ s.add_dependency(%q<rspec>, [">= 1.2.0"])
+ end
+ else
+ s.add_dependency(%q<nokogiri>, [">= 1.3.0"])
+ s.add_dependency(%q<rspec>, [">= 1.2.0"])
+ end
+end
+

0 comments on commit 255f10a

Please sign in to comment.