Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Commit

Permalink
fixed request method
Browse files Browse the repository at this point in the history
  • Loading branch information
arya committed Jun 21, 2009
1 parent b980a0d commit d34ba66
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -2,7 +2,7 @@ require 'rubygems'
require 'rake' require 'rake'
require 'echoe' 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.description = "Distribute MapReduce to any of the workers and it will spread, like a pandemic."
p.url = "https://github.com/arya/pandemic/" p.url = "https://github.com/arya/pandemic/"
p.author = "Arya Asemanfar" p.author = "Arya Asemanfar"
Expand Down
2 changes: 1 addition & 1 deletion lib/pandemic/client_side/cluster_connection.rb
Expand Up @@ -40,7 +40,7 @@ def [](key)
@connection_proxies[key] @connection_proxies[key]
end end


def request(body, key = nil, options = nil) def request(body, key = nil, options = {})
key, options = nil, key if key.is_a?(Hash) key, options = nil, key if key.is_a?(Hash)
with_connection(key) do |socket| with_connection(key) do |socket|
begin begin
Expand Down
2 changes: 1 addition & 1 deletion pandemic.gemspec
Expand Up @@ -2,7 +2,7 @@


Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = %q{pandemic} 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.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
s.authors = ["Arya Asemanfar"] s.authors = ["Arya Asemanfar"]
Expand Down

0 comments on commit d34ba66

Please sign in to comment.