effective_datatables 2.6.1 → 2.6.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c5c7ab8d7724c124432c84b68f30e64319d63b7
|
4
|
+
data.tar.gz: 7043d4ee61a22130f4e4340fe7777c0918c48511
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 980a3fe2449272c706a29db50e6f1df851d189d85593e948cfeb71ee273a1b4bc2628a69397da7aadc6b6fee1a42d008cda90d621b78f86350bdc90bb676afcb
|
7
|
+
data.tar.gz: bb5fb08f1e8dcd8eb42741804dda7c2dce61dc2157cef64fbbf81eba752b240ef33a1f018fc6b81e6a58b723959b37bba4da48d1bd6294a650283a5508b43d22
|
@@ -118,6 +118,8 @@ module Effective
|
|
118
118
|
:effective_address
|
119
119
|
elsif sql_column.try(:type).present?
|
120
120
|
sql_column.type
|
121
|
+
elsif name.end_with?('_id')
|
122
|
+
:integer
|
121
123
|
else
|
122
124
|
:string # When in doubt
|
123
125
|
end
|
@@ -126,7 +128,7 @@ module Effective
|
|
126
128
|
cols[name][:class] = "col-#{cols[name][:type]} col-#{name} #{cols[name][:class]}".strip
|
127
129
|
|
128
130
|
# Formats
|
129
|
-
if name == 'id' || name.include?('year') || name.
|
131
|
+
if name == 'id' || name.include?('year') || name.end_with?('_id')
|
130
132
|
cols[name][:format] = :non_formatted_integer
|
131
133
|
end
|
132
134
|
|
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: 2.6.
|
4
|
+
version: 2.6.2
|
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: 2016-07-
|
11
|
+
date: 2016-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|