From 55365e01dc0b2b5db01441004f4c6921d1fd04d6 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 17 Feb 2012 12:17:50 -0800 Subject: fix documentation of :noverify for get_paths :noverify always defaults to _true_ (meaning verification is _off_ by default). This double negative is unfortunately a confusing part of the existing API and MogileFS protocol. --- lib/mogilefs/mogilefs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mogilefs/mogilefs.rb b/lib/mogilefs/mogilefs.rb index 898c0de..75a3936 100644 --- a/lib/mogilefs/mogilefs.rb +++ b/lib/mogilefs/mogilefs.rb @@ -114,7 +114,7 @@ class MogileFS::MogileFS < MogileFS::Client # - :pathcount -> a positive integer of URLs to retrieve (default: 2) # - :zone -> "alt" or nil (default: nil) # - # :noverify defaults to false because this client library is capable of + # :noverify defaults to true because this client library is capable of # verifying paths for readability itself. It is also faster and more # reliable to verify paths on the client. def get_paths(key, *args) -- cgit v1.2.3-24-ge0c7