polaris_view_helpers 1.0.1 → 1.0.2

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: 84994eaf4a3b1280f92760cffbf59cb3d3c8dc56e13e430724674d969e36d67e
4
- data.tar.gz: '026484081fd7ce80e8394ceb102fced746a13ea7738332ac819224e63f4d6639'
3
+ metadata.gz: f29663da031644d1a52ab40137a871b69a425c41e2e13c2358ee223cba4bbf3c
4
+ data.tar.gz: 4040d89605594f0de9e624f4ccc79f851c65fd6c38a6b69fe91f4e346d6b25fb
5
5
  SHA512:
6
- metadata.gz: 263aca842373ccbf28a405b235260512a3d4b89def1c5f345249ce309545e9951dff8adfc3078f243e218270179927690798260cadc72acd4ce677294daa7900
7
- data.tar.gz: 2a11a26b33c9384be97f792966876d1a36da071405c5812e96a40c66585ccbe15fe7b4eaaeb1b7318ccf5872f8038ea7bbb3e78ebb4035eb6f714b51ed1fb4f4
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
  )
@@ -1,3 +1,3 @@
1
1
  module PolarisViewHelpers
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
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.0.1
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-06 00:00:00.000000000 Z
11
+ date: 2021-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails