From e5fd9c8ce62802f30ea2a9b3317185c96701a1e3 Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Mon, 31 Oct 2011 19:41:51 +0800 Subject: [PATCH] flurry.rb: fix a warning --- lib/rest-core/client/flurry.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rest-core/client/flurry.rb b/lib/rest-core/client/flurry.rb index 8c1b330..058d991 100644 --- a/lib/rest-core/client/flurry.rb +++ b/lib/rest-core/client/flurry.rb @@ -98,7 +98,7 @@ def calculate_query_and_opts query, opts [query.merge(:startDate => startDate, :endDate => endDate), - opts.reject{ |k| [:days, :weeks, :months].include?(k) }] + opts.reject{ |k, v| [:days, :weeks, :months].include?(k) }] end end