skylight-core 3.1.0.beta2 → 3.1.0.beta3

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: 59e92f03b6e19af50c182dee290299e10b4bb05225aec38c918512542e3152e3
4
- data.tar.gz: 76b0193a7075b9a1e7ff8c4999bd9c554801c83b6a7eeeb8508c70deebbdaf24
3
+ metadata.gz: c0acb12b078886582ef8a98bc478aefcb06bc5610b416082866835db0d81c1a2
4
+ data.tar.gz: eb918f1553854966724dabdc4b9b7118c7f63ecbedab9fb9abb6e2349bc816cb
5
5
  SHA512:
6
- metadata.gz: cca82836c6ee0aae77e9959db514f266e3ed608909c71ada1135c62d4e8caf2f8ce246d4e7b673838f63978fe85ecf3dbb1d8e249185de646a1102be9ed67f32
7
- data.tar.gz: 282bb8f0efb7ec70d81f74916ed0b9213258f1a4e819e35b3065eebe5cdc4f58f2b93365f9e61b63626c4094cb8653c5feb3e4bb5635be511cd720ef409bf065
6
+ metadata.gz: 91323780c51531157f1211640bb24f1a6bcc50662d811b9609659bb1145696a686a6f828ba5cb5a01270a736995ec6c18fa0e56b7d9a624f12aa2dc6e5501d11
7
+ data.tar.gz: 6a58ee0bae8481354eca4b9e09f06d0fed84d7b22fd0dfbfefe549b27ba9fd9352d8ba8f0eef2813f4686725f5682aa91c885bd81c4bfd15909c32e0c70f4469
@@ -21,8 +21,7 @@ module Skylight
21
21
 
22
22
  def call(_worker, job, queue)
23
23
  t { "Sidekiq middleware beginning trace" }
24
- job_class = job['wrapped'] || job['class']
25
- title = "#{job_class}#perform"
24
+ title = job['wrapped'] || job['class']
26
25
  segment = "<sk-segment>#{queue}</sk-segment>"
27
26
  @instrumentable.trace("#{title}#{segment}", 'app.sidekiq.worker', title) do
28
27
  yield
@@ -12,8 +12,8 @@ module Skylight::Core
12
12
  def self.new(instrumenter, endpoint, start, cat, title=nil, desc=nil, meta=nil)
13
13
  uuid = SecureRandom.uuid
14
14
  inst = native_new(normalize_time(start), uuid, endpoint, meta)
15
- inst.send(:initialize, instrumenter, cat, title, desc, meta)
16
15
  inst.uuid = uuid
16
+ inst.send(:initialize, instrumenter, cat, title, desc, meta)
17
17
  inst.endpoint = endpoint
18
18
  inst
19
19
  end
@@ -1,6 +1,6 @@
1
1
  module Skylight
2
2
  module Core
3
- VERSION = '3.1.0-beta2'
3
+ VERSION = '3.1.0-beta3'
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skylight-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.beta2
4
+ version: 3.1.0.beta3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tilde, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-21 00:00:00.000000000 Z
11
+ date: 2018-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport