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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f90528aa71a8593f6598013ea44bc011417b7ab8a860cfaa8e51b64dd377c81
4
- data.tar.gz: bd17559564af24057ca1101b7e3fa18e57c88d8b32ae407db68200e744e3222c
3
+ metadata.gz: 1413354a65863f49ea7822ea12cf89b824a71ccec864719ed8dcb0443a54fb48
4
+ data.tar.gz: e5f2d0445ba8261748f55dd09d15e2ae100bfa8349cf76a55d778fe13ebe51e2
5
5
  SHA512:
6
- metadata.gz: 7d194c88af6ca25c1f7e833834f5006d7b8350b928aab29f216c9db2c2374cb374add228d50fc39b03f791961295e118d0942921a8e3f3fe55cd786d8aecff88
7
- data.tar.gz: 06bbe2bca8e871cd41af581cb078782eecc4ddd925272bac872078a369f4f39b8d83b92529934657a6e6a6fa805921df41c9b54c60c365a6a33d567b1baaa144
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).
@@ -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
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GoodSorcery
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  NOTIFIER_NAME = "goodsorcery-ruby"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goodsorcery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Q Nguyen