bmc 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/app/helpers/bmc/button_helper.rb +6 -1
- data/lib/bmc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 660ccd7de1adf652c91f76ddc091f158c1b844d1a5a2a1006ca801c91a54ab79
|
4
|
+
data.tar.gz: 7786e6fd7de7161c0fbd9cb61b1f8200f9e48d65c59296cad7cde39234bb0bb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 714fafade0b2d5fcb2ab9689445c9e327075107ccd5397bdf218ad85108af4e05aa0dd484ff7d68d932d833ce29f3b68b6cf21b27913a61de3c9ee3f54f802d4
|
7
|
+
data.tar.gz: 599dde15b80d1e30103de30e33e0070aa9c3023845d33303d464d6a2967a9c43b9abccd2a11d5a20de965879ee6d459905d3c2a6eac6b4b9773fdd3260aba65b
|
data/CHANGELOG.md
CHANGED
@@ -22,6 +22,7 @@ module BMC::ButtonHelper
|
|
22
22
|
btn_size: BMC::ButtonHelper.default_size,
|
23
23
|
btn_style: BMC::ButtonHelper.default_style,
|
24
24
|
add_class: [],
|
25
|
+
helper: :link_to,
|
25
26
|
**options
|
26
27
|
)
|
27
28
|
text = ta(action) if text.nil? && action
|
@@ -50,7 +51,11 @@ module BMC::ButtonHelper
|
|
50
51
|
options.deep_merge!(data: {confirm: confirm})
|
51
52
|
end
|
52
53
|
|
53
|
-
|
54
|
+
public_send(helper, content, url, options.sort.to_h)
|
55
|
+
end
|
56
|
+
|
57
|
+
def bs_button_to(url, **options)
|
58
|
+
bs_button(url, helper: :button_to, **options)
|
54
59
|
end
|
55
60
|
|
56
61
|
def new_button(url = url_for(action: :new), **options)
|
data/lib/bmc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bmc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benoit MARTIN-CHAVE
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails-i18n
|