From 98735aa38a181005d884022afd15ea6bbc62fda6 Mon Sep 17 00:00:00 2001 From: Chris Anderson Date: Fri, 12 Sep 2008 15:47:05 -0400 Subject: [PATCH] updated gemspec --- couchrest.gemspec | 83 +++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 70 insertions(+), 13 deletions(-) diff --git a/couchrest.gemspec b/couchrest.gemspec index 5bdc27c..b52aa0e 100644 --- a/couchrest.gemspec +++ b/couchrest.gemspec @@ -1,18 +1,75 @@ Gem::Specification.new do |s| - s.name = "couchrest" + s.extra_rdoc_files = ["README.rdoc", "LICENSE", "THANKS"] + s.date = "Thu Sep 11 00:00:00 -0400 2008" + s.executables = ["couchview", "couchdir"] + s.authors = ["J. Chris Anderson"] + s.required_rubygems_version = ">= 0" s.version = "0.9.4" - s.date = "2008-09-11" - s.summary = "Lean and RESTful interface to CouchDB." + s.files = ["LICENSE", + "README.rdoc", + "Rakefile", + "THANKS", + "bin/couchdir", + "bin/couchview", + "examples/word_count", + "examples/word_count/markov", + "examples/word_count/views", + "examples/word_count/views/books", + "examples/word_count/views/books/chunked-map.js", + "examples/word_count/views/books/united-map.js", + "examples/word_count/views/markov", + "examples/word_count/views/markov/chain-map.js", + "examples/word_count/views/markov/chain-reduce.js", + "examples/word_count/views/word_count", + "examples/word_count/views/word_count/count-map.js", + "examples/word_count/views/word_count/count-reduce.js", + "examples/word_count/word_count.rb", + "examples/word_count/word_count_query.rb", + "lib/couchrest", + "lib/couchrest/commands", + "lib/couchrest/commands/generate.rb", + "lib/couchrest/commands/push.rb", + "lib/couchrest/core", + "lib/couchrest/core/database.rb", + "lib/couchrest/core/server.rb", + "lib/couchrest/helper", + "lib/couchrest/helper/file_manager.rb", + "lib/couchrest/helper/pager.rb", + "lib/couchrest/helper/streamer.rb", + "lib/couchrest/monkeypatches.rb", + "lib/couchrest.rb", + "spec/couchrest_spec.rb", + "spec/database_spec.rb", + "spec/file_manager_spec.rb", + "spec/fixtures", + "spec/fixtures/attachments", + "spec/fixtures/attachments/test.html", + "spec/fixtures/views", + "spec/fixtures/views/lib.js", + "spec/fixtures/views/test_view", + "spec/fixtures/views/test_view/lib.js", + "spec/fixtures/views/test_view/only-map.js", + "spec/fixtures/views/test_view/test-map.js", + "spec/fixtures/views/test_view/test-reduce.js", + "spec/pager_spec.rb", + "spec/spec.opts", + "spec/spec_helper.rb", + "spec/streamer_spec.rb", + "utils/remap.rb", + "utils/subset.rb"] + s.has_rdoc = "true" + s.specification_version = "2" + s.loaded = "false" s.email = "jchris@grabb.it" + s.name = "couchrest" + s.required_ruby_version = ">= 0" + s.bindir = "bin" + s.rubygems_version = "1.2.0" s.homepage = "http://github.com/jchris/couchrest" + s.platform = "ruby" + s.summary = "Lean and RESTful interface to CouchDB." s.description = "CouchRest provides a simple interface on top of CouchDB's RESTful HTTP API, as well as including some utility scripts for managing views and attachments." - s.has_rdoc = true - s.authors = ["J. Chris Anderson", "Greg Borenstein"] - s.files = %w( LICENSE README.rdoc Rakefile ) + Dir["{bin,examples,lib,spec,utils}/**/*"] - s.require_path = "lib" - s.bindir = 'bin' - s.executables << 'couchview' - s.executables << 'couchdir' - s.add_dependency("json", [">= 1.1.2"]) - s.add_dependency("rest-client", [">= 0.5"]) -end + s.add_dependency "json", ">= 1.1.2, runtime" + s.add_dependency "rest-client", ">= 0.5, runtime" + s.require_paths = ["lib"] +end \ No newline at end of file