planet_express 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/lib/planet_express/delivery.rb +1 -9
- data/lib/planet_express/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG.md
CHANGED
@@ -8,15 +8,7 @@ module PlanetExpress
|
|
8
8
|
def initialize *args
|
9
9
|
# Settings
|
10
10
|
self.configuration ||= PlanetExpress::Configuration.new
|
11
|
-
|
12
|
-
# By default try to use the same logger than Rails
|
13
|
-
begin
|
14
|
-
self.logger = Rails.logger
|
15
|
-
rescue
|
16
|
-
self.logger = Log4r::Logger.new('PlanetExpress')
|
17
|
-
self.logger.outputters << Log4r::Outputter.stdout
|
18
|
-
end
|
19
|
-
|
11
|
+
self.logger = Rails.logger
|
20
12
|
logger.info "gateway_url => #{configuration.gateway_url}"
|
21
13
|
end
|
22
14
|
|