goodsorcery 0.1.0 → 0.1.1
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 +4 -0
- data/README.md +7 -1
- data/lib/goodsorcery/defaults.rb +2 -0
- data/lib/goodsorcery/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1413354a65863f49ea7822ea12cf89b824a71ccec864719ed8dcb0443a54fb48
|
|
4
|
+
data.tar.gz: e5f2d0445ba8261748f55dd09d15e2ae100bfa8349cf76a55d778fe13ebe51e2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b7df0121fdb191079e323cb6b6242134c21735aa461aa8c6a9bbed04572c50a820a863d90957a3e7fa57cb9d9b241ea6c9399d7ce71a5974c6c93cde833d956d
|
|
7
|
+
data.tar.gz: 4533d8744e3d5b8b1b93402b02cd18d6b6c8468222a5945cfb98c417b33a752a43ac72289e4beccf1a0915605d844e4e16656970cdc06a132406ff8bfae3fcf2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.1 (2026-10-11)
|
|
4
|
+
|
|
5
|
+
- `Sidekiq::JobRetry::Handled` and `Sidekiq::JobRetry::Skip` are ignored by default. Sidekiq raises them internally after its retry handling, so reporting them only duplicated the original error.
|
|
6
|
+
|
|
3
7
|
## 0.1.0 (2026-10-10)
|
|
4
8
|
|
|
5
9
|
- First release.
|
data/README.md
CHANGED
|
@@ -87,7 +87,7 @@ Change settings inside `GoodSorcery.configure`: it recompiles the filters and re
|
|
|
87
87
|
| `filter_params` | see [Filtering](#filtering) | Strings/symbols match whole keys; regexps match any part. |
|
|
88
88
|
| `use_rails_filter_parameters` | `true` | Also apply `Rails.application.config.filter_parameters` (Rails integration). |
|
|
89
89
|
| `extra_filters` | `[]` | Objects responding to `filter(hash) -> hash`; see [Extension points](#extension-points). |
|
|
90
|
-
| `ignore_exceptions` | Rails/Rack routing and 4xx errors, `SignalException`, `SystemExit` | Class names; subclasses are ignored too. |
|
|
90
|
+
| `ignore_exceptions` | Rails/Rack routing and 4xx errors, Sidekiq's internal retry signals (`Sidekiq::JobRetry::Handled`, `Sidekiq::JobRetry::Skip`), `SignalException`, `SystemExit` | Class names; subclasses are ignored too. |
|
|
91
91
|
| `before_send` | `nil` | `->(event) { event }`. Return a (changed) hash, or `nil` to drop. If it raises, the event is dropped and the error class logged. |
|
|
92
92
|
| `tags` | `{}` | Global tags on every event. |
|
|
93
93
|
| `user_method` | `:current_user` | Controller method the Rails integration uses to find the user. |
|
|
@@ -294,6 +294,12 @@ bundle exec rubocop
|
|
|
294
294
|
bin/console
|
|
295
295
|
```
|
|
296
296
|
|
|
297
|
+
### Releasing
|
|
298
|
+
|
|
299
|
+
1. Bump `GoodSorcery::VERSION` in `lib/goodsorcery/version.rb` and add a dated section to `CHANGELOG.md`.
|
|
300
|
+
2. Commit both on `main`.
|
|
301
|
+
3. Run `bundle exec rake release`. It refuses to run with uncommitted changes. It builds the gem into `pkg/`, tags `vX.Y.Z`, pushes the commit and the tag to GitHub and pushes the gem to RubyGems, asking for your MFA code.
|
|
302
|
+
|
|
297
303
|
## License
|
|
298
304
|
|
|
299
305
|
Created by [Philip Q Nguyen](https://github.com/philipqnguyen). MIT licensed; see [LICENSE](LICENSE).
|
data/lib/goodsorcery/defaults.rb
CHANGED
|
@@ -29,6 +29,8 @@ module GoodSorcery
|
|
|
29
29
|
CGI::Session::CookieStore::TamperedWithCookie
|
|
30
30
|
Rack::QueryParser::InvalidParameterError
|
|
31
31
|
Rack::QueryParser::ParameterTypeError
|
|
32
|
+
Sidekiq::JobRetry::Handled
|
|
33
|
+
Sidekiq::JobRetry::Skip
|
|
32
34
|
Sinatra::NotFound
|
|
33
35
|
SignalException
|
|
34
36
|
SystemExit
|
data/lib/goodsorcery/version.rb
CHANGED