raygun-apm-sidekiq 1.0.14 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e493f0148a94a0a6280445cf842934e73114c75268c67bc693bc93a21350eac
4
- data.tar.gz: 9a4cf61f9022d28500ae803f98ca4555e73b6777855ce11b0ca7ead602bb75ba
3
+ metadata.gz: 29af41490ef21134ec18bc69a21a333b8056bd349bb5d08a2d3de261997f09b9
4
+ data.tar.gz: e4fd949327fecb5aee42d33bcafffff4afd8cd595330aa0dbba428c43d3ee7fe
5
5
  SHA512:
6
- metadata.gz: 9dc84a556bcdb9022993a8268a8c151c43a546892c1011ea98be9b1a9e951a99aae03b855b5bca34533b55cdd5a688a3e418ec363253667354f4c4b6ed9ab6f8
7
- data.tar.gz: 93bc0a442d06c07575213c90eacdd7c4d6e9fb4c63d1e3564fa80a95a8064b13f777d73a58f9cfb97badc8f0938dec9a7f60fb15788d86dee9fd38b8fe2bdcd2
6
+ metadata.gz: '069f7be7b9d1c0e1977c27c4386f543043a66af4efddecf77bcae197f05879c30ee86a87000bd1b707ade1d9a82b167989d39251906d23993766eb936ca4a068'
7
+ data.tar.gz: d7e06ba4b1241bc8ec93326562879ac5c142f780907173d499165e6a6ce4a4eb3826fdb4a4b043c990f160440423730ad8fb27a4813473ac4adca5caa0337069
@@ -7,12 +7,7 @@ module Raygun
7
7
 
8
8
  BLACKLIST = %w{
9
9
  Sidekiq
10
- Redis
11
- Raygun::Breadcrumbs
12
- Raygun::Configuration
13
- Raygun::config
14
- +Raygun::Apm::Sidekiq::Hook::Ruby_APM_profiler_trace
15
- +Raygun::track_exception
10
+ +Raygun::Apm::Sidekiq::Hook#Ruby_APM_profiler_trace
16
11
  }
17
12
 
18
13
  end
@@ -44,7 +44,6 @@ module Raygun
44
44
  def init_tracer
45
45
  tracer = Raygun::Apm::Tracer.new
46
46
  tracer.udp_sink!
47
- tracer.process_started
48
47
  ObjectSpace.define_finalizer(self, Hook.finalize(tracer))
49
48
 
50
49
  ActiveSupport::Notifications.unsubscribe(@sql_subscriber) if @sql_subscriber
@@ -9,6 +9,11 @@ module Raygun
9
9
  # Explictly enable instrumenting HTTP until a good control API is figured out
10
10
  require "raygun/apm/hooks/net_http"
11
11
  require "raygun/apm/hooks/redis" if defined?(Redis::Client)
12
+ # Attempt to explicitly require the raygun4ruby sidekiq integration
13
+ begin
14
+ require "raygun/sidekiq"
15
+ rescue LoadError
16
+ end
12
17
  end
13
18
  end
14
19
  end
@@ -1,7 +1,7 @@
1
1
  module Raygun
2
2
  module Apm
3
3
  module Sidekiq
4
- VERSION = "1.0.14"
4
+ VERSION = "1.0.19"
5
5
  end
6
6
  end
7
7
  end
@@ -13,14 +13,12 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = "https://raygun.com/platform/apm"
14
14
  #spec.license = "MIT"
15
15
 
16
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
17
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
- end
16
+ spec.files = Dir['README.rdoc', 'raygun-apm-sidekiq.gemspec', 'lib/**/*', 'bin/**/*']
19
17
  spec.bindir = "exe"
20
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
19
  spec.require_paths = ["lib"]
22
20
 
23
- spec.add_dependency "raygun-apm", "~> 1.0.15"
21
+ spec.add_dependency "raygun-apm", "~> 1.0.44"
24
22
  spec.add_development_dependency "bundler"
25
23
  spec.add_development_dependency "rake", "~> 10.0"
26
24
  spec.add_development_dependency "minitest", "~> 5.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun-apm-sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.14
4
+ version: 1.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raygun
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-05-15 00:00:00.000000000 Z
12
+ date: 2020-07-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: raygun-apm
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 1.0.15
20
+ version: 1.0.44
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 1.0.15
27
+ version: 1.0.44
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: bundler
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -75,12 +75,7 @@ executables: []
75
75
  extensions: []
76
76
  extra_rdoc_files: []
77
77
  files:
78
- - ".gitignore"
79
- - CHANGELOG.rdoc
80
- - Gemfile
81
- - Gemfile.lock
82
78
  - README.rdoc
83
- - Rakefile
84
79
  - bin/console
85
80
  - bin/setup
86
81
  - lib/raygun/apm/sidekiq.rb
data/.gitignore DELETED
@@ -1 +0,0 @@
1
- *.gem
@@ -1,19 +0,0 @@
1
- = Changelog
2
-
3
- == 1.0.14 (May 15, 2020)
4
-
5
- * Introduce support for Redis as client adapter
6
- * Prefer hooking Sidekiq::Processor as Middleware does not wrap enough to intercept the raygun4ruby error handler as an HTTP OUT event
7
-
8
- == 1.0.13 (April 2, 2020)
9
-
10
- * Prefer hooking Sidekiq::Processor as Middleware does not wrap enough to intercept the raygun4ruby error handler as an HTTP OUT event
11
-
12
- == 1.0.12 (March 25, 2020)
13
-
14
- * Do not cache PID on HTTP OUT and SQL events
15
-
16
- == 1.0.11 (March 15, 2020)
17
-
18
- * Emit the happy path and error state HTTP IN events for Sidekiq jobs WITHIN the entrypoint function for the agent to pick it up
19
- * Prefer the singleton interface on the Tracer
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec
@@ -1,24 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- raygun-apm-sidekiq (1.0.14)
5
- raygun-apm (~> 1.0.15)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- minitest (5.13.0)
11
- rake (10.5.0)
12
- raygun-apm (1.0.37-x86-linux)
13
-
14
- PLATFORMS
15
- ruby
16
-
17
- DEPENDENCIES
18
- bundler
19
- minitest (~> 5.0)
20
- rake (~> 10.0)
21
- raygun-apm-sidekiq!
22
-
23
- BUNDLED WITH
24
- 1.17.3
data/Rakefile DELETED
@@ -1,16 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rake/testtask"
3
- require 'rdoc/task'
4
-
5
- RDoc::Task.new do |rdoc|
6
- rdoc.main = "README.rdoc"
7
- rdoc.rdoc_files.include("README.rdoc", "lib/raygun/apm/*.rb", "lib/raygun/apm/sidekiq/*.rb")
8
- end
9
-
10
- Rake::TestTask.new(:test) do |t|
11
- t.libs << "test"
12
- t.libs << "lib"
13
- t.test_files = FileList["test/**/*_test.rb"]
14
- end
15
-
16
- task :default => :test