co-elastic-query 2.0.2 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/co-elastic-query.gemspec +4 -2
- data/lib/co-elastic-query.rb +2 -1
- data/lib/co-elastic-query/version.rb +1 -1
- metadata +24 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 272fbfdde2a3ddd572f3e0c7844a448d97db7969
|
4
|
+
data.tar.gz: cfa9c09c6d013de19cae93b59838e42d0bea139f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56a14cc3c46d4b25702a82e9ef4a0f52f9f18713c09315158639717c0c975ad23d4988d7c27d65e6b0252e1eef39e269a90fc0ea0adbefd8713baa5c58aa8fd8
|
7
|
+
data.tar.gz: bb8c2ab2e0b0bcada7ba7246ce2a3729634b8608f543c2dafdc77a4b33f4da53a143254dfdeefd772e613186710668814b94105693f1d632273b19ded41602e1
|
data/co-elastic-query.gemspec
CHANGED
@@ -10,12 +10,14 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ['steve@cotag.me', 'me@willcannings.com']
|
11
11
|
spec.summary = 'Elasticsearch query generator'
|
12
12
|
spec.homepage = 'http://cotag.me/'
|
13
|
+
spec.license = 'MIT'
|
13
14
|
|
14
15
|
spec.files = `git ls-files -z`.split("\x0")
|
15
16
|
spec.require_paths = ['lib']
|
16
17
|
|
17
18
|
spec.add_development_dependency 'bundler', '~> 1.6'
|
18
|
-
spec.add_development_dependency 'rake'
|
19
|
+
spec.add_development_dependency 'rake', '~> 11.0'
|
19
20
|
|
20
|
-
spec.add_dependency
|
21
|
+
spec.add_dependency 'elasticsearch', '~> 2.0'
|
22
|
+
spec.add_dependency 'uv-rays', '~> 2.0'
|
21
23
|
end
|
data/lib/co-elastic-query.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'elasticsearch'
|
2
|
+
require 'faraday/adapter/libuv'
|
2
3
|
|
3
4
|
class Elastic
|
4
5
|
class Query
|
@@ -294,7 +295,7 @@ class Elastic
|
|
294
295
|
['localhost:9200']
|
295
296
|
end
|
296
297
|
|
297
|
-
@@client ||= Elasticsearch::Client.new hosts: HOST, reload_connections: true
|
298
|
+
@@client ||= Elasticsearch::Client.new hosts: HOST, reload_connections: true, adapter: :libuv
|
298
299
|
def self.search *args
|
299
300
|
@@client.search *args
|
300
301
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: co-elastic-query
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen von Takach
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-10-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -29,30 +29,44 @@ dependencies:
|
|
29
29
|
name: rake
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - "
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '0'
|
34
|
+
version: '11.0'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - "
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '0'
|
41
|
+
version: '11.0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: elasticsearch
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
48
|
+
version: '2.0'
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '2.0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: uv-rays
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '2.0'
|
49
63
|
type: :runtime
|
50
64
|
prerelease: false
|
51
65
|
version_requirements: !ruby/object:Gem::Requirement
|
52
66
|
requirements:
|
53
67
|
- - "~>"
|
54
68
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
69
|
+
version: '2.0'
|
56
70
|
description:
|
57
71
|
email:
|
58
72
|
- steve@cotag.me
|
@@ -70,7 +84,8 @@ files:
|
|
70
84
|
- lib/co-elastic-query.rb
|
71
85
|
- lib/co-elastic-query/version.rb
|
72
86
|
homepage: http://cotag.me/
|
73
|
-
licenses:
|
87
|
+
licenses:
|
88
|
+
- MIT
|
74
89
|
metadata: {}
|
75
90
|
post_install_message:
|
76
91
|
rdoc_options: []
|
@@ -93,4 +108,3 @@ signing_key:
|
|
93
108
|
specification_version: 4
|
94
109
|
summary: Elasticsearch query generator
|
95
110
|
test_files: []
|
96
|
-
has_rdoc:
|