raygun-apm 0.0.4-universal-darwin → 0.0.5-universal-darwin

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: 5c9faeda4435919e883abfa4bd5649924c41e8d53b7447743df73d0674611067
4
- data.tar.gz: d9043e53f6140ed49c7f4df802900eade30cfd233492d11645083134c231894b
3
+ metadata.gz: 2a820083e301ceb59998d16e8b1538c6f41d22e4dbc175452a53f86a55c87097
4
+ data.tar.gz: 3df01a0e482bb5c7cafa0f57a07ec9db8680b0aadc353f58728477dfb5bb779b
5
5
  SHA512:
6
- metadata.gz: b598343bf5c97a8bf7ddf6e01b8c188d351195eccf0e082492f41b10d80fa8ef6e3365562a4cc9c27b4d3bbadc42b5c80ecba4ed4d81690beab6902a318e2221
7
- data.tar.gz: 3ff0b8cad32b0c764b0679157f631813beaed683a03193c5cd490137f590de2725bd721a5603faf7388a208412d79cb6eff6dcb9184aedc5e52c559ae0e8a60b
6
+ metadata.gz: a9c8e572966241e7470b0b6ae2314f067c91d2ea09ad426ba6986b34fbf38f463e92400606b1c2ba56678f586089a263bac50539ecd4dc0aa4bb5e4d89aac668
7
+ data.tar.gz: d5892b232db3ce0fca630e58d07f08a9bd1cc8c593af3bb929afd04bc8e7f8433383f8f26cafd6154fb5e19027e1abd04ad9c7648f0a830c02731a6211409ab7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- raygun-apm (0.0.2)
4
+ raygun-apm (0.0.4)
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/
21
+ if RUBY_PLATFORM =~ /darwin/ && !ENV['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: universal-darwin
6
6
  authors:
7
7
  - Erkki Eilonen