Browse files

fixed request method

  • Loading branch information...
1 parent b980a0d commit d34ba66230c604684fc57749e804d63a8206d81d @arya committed Jun 21, 2009
Showing with 3 additions and 3 deletions.
  1. +1 −1 Rakefile
  2. +1 −1 lib/pandemic/client_side/cluster_connection.rb
  3. +1 −1 pandemic.gemspec
View
2 Rakefile
@@ -2,7 +2,7 @@ require 'rubygems'
require 'rake'
require 'echoe'
-Echoe.new('pandemic', '0.3.4') do |p|
+Echoe.new('pandemic', '0.3.5') do |p|
p.description = "Distribute MapReduce to any of the workers and it will spread, like a pandemic."
p.url = "https://github.com/arya/pandemic/"
p.author = "Arya Asemanfar"
View
2 lib/pandemic/client_side/cluster_connection.rb
@@ -40,7 +40,7 @@ def [](key)
@connection_proxies[key]
end
- def request(body, key = nil, options = nil)
+ def request(body, key = nil, options = {})
key, options = nil, key if key.is_a?(Hash)
with_connection(key) do |socket|
begin
View
2 pandemic.gemspec
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = %q{pandemic}
- s.version = "0.3.4"
+ s.version = "0.3.5"
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
s.authors = ["Arya Asemanfar"]

0 comments on commit d34ba66

Please sign in to comment.