<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,6 @@
 Gem::Specification.new do |s|
   s.name = &quot;amee&quot;
-  s.version = &quot;0.4.30&quot;
+  s.version = &quot;0.4.31&quot;
   s.date = &quot;2009-02-02&quot;
   s.summary = &quot;Ruby interface to the AMEE carbon calculator&quot;
   s.email = &quot;james@floppy.org.uk&quot;</diff>
      <filename>amee-ruby.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,7 @@ module AMEE
   module VERSION #:nodoc:
     MAJOR = 0
     MINOR = 4
-    TINY  = 30
+    TINY  = 31
     STRING = [MAJOR, MINOR, TINY].join('.')
   end
   </diff>
      <filename>lib/amee/version.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,9 +5,9 @@ require 'amee/rails'
 amee_config = &quot;#{RAILS_ROOT}/config/amee.yml&quot;
 if File.exist?(amee_config)
   # Load config
-  AMEE_CONFIG = YAML.load_file(amee_config)[RAILS_ENV]
+  $AMEE_CONFIG = YAML.load_file(amee_config)[RAILS_ENV]
   # Create a global AMEE connection that we can use from anywhere in this app
-  $amee = AMEE::Connection.new(AMEE_CONFIG['server'], AMEE_CONFIG['username'], AMEE_CONFIG['password'])
+  $amee = AMEE::Connection.new($AMEE_CONFIG['server'], $AMEE_CONFIG['username'], $AMEE_CONFIG['password'])
   # Authenticate now to get it out of the way and to check settings
   $amee.authenticate
 else</diff>
      <filename>rails/init.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>493a74dcf332bd3e59e45ab103e1aeaa9f91e2e1</id>
    </parent>
  </parents>
  <author>
    <name>James Smith</name>
    <email>james@floppy.org.uk</email>
  </author>
  <url>http://github.com/Floppy/amee-ruby/commit/39d361ce2dc0acfae1a434a4142527c4a18cce9c</url>
  <id>39d361ce2dc0acfae1a434a4142527c4a18cce9c</id>
  <committed-date>2009-02-05T03:46:52-08:00</committed-date>
  <authored-date>2009-02-05T03:46:52-08:00</authored-date>
  <message>Make AMEE_CONFIG global so it can be reused</message>
  <tree>d6d3909bb70bbd51b5eaf1195e638e5470c1afa9</tree>
  <committer>
    <name>James Smith</name>
    <email>james@floppy.org.uk</email>
  </committer>
</commit>
