raygun-apm 0.0.4-x64-mingw32 → 0.0.5-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9053473559cc5a0ea171fa96ff99369a8371dda3aebd32b4875b06f647ddb51e
4
- data.tar.gz: d5deacf6acb12c5ca7d49f3eaec1a5f39ac2725d3d9ac945cacf2136daa2fb2d
3
+ metadata.gz: 52483f8ced699948c7a0d53117e1742b8630bbe1c25699ddc0f3bfe1b402ddf4
4
+ data.tar.gz: d291240abf9c21319b99d9265b8b7c88d123d29fa32dc7eab42fbee46b65a10f
5
5
  SHA512:
6
- metadata.gz: 11016c17c56f1310a37887ad37d2eaf6d56fe60cbfa7e25af13a5ee30854e982ec3c49ff82df36f6f70527113d9bbcfb36a834bdc195f25bcb2924242c2b11e6
7
- data.tar.gz: 3bf504edf3b3ed29135a5c71db994c5f3e528601b4ac09463fb36dd4a0089ae020299ffbd9b5538f4ad4afd86eb978e783f51cf4bb1f7b582e9f08a5aecf069a
6
+ metadata.gz: 3639a0b4c45eca12d01be15d631b230731ac670170292700ef7428a69b0dbbe6251b28186816879ab661203709b33c0d28962d26597b84084ffa575d64b6c302
7
+ data.tar.gz: 182fa5a34c00838080f4a3d5e6f37ca9786682b96ea2058a4296d63309f90fc7d8ae532ab51cf3824442c722e67b11eaf602402a358d9c98fe99c1a303293254
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- raygun-apm (0.0.4)
4
+ raygun-apm (0.0.5)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -61,6 +61,9 @@ module Raygun
61
61
  event[:status] = notification.payload[:status]
62
62
  # XXX constant milliseconds to microseconds
63
63
  event[:duration] = notification.duration * 1000
64
+ event[:timestamp] = Time.now.to_f*1000000
65
+ event[:pid] = Process.pid
66
+ event[:tid] = @tracer.get_thread_id(Thread.current)
64
67
  @tracer.emit(event)
65
68
  rescue => e
66
69
  # XXX report
@@ -85,6 +88,9 @@ module Raygun
85
88
 
86
89
  # XXX constant milliseconds to microseconds
87
90
  event[:duration] = notification.duration * 1000
91
+ event[:timestamp] = Time.now.to_f*1000000
92
+ event[:pid] = Process.pid
93
+ event[:tid] = @tracer.get_thread_id(Thread.current)
88
94
  @tracer.emit(event)
89
95
  rescue => e
90
96
  # XXX report
@@ -1,5 +1,5 @@
1
1
  module Raygun
2
2
  module Apm
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
Binary file
data/raygun-apm.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib", "ext"]
20
20
 
21
- if RUBY_PLATFORM =~ /darwin/ && !ENV['GEM_CROSS_COMPILING']
21
+ if RUBY_PLATFORM =~ /darwin/ && !ENV['RAYGUN_GEM_CROSS_COMPILING']
22
22
  spec.files << 'lib/raygun/raygun_ext.bundle'
23
23
  spec.platform = 'universal-darwin'
24
24
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun-apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Erkki Eilonen