amee 2.0.26 → 2.0.27
Sign up to get free protection for your applications and to get access to all the features.
- data/README +2 -2
- data/lib/amee/rails.rb +2 -1
- data/lib/amee/version.rb +1 -1
- metadata +2 -2
data/README
CHANGED
@@ -19,10 +19,10 @@ Documentation: http://docs.github.com/Floppy/amee-ruby
|
|
19
19
|
2) Install gem
|
20
20
|
> sudo gem install amee
|
21
21
|
|
22
|
-
== IMPORTANT CHANGES
|
22
|
+
== IMPORTANT CHANGES when upgrading beyond 2.0.25
|
23
23
|
|
24
24
|
If you are using the $amee connection in your Rails apps, this is now deprecated
|
25
|
-
|
25
|
+
and will be removed in future releases. See the "Rails" section below for details
|
26
26
|
of what you should use instead.
|
27
27
|
|
28
28
|
== USAGE
|
data/lib/amee/rails.rb
CHANGED
@@ -7,7 +7,8 @@ module AMEE
|
|
7
7
|
|
8
8
|
class Connection
|
9
9
|
def self.global(options = {})
|
10
|
-
unless @connection
|
10
|
+
unless @connection
|
11
|
+
$AMEE_CONFIG ||= {} # Make default values nil
|
11
12
|
@connection = self.connect($AMEE_CONFIG['server'], $AMEE_CONFIG['username'], $AMEE_CONFIG['password'], options)
|
12
13
|
# Also store as $amee for backwards compatibility, though this is now deprecated
|
13
14
|
$amee = @connection
|
data/lib/amee/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Smith
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-10-
|
12
|
+
date: 2009-10-16 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|