aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * - Added test for verifying proper sql generated by minimum aggregate method.Vipul A M2014-10-241-1/+10
| |
* | Merge pull request #369 from codeodor/patch-1Rafael França2015-12-172-4/+10
|\ \ | | | | | | Improve error message when passed unsupported type
| * | Use a specific exception for unsupported visitsSammy Larbi2015-07-142-4/+10
| | |
| * | Improve error message when passed unsupported typeSammy Larbi2015-07-141-1/+1
| | |
* | | Merge pull request #355 from jemc/patch-1Rafael Mendonça França2015-12-171-4/+2
|\ \ \ | | | | | | | | | | | | Test with rbx-2 on Travis-CI
| * | | Use bundle exec on Travis-CIJoe Eli McIlvain2015-02-191-1/+1
| | | | | | | | | | | | This avoids problems with using the wrong version of gems that are also included in the Ruby standard library, like `minitest`
| * | | Test with rbx-2 on Travis-CIJoe Eli McIlvain2015-02-191-4/+1
| | | | | | | | | | | | Using `rbx-2` is the recommended way to test with the 2.0 branch of Rubinius.
* | | | Merge pull request #381 from carsonreinke/function_orderRafael França2015-12-172-0/+10
|\ \ \ \ | | | | | | | | | | Add OrderPredications back into Nodes::Function
| * | | | Add OrderPredications back into Nodes::Function (removed with deprecation of ↵Carson Reinke2015-07-232-0/+10
| | |/ / | |/| | | | | | | | | | Expression)
* | | | Merge pull request #390 from yahonda/expr_oracle12Rafael França2015-12-171-2/+2
|\ \ \ \ | | | | | | | | | | No need to quote limit for Oracle12 visitor
| * | | | No need to quote limit for Oracle12 visitorYasuo Honda2015-09-011-2/+2
| | | | |
* | | | | Merge pull request #403 from kbrock/regexpAaron Patterson2015-12-167-23/+91
|\ \ \ \ \ | | | | | | | | | | | | Case insensitivite match/regular expressions
| * | | | | test match predicate case sensitivity attributeKeenan Brock2015-12-051-0/+6
| | | | | |
| * | | | | introduce predicate {does_not_}matches_regexp Keenan Brock2015-12-052-6/+21
| | | | | |
| * | | | | use valid regular expression in regexp testKeenan Brock2015-12-051-12/+12
| | | | | |
| * | | | | Add case sensitive regexpKeenan Brock2015-12-055-4/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explicitly declare if this is case sensitive or not currently postgres assumes case insensitive regexp no other databases support regexps
| * | | | | Add case sensitive matchKeenan Brock2015-12-054-11/+29
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explicitly declare if this is case sensitive or not most implementation assume case sensitive postgres assumes case insensitive
* | | | | Merge pull request #396 from ur0/masterSean Griffin2015-10-021-0/+0
|\ \ \ \ \ | | | | | | | | | | | | Rename MIT-LICENSE to MIT-LICENSE.txt
| * | | | | Rename MIT-LICENSE to MIT-LICENSE.txtUmang Raghuvanshi2015-10-021-0/+0
|/ / / / / | | | | | | | | | | | | | | | This renames MIT-LICENSE to MIT-LICENSE.txt. Closes #395, prevents builds from breaking.
* | | | | Merge pull request #392 from maclover7/contributingRafael Mendonça França2015-09-094-6/+113
|\ \ \ \ \ | | | | | | | | | | | | Add CONTRIBUTING.md
| * | | | | Add CONTRIBUTING.md [ci skip]maclover72015-09-014-6/+113
| |/ / / /
* | | | | Merge pull request #391 from yahonda/add_oracle12Rafael Mendonça França2015-09-011-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | Add "lib/arel/visitors/oracle12.rb" to its gemspec
| * | | | Add "lib/arel/visitors/oracle12.rb" to its gemspecYasuo Honda2015-09-011-1/+1
|/ / / /
* | | | Use bundled gemsRafael Mendonça França2015-08-041-1/+1
| | | |
* | | | Run with Ruby 2.2Rafael Mendonça França2015-08-041-1/+2
| | | |
* | | | Improve travis configurationRafael Mendonça França2015-08-041-1/+10
|/ / / | | | | | | | | | | | | | | | | | | * Enable container builds * Notifications on Campfire * Bundle cache * Fast finish
* | | Merge pull request #337 from yahonda/support_oracle12_top_n_2Aaron Patterson2015-07-144-2/+107
|\ \ \ | | | | | | | | Support Oracle 12c top-N query