lib/elasticsearch/transport/transport/http/curb.rb in elasticsearch-transport-1.0.15 vs lib/elasticsearch/transport/transport/http/curb.rb in elasticsearch-transport-1.0.16.pre
- old
+ new
@@ -55,10 +55,10 @@
client.http_auth_types = host[:auth_type] || :basic
client.username = host[:user]
client.password = host[:password]
end
- client.instance_eval &@block if @block
+ client.instance_eval(&@block) if @block
Connections::Connection.new :host => host, :connection => client
},
:selector_class => options[:selector_class],
:selector => options[:selector]