effective_datatables 4.30.0 → 4.30.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
  SHA256:
3
- metadata.gz: 7663f0cd98b88923ef51722002f27d145f7baba83ac670d177ba0dd62a2301dc
4
- data.tar.gz: 6dd269bd1b8912817a03748734cdd503114c399eebe850eb1df2fc71949ea54d
3
+ metadata.gz: 101202eb8e7251895835506090dbee19f994e4db1bed1ba263f8bed9226c45de
4
+ data.tar.gz: c10bbed1cddf86a46782924d42eb1a081eb4fef692a9eb1a4ab9e76520522c4a
5
5
  SHA512:
6
- metadata.gz: 2c3f9d268f19b45c7163a425d8720c353d60c03631c0b430e84caa514a7b5705e9caba70ac69df0406f7259502faf953351661fad958c068bc7cd67d51b6e9a9
7
- data.tar.gz: 7a87a66cca6ad5bf2c675ebfece0e3085e27a01f65810a80e9f185821fc36262cba335ff3c85c7c75c047d6c58c9de183866064f6f96911ddd3ed63058fca06a
6
+ metadata.gz: ac57919edf6575dc47ed971f8cec6d60afa6783095f2098cafa8d89ba43cad4283c87bafcef402880fdac90a5d91c2b00a887753da11cbbf77b82f8e9325be23
7
+ data.tar.gz: 505c45e8a0034dda6a99120f65cabf601886627bac22c23148cc4cd7fc217c1c08235ba92d65522064eeaa014c7c18a179ca9d711585093309cbb1897d956bdb
@@ -255,6 +255,15 @@ table.dataTable {
255
255
  th.col-decimal, td.col-decimal { text-align: right; }
256
256
  th.col-right, td.col-right { text-align: right; }
257
257
 
258
+ th.col-th-left { text-align: left !important; }
259
+ td.col-td-left { text-align: left !important; }
260
+
261
+ th.col-th-center { text-align: center !important; }
262
+ td.col-td-center { text-align: center !important; }
263
+
264
+ th.col-th-right { text-align: right !important; }
265
+ td.col-td-right { text-align: right !important; }
266
+
258
267
  td.col-bulk_actions {
259
268
  label {
260
269
  cursor: pointer;
@@ -38,7 +38,7 @@ module EffectiveDatatablesPrivateHelper
38
38
 
39
39
  length_menu ||= [5, 10, 25, 50, 100, 250, 500]
40
40
 
41
- [length_menu.map(&:to_i), length_menu.map(&:to_s)]
41
+ [length_menu, length_menu.map(&:to_s)]
42
42
  end
43
43
 
44
44
  def datatable_new_resource_button(datatable, name, column)
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '4.30.0'.freeze
2
+ VERSION = '4.30.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_datatables
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.30.0
4
+ version: 4.30.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-13 00:00:00.000000000 Z
11
+ date: 2024-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails