index_for 0.1.0 → 0.1.1

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: 320b8fec48df235b14a8e797e086e4da2f431f7e
4
- data.tar.gz: 5d4c4600d8125cc3f3d99e2ddce6da0d95934d7a
3
+ metadata.gz: 1e51681ee6904866e0b057b58feaac06fd709b82
4
+ data.tar.gz: 6c98c2b5b7b41ed2c7440464c47e66d4da789553
5
5
  SHA512:
6
- metadata.gz: 3a66c9303baa5a89ee30ec777fa95d5f33fb43e364d33e6160023148da5f3fa77aaad07d08d75eea05e1d246d85cad34123b88005e9ff5ec67b56901d5437295
7
- data.tar.gz: 853c4cc0982705c336f1b21ad737c03abbfc6a4e9f00a834c19d4b229360e1c0fd88007bfdd70e956835fa2779e99ea2eae252925c6507fbf71aa761f537809c
6
+ metadata.gz: 2fe646bf96b40a2d47ecaf7678a8a4046aa9ceb46604f7fe333e9e8c390664d4f6dc4682826b796f93730a425ab4b18b0276c4a56dd6910d1d80493a357eef02
7
+ data.tar.gz: 89a67513b4904a901470751550efe0fad410f4523585e514547eee15ed3796c428f776a4b1e73b18dc90716143a67de07b8c721e1c1cf57195e82d5913b92575
@@ -10,7 +10,7 @@ module IndexFor
10
10
  object = @html_options[:namespace] ? @html_options[:namespace].clone.push(@object) : @object
11
11
  action_title = translate(:"actions.#{action_name}",
12
12
  default: action_name.to_s.humanize).html_safe
13
- action_html_options = apply_html_options :action_link, options[:html] || {}
13
+ action_html_options = apply_html_options :action_link, options
14
14
  append_class action_html_options, :"action_#{action_name}", options[:class]
15
15
  action_html_options[:data] ||= {}
16
16
  action_html_options[:data].reverse_merge!(options.slice(:method, :confirm))
@@ -1,3 +1,3 @@
1
1
  module IndexFor
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: index_for
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Theo