redi_search 6.2.1 → 6.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/bin/console +2 -0
- data/lib/redi_search/search/clauses/where.rb +1 -1
- data/lib/redi_search/search/clauses.rb +7 -5
- data/lib/redi_search/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a7656af524f13d697c28b1ad9978b0e1ec5e70a8fb5555a94467972934a6a27
|
4
|
+
data.tar.gz: 04a3be5fcd957856bf53debf35f8451bb4cf87ebf3d67ef682bd3c9207843191
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 652a6ac7111fb71d5de4edf02a200258a4a7ad6d8af9f3e936edb5dbdea007b23693a07c531c51db73ba815f49e9938b7fd7119df7f7c5c217a5e17326db730e
|
7
|
+
data.tar.gz: c061ac90f9da7fe321979635a36d6251a6714f853a67767d632d137f27a7c137c43868a280b4a840341f975b66b54ee5a753eed73a1acb36df70c4ba0c4d2f37
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.2.0-preview3
|
data/bin/console
CHANGED
@@ -60,11 +60,13 @@ module RediSearch
|
|
60
60
|
def where(**condition)
|
61
61
|
@term_clause = Where.new(self, condition, @term_clause)
|
62
62
|
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
63
|
+
self
|
64
|
+
end
|
65
|
+
|
66
|
+
def not(**condition)
|
67
|
+
raise NoMethodError unless @term_clause.is_a?(Where)
|
68
|
+
|
69
|
+
@term_clause.not(condition)
|
68
70
|
end
|
69
71
|
|
70
72
|
def and(new_term = nil, **term_options)
|
data/lib/redi_search/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redi_search
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.2.
|
4
|
+
version: 6.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Pezza
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
211
211
|
- !ruby/object:Gem::Version
|
212
212
|
version: '0'
|
213
213
|
requirements: []
|
214
|
-
rubygems_version: 3.
|
214
|
+
rubygems_version: 3.4.0.dev
|
215
215
|
signing_key:
|
216
216
|
specification_version: 4
|
217
217
|
summary: RediSearch ruby wrapper that can integrate with Rails
|