polaris_view_helpers 1.2.8 → 1.2.10

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: 6b79e57706ef11800c0d27dcc55d59af042681c0596a7d25afc6bfebe85cd842
4
- data.tar.gz: 89f83a5f90afa5dab5ef5c0034f4662a18e6db3027fe3d6d752ebe5e9e1939fb
3
+ metadata.gz: abbacac0a6fc7dec584a9b0b373b187ba833a0f34215ae3e7bc2c2a6e2c2bc8d
4
+ data.tar.gz: 552647aa59ee796fd7e4f5a2a7b16f81a0f560e0f8aebcf625ebc8cb7ffcc2fc
5
5
  SHA512:
6
- metadata.gz: 98fb1faf0e7a6a00b50627e840140e913816e22c7acdc202e67ee60b421eef71eb7e99338c05e99cc36fe8a752cc7c7b057aa9679d9f80b5e5023c10e6f3e57f
7
- data.tar.gz: 4dc81872f466b23bddff1a906fd6e3edf186cd21d3fe88dd0f0df2c9f1263485cada0fd28f3e9a96c43bab902f6023c3c3c1eea5c5c3b6c095ddf7506b0bb326
6
+ metadata.gz: 7eecdb7d9fe7a631e432d21a922fddec0d469e2b01a0d882511133ea9300722a2892ca87233659e9281b2fb11ba71947899b4cc6f59425f38d67a22f553bd7cd
7
+ data.tar.gz: 917861a2162994d3ebdd18466c57618d3ec8fb69c1f9f82082ca89fce2f19932598bb6145ba96446d440167b8737892654419c3993d7b0bd08a20ca9adc53f22
@@ -1,3 +1,3 @@
1
- <%= link_to link_destination, method: method, confirm: confirm, class: "Polaris-Link", 'data-polaris-unstyled': true do %>
1
+ <%= link_to link_destination, method: method, confirm: confirm, class: "Polaris-Link", target: target, 'data-polaris-unstyled': true do %>
2
2
  <%= name || capture(&block) %>
3
3
  <% end %>
@@ -6,7 +6,9 @@
6
6
  <% end %>
7
7
  </ul>
8
8
 
9
- <%= capture(&block) %>
9
+ <% if block %>
10
+ <%= capture(&block) %>
11
+ <% end %>
10
12
  <% end %>
11
13
  <p>&nbsp;</p>
12
14
  <% end %>
@@ -181,6 +181,8 @@ module PolarisViewHelpers
181
181
  additional_classes: additional_classes,
182
182
  link_destination: link_destination,
183
183
  method: button_options[:method],
184
+ remote: button_options[:remote],
185
+ target: button_options[:target],
184
186
  confirm: button_options[:confirm]
185
187
  }
186
188
  )
@@ -1,3 +1,3 @@
1
1
  module PolarisViewHelpers
2
- VERSION = "1.2.8"
2
+ VERSION = "1.2.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polaris_view_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.8
4
+ version: 1.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Green
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-08 00:00:00.000000000 Z
11
+ date: 2022-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails