effective_datatables 2.0.5 → 2.0.6
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: ee352555dfda17eb3ac104a32f40da176aa25e92
|
4
|
+
data.tar.gz: 9d53b17a19f244c52cabcb9fef855a628094a2f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bd13ccd81794f45ccc7aded59f899192eebd3e134263495d19254d6598267fad646c6bfdfec327f144fe58f7d52ba3909e1730cdabeb882905c24a1616c6554
|
7
|
+
data.tar.gz: 8ad6860e06182a9c9078817e99a5683e11e5e98a7999406553c3a7cf5df97aef78a4f5aadade94a951a94ab21a8422ccbb5b08bac9ca4f31f1c4f426661bb2de
|
@@ -103,7 +103,7 @@ module Effective
|
|
103
103
|
(obj.send(:roles) rescue []).join(', ')
|
104
104
|
else
|
105
105
|
# Normal value, but we still may want to format it
|
106
|
-
value = (obj.send(name) rescue
|
106
|
+
value = (obj.send(name) rescue (obj[name] rescue (obj[opts[:array_index]] rescue nil)))
|
107
107
|
|
108
108
|
case opts[:type]
|
109
109
|
when :datetime
|
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.0.
|
4
|
+
version: 2.0.6
|
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: 2015-08-
|
11
|
+
date: 2015-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|