logjam_agent 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/lib/logjam_agent.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require "socket"
2
+ require "uuid4r"
2
3
  require "logjam_agent/version"
3
4
  require "logjam_agent/amqp_forwarder"
4
5
  require "logjam_agent/forwarders"
@@ -17,7 +17,7 @@ module LogjamAgent
17
17
  def start_request(env)
18
18
  app_name = env["logjam_agent.application_name"] || LogjamAgent.application_name
19
19
  env_name = env["logjam_agent.environment_name"] || LogjamAgent.environment_name
20
- Rails.logger.start_request(app_name, env_name)
20
+ Rails.logger.start_request(app_name, env_name, :request_id => UUID4R::uuid(1))
21
21
  end
22
22
 
23
23
  def finish_request(env)
@@ -1,3 +1,3 @@
1
1
  module LogjamAgent
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
data/logjam_agent.gemspec CHANGED
@@ -22,5 +22,6 @@ Gem::Specification.new do |s|
22
22
  s.add_development_dependency "i18n"
23
23
 
24
24
  s.add_runtime_dependency "activesupport"
25
+ s.add_runtime_dependency "uuid4r"
25
26
  s.add_runtime_dependency "time_bandits", [">= 0.1.1"]
26
27
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logjam_agent
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 3
10
- version: 0.3.3
9
+ - 4
10
+ version: 0.3.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Stefan Kaes
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-01 00:00:00 +01:00
19
- default_executable:
18
+ date: 2011-11-25 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: rake
@@ -61,9 +60,23 @@ dependencies:
61
60
  type: :runtime
62
61
  version_requirements: *id003
63
62
  - !ruby/object:Gem::Dependency
64
- name: time_bandits
63
+ name: uuid4r
65
64
  prerelease: false
66
65
  requirement: &id004 !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ hash: 3
71
+ segments:
72
+ - 0
73
+ version: "0"
74
+ type: :runtime
75
+ version_requirements: *id004
76
+ - !ruby/object:Gem::Dependency
77
+ name: time_bandits
78
+ prerelease: false
79
+ requirement: &id005 !ruby/object:Gem::Requirement
67
80
  none: false
68
81
  requirements:
69
82
  - - ">="
@@ -75,7 +88,7 @@ dependencies:
75
88
  - 1
76
89
  version: 0.1.1
77
90
  type: :runtime
78
- version_requirements: *id004
91
+ version_requirements: *id005
79
92
  description: Logjam logger and request information forwarding
80
93
  email:
81
94
  - stefan.kaes@xing.com
@@ -103,7 +116,6 @@ files:
103
116
  - lib/logjam_agent/version.rb
104
117
  - logjam_agent.gemspec
105
118
  - rails/init.rb
106
- has_rdoc: true
107
119
  homepage: ""
108
120
  licenses: []
109
121
 
@@ -133,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
145
  requirements: []
134
146
 
135
147
  rubyforge_project: logjam_agent
136
- rubygems_version: 1.6.2
148
+ rubygems_version: 1.8.10
137
149
  signing_key:
138
150
  specification_version: 3
139
151
  summary: Logjam client library to be used with logjam