data_table 0.4.11 → 0.4.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjM1YWQ1MGNjMjAwNTBjMDg1OTZlNTQzMDA0YTI4ZmJiYTk2YzhhNg==
4
+ ZjQzNzhiYTA0MjRhMWMzZGJlMDQzNmM5NGY1MTI4YjE4NGU3ZDY4Zg==
5
5
  data.tar.gz: !binary |-
6
- MjM1ZWRhN2Q1MDI4NGM4NDRhNmNkZDUwZTRiZDFlMDJjNDFjYTZjMA==
6
+ ZDNjZjBkMmNjNTJjNmUxNjY3NjU4NzIwZTI2OTJjNjI1ZjdkMWQ0Mg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OTkyMjZkN2FlMGQzMDYxZDVhY2EwMzFiY2QwYzA5YjA5MjRjMjc3ODdmNjQ2
10
- ODk2MTFmZjAyODNiNmI5ZWFhMjgwZmU4ZTk1Mjg4MTMwZjIzYmI1ODAxY2Nm
11
- ZGI5M2QzMzViN2M5MTIxY2ZmM2YwNmRhOTI0YjhlMTYwOTk2MTM=
9
+ ZWEwNmJmNWM0ZmQ0YjgyNTEwMTY2NGYyZGNjNTEwMzJkYTczYWQ2MWZlNzYw
10
+ NDFlYmU4MGIxNWI4MWRhNDNhZDUyNWUwYTViY2FkMzFiMjM2MzIwYjQyZDg1
11
+ NmVmMjExMzY3ZDYwMTBiN2M2YWRkZjQ4ZTNiOTY2Y2I2MDNmYTY=
12
12
  data.tar.gz: !binary |-
13
- MTY5ZGRjMDcyMDg0NGM5YTQ1ZDg2OTkyZDBlM2YxOGUyOTA5YTRkZGIxMTY4
14
- YzgzNTM0MDM0NjY4OTUzZTE1YTY2OGIyMjFhMTMwZjI1NGYwMWYzMGRmZjQw
15
- MTg5YjQ5ZjIyM2Q1M2IwNTkxYzY2MDIzZDRmMzVkZGM0NDk3NTE=
13
+ MjM3OTAwZDQ2YTJlYTdmYjM1ZDE5NDlkMDAzYzk3NTg5ODVhODkyMjIyYTQ5
14
+ YjhmYjQ0ZjI0NzY4M2RiMDlmZGVmZjc4ZDIyMDM5NWExOTcxMzFkODNlY2M5
15
+ YTA0YzNjNmM3ZDdlNjQ1ODI4OWJhOTYxODY4NDIwYzcyMDkyNGE=
@@ -26,7 +26,7 @@ module DataTable
26
26
  def _yield_and_render_array controller, objects, block
27
27
  objects.map do |object|
28
28
  block[object].map do |string|
29
- safe_string = string.gsub("|", " ")
29
+ safe_string = string.to_s.gsub("|", " ")
30
30
  controller.instance_eval %{
31
31
  log_level, Rails.logger.level = Rails.logger.level, Logger::ERROR
32
32
  render_to_string(:inline => %q|#{safe_string}|, :locals => {:#{self.name.underscore} => object}).tap do
@@ -1,3 +1,3 @@
1
1
  module DataTable
2
- VERSION = "0.4.11"
2
+ VERSION = "0.4.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_table
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.11
4
+ version: 0.4.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Dew
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-14 00:00:00.000000000 Z
11
+ date: 2014-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails