rgviz-rails 0.56 → 0.57

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/rgviz_rails/view_helper.rb +3 -3
  2. metadata +4 -4
@@ -4,7 +4,7 @@ module Rgviz
4
4
  def get_package(name)
5
5
  down = name.downcase
6
6
  case down
7
- when 'gauge', 'geochart', 'table', 'treemap' then down
7
+ when 'gauge', 'geochart', 'table', 'treemap', 'annotatedtimeline' then down
8
8
  else 'corechart'
9
9
  end
10
10
  end
@@ -463,9 +463,9 @@ module Rgviz
463
463
  case node.function
464
464
  when ScalarFunctionColumn::Sum, ScalarFunctionColumn::Difference,
465
465
  ScalarFunctionColumn::Product, ScalarFunctionColumn::Quotient
466
- node.arguments[0].accept node
466
+ node.arguments[0].accept self
467
467
  @s << " #{node.function} "
468
- node.arguments[1].accept node
468
+ node.arguments[1].accept self
469
469
  else
470
470
  @s << "#{node.function}("
471
471
  node.arguments.each_with_index do |a, i|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgviz-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.56'
4
+ version: '0.57'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-19 00:00:00.000000000Z
12
+ date: 2012-01-26 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rgviz
16
- requirement: &70155075504680 !ruby/object:Gem::Requirement
16
+ requirement: &70184941595760 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70155075504680
24
+ version_requirements: *70184941595760
25
25
  description:
26
26
  email: aborenszweig@manas.com.ar
27
27
  executables: []