logjam_agent 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTM2MDVkZTYyNDBiN2IzZTM1NTEwZGQ3ODhiMGVjNDFhMWRmOTlmYg==
4
+ MjI5M2JhYTA2YTQzZGUwNmM2ZmRiOTQ2NmU1MmFmNzRmMWM5ZWE1YQ==
5
5
  data.tar.gz: !binary |-
6
- OTE0MTY2OTE4NGE2NTJlMGM2YzdiYjUxMjMxMzRlYWQwMzgwNTM2MQ==
6
+ YjVmYzNjMWYyYTk3ODUwZTgxNTg3ZTExMGQyZjgyNDU3YjVjNDNmMA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NGRiNmNlNjBmMjU5NzQ1MGI2MDY5ZjlhNTU0M2Y5M2FjOTNlNjNhNTkyY2Jj
10
- ZDJiNWVjMWFhNTRhYmQ4M2YzODM0Y2Q3YzkxYmNiZDA1NzQyMGUzODBkOGFm
11
- OWM0ZTJiMTA3MjhlNzI3NjQ2ZGZhNzdhOWFhZDllMTFkYzA2ZDg=
9
+ NDFiNWRlYjMyNWRkYTQ1MjI3YTZlZGI2MDNhMmRjNGU4YWE4NTA0N2NhODY3
10
+ YjhhY2M2YWI1OTM1ZGJlMzY3ZjJjZTc2YTEwNThlYzE2Nzg5MzExM2Q0OTVi
11
+ NmM2OWZjM2E2MDJjY2E5ZGMwMDE0YzMzZTM3NmViY2JlN2Q1ODY=
12
12
  data.tar.gz: !binary |-
13
- ZjZiZDE4ZjBiZjkyY2VjMTk5OTllOGZiMmZiZDVjZTUwNTQ4ZDg3ZmU0MTQ4
14
- OGE2MmQ5MTgwMDYzN2EyMTVkNjBkZjEyNzUyNTk0MzRmMDk3NDQxNGRkMjAw
15
- NDBlNWVhNjEwYTc3NmRjMGFiOGQ0MDhiMGU4OGNmYjJhZWQ2NzA=
13
+ ZmExZTkwZDRjNTgyNjYxYjIzMDRmMGY4YWU4ZjQzZWM0MDI5Y2YxNjcxNTMw
14
+ NjI3MTlmYmU0ZWNjMWRkNWYxZTYyZGMxOTVkYjEyZmM2NDZhMGQxN2E3OWI0
15
+ YmU4ODNhZWM1OGZmNGVmYzM1ZWY3ZjNmY2Q5NTk5NTZhOWNhZTY=
data/lib/logjam_agent.rb CHANGED
@@ -12,7 +12,10 @@ module LogjamAgent
12
12
  Thread.current.thread_variable_set(:logjam_request, request)
13
13
  end
14
14
 
15
- def start_request(app = LogjamAgent.application_name, env = LogjamAgent.environment_name, initial_fields = {})
15
+ def start_request(*args)
16
+ initial_fields = args.extract_options!
17
+ app = args[0] || LogjamAgent.application_name
18
+ env = args[1] || LogjamAgent.environment_name
16
19
  self.request = Request.new(app, env, initial_fields)
17
20
  end
18
21
 
@@ -1,3 +1,3 @@
1
1
  module LogjamAgent
2
- VERSION = "0.8.1"
2
+ VERSION = "0.8.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logjam_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Kaes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-28 00:00:00.000000000 Z
11
+ date: 2013-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement