cmeiklejohn-aws 2.3.12 → 2.3.13

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.
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 'cmeiklejohn/string'
16
17
  require 'awsbase/benchmark_fix'
17
18
  require 'awsbase/support'
18
19
  require 'awsbase/right_awsbase'
@@ -0,0 +1,9 @@
1
+ #
2
+ # Hack to add in 1.8.6 support for ruby. Doesn't work in 1.8.6 unless
3
+ # active support is loaded, since each_char isn't available until 1.8.7
4
+ #
5
+ class String
6
+ def each_char
7
+ self.split("").each { |i| yield i }
8
+ end
9
+ end
data/lib/right_aws.rb CHANGED
@@ -35,6 +35,7 @@ require 'rubygems'
35
35
  require 'right_http_connection'
36
36
 
37
37
  $:.unshift(File.dirname(__FILE__))
38
+ require 'cmeiklejohn/string'
38
39
  require 'awsbase/benchmark_fix'
39
40
  require 'awsbase/support'
40
41
  require 'awsbase/right_awsbase'
@@ -54,13 +55,3 @@ module RightAws
54
55
  include Aws
55
56
  extend Aws
56
57
  end
57
-
58
- # CSM 2010-07-10
59
- # This is a quick hack to add in support for Ruby 1.8.6
60
- # since the each_char is only implemented in Ruby 1.8.7
61
- # or active_support.
62
- class String
63
- def each_char
64
- self.split("").each { |i| yield i }
65
- end
66
- end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmeiklejohn-aws
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 3
9
- - 12
10
- version: 2.3.12
9
+ - 13
10
+ version: 2.3.13
11
11
  platform: ruby
12
12
  authors:
13
13
  - Christopher Meiklejohn
@@ -78,6 +78,7 @@ files:
78
78
  - lib/awsbase/benchmark_fix.rb
79
79
  - lib/awsbase/right_awsbase.rb
80
80
  - lib/awsbase/support.rb
81
+ - lib/cmeiklejohn/string.rb
81
82
  - lib/ec2/right_ec2.rb
82
83
  - lib/ec2/right_mon_interface.rb
83
84
  - lib/elb/elb_interface.rb