elastics-scopes 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/elastics/scope/queries.yml +0 -1
- data/lib/elastics/scope/query_methods.rb +1 -1
- data/lib/elastics/scope/vars_methods.rb +0 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c25be2591c427ccaa59bcda7816b02a0591af708
|
4
|
+
data.tar.gz: 46666f24073553e0ec783a947063868b9b9ea165
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3ca39da66cf8a6970ea427439804167ffd08cf4c981529eefa480b66d170b78dd096f4abbd4e9c08b4cc4b97b64df73c6e510b1044cbebdc95171187dab4514
|
7
|
+
data.tar.gz: 41a63ed906338eab98d7236fce6b678ebea4229259900cba44049615da0fa0d7e2882cad0d77442dc43a7cbaac34596fbe9f2184343950edbcabd8f68d76250c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.3.0
|
@@ -77,7 +77,7 @@ module Elastics
|
|
77
77
|
result = if vars.first.is_a?(Symbol)
|
78
78
|
template = vars.shift
|
79
79
|
# preserves an eventual wrapper by calling the template method
|
80
|
-
self[:context].send(template, params(:
|
80
|
+
self[:context].send(template, params(:size => 0), *vars)
|
81
81
|
else
|
82
82
|
Query.elastics.count_search(:get, self, *vars)
|
83
83
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elastics-scopes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Domizio Demichelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: elastics-client
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.3.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.3.0
|
27
27
|
description: Provides an easy to use ruby API to search elasticsearch with ActiveRecord-like
|
28
28
|
chainable and mergeables scopes.
|
29
29
|
email: dd.nexus@gmail.com
|