logjam_logger 1.1.1 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ module LogjamLogger
11
11
  #
12
12
  # before_filter { |controller| ($user_ids ||= {})[Thread.current] = controller.session[:user_id] || 0 }
13
13
  def user_id
14
- defined?($user_ids) ? " user[#{$user_ids[Thread.current]}]" : ''
14
+ defined?($user_ids) ? " user[#{$user_ids[Thread.current] || 0}]" : ''
15
15
  end
16
16
 
17
17
  # Note: If you are using FastCGI you may need to hard-code the hostname here instead of using Socket.gethostname
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{logjam_logger}
3
- s.version = "1.1.1"
3
+ s.version = "1.1.3"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["David Anderson"]
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logjam_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 1
8
+ - 3
9
+ version: 1.1.3
5
10
  platform: ruby
6
11
  authors:
7
12
  - David Anderson
@@ -42,18 +47,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
42
47
  requirements:
43
48
  - - ">="
44
49
  - !ruby/object:Gem::Version
50
+ segments:
51
+ - 0
45
52
  version: "0"
46
- version:
47
53
  required_rubygems_version: !ruby/object:Gem::Requirement
48
54
  requirements:
49
55
  - - ">="
50
56
  - !ruby/object:Gem::Version
57
+ segments:
58
+ - 0
51
59
  version: "0"
52
- version:
53
60
  requirements: []
54
61
 
55
62
  rubyforge_project:
56
- rubygems_version: 1.3.5
63
+ rubygems_version: 1.3.6
57
64
  signing_key:
58
65
  specification_version: 3
59
66
  summary: Syslog-compatible rails logger, works well with Logjam