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: e5dd14893bb1a01f311ccb678ab2ab199177d7c6
4
- data.tar.gz: 0dca76ae65b7c576ccdb3bdb2eba5e30ab00b44d
3
+ metadata.gz: ee352555dfda17eb3ac104a32f40da176aa25e92
4
+ data.tar.gz: 9d53b17a19f244c52cabcb9fef855a628094a2f9
5
5
  SHA512:
6
- metadata.gz: 34f5a501b53fa8be7ce46dd44522b045534e4c8e6c51c68c2b77f03e3326b09bf8d7fdea6e7fb27949607b4b5e9dd3a21d7f49bee22fea48b62bbb2ec635f5fc
7
- data.tar.gz: f2bf133e9d2b309d4eb199a61fbb402138c7f945879796832237541b36759592728486497269d2b4448b9437e8f12edbc9f4980d0297f849583c44f252523ea1
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 nil) || (obj[name] rescue nil) || (obj[opts[:array_index]] rescue nil)
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
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '2.0.5'.freeze
2
+ VERSION = '2.0.6'.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: 2.0.5
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-21 00:00:00.000000000 Z
11
+ date: 2015-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails