polaris_view_helpers 0.0.13 → 0.0.14

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
  SHA1:
3
- metadata.gz: 4b868a8e91f5cf55a2a1dcb459a460dabc317776
4
- data.tar.gz: 033e8fa0dfd12cd91e2d47dfa0688588899a57ef
3
+ metadata.gz: ff6e0220903d01c87a5e418fbf040bc393c4222c
4
+ data.tar.gz: 41f27977bf20a4eddd4c7b49ab5eb2d815038d85
5
5
  SHA512:
6
- metadata.gz: fa57b4afe7ece5c486d1a4b79c90c65205ee859470221afff6d10eb4f5ee43480729a8e82e309e4c12cea7fef73ce17756c9a0efba40f1df98ecc8d30e8e10b4
7
- data.tar.gz: 78a4e81226e703c700ccd3ac58cc6f96bd25f6444e6326171ea51fbc03b713bde59806f6f9a9d18f69eb82bbd209ebd52a6ea60929bd78e92fda651fd0f8c736
6
+ metadata.gz: e5ee97cbe3d6cd98b38e2cfe1e1fcdefaaec5f6cd48f9ab8d9adb15d99056bae0543cf20851a5be4364aa6f26c638fcd52aa9d4ffdb848088420dcbb8b21515c
7
+ data.tar.gz: 80b9e6bc4013124267cb8537357f0c8ebca1c50e1c49da96155c97d78313385095d92f15c773e632c325ea180096025e8ba47dde21ecf55f0562df2350deab53
@@ -1 +1 @@
1
- <span class="Polaris-Badge"><%= content %></span>
1
+ <span class="Polaris-Badge"><%= content.html_safe %></span>
@@ -1,3 +1,3 @@
1
- <%= link_to link_destination, method: method, class: "Polaris-Button #{additional_classes}", 'data-polaris-unstyled': true do %>
1
+ <%= link_to link_destination, method: method, confirm: confirm, class: "Polaris-Button #{additional_classes}", 'data-polaris-unstyled': true do %>
2
2
  <span class="Polaris-Button__Content"><span><%= name || capture(&block) %></span></span>
3
3
  <% end %>
@@ -1,3 +1,3 @@
1
- <%= link_to link_destination, method: method, class: "Polaris-Link", 'data-polaris-unstyled': true do %>
1
+ <%= link_to link_destination, method: method, confirm: confirm, class: "Polaris-Link", 'data-polaris-unstyled': true do %>
2
2
  <%= name || capture(&block) %>
3
3
  <% end %>
@@ -114,7 +114,8 @@ module PolarisViewHelpers
114
114
  block: block,
115
115
  additional_classes: additional_classes,
116
116
  link_destination: link_destination,
117
- method: button_options[:method]
117
+ method: button_options[:method],
118
+ confirm: button_options[:confirm]
118
119
  }
119
120
  )
120
121
  end
@@ -136,7 +137,8 @@ module PolarisViewHelpers
136
137
  block: block,
137
138
  additional_classes: additional_classes,
138
139
  link_destination: link_destination,
139
- method: button_options[:method]
140
+ method: button_options[:method],
141
+ confirm: button_options[:confirm]
140
142
  }
141
143
  )
142
144
  end
@@ -1,3 +1,3 @@
1
1
  module PolarisViewHelpers
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
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: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Green
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-27 00:00:00.000000000 Z
11
+ date: 2018-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails