Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed request method

  • Loading branch information...
commit d34ba66230c604684fc57749e804d63a8206d81d 1 parent b980a0d
@arya authored
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.
Something went wrong with that request. Please try again.