Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Nov 26, 2022
1 parent c80414d commit 9949f0a
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 10 deletions.
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@

### Unreleased

* Switch `business_name` to `application_name` to receipt & mailers
The business name is included on receipts & refunds, but emails should show the application name instead in case a business has multiple applications / products
* Use `instance_exec` for `mail_arguments` and `mail_to` so lambda/proc has access to all mailer features
# 6.1.0

* Swapping Braintree subscriptions previously had a bug where if a user had an existing plan and was attempting to switch to a new plan, we would cancel their current plan before subscribing them to the new plan.
If subscribing to the new plan failed however, the user would then no longer have any plan at all. This has now been resolved by attempting to subscribe to the new plan first, which if fails will raise an error and
preserve the users current plan.
* Switch `business_name` to `application_name` to receipt & mailers
The business name is included on receipts & refunds, but emails should show the `application_name` instead in case a business has multiple applications / products
* Use `instance_exec` for `mail_arguments` and `mail_to` so lambda/proc has access to all mailer features
* Add `application_name` to email subjects
* Add links to root_url in emails

### 6.0.3

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GIT
PATH
remote: .
specs:
pay (6.0.3)
pay (6.1.0)
rails (>= 6.0.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion app/mailers/pay/user_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def subscription_trial_ended
private

def mail_arguments
instance_exec &Pay.mail_arguments
instance_exec(&Pay.mail_arguments)
end
end
end
2 changes: 1 addition & 1 deletion gemfiles/rails_6.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GIT
PATH
remote: ..
specs:
pay (6.0.3)
pay (6.1.0)
rails (>= 6.0.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
Expand Up @@ -10,7 +10,7 @@ GIT
PATH
remote: ..
specs:
pay (6.0.3)
pay (6.1.0)
rails (>= 6.0.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
Expand Up @@ -10,7 +10,7 @@ GIT
PATH
remote: ..
specs:
pay (6.0.3)
pay (6.1.0)
rails (>= 6.0.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_master.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ GIT
PATH
remote: ..
specs:
pay (6.0.3)
pay (6.1.0)
rails (>= 6.0.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion lib/pay/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Pay
VERSION = "6.0.3"
VERSION = "6.1.0"
end

0 comments on commit 9949f0a

Please sign in to comment.