aws 2.3.27 → 2.3.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -140,10 +140,10 @@ module Aws
|
|
140
140
|
|
141
141
|
# Sends request to Amazon and parses the response.
|
142
142
|
# Raises AwsError if any banana happened.
|
143
|
-
def request_info(request, parser, &block) # :nodoc:
|
143
|
+
def request_info(request, parser, options={}, &block) # :nodoc:
|
144
144
|
thread = @params[:multi_thread] ? Thread.current : Thread.main
|
145
145
|
thread[:acf_connection] ||= Rightscale::HttpConnection.new(:exception => Aws::AwsError, :logger => @logger)
|
146
|
-
request_info_impl(thread[:acf_connection], @@bench, request, parser, &block)
|
146
|
+
request_info_impl(thread[:acf_connection], @@bench, request, parser, options, &block)
|
147
147
|
end
|
148
148
|
|
149
149
|
#-----------------------------------------------------------------
|
data/lib/ec2/right_ec2.rb
CHANGED
@@ -160,10 +160,10 @@ module Aws
|
|
160
160
|
|
161
161
|
# Sends request to Amazon and parses the response
|
162
162
|
# Raises AwsError if any banana happened
|
163
|
-
def request_info(request, parser) #:nodoc:
|
163
|
+
def request_info(request, parser, options={}) #:nodoc:
|
164
164
|
thread = @params[:multi_thread] ? Thread.current : Thread.main
|
165
165
|
thread[:ec2_connection] ||= Rightscale::HttpConnection.new(:exception => AwsError, :logger => @logger)
|
166
|
-
request_info_impl(thread[:ec2_connection], @@bench, request, parser)
|
166
|
+
request_info_impl(thread[:ec2_connection], @@bench, request, parser, options)
|
167
167
|
end
|
168
168
|
|
169
169
|
def hash_params(prefix, list) #:nodoc:
|
@@ -79,10 +79,10 @@ module Aws
|
|
79
79
|
|
80
80
|
# Sends request to Amazon and parses the response
|
81
81
|
# Raises AwsError if any banana happened
|
82
|
-
def request_info(request, parser)
|
82
|
+
def request_info(request, parser, options={})
|
83
83
|
thread = @params[:multi_thread] ? Thread.current : Thread.main
|
84
84
|
thread[:elb_connection] ||= Rightscale::HttpConnection.new(:exception => Aws::AwsError, :logger => @logger)
|
85
|
-
request_info_impl(thread[:elb_connection], @@bench, request, parser)
|
85
|
+
request_info_impl(thread[:elb_connection], @@bench, request, parser, options)
|
86
86
|
end
|
87
87
|
|
88
88
|
#-----------------------------------------------------------------
|
data/lib/elb/elb_interface.rb
CHANGED
@@ -48,8 +48,8 @@ module Aws
|
|
48
48
|
|
49
49
|
# Sends request to Amazon and parses the response
|
50
50
|
# Raises AwsError if any banana happened
|
51
|
-
def request_info(request, parser)
|
52
|
-
request_info2(request, parser, @params, :elb_connection, @logger, @@bench)
|
51
|
+
def request_info(request, parser, options={})
|
52
|
+
request_info2(request, parser, @params, :elb_connection, @logger, @@bench, options)
|
53
53
|
end
|
54
54
|
|
55
55
|
# todo: convert to xml-simple version and get rid of parser below
|
@@ -173,8 +173,8 @@ module Aws
|
|
173
173
|
|
174
174
|
# Sends request to Amazon and parses the response.
|
175
175
|
# Raises AwsError if any banana happened.
|
176
|
-
def request_info(request, parser, &block) # :nodoc:
|
177
|
-
request_info2(request, parser, @params, :s3_connection, @logger, @@bench, &block)
|
176
|
+
def request_info(request, parser, options={}, &block) # :nodoc:
|
177
|
+
request_info2(request, parser, @params, :s3_connection, @logger, @@bench, options, &block)
|
178
178
|
|
179
179
|
end
|
180
180
|
|
@@ -140,10 +140,10 @@ module Aws
|
|
140
140
|
|
141
141
|
# Sends request to Amazon and parses the response
|
142
142
|
# Raises AwsError if any banana happened
|
143
|
-
def request_info(request, parser) # :nodoc:
|
143
|
+
def request_info(request, parser, options={}) # :nodoc:
|
144
144
|
thread = @params[:multi_thread] ? Thread.current : Thread.main
|
145
145
|
thread[:sqs_connection] ||= Rightscale::HttpConnection.new(:exception => AwsError, :logger => @logger)
|
146
|
-
request_info_impl(thread[:sqs_connection], @@bench, request, parser)
|
146
|
+
request_info_impl(thread[:sqs_connection], @@bench, request, parser, options)
|
147
147
|
end
|
148
148
|
|
149
149
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 2
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 2.3.
|
8
|
+
- 28
|
9
|
+
version: 2.3.28
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Travis Reeder
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-12-
|
19
|
+
date: 2010-12-05 00:00:00 -08:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|