five-two-nw-olivander 0.1.2.55 → 0.1.2.56

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3530a74b6c8673923e9747c1a96095c4257cc0fe4548915a0268bdcbe2b3eefb
4
- data.tar.gz: d90e65ea9ffc37e9270715673d26aae6e14c99bdb95aa0d960c65bd464b4538c
3
+ metadata.gz: c375be3fe2ce5dbfceaa1e12970b854f5cf2cd5736235ce2c8dba116e3a08bc6
4
+ data.tar.gz: 4a28b8b8495f6509047fed0ff810b2f773d7c867101413d319f81720a9fd96cc
5
5
  SHA512:
6
- metadata.gz: d1316353cfb569f9fd7f2975b0bd96444a823625cdce839822a94df85670b23f9c1ae2fb0504a848fa4dde81469c177831e08b468b21658297c4be4d5d03904b
7
- data.tar.gz: eb61a8b7da698576edfaf71e6b5c4e3223ab2126459df5e83c10829a22a3f2fb467d936311d8a3d0ffa48f22f508d56ea75d13be9e6728138c6c24d835542c38
6
+ metadata.gz: 3efdab042d7beb478fb17125e1dfcd029baa6554ced91ae946486303d4966ae398b42d4c89b3923c7cb5da60794b20c863f595e096f2b7ab1edd255bd0cdcc4c
7
+ data.tar.gz: 20b769eddd5030e3ba3f444ab67266d28546598b85aceff5023ddfc010e2dac50f5b31054fcf8c1d2a0601eb5dfb70358b5cc5b1606dec713ad78987a78336cd
@@ -51,10 +51,11 @@ module Olivander
51
51
  if bulk_action_list.size.positive?
52
52
  bulk_actions do
53
53
  bulk_action_list.each do |ma|
54
+ label = resource_form_action_label(instance, ma.action)
54
55
  if ma.confirm
55
- bulk_action ma.sym, url_for(controller: ma.controller, action: "confirm_#{ma.action}")
56
+ bulk_action label, url_for(controller: ma.controller, action: "confirm_#{ma.action}")
56
57
  else
57
- bulk_action ma.sym, send(ma.path_helper), data: { turbo_frame: ma.turbo_frame }
58
+ bulk_action label, send(ma.path_helper), data: { turbo_frame: ma.turbo_frame }
58
59
  end
59
60
  end
60
61
  end
@@ -1,3 +1,3 @@
1
1
  module Olivander
2
- VERSION = '0.1.2.55'.freeze
2
+ VERSION = '0.1.2.56'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: five-two-nw-olivander
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.55
4
+ version: 0.1.2.56
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Dennis