Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump recipient_interceptor from 0.1.2 to 0.3.1 #2

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 26, 2022

Bumps recipient_interceptor from 0.1.2 to 0.3.1.

Release notes

Sourced from recipient_interceptor's releases.

v0.3.1

This release contains:

  • Improved documentation in README
  • Improved unit tests
  • Added MIT license to gemspec
  • Upgraded rexml dependency to 3.2.5

v0.3.0

Previously, you could prefix the subject line with static text:

Mail.register_interceptor(
  RecipientInterceptor.new(
    ENV["EMAIL_RECIPIENTS"],
    subject_prefix: "[staging]",
  ),
)

Now, you still prefix with static text. Or, you can use a proc to prefix the subject line with contents from the original message:

Mail.register_interceptor(
  RecipientInterceptor.new(
    ENV["EMAIL_RECIPIENTS"],
    subject_prefix: proc { |msg| "[staging] [#{(msg.to + msg.cc + msg.bcc).sort.join(",")}]" }
  ),
)

The object passed to the proc is an instance of Mail::Message.

Commits
  • d929574 Increment version to 0.3.1
  • 6377e65 Document alternatives
  • 03e9c3b Upgrade rexml from 3.2.4 to 3.2.5
  • 55dd8f1 README: add more config context for SMTP
  • 0144d98 Adding license information to the gemspec
  • 1c52ead Match specs to README
  • 0fbec13 Add more configuration examples to README
  • 11fd257 Increment version to 0.3.0
  • 7c60da2 Support subject prefix with a proc
  • 32e05e2 Refactor
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [recipient_interceptor](https://github.com/croaky/recipient_interceptor) from 0.1.2 to 0.3.1.
- [Release notes](https://github.com/croaky/recipient_interceptor/releases)
- [Commits](croaky/recipient_interceptor@v0.1.2...v0.3.1)

---
updated-dependencies:
- dependency-name: recipient_interceptor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
0 participants