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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0b72edeb857d2dc5dd6d0e4428408fe9e88dcc4f0faf6365d912b9981020791
4
- data.tar.gz: a756a085d03e4f5a2b38b943495a68521308601e9c18545d8a1dd527c515b95f
3
+ metadata.gz: 2120602479977d001a0c4b2cecaa0b270acd2b65f9b293168b24f46e94b5cc0d
4
+ data.tar.gz: 506fd065a16ea197d0bb7b1b8ca3a9f304d33881d934dcc681f3884ce7554c78
5
5
  SHA512:
6
- metadata.gz: b97000bebf24d065ab284644f48b2918228ec27f0c24455d58af175508851d13feaadf5abe7f1c148702334eda6a9be45666dc167edb2a4b80dd61486f23f17e
7
- data.tar.gz: 495afe11873c5c0d044bb7b091459a0fa1bd8f6184fcd7119a885d53b0226bd39a3b9de9113a94a9674b0443a44649867dc2442d89cfb4eafe79900db59e1760
6
+ metadata.gz: 991d2089b80e8e9d708e3539bd7cf6bce95d540cdbf6e75290594cc994a79c549147b264237971edbfe49771ca93845cd626e99e3f076560735415281bf1b546
7
+ data.tar.gz: c151d7c2629bebd56c5134cc45864210e61757bf35b44d04099e25690b6d9cdbe7254b5fed6b1d85e948b407ca1aa2a192302a8278ac473fc1c997e0728ef224
@@ -1,3 +1,6 @@
1
+ ## 3.2.3 (2020-02-26)
2
+ - Fix warnings in Ruby 2.7 whan passing a Hash to a method that is expecting keyword arguments
3
+
1
4
  ## 3.2.2 (2020-02-25)
2
5
  - Update Webmock to ~> 3.5 to support Ruby 2.6+ (#222)
3
6
 
@@ -15,7 +15,7 @@ module Elastomer::Client::RestApiSpec
15
15
  def initialize(documentation:, methods:, url:, body: nil)
16
16
  @documentation = documentation
17
17
  @methods = Array(methods)
18
- @url = Url.new(url)
18
+ @url = Url.new(**url)
19
19
  @body = body
20
20
  end
21
21
 
@@ -1,5 +1,5 @@
1
1
  module Elastomer
2
- VERSION = "3.2.2"
2
+ VERSION = "3.2.3"
3
3
 
4
4
  def self.version
5
5
  VERSION
@@ -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.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-25 00:00:00.000000000 Z
12
+ date: 2020-02-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: addressable