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 rodauth-rails from 1.3.1 to 1.4.2 #170

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 16, 2022

Bumps rodauth-rails from 1.3.1 to 1.4.2.

Release notes

Sourced from rodauth-rails's releases.

v1.4.2

  • The generated Action Mailer configuration has received several improvements:

    • configuration name is now passed into the mailer, making it work for secondary configurations
    • finding the account was extracted into a method, to make it easier to change if needed for different Rodauth configurations
    • the old/new email address are not passed into mailer arguments anymore for verifying login change, making it more GDPR-friendly
    # app/misc/rodauth_main.rb
    class RodautMain < Rodauth::Rails::Auth
      configure do
        # ...
        create_reset_password_email do
          RodauthMailer.reset_password(*self.class.configuration_name, account_id, reset_password_key_value)
        end
        create_verify_account_email do
          RodauthMailer.verify_account(*self.class.configuration_name, account_id, verify_account_key_value)
        end
        create_verify_login_change_email do |_login|
          RodauthMailer.verify_login_change(*self.class.configuration_name, account_id, verify_login_change_key_value)
        end
        create_password_changed_email do
          RodauthMailer.password_changed(*self.class.configuration_name, account_id)
        end
        # create_email_auth_email do
        #   RodauthMailer.email_auth(*self.class.configuration_name, account_id, email_auth_key_value)
        # end
        # create_unlock_account_email do
        #   RodauthMailer.unlock_account(*self.class.configuration_name, account_id, unlock_account_key_value)
        # end
        # ...
      end
    end
    # app/mailers/rodauth_mailer.rb
    class RodauthMailer < ApplicationMailer
      def verify_account(name = nil, account_id, key)
        @email_link = email_link(name, :verify_account, account_id, key)
        @account = find_account(name, account_id)
    mail to: @account.email, subject: rodauth(name).verify_account_email_subject
    
    end
    def reset_password(name = nil, account_id, key)
    @​email_link = email_link(name, :reset_password, account_id, key)
    @​account = find_account(name, account_id)
    mail to: @account.email, subject: rodauth(name).reset_password_email_subject
    
    end

... (truncated)

Changelog

Sourced from rodauth-rails's changelog.

1.4.2 (2022-05-15)

  • Stop passing email addresses in mailer arguments on verifying login change (@​janko)

  • Extract finding account into a method in the generated mailer (@​janko)

  • Make generated Action Mailer integration work with secondary Rodauth configurations (@​janko)

  • Include Rodauth::Rails.model in generated Sequel account model as well (@​janko)

1.4.1 (2022-05-08)

  • Deprecate Rodauth::Rails::Model constant (@​janko)

  • Remove Rodauth::Rails::Auth#associations in favour of new association registration API (@​janko)

  • Extract model mixin into the rodauth-model gem (@​janko)

1.4.0 (2022-05-04)

  • Move association definitions to #associations Rodauth method, allowing external features to extend them (@​janko)

  • Add Sequel support for generating database migrations, model, and mailer (@​janko)

  • Skip calling Rodauth app on asset requests when using Sprockets or Propshaft (@​janko)

Commits
  • 50dde66 Bump to 1.4.2
  • 47d6c7e Avoid passing email addresses in job arguments
  • f60f6ab Extract account finding in mailer into a method
  • dad3ba1 Make mailer integration work with secondary configurations
  • 6a9a1c6 Include model mixin in generated Sequel account model
  • 1783306 Bump to 1.4.1
  • 6182860 Replace model mixin with rodauth-model gem
  • 626d466 Bump to 1.4.0
  • 75272f6 Use =~ for regex matching
  • 73e7e4e Add documentation on extending associations
  • 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 [rodauth-rails](https://github.com/janko/rodauth-rails) from 1.3.1 to 1.4.2.
- [Release notes](https://github.com/janko/rodauth-rails/releases)
- [Changelog](https://github.com/janko/rodauth-rails/blob/master/CHANGELOG.md)
- [Commits](janko/rodauth-rails@v1.3.1...v1.4.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels May 16, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 13, 2022

Superseded by #173.

@dependabot dependabot bot closed this Jun 13, 2022
@dependabot dependabot bot deleted the dependabot/bundler/rodauth-rails-1.4.2 branch June 13, 2022 22:11
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 ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants