Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Mar 19, 2024
1 parent 2153397 commit 5ccb422
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 6 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
### Unreleased

### 2.2.0

* Add `config.before_enqueue` callback
This callback can be used to skip enqueuing delivery methods:

```ruby
class CommentNotifier < Noticed::Event
deliver_by :email do |config|
config.before_enqueue = ->{ throw(:abort) unless recipient.email_notifications? }
end
end
```

* Fix iOS `format` option with Symbols. This now passes the `notification` and `apn` objects instead of just the `apn`.

```ruby
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
noticed (2.1.3)
noticed (2.2.0)
rails (>= 6.1.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_6_1.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
noticed (2.1.3)
noticed (2.2.0)
rails (>= 6.1.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_7.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
noticed (2.1.3)
noticed (2.2.0)
rails (>= 6.1.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_7_1.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
noticed (2.1.3)
noticed (2.2.0)
rails (>= 6.1.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_main.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ GIT
PATH
remote: ..
specs:
noticed (2.1.3)
noticed (2.2.0)
rails (>= 6.1.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion lib/noticed/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Noticed
VERSION = "2.1.3"
VERSION = "2.2.0"
end

0 comments on commit 5ccb422

Please sign in to comment.