couchrest.gemspec in couchrest-0.38 vs couchrest.gemspec in couchrest-1.0.0.beta

- old
+ new

@@ -3,15 +3,15 @@ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = %q{couchrest} - s.version = "0.38" + s.version = "1.0.0.beta" - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= + s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version= s.authors = ["J. Chris Anderson", "Matt Aimonetti", "Marcos Tapajos", "Will Leinweber"] - s.date = %q{2010-07-28} + s.date = %q{2010-06-15} s.description = %q{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.email = %q{jchris@apache.org} s.extra_rdoc_files = [ "LICENSE", "README.md", @@ -21,11 +21,10 @@ "LICENSE", "README.md", "Rakefile", "THANKS.md", "couchrest.gemspec", - "examples/model/example.rb", "examples/word_count/markov", "examples/word_count/views/books/chunked-map.js", "examples/word_count/views/books/united-map.js", "examples/word_count/views/markov/chain-map.js", "examples/word_count/views/markov/chain-reduce.js", @@ -36,86 +35,33 @@ "examples/word_count/word_count_views.rb", "history.txt", "lib/couchrest.rb", "lib/couchrest/commands/generate.rb", "lib/couchrest/commands/push.rb", - "lib/couchrest/core/adapters/restclient.rb", - "lib/couchrest/core/database.rb", - "lib/couchrest/core/design.rb", - "lib/couchrest/core/document.rb", - "lib/couchrest/core/http_abstraction.rb", - "lib/couchrest/core/response.rb", - "lib/couchrest/core/rest_api.rb", - "lib/couchrest/core/server.rb", - "lib/couchrest/core/view.rb", + "lib/couchrest/database.rb", + "lib/couchrest/design.rb", + "lib/couchrest/document.rb", + "lib/couchrest/helper/attachments.rb", "lib/couchrest/helper/pager.rb", "lib/couchrest/helper/streamer.rb", "lib/couchrest/helper/upgrade.rb", "lib/couchrest/middlewares/logger.rb", - "lib/couchrest/mixins.rb", - "lib/couchrest/mixins/attachments.rb", - "lib/couchrest/mixins/attribute_protection.rb", - "lib/couchrest/mixins/callbacks.rb", - "lib/couchrest/mixins/class_proxy.rb", - "lib/couchrest/mixins/collection.rb", - "lib/couchrest/mixins/design_doc.rb", - "lib/couchrest/mixins/document_queries.rb", - "lib/couchrest/mixins/extended_attachments.rb", - "lib/couchrest/mixins/extended_document_mixins.rb", - "lib/couchrest/mixins/properties.rb", - "lib/couchrest/mixins/validation.rb", - "lib/couchrest/mixins/views.rb", "lib/couchrest/monkeypatches.rb", - "lib/couchrest/more/casted_model.rb", - "lib/couchrest/more/extended_document.rb", - "lib/couchrest/more/property.rb", - "lib/couchrest/more/typecast.rb", - "lib/couchrest/support/blank.rb", + "lib/couchrest/response.rb", + "lib/couchrest/rest_api.rb", + "lib/couchrest/server.rb", "lib/couchrest/support/class.rb", - "lib/couchrest/support/rails.rb", - "lib/couchrest/validation/auto_validate.rb", - "lib/couchrest/validation/contextual_validators.rb", - "lib/couchrest/validation/validation_errors.rb", - "lib/couchrest/validation/validators/absent_field_validator.rb", - "lib/couchrest/validation/validators/confirmation_validator.rb", - "lib/couchrest/validation/validators/format_validator.rb", - "lib/couchrest/validation/validators/formats/email.rb", - "lib/couchrest/validation/validators/formats/url.rb", - "lib/couchrest/validation/validators/generic_validator.rb", - "lib/couchrest/validation/validators/length_validator.rb", - "lib/couchrest/validation/validators/method_validator.rb", - "lib/couchrest/validation/validators/numeric_validator.rb", - "lib/couchrest/validation/validators/required_field_validator.rb", - "spec/couchrest/core/couchrest_spec.rb", - "spec/couchrest/core/database_spec.rb", - "spec/couchrest/core/design_spec.rb", - "spec/couchrest/core/document_spec.rb", - "spec/couchrest/core/server_spec.rb", + "spec/couchrest/couchrest_spec.rb", + "spec/couchrest/database_spec.rb", + "spec/couchrest/design_spec.rb", + "spec/couchrest/document_spec.rb", "spec/couchrest/helpers/pager_spec.rb", "spec/couchrest/helpers/streamer_spec.rb", - "spec/couchrest/more/attribute_protection_spec.rb", - "spec/couchrest/more/casted_extended_doc_spec.rb", - "spec/couchrest/more/casted_model_spec.rb", - "spec/couchrest/more/extended_doc_attachment_spec.rb", - "spec/couchrest/more/extended_doc_inherited_spec.rb", - "spec/couchrest/more/extended_doc_spec.rb", - "spec/couchrest/more/extended_doc_subclass_spec.rb", - "spec/couchrest/more/extended_doc_view_spec.rb", - "spec/couchrest/more/property_spec.rb", + "spec/couchrest/server_spec.rb", "spec/fixtures/attachments/README", "spec/fixtures/attachments/couchdb.png", "spec/fixtures/attachments/test.html", - "spec/fixtures/more/article.rb", - "spec/fixtures/more/card.rb", - "spec/fixtures/more/cat.rb", - "spec/fixtures/more/course.rb", - "spec/fixtures/more/event.rb", - "spec/fixtures/more/invoice.rb", - "spec/fixtures/more/person.rb", - "spec/fixtures/more/question.rb", - "spec/fixtures/more/service.rb", - "spec/fixtures/more/user.rb", "spec/fixtures/views/lib.js", "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", @@ -125,61 +71,35 @@ "utils/subset.rb" ] s.homepage = %q{http://github.com/couchrest/couchrest} s.rdoc_options = ["--charset=UTF-8"] s.require_paths = ["lib"] - s.rubygems_version = %q{1.3.7} + s.rubygems_version = %q{1.3.6} s.summary = %q{Lean and RESTful interface to CouchDB.} s.test_files = [ - "spec/couchrest/core/couchrest_spec.rb", - "spec/couchrest/core/database_spec.rb", - "spec/couchrest/core/design_spec.rb", - "spec/couchrest/core/document_spec.rb", - "spec/couchrest/core/server_spec.rb", + "spec/couchrest/couchrest_spec.rb", + "spec/couchrest/database_spec.rb", + "spec/couchrest/design_spec.rb", + "spec/couchrest/document_spec.rb", "spec/couchrest/helpers/pager_spec.rb", "spec/couchrest/helpers/streamer_spec.rb", - "spec/couchrest/more/attribute_protection_spec.rb", - "spec/couchrest/more/casted_extended_doc_spec.rb", - "spec/couchrest/more/casted_model_spec.rb", - "spec/couchrest/more/extended_doc_attachment_spec.rb", - "spec/couchrest/more/extended_doc_inherited_spec.rb", - "spec/couchrest/more/extended_doc_spec.rb", - "spec/couchrest/more/extended_doc_subclass_spec.rb", - "spec/couchrest/more/extended_doc_view_spec.rb", - "spec/couchrest/more/property_spec.rb", - "spec/fixtures/more/article.rb", - "spec/fixtures/more/card.rb", - "spec/fixtures/more/cat.rb", - "spec/fixtures/more/course.rb", - "spec/fixtures/more/event.rb", - "spec/fixtures/more/invoice.rb", - "spec/fixtures/more/person.rb", - "spec/fixtures/more/question.rb", - "spec/fixtures/more/service.rb", - "spec/fixtures/more/user.rb", + "spec/couchrest/server_spec.rb", "spec/spec_helper.rb", - "examples/model/example.rb", "examples/word_count/word_count.rb", "examples/word_count/word_count_query.rb", "examples/word_count/word_count_views.rb" ] if s.respond_to? :specification_version then current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION s.specification_version = 3 - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q<rest-client>, [">= 0.5"]) - s.add_runtime_dependency(%q<mime-types>, [">= 1.15"]) - s.add_runtime_dependency(%q<json>, ["= 1.2.4"]) + if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then + s.add_runtime_dependency(%q<rest-client>, [">= 1.5.1"]) else - s.add_dependency(%q<rest-client>, [">= 0.5"]) - s.add_dependency(%q<mime-types>, [">= 1.15"]) - s.add_dependency(%q<json>, ["= 1.2.4"]) + s.add_dependency(%q<rest-client>, [">= 1.5.1"]) end else - s.add_dependency(%q<rest-client>, [">= 0.5"]) - s.add_dependency(%q<mime-types>, [">= 1.15"]) - s.add_dependency(%q<json>, ["= 1.2.4"]) + s.add_dependency(%q<rest-client>, [">= 1.5.1"]) end end