aws 2.4.0 → 2.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/aws.rb CHANGED
@@ -13,6 +13,7 @@ require 'rubygems'
13
13
  require 'right_http_connection'
14
14
 
15
15
  $:.unshift(File.dirname(__FILE__))
16
+ require 'awsbase/require_relative'
16
17
  require 'awsbase/benchmark_fix'
17
18
  require 'awsbase/support'
18
19
  require 'awsbase/awsbase'
@@ -0,0 +1,11 @@
1
+ # require_relative was introduced in 1.9.2. This makes it
2
+ # available to younger rubies.
3
+ # From: http://stackoverflow.com/questions/4333286/ruby-require-vs-require-relative-best-practice-to-workaround-running-in-both-r/4338241#4338241
4
+ unless Kernel.respond_to?(:require_relative)
5
+ module Kernel
6
+ def require_relative(path)
7
+ # puts 'IN NEW REQUIRE_RELATIVE ' + path.to_s
8
+ require File.join(File.dirname(caller[0]), path.to_str)
9
+ end
10
+ end
11
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2
7
7
  - 4
8
- - 0
9
- version: 2.4.0
8
+ - 1
9
+ version: 2.4.1
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: 2011-01-13 00:00:00 -08:00
19
+ date: 2011-01-17 00:00:00 -08:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -87,6 +87,7 @@ files:
87
87
  - lib/awsbase/benchmark_fix.rb
88
88
  - lib/awsbase/errors.rb
89
89
  - lib/awsbase/parsers.rb
90
+ - lib/awsbase/require_relative.rb
90
91
  - lib/awsbase/support.rb
91
92
  - lib/awsbase/utils.rb
92
93
  - lib/ec2/ec2.rb