planet_express 0.0.7 → 0.0.8

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.
data/CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ### 0.0.8
5
+ - Removing log4r and use Rails.logger instead (fix for isssue #1)
6
+
4
7
  ### 0.0.7
5
8
  - If Rails.logger exists use it, if not switch to log4r.
6
9
 
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module PlanetExpress
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: planet_express
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: