effective_datatables 2.6.12 → 2.6.13

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: fbcbd164df52ccbba800e4a5587c8adbf3e168d8
4
- data.tar.gz: 8e708218ad4628a189b45b71a729628caff3cc93
3
+ metadata.gz: dbedb70b17b8aaafe9d68c0b32257e91ebca11e1
4
+ data.tar.gz: 661091c0e5b7ec23b9be50f63dd92f85f8c4de6a
5
5
  SHA512:
6
- metadata.gz: fa48fb1b87e6ab07f7832ec3d7f69536924696459ee2846891abf6a48d76c011ef3e7bb3866fe886dba7a2144bf515360bb720d6ffd8a94b79b34837fbed9055
7
- data.tar.gz: 55d7d0377bb132b1d86f9628defaad916dee33b912c255bcee5490216890982a2a71ea8da53bc766d2cf3aef890607526019c9f3a4a30990eb6f9a57a680cabc
6
+ metadata.gz: a38284cf5ad1da7d474151355b8179da9788beef16e087bc3a4af453d089fdf47b14d505e7ff12875a0a401c6870972bbe015f29103fb066b5cdeba475c9d21a
7
+ data.tar.gz: fd5bebb9d4114a6d7bc03eb5a4c6142bbf8056e8d52fd3fca011f8972b61c2abc65d1ce1d57987e1cda12404c96c30e8136d690207d06220d11626a34a2db0fc
@@ -108,9 +108,9 @@ module Effective
108
108
  elsif opts[:proc]
109
109
  view.instance_exec(obj, collection, self, &opts[:proc])
110
110
  elsif opts[:type] == :belongs_to
111
- (obj.send(name) rescue nil)
111
+ (obj.send(name) rescue nil).to_s
112
112
  elsif opts[:type] == :belongs_to_polymorphic
113
- (obj.send(name) rescue nil)
113
+ (obj.send(name) rescue nil).to_s
114
114
  elsif opts[:type] == :has_many
115
115
  (obj.send(name).map { |obj| obj.to_s }.join('<br>') rescue BLANK)
116
116
  elsif opts[:type] == :has_and_belongs_to_many
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '2.6.12'.freeze
2
+ VERSION = '2.6.13'.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.6.12
4
+ version: 2.6.13
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-09-22 00:00:00.000000000 Z
11
+ date: 2016-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails