rghost 0.8.7.4 → 0.8.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rghost/grid/base_grid.rb +3 -3
  2. metadata +4 -4
@@ -151,7 +151,7 @@ class RGhost::Grid::Base < RGhost::PsObject
151
151
  #puts "#{i} == #{h[i]} = #{v}, #{format_field(v,h[i])}"
152
152
  rec << format_field(v,h[i])
153
153
  end
154
- @data[@data_index] << "[#{rec}]\n"
154
+ @data[@data_index] << "[#{rec.join(' ')}]\n"
155
155
 
156
156
 
157
157
  if @record_count == @max_stack
@@ -177,14 +177,14 @@ class RGhost::Grid::Base < RGhost::PsObject
177
177
  p.set RGhost::Variable.new(:col_padding,RGhost::Units::parse(@column_padding))
178
178
  @data.each do |ary|
179
179
  r=(rand*99999).to_i
180
- p.raw "/data#{r}[\n#{ary.join}\n] def"
180
+ p.raw "/data#{r}[\n#{ary.join('')}\n] def"
181
181
  grid_names << r
182
182
  end
183
183
  p.raw "#{@header.ps} #{@callbacks}"
184
184
 
185
185
  g=RGhost::Graphic.new do
186
186
  raw :before_table_create
187
- raw grid_names.map{|m| " data#{m} table_proc \n" }.join
187
+ raw grid_names.map{|m| " data#{m} table_proc \n" }.join('')
188
188
  raw :after_table_create
189
189
  end
190
190
  p.set g
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rghost
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 8
9
9
  - 7
10
- - 4
11
- version: 0.8.7.4
10
+ - 5
11
+ version: 0.8.7.5
12
12
  platform: ruby
13
13
  authors:
14
14
  - Shairon Toledo
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-01-20 00:00:00 -02:00
19
+ date: 2011-02-06 00:00:00 -05:00
20
20
  default_executable:
21
21
  dependencies: []
22
22