aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* remove union mapping as :binary node when performing DepthFirst enumerationMichael Batchelor2016-08-192-1/+12
|
* 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
|
* Merge pull request #349 from edpaget/delegate-where-sql-visitorSean Griffin2015-12-173-2/+32
|\ | | | | | | Delegate to Connection Visitor in WhereSQL Visitor
| * Inject the visitor rather than relying on other objects internalsSean Griffin2015-12-172-2/+7
| | | | | | | | | | | | This is ultimately messy no matter what, and increases the coupling to the database backend, but we can at least contain it somewhat into an object that's already coupled.
| * Delegate to Connection Visitor in WhereSQL VisitorEdward Paget2015-12-172-1/+26
|/ | | | | | | | | | | | The WhereSQL visitor always uses the generic ToSQL visitor to create the where clause sql statement. This means that it'll miss database specific statements, such as 'ILIKE' in PostgreSQL. Since the `#where_sql` method is mainly used for ActiveRecord error reporting, this discrepancy could be confusing to users. This patch changes the WhereSQL visitor to use the its connection visitor to generate SQL for each statement in the SelectManager's wheres array. Then lets them be joined together with ' AND '.
* Merge pull request #329 from vipulnsward/add-attribute-aggregate-testsRafael França2015-12-171-1/+10
|\ | | | | Added test for verifying proper sql generated by minimum aggregate method