elastomer-client 3.2.2 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/elastomer/client/rest_api_spec/rest_api.rb +1 -1
- data/lib/elastomer/version.rb +1 -1
- data/test/client/bulk_test.rb +0 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2120602479977d001a0c4b2cecaa0b270acd2b65f9b293168b24f46e94b5cc0d
|
|
4
|
+
data.tar.gz: 506fd065a16ea197d0bb7b1b8ca3a9f304d33881d934dcc681f3884ce7554c78
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 991d2089b80e8e9d708e3539bd7cf6bce95d540cdbf6e75290594cc994a79c549147b264237971edbfe49771ca93845cd626e99e3f076560735415281bf1b546
|
|
7
|
+
data.tar.gz: c151d7c2629bebd56c5134cc45864210e61757bf35b44d04099e25690b6d9cdbe7254b5fed6b1d85e948b407ca1aa2a192302a8278ac473fc1c997e0728ef224
|
data/CHANGELOG.md
CHANGED
data/lib/elastomer/version.rb
CHANGED
data/test/client/bulk_test.rb
CHANGED
|
@@ -146,7 +146,6 @@ describe Elastomer::Client::Bulk do
|
|
|
146
146
|
b.index '{"author":"pea53", "message":"just a test tweet"}', :_id => 1, :_type => "tweet"
|
|
147
147
|
b.create '{"author":"John Scalzi", "title":"Old Mans War"}', :_id => 1, :_type => "book"
|
|
148
148
|
end
|
|
149
|
-
items = h["items"]
|
|
150
149
|
|
|
151
150
|
assert_kind_of Integer, h["took"]
|
|
152
151
|
|
|
@@ -161,12 +160,10 @@ describe Elastomer::Client::Bulk do
|
|
|
161
160
|
h = @index.docs("book").get :id => 1
|
|
162
161
|
assert_equal "John Scalzi", h["_source"]["author"]
|
|
163
162
|
|
|
164
|
-
|
|
165
163
|
h = @index.bulk do |b|
|
|
166
164
|
b.index '{"author":"Tolkien", "title":"The Silmarillion"}', :_id => 2, :_type => "book"
|
|
167
165
|
b.delete :_id => 1, :_type => "book"
|
|
168
166
|
end
|
|
169
|
-
items = h["items"]
|
|
170
167
|
|
|
171
168
|
assert_bulk_index h["items"].first, "expected to index a book"
|
|
172
169
|
assert_bulk_delete h["items"].last, "expected to delete a book"
|
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: 3.2.
|
|
4
|
+
version: 3.2.3
|
|
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: 2020-02-
|
|
12
|
+
date: 2020-02-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: addressable
|