rails_syslogger 0.0.5 → 0.0.6

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.
@@ -11,7 +11,7 @@ module RailsSyslogger
11
11
 
12
12
  def default_hostname
13
13
  # start with the base application path
14
- rails_pathname = Pathname.new( RAILS_ROOT ).expand_path
14
+ rails_pathname = Pathname.new( ::Rails.root.to_s ).expand_path
15
15
 
16
16
  # read the symlink if it is a symlink
17
17
  rails_pathname = rails_pathname.readlink if rails_pathname.symlink?
@@ -1,3 +1,3 @@
1
1
  module RailsSyslogger
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_syslogger
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Joe Osburn
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-19 00:00:00 -05:00
18
+ date: 2011-06-15 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency