elasticsearch-transport-aws4 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf8ee91fea1755e617daf59fbac37c08d8fcad52
4
- data.tar.gz: fa0505de7347c2a9688aea3c26b1dea2d8b3dde3
3
+ metadata.gz: 7551ab02ff07e1a4ad03c0f539b73722f727c9cf
4
+ data.tar.gz: aadb81607a1a6644bc2231f86bf42d3051b2930d
5
5
  SHA512:
6
- metadata.gz: 7fb6504a81fb1fa0f0445443575896ea72b17e33e1aed93159f552de81574404aac924cc3fd6616af434c61ef56988cc48934e58a9416afcb45a410dbdb327a1
7
- data.tar.gz: 2196c61d19e4f91def65965412af05ecf786d0cff5097cdb3c7bc32e0655487d5b9e45f1a7908ddbb5156c8911d4f98ee5128fbc4b3380411e577f54dc60260c
6
+ metadata.gz: 6d8169228098065285e4141a5d8306bd6f0a77f8094b5966b8dfdf403679f74ef7a1768739678b17c6670bfb1079cc2504f589fb85838b8b63135232ed3ee31d
7
+ data.tar.gz: f4f88bf39b37551328594da7f1a8d64bc1d07736e7be1e3162ea067cef736147c2fc765d3f981b3063a4ec1e4ff055088eac9ef7612b2769f85f596679f026a4
@@ -1,3 +1,7 @@
1
+ ### 0.1.1
2
+
3
+ * Fixed signature for queries with URL params.
4
+
1
5
  ### 0.1.0
2
6
 
3
7
  * Initial release.
data/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  Add this line to your application's Gemfile:
10
10
 
11
11
  ```ruby
12
- gem "elasticsearch-transport-aws4", "~> 0.1.0"
12
+ gem "elasticsearch-transport-aws4", "~> 0.1.1"
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "elasticsearch-transport-aws4"
6
- spec.version = "0.1.0"
6
+ spec.version = "0.1.1"
7
7
  spec.authors = ["Filip Tepper"]
8
8
  spec.email = ["filip@tepper.pl"]
9
9
 
@@ -3,7 +3,11 @@ require "faraday"
3
3
  module Faraday
4
4
  class Request
5
5
  def endpoint
6
- URI.parse(self.path)
6
+ URI.parse(
7
+ self.params.any? ?
8
+ "#{self.path}?#{params.map { |key, value| "#{key}=#{value}" }.join("&")}" :
9
+ self.path
10
+ )
7
11
  end
8
12
 
9
13
  def http_method
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-transport-aws4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Filip Tepper