aboutsummaryrefslogtreecommitdiffstats
path: root/test/visitors/test_dot.rb
Commit message (Collapse)AuthorAgeFilesLines
* Enable frozen_string_literal in all files in arelRafael Mendonça França2017-02-131-0/+1
|
* Merge pull request #445 from oliverguenther/fix/dot-visitor-casted-nodeRafael França2016-10-071-0/+1
|\ | | | | Add Arel::Nodes::Casted to dot visitor
| * Add Arel::Nodes::Casted to dot visitorOliver Günther2016-08-271-0/+1
| | | | | | | | | | | | | | Adds casted node to the dot visitor with outgoing edges to val and attribute. Fixes #419
* | Add failing test for Dot visitor and BindParamAdam Lassek2016-08-261-0/+6
|/ | | | | | | | | Since BindParam has no value, treating it like a string causes it to fallback to Object#to_s, leading to output like `#<Arel::Nodes::BindParam:0x007fa43c866108>`. Since angle brackets are significant in Dot labels, this causes `Error: bad label format` when passing the graph into dot.
* Change the interface of `having` to match that of `where`Sean Griffin2015-01-271-1/+0
| | | | | | These two clauses have nearly identical semantics with regards to how they would be constructed as an AST. It doesn't make sense for their interfaces to be separate.
* Modify Visitors::Dot's API to use collectorsJiri Pospisil2014-06-141-4/+4
|
* Bump minitest to 5.1.Vipul A M2014-01-041-1/+1
|
* Break Ordering into Ascending/Descending nodes, allow reversalErnie Miller2011-06-151-1/+1
|
* Stop calling to_s on aliases, require them to be strings already.Ernie Miller2011-04-291-1/+1
|
* Added Arel::Nodes::NamedFunction for representing generic SQL functionsAaron Patterson2011-01-041-0/+19
|
* top and limit can be visitedAaron Patterson2011-01-031-0/+2
|
* testing binary ops in the dot visitorAaron Patterson2010-12-251-0/+28
|
* adding a test for the dot visitorAaron Patterson2010-12-061-0/+27