arel 6.0.0 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +6 -0
- data/lib/arel.rb +1 -1
- data/lib/arel/select_manager.rb +3 -3
- data/lib/arel/visitors/mysql.rb +1 -1
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7afdd92f61d2200d30bca3a60994a651446fd492
|
4
|
+
data.tar.gz: 1bf5729263b47725b5eea3a1e09796fdc17fb0b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52ef7413eb53e9e9f82b03ad5386385be8fccfffa16d7a1eedbc6bc5b555ec745db3664e490b574a0dbb6ce32d5d615385db8186ca124284a796ce1fc6cb54ec
|
7
|
+
data.tar.gz: d2b85b7367edc0b33eb71d0ff94f38a09cc88089bcd726eae431b0c0fead73cb648279168b7bbc499d024d7cbe50d9655a6572e13f9362d25d9948373c32de38
|
data/History.txt
CHANGED
data/lib/arel.rb
CHANGED
data/lib/arel/select_manager.rb
CHANGED
@@ -19,7 +19,7 @@ module Arel
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def limit
|
22
|
-
@ast.limit && @ast.limit.expr
|
22
|
+
@ast.limit && @ast.limit.expr
|
23
23
|
end
|
24
24
|
alias :taken :limit
|
25
25
|
|
@@ -216,8 +216,8 @@ module Arel
|
|
216
216
|
|
217
217
|
def take limit
|
218
218
|
if limit
|
219
|
-
@ast.limit = Nodes::Limit.new(
|
220
|
-
@ctx.top = Nodes::Top.new(
|
219
|
+
@ast.limit = Nodes::Limit.new(limit)
|
220
|
+
@ctx.top = Nodes::Top.new(limit)
|
221
221
|
else
|
222
222
|
@ast.limit = nil
|
223
223
|
@ctx.top = nil
|
data/lib/arel/visitors/mysql.rb
CHANGED
@@ -40,7 +40,7 @@ module Arel
|
|
40
40
|
# http://dev.mysql.com/doc/refman/5.0/en/select.html#id3482214
|
41
41
|
def visit_Arel_Nodes_SelectStatement o, collector
|
42
42
|
if o.offset && !o.limit
|
43
|
-
o.limit = Arel::Nodes::Limit.new(
|
43
|
+
o.limit = Arel::Nodes::Limit.new(18446744073709551615)
|
44
44
|
end
|
45
45
|
super
|
46
46
|
end
|
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.
|
4
|
+
version: 6.0.1
|
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:
|
14
|
+
date: 2015-07-10 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: minitest
|
@@ -41,20 +41,6 @@ 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'
|
58
44
|
description: |-
|
59
45
|
Arel Really Exasperates Logicians
|
60
46
|
|
@@ -177,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
163
|
version: '0'
|
178
164
|
requirements: []
|
179
165
|
rubyforge_project:
|
180
|
-
rubygems_version: 2.
|
166
|
+
rubygems_version: 2.4.7
|
181
167
|
signing_key:
|
182
168
|
specification_version: 4
|
183
169
|
summary: Arel Really Exasperates Logicians Arel is a SQL AST manager for Ruby
|