iquest-simple_table 0.4.0 → 0.4.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
  SHA1:
3
- metadata.gz: 45e5c0239f2c37302736ee01e5bd1465eea65bf2
4
- data.tar.gz: b9172276ac0091318da04c4be5ff4a131f195c87
3
+ metadata.gz: cf6b78be79b00524d2f242801a53b0fa14ee521a
4
+ data.tar.gz: a35008785026fc7d11f7d95b22908eef56e170f2
5
5
  SHA512:
6
- metadata.gz: a5290739813210936128ea1be2e03298e431d74b9b973ed1745ed75cdf05da38457165ee89040f10a6ce51107981e54bd1bb25abd59a01983a3c547cda539eda
7
- data.tar.gz: ec02416131cbafd96908be1eddd0fd968c945bfd062497db3093fdbd45e6412ff8eea1c3f390b28dbb426bd36d24761872e2ca2941ee27fac26b666fc2a78db5
6
+ metadata.gz: 4e8f91237bdf5b93d915fc980520f4603cd0860827651b8877abcf13a997868b38ace33d812f4927b35e390f9cd83164de6ef0b3ad5bdd7c87ea49069dbae9da
7
+ data.tar.gz: 2d363396a5b1d7f5dfd292b7336a3715187cec453c79e6c65b7e56f3bd3ee442090556a772345017edd64f9353ef9e95c90fa60a578d479493434a261d4fab8f
@@ -21,7 +21,7 @@ module Iquest
21
21
  defaults << options.delete(:default) if options[:default]
22
22
 
23
23
  options[:default] = ''
24
- I18n.translate(defaults.shift, options)
24
+ I18n.translate(defaults.shift, **options)
25
25
  end
26
26
  end
27
27
  end
@@ -128,7 +128,7 @@ module Iquest
128
128
  TABLE_TEMPLATE = '
129
129
  <% if @options[:responsive] %><div class="table-responsive"><%end%>
130
130
  <table id="<%= @table_id %>" class="<%= @options[:html][:class].join(CLASS_DELIMITER) %> table table-hover table-striped">
131
- <thead>
131
+ <thead class="header">
132
132
  <tr class="labels">
133
133
  <th class="collection-actions"><%= @collection_actions.join %></th>
134
134
  <% columns.each do |attr, options| %>
@@ -278,7 +278,7 @@ module Iquest
278
278
  def render_actions(item)
279
279
  content_tag :td, class: 'rowlink-skip' do
280
280
  @actions.map do |action|
281
- render_action(item, action)
281
+ render_action(item, **action)
282
282
  end.join.html_safe
283
283
  end
284
284
  end
@@ -1,5 +1,5 @@
1
1
  module Iquest
2
2
  module SimpleTable
3
- VERSION = '0.4.0'.freeze
3
+ VERSION = '0.4.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iquest-simple_table
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Dusanek
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-11 00:00:00.000000000 Z
11
+ date: 2023-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ransack_simple_form
@@ -110,7 +110,7 @@ homepage: https://github.com/iquest/iquest-simple_table
110
110
  licenses:
111
111
  - MIT
112
112
  metadata: {}
113
- post_install_message:
113
+ post_install_message:
114
114
  rdoc_options: []
115
115
  require_paths:
116
116
  - lib
@@ -125,9 +125,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
- rubyforge_project:
128
+ rubyforge_project:
129
129
  rubygems_version: 2.4.5.2
130
- signing_key:
130
+ signing_key:
131
131
  specification_version: 4
132
132
  summary: Simple table helper, taht supports filtering through Ransack
133
133
  test_files: []