arel 6.0.3 → 6.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e25bfb9201362529328c1ee5f8d10a296900251f
4
- data.tar.gz: e5564f296ac521f391dd142fc06290e508ec2595
3
+ metadata.gz: 59ae3c77b74453a1663328ba61bfc418c079991c
4
+ data.tar.gz: 7b834bf894712eb6aacfc8ba7daee9e74267cc26
5
5
  SHA512:
6
- metadata.gz: 16df018fa4b8ba3e3ffce14d19df9d4c31282c4a7283cc84175a07aa48b46ad8081dd8df1c690add59678f9a604bc4232246aa96618522b7b7587ea3624af644
7
- data.tar.gz: 68f18770f32042a3481151e4a0b1e572358ca38b7de21e20150846023084fb09b64f88335c042e14cb669ba079b82797b9ad47fcaab4cf96e52f662caa924d03
6
+ metadata.gz: 750cf5971ff972d2c4db50ba08d36bbedc180bc5ad468668259f1d56d66ca6af377a92f2991370654b97e92130e6ea3d9ff7e826930cab74da8a73e118e878b2
7
+ data.tar.gz: 803c188ee28bd29a6df184200d15dce08c6f7166b0f762cd698193692f8616873894f2be87b924848d5ec26cb0b57061346a8dfe98b71bab0072b8b9b5bd4612
@@ -1,3 +1,9 @@
1
+ === 6.0.4 / 2016-12-27
2
+
3
+ * Enhancements
4
+
5
+ * Ruby 2.4 compatibility
6
+
1
7
  === 6.0.3 / 2015-08-04
2
8
 
3
9
  * Bug fixes
@@ -21,7 +21,7 @@ require 'arel/delete_manager'
21
21
  require 'arel/nodes'
22
22
 
23
23
  module Arel
24
- VERSION = '6.0.3'
24
+ VERSION = '6.0.4'
25
25
 
26
26
  def self.sql raw_sql
27
27
  Arel::Nodes::SqlLiteral.new raw_sql
@@ -3,6 +3,7 @@ module Arel
3
3
  class Function < Arel::Nodes::Node
4
4
  include Arel::Predications
5
5
  include Arel::WindowPredications
6
+ include Arel::OrderPredications
6
7
  attr_accessor :expressions, :alias, :distinct
7
8
 
8
9
  def initialize expr, aliaz = nil
@@ -128,6 +128,7 @@ module Arel
128
128
  alias :visit_FalseClass :terminal
129
129
  alias :visit_Fixnum :terminal
130
130
  alias :visit_Float :terminal
131
+ alias :visit_Integer :terminal
131
132
  alias :visit_NilClass :terminal
132
133
  alias :visit_String :terminal
133
134
  alias :visit_Symbol :terminal
@@ -200,6 +200,7 @@ module Arel
200
200
  alias :visit_TrueClass :visit_String
201
201
  alias :visit_FalseClass :visit_String
202
202
  alias :visit_Arel_Nodes_BindParam :visit_String
203
+ alias :visit_Integer :visit_String
203
204
  alias :visit_Fixnum :visit_String
204
205
  alias :visit_BigDecimal :visit_String
205
206
  alias :visit_Float :visit_String
@@ -726,6 +726,7 @@ module Arel
726
726
  alias :visit_Arel_Nodes_SqlLiteral :literal
727
727
  alias :visit_Bignum :literal
728
728
  alias :visit_Fixnum :literal
729
+ alias :visit_Integer :literal
729
730
 
730
731
  def quoted o, a
731
732
  quote(o, column_for(a))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arel
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.3
4
+ version: 6.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Patterson
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-08-04 00:00:00.000000000 Z
14
+ date: 2016-12-27 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: minitest
@@ -41,6 +41,20 @@ dependencies:
41
41
  - - "~>"
42
42
  - !ruby/object:Gem::Version
43
43
  version: '4.0'
44
+ - !ruby/object:Gem::Dependency
45
+ name: rake
46
+ requirement: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
51
+ type: :development
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
44
58
  description: |-
45
59
  Arel Really Exasperates Logicians
46
60
 
@@ -163,9 +177,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
177
  version: '0'
164
178
  requirements: []
165
179
  rubyforge_project:
166
- rubygems_version: 2.4.7
180
+ rubygems_version: 2.6.8
167
181
  signing_key:
168
182
  specification_version: 4
169
183
  summary: Arel Really Exasperates Logicians Arel is a SQL AST manager for Ruby
170
184
  test_files: []
171
- has_rdoc: