amazon-ec2 0.2.3 → 0.2.4

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.
@@ -1,3 +1,7 @@
1
+ === 0.2.4 2007-07-09
2
+ * Changed how require statement for xmlsimple is called so we don't get warnings when running in rails.
3
+ Now it looks like: require 'xmlsimple' unless defined? XmlSimple
4
+
1
5
  === 0.2.3 2007-07-06
2
6
  * Updated gem to work with new official release of AWS API version 2007-03-01 which occurred
3
7
  on July 6, 2007.
@@ -34,9 +34,9 @@ module EC2
34
34
 
35
35
  require 'rubygems'
36
36
  begin
37
- require 'xmlsimple'
37
+ require 'xmlsimple' unless defined? XmlSimple
38
38
  rescue Exception => e
39
- require 'xml-simple'
39
+ require 'xml-simple' unless defined? XmlSimple
40
40
  end
41
41
 
42
42
 
@@ -12,7 +12,7 @@ module EC2 #:nodoc:
12
12
  module VERSION #:nodoc:
13
13
  MAJOR = 0
14
14
  MINOR = 2
15
- TINY = 3
15
+ TINY = 4
16
16
  STRING = [MAJOR, MINOR, TINY].join('.')
17
17
  end
18
18
  end
@@ -16,7 +16,7 @@ context "The EC2 Gem " do
16
16
  setup do
17
17
  @major = 0
18
18
  @minor = 2
19
- @tiny = 3
19
+ @tiny = 4
20
20
  @string = [@major, @minor, @tiny].join('.')
21
21
  end
22
22
 
@@ -33,7 +33,7 @@
33
33
  <h1>Amazon Web Services EC2 Ruby Gem</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/amazon-ec2"; return false'>
35
35
  Get Version
36
- <a href="http://rubyforge.org/projects/amazon-ec2" class="numbers">0.2.3</a>
36
+ <a href="http://rubyforge.org/projects/amazon-ec2" class="numbers">0.2.4</a>
37
37
  </div>
38
38
  <h2>&#x2192; &#8216;amazon-ec2&#8217;</h2>
39
39
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: amazon-ec2
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.3
7
- date: 2007-07-06 00:00:00 -07:00
6
+ version: 0.2.4
7
+ date: 2007-07-09 00:00:00 -07:00
8
8
  summary: An interface library that allows Ruby or Ruby on Rails applications to easily connect to the HTTP 'Query API' for the Amazon Web Services Elastic Compute Cloud (EC2) and manipulate server instances.
9
9
  require_paths:
10
10
  - lib