rgviz 0.32 → 0.33

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/nodes.rb +5 -2
  2. metadata +3 -3
data/lib/rgviz/nodes.rb CHANGED
@@ -20,7 +20,6 @@ module Rgviz
20
20
  order_by.accept visitor if order_by
21
21
  labels.each{|x| x.accept visitor} if labels
22
22
  formats.each{|x| x.accept visitor} if formats
23
- options.each{|x| x.accept visitor} if options
24
23
  end
25
24
  visitor.end_visit_query self
26
25
  end
@@ -264,7 +263,11 @@ module Rgviz
264
263
  end
265
264
 
266
265
  def to_s
267
- "#{operand} #{operator}"
266
+ if operator == Not
267
+ "not #{operand}"
268
+ else
269
+ "#{operand} #{operator}"
270
+ end
268
271
  end
269
272
  end
270
273
 
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgviz
3
3
  version: !ruby/object:Gem::Version
4
- hash: 75
4
+ hash: 73
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 32
9
- version: "0.32"
8
+ - 33
9
+ version: "0.33"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ary Borenszweig