bootstrap_builders 0.0.9 → 0.0.10

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
  SHA1:
3
- metadata.gz: 43c621b25f767638eebfcea46e851eb66c9e643d
4
- data.tar.gz: c0f9799c7e4a9ea5b67c3e31368c8b19dd67f80b
3
+ metadata.gz: b9e79f5b4c3dc17543d62e1516237ca6786961ad
4
+ data.tar.gz: 929ec7495a0ad53cb7b31f01b39cfaf5c6b8a7d5
5
5
  SHA512:
6
- metadata.gz: a67107147cbaeb4d5ab187b9eb1dc5a4b80674241eeb2bcda08c11c6c2e4085c0b29c495449ba074648f65cc97ae83b195c14b0c52a2472aca41b06add7cc5ec
7
- data.tar.gz: fb5b01244fb652359b9423a12085186362c00e4e125c44ac4d5591c585bac49ef48e201c4aa459c0de88799b171cacb1a9008286bed99914b5ef3a5612c2eaaf
6
+ metadata.gz: c639fc1b0f2479d0c5178cd0bddddb3e6bab5f1864b010641589c6eb2ca844e296936d4e741d03bd9e62425894d3739c7f100ef3112b59e5a5b159ab94bfc82a
7
+ data.tar.gz: 5347f30dca008a81ee962d13c1073f97b5bd127af19f10ad42042bb331f74e026fde185722d1ae4738e43e49ac9f7b5944d1ffe2b5f60ccc5cdad6ba235babba
@@ -59,7 +59,16 @@ class BootstrapBuilders::Button
59
59
 
60
60
  handle_confirm_argument
61
61
 
62
- @context.link_to(@url, class: classes.classes, data: @args[:data], method: @args[:method], remote: @args[:remote], title: @args[:title]) do
62
+ link_args = {
63
+ class: classes.classes,
64
+ data: @args[:data],
65
+ method: @args[:method],
66
+ target: @args[:target],
67
+ remote: @args[:remote],
68
+ title: @args[:title]
69
+ }
70
+
71
+ @context.link_to(@url, link_args) do
63
72
  html = ""
64
73
  html << @context.content_tag(:i, nil, class: ["fa", "fa-#{@icon}"]) if @icon
65
74
  html << " #{@label}" if @label && !@mini
@@ -1,3 +1,3 @@
1
1
  module BootstrapBuilders
2
- VERSION = "0.0.9".freeze
2
+ VERSION = "0.0.10".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_builders
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - kaspernj