rgviz-rails 0.31 → 0.32

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 +2 -1
  2. metadata +3 -3
@@ -29,6 +29,7 @@ module Rgviz
29
29
  events = options[:events] || {}
30
30
  html = options[:html] || {}
31
31
  hidden = options[:hidden]
32
+ extensions = options[:extensions]
32
33
 
33
34
  html_prefix = (options[:html_prefix] || 'html').to_s
34
35
  js_prefix = (options[:js_prefix] || 'js').to_s
@@ -80,7 +81,7 @@ module Rgviz
80
81
  url = url_for url
81
82
 
82
83
  # Parse the query
83
- query = Parser.new(query).parse
84
+ query = Parser.parse query, :extensions => extensions
84
85
 
85
86
  # And replace the html_ and javascript_ magic names
86
87
  query.accept visitor
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: 53
4
+ hash: 75
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 31
9
- version: "0.31"
8
+ - 32
9
+ version: "0.32"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ary Borenszweig