sentry-good_job 6.2.1 → 7.0.0
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/CHANGELOG.md +6 -0
- data/CODE_OF_CONDUCT.md +14 -25
- data/CONTRIBUTING.md +11 -23
- data/GOVERNANCE.md +11 -17
- data/README.md +21 -9
- data/SECURITY.md +11 -14
- data/bin/polyrun +108 -0
- data/lib/sentry/good_job/active_job_extensions.rb +5 -3
- data/lib/sentry/good_job/context_helpers.rb +1 -2
- data/lib/sentry/good_job/version.rb +1 -1
- data/sentry-good_job.gemspec +15 -4
- metadata +178 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6614ae4fcea329de36cf94c4714ecea1e2d04a52cc9d1b6ce858191d4b64d215
|
|
4
|
+
data.tar.gz: b6b295bfb43f089ede9b08d877e7a15704a9304dc1effe8803c10f07356b26a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8bd54198cb499fd5015958fd443a8371b1d2e65c383622a34c4ac44d318c33f063a948fae1bc08673b275d7fb00767c23e2144e7e9aa32bed83c76497f25f801
|
|
7
|
+
data.tar.gz: a903b8e7f34e2517a803477a5047cca172173670350ce4b4b67610c4bd1c6a1f904a68c58914b7e93582bfb0b2ba4dea13af8447d6436bf50fa21c9caabb3be3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 7.0.0 (2026-09-07)
|
|
4
|
+
|
|
5
|
+
- BREAKING: Require sentry-ruby 7 (`>= 7.0`, `< 8.0`)
|
|
6
|
+
- Skip nested enqueue span when sentry-rails already records it
|
|
7
|
+
- Collect job arguments through `config.data_collection.queues`
|
|
8
|
+
|
|
3
9
|
## 6.2.1
|
|
4
10
|
|
|
5
11
|
- Relax dependencies to allow all current versions of sentry-ruby and good_job
|
data/CODE_OF_CONDUCT.md
CHANGED
|
@@ -1,37 +1,26 @@
|
|
|
1
1
|
# Code of Conduct
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Pledge
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Participation is a harassment-free experience. Treat each other with respect. Keep private context private.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## Expected behavior
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
- Engage with genuine curiosity. Admit uncertainty.
|
|
10
|
+
- Own every line you submit, including generated code.
|
|
11
|
+
- Correct errors politely.
|
|
12
|
+
- Use language that welcomes people and respects identity and privacy.
|
|
10
13
|
|
|
11
|
-
|
|
14
|
+
## Unacceptable behavior
|
|
12
15
|
|
|
13
|
-
|
|
16
|
+
- Harassment, trolling, or insulting comments, public or private.
|
|
17
|
+
- Using jargon or volume, including automated spam, to silence others.
|
|
18
|
+
- Sharing others' data or personal context without permission.
|
|
14
19
|
|
|
15
|
-
|
|
20
|
+
## Automation
|
|
16
21
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Examples of unacceptable behavior include:
|
|
20
|
-
|
|
21
|
-
* **Harassment:** Public or private harassment, trolling, or insulting comments.
|
|
22
|
-
|
|
23
|
-
* **Weaponized Complexity:** Using jargon or overwhelming volume (including automated spam) to silence others.
|
|
24
|
-
|
|
25
|
-
* **Publishing Private Information:** Sharing others' data or personal context without explicit permission.
|
|
26
|
-
|
|
27
|
-
## Artificial Intelligence & Automation
|
|
28
|
-
|
|
29
|
-
In accordance with our commitment to **Collective Awareness**:
|
|
30
|
-
|
|
31
|
-
* Contributors are responsible for the accuracy and security of any AI-generated artifacts they submit.
|
|
32
|
-
|
|
33
|
-
* "The AI wrote it" is not a valid excuse for introducing bugs, security vulnerabilities, or bias.
|
|
22
|
+
You remain responsible for bugs, security holes, and bias in generated artifacts you submit.
|
|
34
23
|
|
|
35
24
|
## Enforcement
|
|
36
25
|
|
|
37
|
-
|
|
26
|
+
Report abusive or harassing behavior to contact@kiskolabs.com. Reports are reviewed and investigated.
|
data/CONTRIBUTING.md
CHANGED
|
@@ -1,35 +1,23 @@
|
|
|
1
1
|
# Contributing Guidelines
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Automation authorship
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
You may use AI and automation tools. You remain the author of every line you submit: review, debug, and understand the change.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Keep pull requests small enough to review. Annotate non-obvious logic.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Never send project secrets or private context to public models.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
## How to contribute
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
### Reporting issues
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Verify the facts before filing. Use issue templates for goals, constraints, and reproduction steps.
|
|
16
16
|
|
|
17
|
-
###
|
|
17
|
+
### Pull requests
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Keep one pull request to one goal. Explain why the change is needed. Run smoke tests and regression checks locally before opening the request.
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
### Review
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
* **Scope:** Keep PRs focused on a single goal.
|
|
26
|
-
|
|
27
|
-
* **Context:** Explain *why* the change is necessary. Transparency builds trust.
|
|
28
|
-
|
|
29
|
-
* **Testing:** Run all smoke tests and regression checks locally. We prioritize "Safety First."
|
|
30
|
-
|
|
31
|
-
### 3. Review Process
|
|
32
|
-
|
|
33
|
-
* We encourage **productive friction**. Expect questions about your approach.
|
|
34
|
-
|
|
35
|
-
* If a reviewer suggests a change, view it as **mutual aid**, not criticism.
|
|
23
|
+
Reviewers will ask about approach and trade-offs. Treat suggested changes as part of the work.
|
data/GOVERNANCE.md
CHANGED
|
@@ -1,31 +1,25 @@
|
|
|
1
1
|
# Project Governance
|
|
2
2
|
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
This project balances **individual autonomy** with **collective coordination**. We aim for a workflow that supports rapid iteration while maintaining strict guardrails for safety and architectural integrity.
|
|
6
|
-
|
|
7
3
|
## Roles
|
|
8
4
|
|
|
9
5
|
### Contributors
|
|
10
6
|
|
|
11
|
-
Anyone who submits code, documentation, or participates in discussions. Contributors
|
|
12
|
-
|
|
13
|
-
### Maintainers (Human Oversight)
|
|
14
|
-
|
|
15
|
-
Maintainers are responsible for:
|
|
7
|
+
Anyone who submits code, documentation, or participates in discussions. Contributors take ownership of problems they identify and follow the project's quality standards.
|
|
16
8
|
|
|
17
|
-
|
|
9
|
+
### Maintainers
|
|
18
10
|
|
|
19
|
-
|
|
11
|
+
Maintainers:
|
|
20
12
|
|
|
21
|
-
|
|
13
|
+
1. Set scope and architectural direction.
|
|
14
|
+
2. Review contributions (human or automated) against security and logic standards.
|
|
15
|
+
3. Decide when the community is divided.
|
|
22
16
|
|
|
23
|
-
## Decision
|
|
17
|
+
## Decision making
|
|
24
18
|
|
|
25
|
-
### Lazy
|
|
19
|
+
### Lazy consensus
|
|
26
20
|
|
|
27
|
-
For
|
|
21
|
+
For routine changes, a proposal that draws no objection within two weeks is approved.
|
|
28
22
|
|
|
29
|
-
###
|
|
23
|
+
### Maintainer approval
|
|
30
24
|
|
|
31
|
-
Major architectural changes, high-risk automation integrations, or changes that affect business logic
|
|
25
|
+
Major architectural changes, high-risk automation integrations, or changes that affect business logic need explicit maintainer approval. A change must solve a real problem.
|
data/README.md
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
[](https://rubygems.org/gems/sentry-good_job)
|
|
13
13
|
[](https://github.com/amkisko/sentry-good_job/actions/workflows/test.yml)
|
|
14
|
-
[](https://app.codecov.io/
|
|
15
|
-
[](https://sonarcloud.io/
|
|
14
|
+
[](https://app.codecov.io/github/amkisko/sentry-good_job)
|
|
15
|
+
[](https://sonarcloud.io/project/overview?id=amkisko_sentry-good_job)
|
|
16
16
|
[](https://rubygems.org/gems/sentry-good_job/)
|
|
17
17
|
[](https://dependabot.com/compatibility-score.html?dependency-name=sentry-good_job&package-manager=bundler&version-scheme=semver)
|
|
18
18
|
|
|
@@ -53,7 +53,7 @@ Sentry.init do |config|
|
|
|
53
53
|
|
|
54
54
|
# ActiveJob configuration (handled by sentry-rails)
|
|
55
55
|
config.rails.active_job_report_on_retry_error = false
|
|
56
|
-
config.
|
|
56
|
+
config.data_collection.queues = false
|
|
57
57
|
|
|
58
58
|
# Optional: Configure logging for debugging
|
|
59
59
|
config.sdk_logger = Rails.logger
|
|
@@ -69,7 +69,7 @@ end
|
|
|
69
69
|
#### ActiveJob Options (handled by sentry-rails)
|
|
70
70
|
|
|
71
71
|
- `config.rails.active_job_report_on_retry_error` (default: `false`): Only report errors after all retry attempts are exhausted
|
|
72
|
-
- `config.
|
|
72
|
+
- `config.data_collection.queues` (default: `true`): Include job arguments in error context (be careful with sensitive data)
|
|
73
73
|
- `config.sdk_logger` (default: `nil`): Configure the SDK logger for custom logging needs (general Sentry configuration)
|
|
74
74
|
|
|
75
75
|
**Note**: The Good Job integration now leverages sentry-rails for core ActiveJob functionality, including trace propagation, user context preservation, and error reporting. This provides better integration and reduces duplication.
|
|
@@ -183,20 +183,32 @@ The integration automatically adds relevant context to error reports:
|
|
|
183
183
|
- Execution count (GoodJob-specific)
|
|
184
184
|
- Priority (GoodJob-specific)
|
|
185
185
|
- Enqueued and scheduled timestamps
|
|
186
|
-
- Job arguments (if enabled via
|
|
186
|
+
- Job arguments (if enabled via `config.data_collection.queues`)
|
|
187
187
|
- Latency metrics (GoodJob-specific)
|
|
188
188
|
|
|
189
189
|
## Compatibility
|
|
190
190
|
|
|
191
|
-
- Ruby
|
|
192
|
-
-
|
|
193
|
-
-
|
|
194
|
-
- Sentry Ruby SDK 6.x
|
|
191
|
+
- Ruby 3.4+
|
|
192
|
+
- Good Job 3.x and 4.x
|
|
193
|
+
- Sentry Ruby SDK 7.x
|
|
195
194
|
|
|
196
195
|
## Contributing
|
|
197
196
|
|
|
198
197
|
We welcome contributions! Please see our [contributing guidelines](./CONTRIBUTING.md) for details.
|
|
199
198
|
|
|
199
|
+
## Links
|
|
200
|
+
|
|
201
|
+
- [GitHub](https://github.com/amkisko/sentry-good_job)
|
|
202
|
+
- [GitLab](https://gitlab.com/amkisko/sentry-good_job)
|
|
203
|
+
- [RubyGems](https://rubygems.org/gems/sentry-good_job)
|
|
204
|
+
- [Versions Atom](https://rubygems.org/gems/sentry-good_job/versions.atom) (feed id `10143542922948`)
|
|
205
|
+
- [libraries.io](https://libraries.io/rubygems/sentry-good_job)
|
|
206
|
+
- [Deps.dev](https://deps.dev/rubygems/sentry-good_job)
|
|
207
|
+
- [SonarCloud](https://sonarcloud.io/project/overview?id=amkisko_sentry-good_job)
|
|
208
|
+
- [Snyk](https://snyk.io/test/github/amkisko/sentry-good_job)
|
|
209
|
+
- [Codecov](https://app.codecov.io/github/amkisko/sentry-good_job)
|
|
210
|
+
- [OpenSSF Scorecard](https://scorecard.dev/viewer/?uri=github.com/amkisko/sentry-good_job)
|
|
211
|
+
|
|
200
212
|
## License
|
|
201
213
|
|
|
202
214
|
This project is licensed under the MIT License. See the [LICENSE](LICENSE.txt) file for details.
|
data/SECURITY.md
CHANGED
|
@@ -2,27 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
## Reporting a Vulnerability
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Email security details to: security@kiskolabs.com
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Include: description, steps to reproduce, potential impact, and suggested fix (if available).
|
|
7
|
+
Send the report only to that address. Include description, steps to reproduce, potential impact, and a suggested fix when you have one.
|
|
10
8
|
|
|
11
9
|
### Response Timeline
|
|
12
10
|
|
|
13
|
-
- We will acknowledge receipt of your report
|
|
14
|
-
- We will provide an initial assessment
|
|
15
|
-
- We will keep you informed of our progress and resolution timeline
|
|
11
|
+
- We will acknowledge receipt of your report.
|
|
12
|
+
- We will provide an initial assessment.
|
|
13
|
+
- We will keep you informed of our progress and resolution timeline.
|
|
16
14
|
|
|
17
15
|
### Disclosure Policy
|
|
18
16
|
|
|
19
|
-
- We will work with you to understand and resolve the issue
|
|
20
|
-
- We will credit you for the discovery
|
|
21
|
-
- We will publish a security advisory after the vulnerability is patched
|
|
22
|
-
- We will coordinate public disclosure with you
|
|
17
|
+
- We will work with you to understand and resolve the issue.
|
|
18
|
+
- We will credit you for the discovery unless you prefer to remain anonymous.
|
|
19
|
+
- We will publish a security advisory after the vulnerability is patched.
|
|
20
|
+
- We will coordinate public disclosure with you.
|
|
23
21
|
|
|
24
22
|
## Automation Security
|
|
25
23
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
* **Supply Chain:** All automated dependencies must be verified.
|
|
24
|
+
- Keep production credentials, API keys, and personal data out of prompts sent to third-party models or automation services.
|
|
25
|
+
- Verify automated dependencies.
|
data/bin/polyrun
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Delegates to `bundle exec polyrun` with repo config.
|
|
3
|
+
# - No args → same as `polyrun` with no subcommand (auto parallel RSpec from polyrun.yml / spec/**/*_spec.rb).
|
|
4
|
+
# - Path-like argv (spec files, globs, dirs) → polyrun implicit parallel (path-only argv).
|
|
5
|
+
# - Named subcommands (plan, config, parallel-rspec, ci-shard-rspec, …) → pass through.
|
|
6
|
+
# - Otherwise (RSpec flags first, e.g. --format) → `start --workers N -- bundle exec rspec "$@"`.
|
|
7
|
+
# Globals: -c/--config, -v/--verbose, -h/--help, --help (same as bundle exec polyrun).
|
|
8
|
+
# Workers: POLYRUN_WORKERS (default 5, max 10, min 1) — read by polyrun run-shards/start.
|
|
9
|
+
set -eo pipefail
|
|
10
|
+
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
11
|
+
cd "$ROOT"
|
|
12
|
+
|
|
13
|
+
W="${POLYRUN_WORKERS:-5}"
|
|
14
|
+
case "$W" in ''|*[!0-9]*) W=5 ;; esac
|
|
15
|
+
if [ "$W" -gt 10 ]; then W=10; fi
|
|
16
|
+
if [ "$W" -lt 1 ]; then W=1; fi
|
|
17
|
+
|
|
18
|
+
CONFIG="${POLYRUN_CONFIG:-polyrun.yml}"
|
|
19
|
+
polyrun_prefix=()
|
|
20
|
+
have_config=0
|
|
21
|
+
|
|
22
|
+
while [ $# -gt 0 ]; do
|
|
23
|
+
case "$1" in
|
|
24
|
+
-c|--config)
|
|
25
|
+
polyrun_prefix+=("$1" "$2")
|
|
26
|
+
CONFIG="$2"
|
|
27
|
+
have_config=1
|
|
28
|
+
shift 2
|
|
29
|
+
;;
|
|
30
|
+
-v|--verbose)
|
|
31
|
+
polyrun_prefix+=("$1")
|
|
32
|
+
shift
|
|
33
|
+
;;
|
|
34
|
+
-h|--help)
|
|
35
|
+
if [ "$have_config" -eq 0 ]; then
|
|
36
|
+
exec bundle exec polyrun "${polyrun_prefix[@]}" -c "$CONFIG" -h
|
|
37
|
+
else
|
|
38
|
+
exec bundle exec polyrun "${polyrun_prefix[@]}" -h
|
|
39
|
+
fi
|
|
40
|
+
;;
|
|
41
|
+
*)
|
|
42
|
+
break
|
|
43
|
+
;;
|
|
44
|
+
esac
|
|
45
|
+
done
|
|
46
|
+
|
|
47
|
+
if [ "${1:-}" = "--version" ]; then
|
|
48
|
+
if [ "$have_config" -eq 0 ]; then
|
|
49
|
+
exec bundle exec polyrun "${polyrun_prefix[@]}" -c "$CONFIG" version
|
|
50
|
+
else
|
|
51
|
+
exec bundle exec polyrun "${polyrun_prefix[@]}" version
|
|
52
|
+
fi
|
|
53
|
+
fi
|
|
54
|
+
|
|
55
|
+
is_polyrun_command() {
|
|
56
|
+
case "$1" in
|
|
57
|
+
plan|prepare|merge-coverage|report-coverage|report-junit|report-timing|env|config|merge-timing|\
|
|
58
|
+
db:setup-template|db:setup-shard|db:clone-shards|run-shards|parallel-rspec|start|build-paths|\
|
|
59
|
+
ci-shard-run|ci-shard-rspec|init|queue|quick|help|version)
|
|
60
|
+
return 0 ;;
|
|
61
|
+
*)
|
|
62
|
+
return 1 ;;
|
|
63
|
+
esac
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
# True if argv should use polyrun implicit path parallel (any path-like token).
|
|
67
|
+
implicit_path_in_argv() {
|
|
68
|
+
for a in "$@"; do
|
|
69
|
+
case "$a" in
|
|
70
|
+
-*) [ "$a" = "-" ] || continue ;;
|
|
71
|
+
esac
|
|
72
|
+
case "$a" in
|
|
73
|
+
*.rb|spec/*|test/*|./|/*|*[\*\?[]*) return 0 ;;
|
|
74
|
+
esac
|
|
75
|
+
[ -e "$a" ] && return 0
|
|
76
|
+
done
|
|
77
|
+
return 1
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
run_polyrun() {
|
|
81
|
+
if [ "$have_config" -eq 0 ]; then
|
|
82
|
+
exec bundle exec polyrun "${polyrun_prefix[@]}" -c "$CONFIG" "$@"
|
|
83
|
+
else
|
|
84
|
+
exec bundle exec polyrun "${polyrun_prefix[@]}" "$@"
|
|
85
|
+
fi
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
exec_parallel_rspec() {
|
|
89
|
+
if [ "$have_config" -eq 0 ]; then
|
|
90
|
+
exec bundle exec polyrun "${polyrun_prefix[@]}" -c "$CONFIG" start --workers "$W" -- bundle exec rspec "$@"
|
|
91
|
+
else
|
|
92
|
+
exec bundle exec polyrun "${polyrun_prefix[@]}" start --workers "$W" -- bundle exec rspec "$@"
|
|
93
|
+
fi
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
if [ $# -eq 0 ]; then
|
|
97
|
+
run_polyrun
|
|
98
|
+
fi
|
|
99
|
+
|
|
100
|
+
if is_polyrun_command "$1"; then
|
|
101
|
+
run_polyrun "$@"
|
|
102
|
+
fi
|
|
103
|
+
|
|
104
|
+
if implicit_path_in_argv "$@"; then
|
|
105
|
+
run_polyrun "$@"
|
|
106
|
+
fi
|
|
107
|
+
|
|
108
|
+
exec_parallel_rspec "$@"
|
|
@@ -80,7 +80,6 @@ module Sentry
|
|
|
80
80
|
# Ensure the sentry-rails integration is properly set up
|
|
81
81
|
# by checking if the ActiveJobExtensions module is already included
|
|
82
82
|
if defined?(::Sentry::Rails::ActiveJobExtensions) && !ancestors.include?(::Sentry::Rails::ActiveJobExtensions)
|
|
83
|
-
require "sentry/rails/active_job"
|
|
84
83
|
prepend ::Sentry::Rails::ActiveJobExtensions
|
|
85
84
|
end
|
|
86
85
|
end
|
|
@@ -93,11 +92,14 @@ module Sentry
|
|
|
93
92
|
extend ActiveSupport::Concern
|
|
94
93
|
|
|
95
94
|
included do
|
|
96
|
-
# Set up around_enqueue hook for GoodJob-specific enqueue span
|
|
97
95
|
around_enqueue do |job, block|
|
|
98
96
|
next block.call unless ::Sentry.initialized?
|
|
99
97
|
|
|
100
|
-
|
|
98
|
+
if defined?(::Sentry::Rails::ActiveJobExtensions::SentryReporter) &&
|
|
99
|
+
::Sentry::Rails::ActiveJobExtensions::SentryReporter.respond_to?(:record_producer_span)
|
|
100
|
+
next block.call
|
|
101
|
+
end
|
|
102
|
+
|
|
101
103
|
::Sentry.with_child_span(op: "queue.publish", description: job.class.name) do |span|
|
|
102
104
|
_sentry_set_span_data(span, job)
|
|
103
105
|
block.call
|
|
@@ -16,8 +16,7 @@ module Sentry
|
|
|
16
16
|
priority: job.respond_to?(:priority) ? job.priority : nil
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
#
|
|
20
|
-
# This is controlled by Sentry.configuration.send_default_pii, not GoodJob-specific config
|
|
19
|
+
# Job arguments stay on sentry-rails via config.data_collection.queues
|
|
21
20
|
|
|
22
21
|
# Merge with base context
|
|
23
22
|
base_context.merge(good_job: good_job_context)
|
data/sentry-good_job.gemspec
CHANGED
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.license = "MIT"
|
|
13
13
|
|
|
14
14
|
spec.platform = Gem::Platform::RUBY
|
|
15
|
-
spec.required_ruby_version = ">=
|
|
15
|
+
spec.required_ruby_version = ">= 3.4"
|
|
16
16
|
spec.extra_rdoc_files = ["README.md", "LICENSE.txt"]
|
|
17
17
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
|
18
18
|
Dir[
|
|
@@ -40,10 +40,21 @@ Gem::Specification.new do |spec|
|
|
|
40
40
|
"documentation_uri" => "http://www.rubydoc.info/gems/#{spec.name}/#{spec.version}"
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
spec.bindir = "exe"
|
|
44
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
45
43
|
spec.require_paths = ["lib"]
|
|
46
44
|
|
|
47
|
-
spec.add_dependency "sentry-ruby", ">=
|
|
45
|
+
spec.add_dependency "sentry-ruby", ">= 7.0", "< 8.0"
|
|
48
46
|
spec.add_dependency "good_job", ">= 3.0", "< 5.0"
|
|
47
|
+
|
|
48
|
+
spec.add_development_dependency "appraisal", "~> 2"
|
|
49
|
+
spec.add_development_dependency "bundler", ">= 2"
|
|
50
|
+
spec.add_development_dependency "polyrun", ">= 2.2.0"
|
|
51
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
|
52
|
+
spec.add_development_dependency "rspec", "~> 3"
|
|
53
|
+
spec.add_development_dependency "rspec_junit_formatter", "~> 0.6"
|
|
54
|
+
spec.add_development_dependency "rubocop-rspec", "~> 3.8"
|
|
55
|
+
spec.add_development_dependency "rubocop-thread_safety", "~> 0.7"
|
|
56
|
+
spec.add_development_dependency "standard", "~> 1.52"
|
|
57
|
+
spec.add_development_dependency "standard-custom", "~> 1.0"
|
|
58
|
+
spec.add_development_dependency "standard-performance", "~> 1.8"
|
|
59
|
+
spec.add_development_dependency "standard-rspec", "~> 0.3"
|
|
49
60
|
end
|
metadata
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sentry-good_job
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 7.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sentry Team
|
|
8
8
|
- Andrei Makarov
|
|
9
|
-
bindir:
|
|
9
|
+
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
@@ -16,20 +16,20 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
19
|
+
version: '7.0'
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: '
|
|
22
|
+
version: '8.0'
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
26
|
requirements:
|
|
27
27
|
- - ">="
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: '
|
|
29
|
+
version: '7.0'
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '
|
|
32
|
+
version: '8.0'
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: good_job
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -50,6 +50,174 @@ dependencies:
|
|
|
50
50
|
- - "<"
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
52
|
version: '5.0'
|
|
53
|
+
- !ruby/object:Gem::Dependency
|
|
54
|
+
name: appraisal
|
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
|
56
|
+
requirements:
|
|
57
|
+
- - "~>"
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: '2'
|
|
60
|
+
type: :development
|
|
61
|
+
prerelease: false
|
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
63
|
+
requirements:
|
|
64
|
+
- - "~>"
|
|
65
|
+
- !ruby/object:Gem::Version
|
|
66
|
+
version: '2'
|
|
67
|
+
- !ruby/object:Gem::Dependency
|
|
68
|
+
name: bundler
|
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
|
70
|
+
requirements:
|
|
71
|
+
- - ">="
|
|
72
|
+
- !ruby/object:Gem::Version
|
|
73
|
+
version: '2'
|
|
74
|
+
type: :development
|
|
75
|
+
prerelease: false
|
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
77
|
+
requirements:
|
|
78
|
+
- - ">="
|
|
79
|
+
- !ruby/object:Gem::Version
|
|
80
|
+
version: '2'
|
|
81
|
+
- !ruby/object:Gem::Dependency
|
|
82
|
+
name: polyrun
|
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
|
84
|
+
requirements:
|
|
85
|
+
- - ">="
|
|
86
|
+
- !ruby/object:Gem::Version
|
|
87
|
+
version: 2.2.0
|
|
88
|
+
type: :development
|
|
89
|
+
prerelease: false
|
|
90
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
91
|
+
requirements:
|
|
92
|
+
- - ">="
|
|
93
|
+
- !ruby/object:Gem::Version
|
|
94
|
+
version: 2.2.0
|
|
95
|
+
- !ruby/object:Gem::Dependency
|
|
96
|
+
name: rake
|
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
|
98
|
+
requirements:
|
|
99
|
+
- - "~>"
|
|
100
|
+
- !ruby/object:Gem::Version
|
|
101
|
+
version: '13.0'
|
|
102
|
+
type: :development
|
|
103
|
+
prerelease: false
|
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
105
|
+
requirements:
|
|
106
|
+
- - "~>"
|
|
107
|
+
- !ruby/object:Gem::Version
|
|
108
|
+
version: '13.0'
|
|
109
|
+
- !ruby/object:Gem::Dependency
|
|
110
|
+
name: rspec
|
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
|
112
|
+
requirements:
|
|
113
|
+
- - "~>"
|
|
114
|
+
- !ruby/object:Gem::Version
|
|
115
|
+
version: '3'
|
|
116
|
+
type: :development
|
|
117
|
+
prerelease: false
|
|
118
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
119
|
+
requirements:
|
|
120
|
+
- - "~>"
|
|
121
|
+
- !ruby/object:Gem::Version
|
|
122
|
+
version: '3'
|
|
123
|
+
- !ruby/object:Gem::Dependency
|
|
124
|
+
name: rspec_junit_formatter
|
|
125
|
+
requirement: !ruby/object:Gem::Requirement
|
|
126
|
+
requirements:
|
|
127
|
+
- - "~>"
|
|
128
|
+
- !ruby/object:Gem::Version
|
|
129
|
+
version: '0.6'
|
|
130
|
+
type: :development
|
|
131
|
+
prerelease: false
|
|
132
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
133
|
+
requirements:
|
|
134
|
+
- - "~>"
|
|
135
|
+
- !ruby/object:Gem::Version
|
|
136
|
+
version: '0.6'
|
|
137
|
+
- !ruby/object:Gem::Dependency
|
|
138
|
+
name: rubocop-rspec
|
|
139
|
+
requirement: !ruby/object:Gem::Requirement
|
|
140
|
+
requirements:
|
|
141
|
+
- - "~>"
|
|
142
|
+
- !ruby/object:Gem::Version
|
|
143
|
+
version: '3.8'
|
|
144
|
+
type: :development
|
|
145
|
+
prerelease: false
|
|
146
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
147
|
+
requirements:
|
|
148
|
+
- - "~>"
|
|
149
|
+
- !ruby/object:Gem::Version
|
|
150
|
+
version: '3.8'
|
|
151
|
+
- !ruby/object:Gem::Dependency
|
|
152
|
+
name: rubocop-thread_safety
|
|
153
|
+
requirement: !ruby/object:Gem::Requirement
|
|
154
|
+
requirements:
|
|
155
|
+
- - "~>"
|
|
156
|
+
- !ruby/object:Gem::Version
|
|
157
|
+
version: '0.7'
|
|
158
|
+
type: :development
|
|
159
|
+
prerelease: false
|
|
160
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
161
|
+
requirements:
|
|
162
|
+
- - "~>"
|
|
163
|
+
- !ruby/object:Gem::Version
|
|
164
|
+
version: '0.7'
|
|
165
|
+
- !ruby/object:Gem::Dependency
|
|
166
|
+
name: standard
|
|
167
|
+
requirement: !ruby/object:Gem::Requirement
|
|
168
|
+
requirements:
|
|
169
|
+
- - "~>"
|
|
170
|
+
- !ruby/object:Gem::Version
|
|
171
|
+
version: '1.52'
|
|
172
|
+
type: :development
|
|
173
|
+
prerelease: false
|
|
174
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
175
|
+
requirements:
|
|
176
|
+
- - "~>"
|
|
177
|
+
- !ruby/object:Gem::Version
|
|
178
|
+
version: '1.52'
|
|
179
|
+
- !ruby/object:Gem::Dependency
|
|
180
|
+
name: standard-custom
|
|
181
|
+
requirement: !ruby/object:Gem::Requirement
|
|
182
|
+
requirements:
|
|
183
|
+
- - "~>"
|
|
184
|
+
- !ruby/object:Gem::Version
|
|
185
|
+
version: '1.0'
|
|
186
|
+
type: :development
|
|
187
|
+
prerelease: false
|
|
188
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
189
|
+
requirements:
|
|
190
|
+
- - "~>"
|
|
191
|
+
- !ruby/object:Gem::Version
|
|
192
|
+
version: '1.0'
|
|
193
|
+
- !ruby/object:Gem::Dependency
|
|
194
|
+
name: standard-performance
|
|
195
|
+
requirement: !ruby/object:Gem::Requirement
|
|
196
|
+
requirements:
|
|
197
|
+
- - "~>"
|
|
198
|
+
- !ruby/object:Gem::Version
|
|
199
|
+
version: '1.8'
|
|
200
|
+
type: :development
|
|
201
|
+
prerelease: false
|
|
202
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
203
|
+
requirements:
|
|
204
|
+
- - "~>"
|
|
205
|
+
- !ruby/object:Gem::Version
|
|
206
|
+
version: '1.8'
|
|
207
|
+
- !ruby/object:Gem::Dependency
|
|
208
|
+
name: standard-rspec
|
|
209
|
+
requirement: !ruby/object:Gem::Requirement
|
|
210
|
+
requirements:
|
|
211
|
+
- - "~>"
|
|
212
|
+
- !ruby/object:Gem::Version
|
|
213
|
+
version: '0.3'
|
|
214
|
+
type: :development
|
|
215
|
+
prerelease: false
|
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
217
|
+
requirements:
|
|
218
|
+
- - "~>"
|
|
219
|
+
- !ruby/object:Gem::Version
|
|
220
|
+
version: '0.3'
|
|
53
221
|
description: Adds Sentry instrumentation, context helpers, and cron monitoring support
|
|
54
222
|
to GoodJob-backed ActiveJob workloads.
|
|
55
223
|
email: contact@kiskolabs.com
|
|
@@ -67,6 +235,7 @@ files:
|
|
|
67
235
|
- README.md
|
|
68
236
|
- SECURITY.md
|
|
69
237
|
- bin/console
|
|
238
|
+
- bin/polyrun
|
|
70
239
|
- bin/setup
|
|
71
240
|
- lib/sentry-good_job.rb
|
|
72
241
|
- lib/sentry/good_job.rb
|
|
@@ -84,7 +253,7 @@ metadata:
|
|
|
84
253
|
source_code_uri: https://github.com/amkisko/sentry-good_job/tree/main
|
|
85
254
|
changelog_uri: https://github.com/amkisko/sentry-good_job/blob/main/CHANGELOG.md
|
|
86
255
|
bug_tracker_uri: https://github.com/amkisko/sentry-good_job/issues
|
|
87
|
-
documentation_uri: http://www.rubydoc.info/gems/sentry-good_job/
|
|
256
|
+
documentation_uri: http://www.rubydoc.info/gems/sentry-good_job/7.0.0
|
|
88
257
|
rdoc_options: []
|
|
89
258
|
require_paths:
|
|
90
259
|
- lib
|
|
@@ -92,14 +261,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
92
261
|
requirements:
|
|
93
262
|
- - ">="
|
|
94
263
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: '
|
|
264
|
+
version: '3.4'
|
|
96
265
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
266
|
requirements:
|
|
98
267
|
- - ">="
|
|
99
268
|
- !ruby/object:Gem::Version
|
|
100
269
|
version: '0'
|
|
101
270
|
requirements: []
|
|
102
|
-
rubygems_version:
|
|
271
|
+
rubygems_version: 4.0.3
|
|
103
272
|
specification_version: 4
|
|
104
273
|
summary: GoodJob integration for the Sentry error logger
|
|
105
274
|
test_files: []
|