Floppy-amee 0.4.30 → 0.4.31

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.
Files changed (3) hide show
  1. data/lib/amee/version.rb +1 -1
  2. data/rails/init.rb +2 -2
  3. metadata +1 -1
data/lib/amee/version.rb CHANGED
@@ -3,7 +3,7 @@ module AMEE
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
5
  MINOR = 4
6
- TINY = 30
6
+ TINY = 31
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
9
9
 
data/rails/init.rb CHANGED
@@ -5,9 +5,9 @@ require 'amee/rails'
5
5
  amee_config = "#{RAILS_ROOT}/config/amee.yml"
6
6
  if File.exist?(amee_config)
7
7
  # Load config
8
- AMEE_CONFIG = YAML.load_file(amee_config)[RAILS_ENV]
8
+ $AMEE_CONFIG = YAML.load_file(amee_config)[RAILS_ENV]
9
9
  # Create a global AMEE connection that we can use from anywhere in this app
10
- $amee = AMEE::Connection.new(AMEE_CONFIG['server'], AMEE_CONFIG['username'], AMEE_CONFIG['password'])
10
+ $amee = AMEE::Connection.new($AMEE_CONFIG['server'], $AMEE_CONFIG['username'], $AMEE_CONFIG['password'])
11
11
  # Authenticate now to get it out of the way and to check settings
12
12
  $amee.authenticate
13
13
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Floppy-amee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.30
4
+ version: 0.4.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Smith