sentry-sidekiq 0.1.1 → 0.1.2
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 +4 -4
- data/.craft.yml +1 -1
- data/CHANGELOG.md +4 -0
- data/README.md +21 -27
- data/example/error_worker.rb +1 -1
- data/lib/{sentry/sidekiq.rb → sentry-sidekiq.rb} +2 -1
- data/lib/sentry/sidekiq/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ad693905e13a7d3b62cf5490f024c8c47a27aa89cce9da81b315a1bc0c43abe
|
|
4
|
+
data.tar.gz: 9525d629ff42806c1c4b412e16d9ff1cda526662506c7a9f7c9bb634271131a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce319f28be8526e8bf0a8dd2c0544647117124a0725fa53d20e81e4c45db69076bb82d43c95604f6b56306cc1c8b572c5a070fea84f8e84a70ec59ce0559a897
|
|
7
|
+
data.tar.gz: 60603a4596ae5d3ebff415d44b3e2b3985bfe4705801ee04238473b3d18980c6c992f959e8c69017cef39b8c687ce9bd20e2762fd7b087da54140816426e2021
|
data/.craft.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,39 +1,33 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://sentry.io" target="_blank" align="center">
|
|
3
|
+
<img src="https://sentry-brand.storage.googleapis.com/sentry-logo-black.png" width="280">
|
|
4
|
+
</a>
|
|
5
|
+
<br>
|
|
6
|
+
</p>
|
|
2
7
|
|
|
3
|
-
|
|
8
|
+
# sentry-sidekiq, the Sidekiq integration for Sentry's Ruby client
|
|
4
9
|
|
|
5
|
-
|
|
10
|
+
---
|
|
6
11
|
|
|
7
|
-
```ruby
|
|
8
|
-
gem 'sentry-sidekiq'
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
And then execute:
|
|
12
|
-
|
|
13
|
-
$ bundle install
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
See `sentry-ruby` for how to configure the Sentry client.
|
|
18
12
|
|
|
19
|
-
|
|
13
|
+
[](https://rubygems.org/gems/sentry-sidekiq)
|
|
14
|
+

|
|
15
|
+
[](https://codecov.io/gh/getsentry/sentry-ruby/branch/master)
|
|
16
|
+
[](https://rubygems.org/gems/sentry-sidekiq/)
|
|
17
|
+
[](https://dependabot.com/compatibility-score.html?dependency-name=sentry-sidekiq&package-manager=bundler&version-scheme=semver)
|
|
20
18
|
|
|
21
19
|
|
|
22
|
-
|
|
20
|
+
[Documentation](https://docs.sentry.io/clients/ruby/) | [Bug Tracker](https://github.com/getsentry/sentry-ruby/issues) | [Forum](https://forum.sentry.io/) | IRC: irc.freenode.net, #sentry
|
|
23
21
|
|
|
24
|
-
|
|
22
|
+
The official Ruby-language client and integration layer for the [Sentry](https://github.com/getsentry/sentry) error reporting API.
|
|
25
23
|
|
|
26
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
27
24
|
|
|
28
|
-
##
|
|
25
|
+
## Getting Started
|
|
29
26
|
|
|
30
|
-
|
|
27
|
+
### Install
|
|
31
28
|
|
|
29
|
+
```ruby
|
|
30
|
+
gem "sentry-sidekiq"
|
|
31
|
+
```
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
|
36
|
-
|
|
37
|
-
## Code of Conduct
|
|
38
|
-
|
|
39
|
-
Everyone interacting in the Sentry::Ruby project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/sentry-ruby/blob/master/CODE_OF_CONDUCT.md).
|
|
33
|
+
Then you're all set! `sentry-sidekiq` will automatically insert a custom middleware and error handler to capture exceptions from your workers!
|
data/example/error_worker.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sentry-sidekiq
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sentry Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-11-
|
|
11
|
+
date: 2020-11-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sentry-ruby
|
|
@@ -48,7 +48,7 @@ files:
|
|
|
48
48
|
- example/README.md
|
|
49
49
|
- example/config/sidekiq.yml
|
|
50
50
|
- example/error_worker.rb
|
|
51
|
-
- lib/sentry
|
|
51
|
+
- lib/sentry-sidekiq.rb
|
|
52
52
|
- lib/sentry/sidekiq/cleanup_middleware.rb
|
|
53
53
|
- lib/sentry/sidekiq/context_filter.rb
|
|
54
54
|
- lib/sentry/sidekiq/error_handler.rb
|