rails_syslogger 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module RailsSyslogger
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -5,8 +5,8 @@ require 'rails'
5
5
  module RailsSyslogger
6
6
 
7
7
  class Railtie < Rails::Railtie
8
- initializer "rails_syslogger.initialize_default_logger", :after => :initialize_logger do |app|
9
- app.config.logger = RAILS_DEFAULT_LOGGER = RailsSyslogger.assign_syslogger_by_environment
8
+ initializer :initialize_rails_syslogger, :after => :initialize_logger do |app|
9
+ Rails.logger = app.config.logger = RailsSyslogger.assign_syslogger_by_environment
10
10
  end
11
11
  end
12
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_syslogger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-06-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: syslogger
16
- requirement: &70247965115500 !ruby/object:Gem::Requirement
16
+ requirement: &70109469196980 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 1.2.4
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70247965115500
24
+ version_requirements: *70109469196980
25
25
  description: This allows you to set some nice default syslog configuration options
26
26
  for your rails environment, using syslog for all production and development environments,
27
27
  except your local development environment. Set the environment variable "RAILS_DEV"