net_dav.gemspec in net_dav-0.5.0 vs net_dav.gemspec in net_dav-0.5.1
- old
+ new
@@ -1,71 +1,38 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
-# -*- encoding: utf-8 -*-
+# coding: utf-8
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+require 'net/dav/version'
-Gem::Specification.new do |s|
- s.name = %q{net_dav}
- s.version = "0.5.0"
+Gem::Specification.new do |spec|
+ spec.name = "net_dav"
+ spec.version = Net::DAV::VERSION
+ spec.authors = ["Miron Cuperman", "Thomas Flemming"]
+ spec.email = ["c1.github@niftybox.net"]
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Miron Cuperman", "Thomas Flemming"]
- s.date = %q{2010-03-12}
- s.default_executable = %q{dav}
- s.description = %q{WebDAV client library in the style of Net::HTTP, using Net::HTTP and libcurl, if installed}
- 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",
- "lib/net/dav/item.rb",
- "net_dav.gemspec",
- "net_dav.gif",
- "script/multi-test",
- "spec/fixtures/file.html",
- "spec/integration/net_dav_spec.rb",
- "spec/integration/webdav_server.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/spec_helper.rb",
- "spec/integration/webdav_server.rb",
- "spec/integration/net_dav_spec.rb"
- ]
+ spec.summary = "WebDAV client library in the style of Net::HTTP, using Net::HTTP and libcurl, if installed"
+ spec.description = "WebDAV client library in the style of Net::HTTP, using Net::HTTP and libcurl, if installed"
+ spec.homepage = "https://github.com/devrandom/net_dav"
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
+ # if spec.respond_to?(:metadata)
+ # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
+ # else
+ # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
+ # end
- 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"])
- s.add_development_dependency(%q<webrick-webdav>, [">= 1.0"])
- else
- s.add_dependency(%q<nokogiri>, [">= 1.3.0"])
- s.add_dependency(%q<rspec>, [">= 1.2.0"])
- s.add_dependency(%q<webrick-webdav>, [">= 1.0"])
- end
- else
- s.add_dependency(%q<nokogiri>, [">= 1.3.0"])
- s.add_dependency(%q<rspec>, [">= 1.2.0"])
- s.add_dependency(%q<webrick-webdav>, [">= 1.0"])
- end
-end
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+ spec.bindir = "exe"
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
+ spec.require_paths = ["lib"]
+ spec.add_development_dependency "bundler", "~> 1.12"
+ spec.add_development_dependency "rake", "~> 10.0"
+ spec.add_development_dependency "webrick-webdav"
+ spec.add_development_dependency "rspec"
+
+ spec.add_dependency "nokogiri"
+
+
+
+end