tabulatr2 0.8.5 → 0.8.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: c86917764e777b62b55d5741f7d18d2caefcb2fd
4
- data.tar.gz: aef2b2dadefb4ff48fae9734f33359a1a65e873a
3
+ metadata.gz: 9c394199af7cd91afcc3d220282f9c71e3b14b8a
4
+ data.tar.gz: 06b5d864aa55794ea9265b632192ccaf2ba4288d
5
5
  SHA512:
6
- metadata.gz: a73c7babe347a36b98e7cf62ddbe8f3f44f5b7b443935a468f68fe91d4d96bd1f6cf990121487e997b6f6b841edaf10ebdb6d88a5e06cdef5ae4a7e56226a204
7
- data.tar.gz: 132b552b8e86abe7bf07f35fc1f670c8d66806340c4662f608367b44a48a128501859898a00abd42fccda68f1d44ea87fd5f755dc4b81e5ef94653dc7b9ea845
6
+ metadata.gz: 75f35fd84725b18e824da1c48bcca3cdd375814353fd720bfff8634c8b95185cc1e3c5c413225f5bb6ee97c62ac2b97334b2bae3c66c438031e73516412c9ab4
7
+ data.tar.gz: 36fbc0c0b6bd9796273e56a1dc75a073b2d29996daae39b113471517947529cff28d33cdfccde39ce0bb85ab27f50e97ef9eefccc7127272024ba7721609f646
@@ -105,7 +105,9 @@ class Tabulatr::Renderer::Column
105
105
 
106
106
  def value_for(record, view)
107
107
  if block
108
- return view.instance_exec(record, &block)
108
+ r = view.instance_exec(record, &block)
109
+ r = r.join(' ').html_safe if r.is_a?(Array)
110
+ return r
109
111
  end
110
112
  val = principal_value(record) or return ''
111
113
 
@@ -22,5 +22,5 @@
22
22
  #++
23
23
 
24
24
  module Tabulatr
25
- VERSION = "0.8.5"
25
+ VERSION = "0.8.6"
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tabulatr2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Horn