aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue #438 when oracle visitor gets BindParamsRodrigo Castro2016-10-072-3/+28
|
* Don't store all aliases to a tableSean Griffin2016-09-132-14/+3
| | | | | | | The aliases property of a table is never used other than for equality. However, the aliases that have been created for a table aren't really something that should affect whether a table is considered to be the same table or not. This removal does not appear to have any affect within Active Record or within Arel.
* Merge pull request #444 from alassek/dot-visitor-bind-paramAaron Patterson2016-08-262-1/+8
|\ | | | | Fix invalid BindParam output in Dot visitor
| * Change BindParam visit method for Dot to a noopAdam Lassek2016-08-261-1/+2
| | | | | | | | | | | | Since BindParam contains no information, treating it like a string adds no useful information to the graph, and results in an invalid label format.
| * 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.
* Release 7.1.1Rafael Mendonça França2016-07-272-1/+7
|
* Fix Casted#hashMatthew Draper2016-07-281-1/+1
| | | | There is no @class variable.
* Release 7.1.0Rafael Mendonça França2016-07-192-2/+4
|
* Merge pull request #417 from tlkahn/masterRafael França2016-07-192-0/+16
|\ | | | | Fix issue #415 - Should Arel::Nodes::True.new() be 1 in sqlite3?
| * Fix issue #415 - Should Arel::Nodes::True.new() be 1 in sqlite3?Yong Guo2016-03-012-0/+16
| |
* | Merge pull request #328 from vipulnsward/dryup-collectorsRafael França2016-07-191-33/+13
|\ \ | | | | | | DRY up visit_Arel_Nodes_SelectCore
| * | DRY up visit_Arel_Nodes_SelectCore and extract nodes collection to ↵Vipul A M2016-04-111-33/+13
| | | | | | | | | | | | collect_nodes_for, for collecting wheres, projections, groups, windows
* | | Merge pull request #427 from vipulnsward/disable-jruby-travisRafael França2016-07-191-0/+1
|\ \ \ | | | | | | | | - Disable jruby-head since bundle fetching is failing on travis
| * | | - Disable jruby-head since bundle fetching is failing on travis.Vipul A M2016-04-111-0/+1
| |/ /
* | | Bump to 7.0.1.pre in anticipation of next releaseJeremy Daer2016-05-292-1/+7
| | | | | | | | | | | | [ci skip]
* | | Merge pull request #437 from yui-knk/fix_headJeremy Daer2016-05-293-0/+3
|\ \ \ | | | | | | | | | | | | Support for unified Integer class in Ruby 2.4+
| * | | Support for unified Integer class in Ruby 2.4+yui-knk2016-05-303-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ruby 2.4 unifies Fixnum and Bignum into Integer: https://bugs.ruby-lang.org/issues/12005 Ruby ~2.3 `1234.class` is `Fixnum` and `123456789012345678901234567890.class` is `Bignum`. Ruby 2.4+ `1234.class` is `Integer` and `123456789012345678901234567890.class` is `Integer`. So what we should do is defining `visit_Integer` method to visitors.
* | | | CI: bump Ruby 2.2.4->2.2.5, 2.3.0->2.3.1Jeremy Daer2016-05-291-2/+2
| | | |
* | | | CI: test JRuby 9.0.5.0. Allow failures due to flaky Travis bundler situation.Jeremy Daer2016-05-291-0/+3
|/ / /
* | | Merge pull request #422 from yahonda/oracle12_support_bind_valueSean Griffin2016-05-062-2/+17
|\ \ \ | | | | | | | | Support Oracle bind parameter value for Oracle12 visitor
| * | | Support Oracle bind parameter value for Oracle12 visitorYasuo Honda2016-04-112-2/+17
| |/ /
* | | Merge pull request #432 from tradegecko/pg-grouping-elements-supportRafael França2016-05-055-2/+128
|\ \ \ | | | | | | | | PG: Add Support for GroupBy's Cube, Rollup and Grouping Set
| * | | Add Support for GroupBy Cube, Rollup and Grouping Set Syntax for PostgreSQL ↵Mohammad Habbab2016-05-045-2/+128
| | | | | | | | | | | | | | | | Visitor
* | | | Merge pull request #430 from yahonda/oracle12_limit_and_lock_2Sean Griffin2016-05-042-6/+9
|\ \ \ \ | |/ / / |/| | | Raise ArgumentError if limit and lock are used for Oracle12 visitor
| * | | Raise ArgumentError if limit and lock are used for Oracle12 visitorYasuo Honda2016-05-022-6/+9
|/ / / | | | | | | | | | | | | | | | | | | it would generates `SELECT ... FETCH FIRST n ROWS ONLY FOR UPDATE` which causes Oracle 12c database returns this error : ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
* | | Merge pull request #429 from zhufenggood/masterAaron Patterson2016-04-141-3/+3
|\ \ \ | | | | | | | | Update to_sql.rb. More slightly performance improvement.
| * | | Update to_sql.rbzhufenggood2016-04-151-3/+3
|/ / / | | | | | | Update to_sql.rb. Slightly performance improvement.
* | | Merge pull request #425 from vipulnsward/fix-warningsRafael França2016-04-111-1/+1
|\ \ \ | |/ / |/| | Fix warnings from test_to_sql test
| * | Fix warnings from test_to_sql testVipul A M2016-04-111-1/+1
|/ /
* | Merge pull request #420 from zhufenggood/masterRafael França2016-03-301-1/+1
|\ \ | |/ |/| Update to_sql.rb. Slightly performance improment.
| * Update to_sql.rb. Slightly performance improment.zhufenggood2016-03-311-1/+1
|/ | | Update to_sql.rb. Slightly performance improment.
* Merge pull request #416 from jeffcole/clean-up-readme-codeRafael França2016-03-011-35/+75
|\ | | | | Clean up README code formatting and grammar
| * Fix grammar in READMEJeff Cole2016-02-281-9/+9
| | | | | | | | | | | | * Fixes grammatical errors * Fixes capitalization * Fixes punctuation
| * Clean up README codeJeff Cole2016-02-281-26/+66
|/ | | | | * Fixes syntax highlighting of the output from `SqlLiteral` * Adds whitespace to improve readability
* Merge pull request #414 from bertBruynooghe/masterErnie Miller2016-02-172-0/+20
|\ | | | | added Casted#hash
| * added Casted#hashBert Bruynooghe2016-02-172-0/+20
|/
* Merge pull request #412 from yui-knk/remove_not_used_codesSean Griffin2016-02-061-23/+0
|\ | | | | Delete not used codes
| * Delete not used codesyui-knk2016-02-061-23/+0
|/ | | | | These codes were introduced by 03724fb1789198cc394f6e8b69cf9404e03eddd7, and to be not used by 79411322ae225289e1c051f4f68ed84c6349e4a0.
* Test with Ruby 2.3 and allow failures with ruby-headRafael Mendonça França2016-01-061-1/+4
|
* Merge pull request #408 from sjaveed/bitwise_operationsRafael França2016-01-069-1/+173
|\ | | | | Support for Bitwise Operations as InfixOperations
| * * Support for bitwise operations as infix operators. Tests included.Shahbaz Javeed2016-01-069-1/+173
|/ | | | | | | | | | | | | | | | | | | | | | *** Individual commit messages included below *** * Preliminary support for bitwise operations as infix operators. Tests to follow. * Added bitwise xor, shift left and shift right operators * Fixed the BitwiseOr class so it uses the :| operator instead of :& * All the methods for the bitwise operators in the Arel::Math module now wrap them up in Arel::Nodes::Grouping so the operation becomes isolated like addition and subtraction * Preliminary set of tests for the new operators * Updated README with examples of bitwise operations * Added a new UnaryOperation class which is a riff on the InfixOperation class * Added tests for UnaryOperation (inspired by InfixOperation tests) * Added the bitwise not (~) operator as a UnaryOperation * Added tests for the bitwise not operator * Added documentation for the bitwise not operator * Updated gemspec using `rake arel.gemspec`
* Merge pull request #410 from kbrock/concatRafael França2016-01-068-3/+47
|\ | | | | Add database specific string concatenation
| * Add database specific string concatenationKeenan Brock2016-01-058-3/+47
|/
* Merge pull request #400 from felixbuenemann/case-nodeRafael França2016-01-058-1/+256
|\ | | | | Implement CASE Conditional Expression
| * Implement CASE Conditional ExpressionFelix Bünemann2016-01-058-1/+256
|/
* Merge pull request #409 from jeroenvisser101/patch-1Guillermo Iguaran2015-12-311-1/+1
|\ | | | | Update copyright year
| * Update copyright yearJeroen Visser2016-01-011-1/+1
|/ | | New year, new license!
* Merge pull request #407 from tadeusrox/rename_markdownRafael França2015-12-294-6/+6
|\ | | | | Rename README.markdown to README.md
| * Rename README.markdown to README.mdVinicius Tadeu2015-12-274-6/+6
|/
* Release 7.0.0Rafael Mendonça França2015-12-173-2/+10
|