polaris_view_helpers 1.0.1 → 1.0.2
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 +4 -4
- data/lib/polaris_view_helpers/helper.rb +2 -1
- data/lib/polaris_view_helpers/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: f29663da031644d1a52ab40137a871b69a425c41e2e13c2358ee223cba4bbf3c
|
|
4
|
+
data.tar.gz: 4040d89605594f0de9e624f4ccc79f851c65fd6c38a6b69fe91f4e346d6b25fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 45c663660ce70473b52bc67606e96b1d3ade9c3574d09c3508e49b1114c9820d38c8980abc6fd00b9786becf950140e64377e7f1f958518efb4bc47da6330f56
|
|
7
|
+
data.tar.gz: 91437886d3e15f9a3a28f297df79a0bf69cbf47f01b503d60ce9c3cef41325ebf90e3dd3270aa9981a10bde924af377b8f57a377f5656d38ecc05d27ca03789b
|
|
@@ -120,7 +120,7 @@ module PolarisViewHelpers
|
|
|
120
120
|
end
|
|
121
121
|
button_options ||= {}
|
|
122
122
|
|
|
123
|
-
additional_classes = ""
|
|
123
|
+
additional_classes = button_options[:additional_classes] || ""
|
|
124
124
|
(button_options[:modifiers] || []).each do |modifier|
|
|
125
125
|
additional_classes += "Polaris-Button--#{modifier} "
|
|
126
126
|
end
|
|
@@ -133,6 +133,7 @@ module PolarisViewHelpers
|
|
|
133
133
|
link_destination: link_destination,
|
|
134
134
|
method: button_options[:method],
|
|
135
135
|
remote: button_options[:remote],
|
|
136
|
+
target: button_options[:target],
|
|
136
137
|
confirm: button_options[:confirm]
|
|
137
138
|
}
|
|
138
139
|
)
|
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.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeremy Green
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-05-
|
|
11
|
+
date: 2021-05-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|