arel-extensions 6.1.0.rc1 → 6.1.0.rc2
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5d5fc1f0a60a20f13e1f12d1b445c347bce09e0e070ad0e3a45e1e77b108eab
|
4
|
+
data.tar.gz: c75928cd9e920e0004829c359e5b4cb61d237474e0667a7ef6876045fa01c539
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb8e0f51781d3459bda4514c07fcabe0b51d27ca668f4c17ccdc7a9f6e714d4bde039c13a103697765a9ae076befa3d36285e6a5bf3dae2df4b810fb17b72d19
|
7
|
+
data.tar.gz: e75fa73cfa18eb83e1e22a5941c75721d8bc536092b51900fcce6195d77cb466b082f232fe2b36a784af56a93701cb593ef4c9c160e7df64c110e5feadb7c241
|
data/lib/arel/nodes/relation.rb
CHANGED
@@ -28,18 +28,11 @@ module Arel
|
|
28
28
|
collector << "RANDOM()"
|
29
29
|
end
|
30
30
|
|
31
|
-
def visit_Arel_Nodes_ContainedBy o, collector
|
32
|
-
visit o.left, collector
|
33
|
-
collector << ' <@ '
|
34
|
-
collector << quote(o.left.type_cast_for_database(o.right))
|
35
|
-
collector
|
36
|
-
end
|
37
|
-
|
38
31
|
def visit_Arel_Nodes_Excludes o, collector
|
39
32
|
collector << 'NOT ('
|
40
33
|
visit o.left, collector
|
41
34
|
collector << ' @> '
|
42
|
-
|
35
|
+
visit o.right, collector
|
43
36
|
collector << ')'
|
44
37
|
collector
|
45
38
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arel-extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.1.0.
|
4
|
+
version: 6.1.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Bracy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|