bullet_train-integrations-stripe 1.20.0 → 1.21.0

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: 1db931d9ec471c1dfafdecdf915bece1d76d5a8272149221f61cfb426b32de93
4
- data.tar.gz: 51016d311a71c47fcb4c63278a2f2add588ece258bd2a7aff658063914125c3b
3
+ metadata.gz: 38e9fbcc337da1e11f67819a72be198d909352a8617bfc9b953cabc779e291c4
4
+ data.tar.gz: 85dfe7726a30e2835cd49710bc99809bfd0cbfa9d0e14058e9ae6db621c86377
5
5
  SHA512:
6
- metadata.gz: 7e5f489b64a7cf87b87eba6ad39b701b4d0780618ec2a24429a3f2b00628af827f5fd97a835ad6577536038fd2d9722c9ccd19cea0963d65e5859338ef4ae5c9
7
- data.tar.gz: 5bae67338489dae58d66fb0d6af7352652d2cbe0f27e58937aab525822dffdccd9708c52505adfa471f89f5956a84e2778574bf7cbdf53468858848ae379b7ac
6
+ metadata.gz: d131db857e8e9593198e6e0c0f4b040273325aa913aba51b7a6c13aea73b83ba601a3c77759dfa6bf782037e2dd1e4777894a122432aa60c06acdfd2fc8335de
7
+ data.tar.gz: aa3bf7bb329c790d0a7019dc7d331a62bd8106eb70a62d4e7d83cdfbd7cf6062b2defada0f8542a7776d9213eef224caed0c80c8d354198928420b491135bf63
@@ -22,7 +22,7 @@
22
22
  <% end %>
23
23
 
24
24
  <% if can? :destroy, stripe_installation %>
25
- <%= link_to [:account, stripe_installation, return_to: request.path], method: :delete, data: { confirm: t('.buttons.confirmations.destroy_from_user', team_name: stripe_installation.team.label_string) }, class: 'inline-block text-slate-300 hover:text-slate-400 hover:no-underline text-lg' do %>
25
+ <%= link_to [:account, stripe_installation, return_to: request.path], data: { turbo_method: :delete, turbo_confirm: t('.buttons.confirmations.destroy_from_user', team_name: stripe_installation.team.label_string) }, class: 'inline-block text-slate-300 hover:text-slate-400 hover:no-underline text-lg' do %>
26
26
  <i class="ti ti-close"></i>
27
27
  <% end %>
28
28
  <% end %>
@@ -19,7 +19,7 @@
19
19
  </div>
20
20
  <div class="flex-0 min-w-0 space-x-2 text-lg">
21
21
  <% if can? :destroy, stripe_installation %>
22
- <%= link_to [:account, stripe_installation, return_to: request.path], method: :delete, data: { confirm: t('.buttons.confirmations.destroy_from_user', team_name: stripe_installation.team.label_string) }, class: 'inline-block text-slate-300 hover:text-slate-400 hover:no-underline' do %>
22
+ <%= link_to [:account, stripe_installation, return_to: request.path], data: { turbo_method: :delete, turbo_confirm: t('.buttons.confirmations.destroy_from_user', team_name: stripe_installation.team.label_string) }, class: 'inline-block text-slate-300 hover:text-slate-400 hover:no-underline' do %>
23
23
  <i class="ti ti-close"></i>
24
24
  <% end %>
25
25
  <% end %>
@@ -17,7 +17,7 @@
17
17
 
18
18
  <% box.actions do %>
19
19
  <%= link_to t('.buttons.edit'), [:edit, :account, @stripe_installation], class: first_button_primary if can? :edit, @stripe_installation %>
20
- <%= button_to t('.buttons.destroy'), [:account, @stripe_installation], method: :delete, class: first_button_primary, data: { confirm: t('.buttons.confirmations.destroy', model_locales(@stripe_installation)) } if can? :destroy, @stripe_installation %>
20
+ <%= button_to t('.buttons.destroy'), [:account, @stripe_installation], method: :delete, class: first_button_primary, data: { turbo_confirm: t('.buttons.confirmations.destroy', model_locales(@stripe_installation)) } if can? :destroy, @stripe_installation %>
21
21
  <%= link_to t('global.buttons.back'), [:account, @team, :integrations_stripe_installations], class: first_button_primary %>
22
22
  <% end %>
23
23
  <% end %>
@@ -21,7 +21,7 @@
21
21
  </div>
22
22
  <div class="flex-0 min-w-0 space-x-2 text-lg">
23
23
  <% if can? :destroy, stripe_account %>
24
- <%= link_to [:account, stripe_account], method: :delete, data: { confirm: t('.buttons.confirmations.destroy', model_locales(stripe_account)) }, class: 'inline-block text-slate-300 hover:text-slate-400 hover:no-underline' do %>
24
+ <%= link_to [:account, stripe_account], data: { turbo_method: :delete, turbo_confirm: t('.buttons.confirmations.destroy', model_locales(stripe_account)) }, class: 'inline-block text-slate-300 hover:text-slate-400 hover:no-underline' do %>
25
25
  <i class="ti ti-close"></i>
26
26
  <% end %>
27
27
  <% end %>
@@ -5,7 +5,7 @@
5
5
  <% box.t :description, title: '.header' %>
6
6
  <% box.actions do %>
7
7
  <%= link_to t('.buttons.edit'), [:edit, :account, @stripe_account], class: first_button_primary if can? :edit, @stripe_account %>
8
- <%= button_to t('.buttons.destroy'), [:account, @stripe_account], method: :delete, class: first_button_primary, data: { confirm: t('.buttons.confirmations.destroy', model_locales(@stripe_account)) } if can? :destroy, @stripe_account %>
8
+ <%= button_to t('.buttons.destroy'), [:account, @stripe_account], method: :delete, class: first_button_primary, data: { turbo_confirm: t('.buttons.confirmations.destroy', model_locales(@stripe_account)) } if can? :destroy, @stripe_account %>
9
9
  <%= link_to t('global.buttons.back'), [:account, @user, :oauth_stripe_accounts], class: first_button_primary %>
10
10
  <% end %>
11
11
  <% end %>
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Integrations
3
3
  module Stripe
4
- VERSION = "1.20.0"
4
+ VERSION = "1.21.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-integrations-stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.0
4
+ version: 1.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver