rgviz-rails 0.41 → 0.42
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rgviz_rails/tqx.rb +0 -3
- data/rails/init.rb +0 -3
- metadata +4 -4
data/lib/rgviz_rails/tqx.rb
CHANGED
@@ -3,8 +3,6 @@ module Rgviz
|
|
3
3
|
def self.parse(tqx)
|
4
4
|
tqx ||= ''
|
5
5
|
pieces = tqx.split ';'
|
6
|
-
|
7
|
-
p pieces
|
8
6
|
|
9
7
|
map = {
|
10
8
|
'reqId' => '0',
|
@@ -15,7 +13,6 @@ module Rgviz
|
|
15
13
|
|
16
14
|
pieces.each do |p|
|
17
15
|
key_value = p.split ':'
|
18
|
-
p key_value
|
19
16
|
map[key_value[0]] = key_value[1] if key_value.length == 2
|
20
17
|
end
|
21
18
|
|
data/rails/init.rb
CHANGED
@@ -35,9 +35,6 @@ config.after_initialize do
|
|
35
35
|
original_render :text => Rgviz::HtmlRenderer.render(table)
|
36
36
|
when 'csv'
|
37
37
|
csv_output = Rgviz::CsvRenderer.render(table)
|
38
|
-
p "!!!"
|
39
|
-
p tqx
|
40
|
-
p tqx['outFileName']
|
41
38
|
if tqx['outFileName']
|
42
39
|
send_data csv_output, :filename => tqx['outFileName'], :type => 'text/csv'
|
43
40
|
else
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rgviz-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 95
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: "0.
|
8
|
+
- 42
|
9
|
+
version: "0.42"
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Ary Borenszweig
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-09-09 00:00:00 -03:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|