From e9f7456eab772e8c36b242fe8e0ce0a448ee43cf Mon Sep 17 00:00:00 2001 From: Chris Anderson Date: Tue, 27 Jan 2009 15:11:10 -0800 Subject: [PATCH] change couchrest back to _temp_view, rev gem version --- couchrest.gemspec | 2 +- lib/couchrest.rb | 2 +- lib/couchrest/core/database.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/couchrest.gemspec b/couchrest.gemspec index c5fe71f..dd521fe 100644 --- a/couchrest.gemspec +++ b/couchrest.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |s| s.name = %q{couchrest} - s.version = "0.12.5" + s.version = "0.12.6" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["J. Chris Anderson"] diff --git a/lib/couchrest.rb b/lib/couchrest.rb index 09b7cf2..f55d606 100644 --- a/lib/couchrest.rb +++ b/lib/couchrest.rb @@ -25,7 +25,7 @@ require 'couchrest/monkeypatches' # = CouchDB, close to the metal module CouchRest - VERSION = '0.12.5' + VERSION = '0.12.6' autoload :Server, 'couchrest/core/server' autoload :Database, 'couchrest/core/database' diff --git a/lib/couchrest/core/database.rb b/lib/couchrest/core/database.rb index c960b81..36e3266 100644 --- a/lib/couchrest/core/database.rb +++ b/lib/couchrest/core/database.rb @@ -50,7 +50,7 @@ module CouchRest def slow_view funcs, params = {} keys = params.delete(:keys) funcs = funcs.merge({:keys => keys}) if keys - url = CouchRest.paramify_url "#{@root}/_slow_view", params + url = CouchRest.paramify_url "#{@root}/_temp_view", params JSON.parse(RestClient.post(url, funcs.to_json, {"Content-Type" => 'application/json'})) end