right_aws 1.4.2 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -66,3 +66,9 @@ Initial release.
66
66
 
67
67
  * r1938, konstantin, 2007-10-16 10:53:56
68
68
  * instance type support is set to default
69
+
70
+ == 1.4.3 2007-10-25
71
+
72
+ * r1983, konstantin, 2007-10-25 22:33:00 +0400
73
+ * Fixed ActiveSupport requirement bug (thanks to Toby)
74
+ * Fixed HttpConnection logging to stdout bug (thanks to Toby)
@@ -1,10 +1,7 @@
1
- # If ActiveSupport is present, then great - require it and use it. But we
2
- # don't want a dependency on it, so if it's not present, define the few
1
+ # If ActiveSupport is loaded, then great - use it. But we don't
2
+ # want a dependency on it, so if it's not present, define the few
3
3
  # extensions that we want to use...
4
- begin
5
- require 'rubygems'
6
- require 'active_support'
7
- rescue LoadError => e
4
+ unless defined? ActiveSupport::CoreExtensions
8
5
  # These are ActiveSupport-;like extensions to do a few handy things in the gems
9
6
  # Derived from ActiveSupport, so the AS copyright notice applies:
10
7
  #
@@ -138,7 +138,7 @@ module RightAws
138
138
  # Raises AwsError if any banana happened
139
139
  def request_info(request, parser) #:nodoc:
140
140
  thread = @params[:multi_thread] ? Thread.current : Thread.main
141
- thread[:ec2_connection] ||= Rightscale::HttpConnection.new(:exception => AwsError)
141
+ thread[:ec2_connection] ||= Rightscale::HttpConnection.new(:exception => AwsError, :logger => @logger)
142
142
  request_info_impl(thread[:ec2_connection], @@bench, request, parser)
143
143
  end
144
144
 
@@ -49,7 +49,7 @@ module RightAws #:nodoc:
49
49
  module VERSION #:nodoc:
50
50
  MAJOR = 1
51
51
  MINOR = 4
52
- TINY = 2
52
+ TINY = 3
53
53
 
54
54
  STRING = [MAJOR, MINOR, TINY].join('.')
55
55
  end
@@ -124,7 +124,7 @@ module RightAws
124
124
  # Raises AwsError if any banana happened.
125
125
  def request_info(request, parser, &block) # :nodoc:
126
126
  thread = @params[:multi_thread] ? Thread.current : Thread.main
127
- thread[:s3_connection] ||= Rightscale::HttpConnection.new(:exception => RightAws::AwsError)
127
+ thread[:s3_connection] ||= Rightscale::HttpConnection.new(:exception => RightAws::AwsError, :logger => @logger)
128
128
  request_info_impl(thread[:s3_connection], @@bench, request, parser, &block)
129
129
  end
130
130
 
@@ -133,7 +133,7 @@ module RightAws
133
133
  # Raises AwsError if any banana happened
134
134
  def request_info(request, parser) # :nodoc:
135
135
  thread = @params[:multi_thread] ? Thread.current : Thread.main
136
- thread[:sqs_connection] ||= Rightscale::HttpConnection.new(:exception => AwsError)
136
+ thread[:sqs_connection] ||= Rightscale::HttpConnection.new(:exception => AwsError, :logger => @logger)
137
137
  request_info_impl(thread[:sqs_connection], @@bench, request, parser)
138
138
  end
139
139
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: right_aws
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.4.2
7
- date: 2007-10-18 00:00:00 +04:00
6
+ version: 1.4.3
7
+ date: 2007-10-26 00:00:00 +04:00
8
8
  summary: Interface classes for the Amazon EC2, SQS, and S3 Web Services
9
9
  require_paths:
10
10
  - lib