elastomer-client 0.7.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.overcommit.yml +5 -0
- data/.rubocop.yml +83 -0
- data/CHANGELOG.md +8 -0
- data/Gemfile +2 -2
- data/README.md +1 -1
- data/Rakefile +2 -2
- data/elastomer-client.gemspec +4 -2
- data/lib/elastomer/client.rb +42 -37
- data/lib/elastomer/client/bulk.rb +2 -2
- data/lib/elastomer/client/cluster.rb +19 -19
- data/lib/elastomer/client/delete_by_query.rb +7 -7
- data/lib/elastomer/client/docs.rb +81 -24
- data/lib/elastomer/client/errors.rb +2 -2
- data/lib/elastomer/client/index.rb +65 -29
- data/lib/elastomer/client/multi_percolate.rb +127 -0
- data/lib/elastomer/client/multi_search.rb +2 -2
- data/lib/elastomer/client/nodes.rb +4 -4
- data/lib/elastomer/client/percolator.rb +77 -0
- data/lib/elastomer/client/repository.rb +7 -7
- data/lib/elastomer/client/scroller.rb +14 -14
- data/lib/elastomer/client/snapshot.rb +9 -9
- data/lib/elastomer/client/template.rb +3 -3
- data/lib/elastomer/client/warmer.rb +5 -16
- data/lib/elastomer/core_ext/time.rb +1 -1
- data/lib/elastomer/middleware/encode_json.rb +5 -5
- data/lib/elastomer/middleware/opaque_id.rb +3 -3
- data/lib/elastomer/middleware/parse_json.rb +5 -5
- data/lib/elastomer/notifications.rb +4 -4
- data/lib/elastomer/version.rb +1 -1
- data/script/bootstrap +2 -0
- data/script/console +5 -5
- data/test/assertions.rb +26 -24
- data/test/client/bulk_test.rb +111 -111
- data/test/client/cluster_test.rb +58 -58
- data/test/client/delete_by_query_test.rb +53 -53
- data/test/client/docs_test.rb +279 -203
- data/test/client/errors_test.rb +1 -1
- data/test/client/index_test.rb +143 -109
- data/test/client/multi_percolate_test.rb +130 -0
- data/test/client/multi_search_test.rb +30 -28
- data/test/client/nodes_test.rb +30 -29
- data/test/client/percolator_test.rb +52 -0
- data/test/client/repository_test.rb +23 -23
- data/test/client/scroller_test.rb +40 -40
- data/test/client/snapshot_test.rb +15 -15
- data/test/client/stubbed_client_test.rb +15 -15
- data/test/client/template_test.rb +10 -10
- data/test/client/warmer_test.rb +18 -18
- data/test/client_test.rb +53 -53
- data/test/core_ext/time_test.rb +12 -12
- data/test/middleware/encode_json_test.rb +20 -20
- data/test/middleware/opaque_id_test.rb +10 -10
- data/test/middleware/parse_json_test.rb +14 -14
- data/test/notifications_test.rb +32 -32
- data/test/test_helper.rb +24 -24
- metadata +38 -2
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elastomer-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Pease
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-11-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: addressable
|
@@ -137,6 +137,34 @@ dependencies:
|
|
137
137
|
- - ">="
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '0'
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: overcommit
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: rubocop
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
type: :development
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - ">="
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
140
168
|
description: |-
|
141
169
|
Elastomer is a low level API client for the
|
142
170
|
Elasticsearch HTTP interface.
|
@@ -148,6 +176,8 @@ extensions: []
|
|
148
176
|
extra_rdoc_files: []
|
149
177
|
files:
|
150
178
|
- ".gitignore"
|
179
|
+
- ".overcommit.yml"
|
180
|
+
- ".rubocop.yml"
|
151
181
|
- ".travis.yml"
|
152
182
|
- CHANGELOG.md
|
153
183
|
- Gemfile
|
@@ -174,8 +204,10 @@ files:
|
|
174
204
|
- lib/elastomer/client/docs.rb
|
175
205
|
- lib/elastomer/client/errors.rb
|
176
206
|
- lib/elastomer/client/index.rb
|
207
|
+
- lib/elastomer/client/multi_percolate.rb
|
177
208
|
- lib/elastomer/client/multi_search.rb
|
178
209
|
- lib/elastomer/client/nodes.rb
|
210
|
+
- lib/elastomer/client/percolator.rb
|
179
211
|
- lib/elastomer/client/repository.rb
|
180
212
|
- lib/elastomer/client/scroller.rb
|
181
213
|
- lib/elastomer/client/snapshot.rb
|
@@ -198,8 +230,10 @@ files:
|
|
198
230
|
- test/client/docs_test.rb
|
199
231
|
- test/client/errors_test.rb
|
200
232
|
- test/client/index_test.rb
|
233
|
+
- test/client/multi_percolate_test.rb
|
201
234
|
- test/client/multi_search_test.rb
|
202
235
|
- test/client/nodes_test.rb
|
236
|
+
- test/client/percolator_test.rb
|
203
237
|
- test/client/repository_test.rb
|
204
238
|
- test/client/scroller_test.rb
|
205
239
|
- test/client/snapshot_test.rb
|
@@ -245,8 +279,10 @@ test_files:
|
|
245
279
|
- test/client/docs_test.rb
|
246
280
|
- test/client/errors_test.rb
|
247
281
|
- test/client/index_test.rb
|
282
|
+
- test/client/multi_percolate_test.rb
|
248
283
|
- test/client/multi_search_test.rb
|
249
284
|
- test/client/nodes_test.rb
|
285
|
+
- test/client/percolator_test.rb
|
250
286
|
- test/client/repository_test.rb
|
251
287
|
- test/client/scroller_test.rb
|
252
288
|
- test/client/snapshot_test.rb
|