effective_datatables 3.6.0 → 3.6.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: 831a378f29e67058bc5d8d313fd61f33f91589fc8a4968a1163963c63e1fa2ab
4
- data.tar.gz: '0106983a5a9a22c509c3bb2f5302bcf1e9a0b15a6d9a00c296a62d1379f0f040'
3
+ metadata.gz: 98c62cd44b70abef44f1a3c287cb4bfac24ea5f9694b99186a1e29522b64d027
4
+ data.tar.gz: 523ab0b6f3f277e3dd4fc9043d7101620b180bd975ce31f249eb0f7f13f24f41
5
5
  SHA512:
6
- metadata.gz: 239f60681837ec733870367b539697a50249ba25380d727a147b084f170251457be6ab79665387a8edaf0642d5d81a214c9e84f83c21fff48c9e3bed6f288c59
7
- data.tar.gz: 8daf8acdbcadc0c4de990bd1ddf0f3d1e49edb692dd1108ca415116717d459ce567f6d82016f25bd63e5cfaff1138ecebb60f516be81ad11d64d1954474a9282
6
+ metadata.gz: 0c83ba0be0f20ca89f85cbeddd7b8b4a868cdd9ce10f1ac714b07581db902432a06cb7394c43afa9c00700df0aed1dd7209ac6b2a1bafa314f1ce17d8bea56e9
7
+ data.tar.gz: e6cdd6944a465b63f059ee64e34c56a39a65bc4fa7a03e2f69bf4c55a4205d78d747a0bbc450e626d4c41a03629a774b2da91d601c110d2b0b26c497a40b73ee
@@ -99,7 +99,7 @@ module Effective
99
99
  when :duration
100
100
  view.number_to_duration(value)
101
101
  when :effective_addresses
102
- value.to_html
102
+ (value.respond_to?(:to_html) ? value.to_html : value).to_s
103
103
  when :effective_obfuscation
104
104
  value
105
105
  when :effective_roles
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '3.6.0'.freeze
2
+ VERSION = '3.6.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: 3.6.0
4
+ version: 3.6.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: 2019-08-06 00:00:00.000000000 Z
11
+ date: 2019-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails