arel 6.0.2 → 6.0.3

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: ebcd0c4c08b2290052e89941b824bb8ed10498c3
4
- data.tar.gz: b0933b7b1df98509b53805805b8bea8c11357358
3
+ metadata.gz: e25bfb9201362529328c1ee5f8d10a296900251f
4
+ data.tar.gz: e5564f296ac521f391dd142fc06290e508ec2595
5
5
  SHA512:
6
- metadata.gz: 40f0a2aad953af8bde3ee14cdbf86a8354db1545ec54d5480b2a322ea32325cb14dc2b87242d8474c0067b753a1ba1e3ac6b323d2559b56ab9f5f1da9fa2df10
7
- data.tar.gz: 0a0286915eb561a1d266a9162e06d1404524a9bc57f70ea3d843916cd6b1a08d5e23e42e619f492df6eb914a544bc3a0eb6ba118142e2e4a66c9e23289a2e8bb
6
+ metadata.gz: 16df018fa4b8ba3e3ffce14d19df9d4c31282c4a7283cc84175a07aa48b46ad8081dd8df1c690add59678f9a604bc4232246aa96618522b7b7587ea3624af644
7
+ data.tar.gz: 68f18770f32042a3481151e4a0b1e572358ca38b7de21e20150846023084fb09b64f88335c042e14cb669ba079b82797b9ad47fcaab4cf96e52f662caa924d03
@@ -1,10 +1,16 @@
1
- === 6.0.2 / 2014-07-11
1
+ === 6.0.3 / 2015-08-04
2
+
3
+ * Bug fixes
4
+
5
+ * Fix quoting LIMIT values on Oracle visitor.
6
+
7
+ === 6.0.2 / 2015-07-11
2
8
 
3
9
  * Bug fixes
4
10
 
5
11
  * Fix file permission problem on the gem package
6
12
 
7
- === 6.0.1 / 2014-07-10
13
+ === 6.0.1 / 2015-07-10
8
14
 
9
15
  * Bug fixes
10
16
 
@@ -21,7 +21,7 @@ require 'arel/delete_manager'
21
21
  require 'arel/nodes'
22
22
 
23
23
  module Arel
24
- VERSION = '6.0.2'
24
+ VERSION = '6.0.3'
25
25
 
26
26
  def self.sql raw_sql
27
27
  Arel::Nodes::SqlLiteral.new raw_sql
@@ -17,7 +17,7 @@ module Arel
17
17
 
18
18
  if o.limit && o.offset
19
19
  o = o.dup
20
- limit = o.limit.expr.expr
20
+ limit = o.limit.expr
21
21
  offset = o.offset
22
22
  o.offset = nil
23
23
  collector << "
@@ -575,8 +575,11 @@ module Arel
575
575
  visit o.left, collector
576
576
  end
577
577
 
578
- def visit_Arel_Nodes_FullOuterJoin o
579
- "FULL OUTER JOIN #{visit o.left} #{visit o.right}"
578
+ def visit_Arel_Nodes_FullOuterJoin o, collector
579
+ collector << "FULL OUTER JOIN "
580
+ collector = visit o.left, collector
581
+ collector << SPACE
582
+ visit o.right, collector
580
583
  end
581
584
 
582
585
  def visit_Arel_Nodes_OuterJoin o, collector
@@ -586,8 +589,11 @@ module Arel
586
589
  visit o.right, collector
587
590
  end
588
591
 
589
- def visit_Arel_Nodes_RightOuterJoin o
590
- "RIGHT OUTER JOIN #{visit o.left} #{visit o.right}"
592
+ def visit_Arel_Nodes_RightOuterJoin o, collector
593
+ collector << "RIGHT OUTER JOIN "
594
+ collector = visit o.left, collector
595
+ collector << SPACE
596
+ visit o.right, collector
591
597
  end
592
598
 
593
599
  def visit_Arel_Nodes_InnerJoin o, collector
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.2
4
+ version: 6.0.3
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-07-11 00:00:00.000000000 Z
14
+ date: 2015-08-04 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: minitest
@@ -168,3 +168,4 @@ signing_key:
168
168
  specification_version: 4
169
169
  summary: Arel Really Exasperates Logicians Arel is a SQL AST manager for Ruby
170
170
  test_files: []
171
+ has_rdoc: