sidekiq-skylight 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/circle.yml +3 -0
- data/lib/sidekiq-skylight.rb +1 -0
- data/lib/sidekiq/skylight/server_middleware.rb +1 -1
- data/lib/sidekiq/skylight/version.rb +1 -1
- data/spec/sidekiq/skylight/server_middleware_spec.rb +1 -1
- metadata +4 -3
- data/.travis.yml +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41f2c2db625e1bec62bf1c19a3dadf5e1fb0fb60
|
4
|
+
data.tar.gz: d17631635666b083c56481ec34a7a4d78d081493
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aef48b95ca47006d6e3599ee69273a4f000d16000c2c9822e4f0416bd0c273f3d7a5186f0b278e665537be60ad4cd9e75d160a7ca7e83567a4f3cf1ec06cc747
|
7
|
+
data.tar.gz: bd316c57e844f4fd20f19d2a1f0626211f9750bc09f6bab4776a006a109a3d12aaeda45f82a723ffd4ae0e9d7452a91a21b83bd30593846f8ba1abadd695e13c
|
data/README.md
CHANGED
data/circle.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require_relative 'sidekiq/skylight'
|
@@ -4,7 +4,7 @@ describe Sidekiq::Skylight::ServerMiddleware do
|
|
4
4
|
subject(:middleware){described_class.new}
|
5
5
|
|
6
6
|
it 'wraps block in skylight instrument' do
|
7
|
-
expect(::Skylight).to receive(:instrument).with(category: '
|
7
|
+
expect(::Skylight).to receive(:instrument).with(category: 'app.sidekiq.worker', title: 'process'){|&block| block.call}
|
8
8
|
|
9
9
|
expect{|probe| middleware.call(double(:worker), double(:job), double(:queue), &probe)}.to yield_control
|
10
10
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-skylight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Allen Madsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|
@@ -90,11 +90,12 @@ extra_rdoc_files: []
|
|
90
90
|
files:
|
91
91
|
- ".gitignore"
|
92
92
|
- ".rspec"
|
93
|
-
- ".travis.yml"
|
94
93
|
- Gemfile
|
95
94
|
- LICENSE.txt
|
96
95
|
- README.md
|
97
96
|
- Rakefile
|
97
|
+
- circle.yml
|
98
|
+
- lib/sidekiq-skylight.rb
|
98
99
|
- lib/sidekiq/skylight.rb
|
99
100
|
- lib/sidekiq/skylight/server_middleware.rb
|
100
101
|
- lib/sidekiq/skylight/version.rb
|
data/.travis.yml
DELETED