rghost 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/rghost/grid/base_grid.rb +3 -1
- data/lib/rghost/grid/header.rb +2 -2
- data/lib/rghost/grid/rails_grid.rb +1 -0
- metadata +2 -2
@@ -111,9 +111,11 @@ class RGhost::Grid::Base < RGhost::PsObject
|
|
111
111
|
# link:images/format01.png
|
112
112
|
def col(title="", options={})
|
113
113
|
if title.is_a? Hash
|
114
|
+
puts "HASH #{self}::: #{title[:title]}"
|
114
115
|
@header.col(title[:title],title)
|
115
116
|
else
|
116
|
-
|
117
|
+
puts "NOHASH #{self}::: #{title.inspect}"
|
118
|
+
@header.col(title,options)
|
117
119
|
end
|
118
120
|
end
|
119
121
|
#Alias for col
|
data/lib/rghost/grid/header.rb
CHANGED
@@ -37,7 +37,7 @@ class RGhost::Grid::Header < RGhost::PsObject
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def ps
|
40
|
-
|
40
|
+
puts "TTT#{@titles.inspect}"
|
41
41
|
p,h=format_header
|
42
42
|
@header.set RGhost::Variable.new(:header_titles,to_array(@titles))
|
43
43
|
@header.set RGhost::Variable.new(:table_params," [\n #{p}] \n")
|
@@ -48,7 +48,7 @@ class RGhost::Grid::Header < RGhost::PsObject
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def col(name="", options={}) #:nodoc:
|
51
|
-
|
51
|
+
puts "#{name} <-----> #{options.inspect} "
|
52
52
|
opts=@default_options.merge(options)
|
53
53
|
@size+=opts[:width]
|
54
54
|
@data_types << opts[:format]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rghost
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shairon Toledo
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-07-
|
12
|
+
date: 2008-07-10 00:00:00 -03:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|