rufus-verbs.gemspec in rufus-verbs-1.0.0 vs rufus-verbs.gemspec in rufus-verbs-1.0.1
- old
+ new
@@ -1,87 +1,39 @@
-# 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{rufus-verbs}
- s.version = "1.0.0"
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["John Mettraux"]
- s.date = %q{2010-01-11}
- s.description = %q{
+ s.name = 'rufus-verbs'
+
+ s.version = File.read(
+ File.expand_path('../lib/rufus/verbs/version.rb', __FILE__)
+ ).match(/ VERSION *= *['"]([^'"]+)/)[1]
+ # avoiding requiring version.rb...
+
+ s.platform = Gem::Platform::RUBY
+ s.authors = [ 'John Mettraux' ]
+ s.email = [ 'jmettraux@gmail.com' ]
+ s.homepage = 'http://github.com/jmettraux/rufus-verbs'
+ s.rubyforge_project = 'rufus'
+ s.summary = 'GET, POST, PUT, DELETE, with something around'
+
+ s.description = %{
GET, POST, PUT, DELETE, with something around.
-An HTTP client Ruby gem, with conditional GET, basic auth, and more.
- }
- s.email = %q{jmettraux@gmail.com}
- s.extra_rdoc_files = [
- "LICENSE.txt",
- "README.txt"
+A HTTP client Ruby gem, with conditional GET, basic auth, and more.
+ }.strip
+
+ #s.required_ruby_version = '>= 1.8.6'
+
+ #s.files = `git ls-files`.split("\n")
+ s.files = Dir[
+ 'Rakefile',
+ 'lib/**/*.rb', 'spec/**/*.rb', 'test/**/*.rb',
+ '*.gemspec', '*.txt', '*.rdoc', '*.md'
]
- s.files = [
- "CHANGELOG.txt",
- "CREDITS.txt",
- "LICENSE.txt",
- "README.txt",
- "Rakefile",
- "doc/rdoc-style.css",
- "lib/rufus-verbs.rb",
- "lib/rufus/verbs.rb",
- "lib/rufus/verbs/conditional.rb",
- "lib/rufus/verbs/cookies.rb",
- "lib/rufus/verbs/digest.rb",
- "lib/rufus/verbs/endpoint.rb",
- "lib/rufus/verbs/verbose.rb",
- "lib/rufus/verbs/version.rb",
- "rufus-verbs.gemspec",
- "test/auth0_test.rb",
- "test/auth1_test.rb",
- "test/base.rb",
- "test/block_test.rb",
- "test/bm.rb",
- "test/conditional_test.rb",
- "test/cookie0_test.rb",
- "test/cookie1_test.rb",
- "test/dryrun_test.rb",
- "test/escape_test.rb",
- "test/fopen_test.rb",
- "test/https_test.rb",
- "test/iconditional_test.rb",
- "test/items.rb",
- "test/proxy_test.rb",
- "test/redir_test.rb",
- "test/simple_test.rb",
- "test/test.htdigest",
- "test/test.rb",
- "test/timeout_test.rb",
- "test/uri_test.rb"
- ]
- s.homepage = %q{http://github.com/jmettraux/rufus-verbs/}
- s.rdoc_options = ["--charset=UTF-8"]
- s.require_paths = ["lib"]
- s.rubyforge_project = %q{rufus}
- s.rubygems_version = %q{1.3.5}
- s.summary = %q{GET, POST, PUT, DELETE, with something around}
- s.test_files = [
- "test/test.rb"
- ]
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ s.add_runtime_dependency 'rufus-lru'
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<rufus-lru>, [">= 0"])
- s.add_development_dependency(%q<yard>, [">= 0"])
- else
- s.add_dependency(%q<rufus-lru>, [">= 0"])
- s.add_dependency(%q<yard>, [">= 0"])
- end
- else
- s.add_dependency(%q<rufus-lru>, [">= 0"])
- s.add_dependency(%q<yard>, [">= 0"])
- end
+ s.add_development_dependency 'rake'
+
+ s.require_path = 'lib'
end