arel-extensions 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/arel-extensions.gemspec +1 -1
- data/lib/arel/array_predications.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34740e522c8856c9c1a1affa6f6a27fe4b1b48a3
|
4
|
+
data.tar.gz: eacfcbc431fb2846051b8895c0f530ace30513b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75529b42bbc8451752a5e8e54554c0578dd837769981ef6199d50e4b4111331b1e90cba4f53e508e773ca26d38ece0efaacced533782556e48c1432230169467
|
7
|
+
data.tar.gz: cf58f036cee684dafc645a241d8e8cbcb5a96eb0d8cf938017ef98a4127504c692b41565652f5ab4344819f4a711f1e07deb9ae8af0ba54dc6e805d5cefa3ef2
|
data/arel-extensions.gemspec
CHANGED
@@ -11,6 +11,10 @@ module Arel
|
|
11
11
|
Arel::Nodes::ContainedBy.new(self, value)
|
12
12
|
end
|
13
13
|
|
14
|
+
def excludes(value)
|
15
|
+
Arel::Nodes::Excludes.new(self, value)
|
16
|
+
end
|
17
|
+
|
14
18
|
def overlaps(*values)
|
15
19
|
values = values[0] if values.size == 1 && values[0].is_a?(Array)
|
16
20
|
Arel::Nodes::Overlaps.new(self, values)
|