net-hippie 0.2.4 → 0.2.5

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
  SHA256:
3
- metadata.gz: b5c388fcfd92d5db5f06ee52cbe174c5350ad66f1fd336fabe6066323521051e
4
- data.tar.gz: b00fc2014d8d08a9f3d7680c4c446b3df969790eb2b7518a11640cffe2592074
3
+ metadata.gz: a223f6b7bf61906d27f605a848babbd2563151b0a4c4e44056a024420e20aeb9
4
+ data.tar.gz: 58a69b4311c6e67462aab3a400edd4ebbd52be5f4dc19b5cd93b949ff93e04c1
5
5
  SHA512:
6
- metadata.gz: af37ba0fda24e69459be4552f00d58e0acee39f9b76025a23b6ea1961ebb5911b3cb959b52cb5f989e2fd167d632222e174201d648890cd3b6c11ca2fa46fef9
7
- data.tar.gz: 438a42d01235acd6d428f90d5ca9fdcd0cf25a38750a6734a38e5f0d55e6cdc1412f36fa1144bf53723c12947dbcf000c093b8e59aec85084f012a8010256c07
6
+ metadata.gz: 1f9285dea932b4f5923d9f0217c9880e65a9f3f6a9ee1cff3667c0507f934895158bd0aa23c0e518d38d93a219a4f3c9a10510d7e3a72a7949d7b7129abce849
7
+ data.tar.gz: ff8f43301b974bc850de8eaef3fde222dd4a2874673f3fec241852e3dbc6a9bedc12cfd1f9746798e9454a43630eb95e8cb8a59bd5ab998aaac016fd46c6b7ab
@@ -1,4 +1,4 @@
1
- Version 0.2.4
1
+ Version 0.2.5
2
2
  # Changelog
3
3
  All notable changes to this project will be documented in this file.
4
4
 
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.5] - 2019-02-06
11
+ ### Changed
12
+ - revert change introduced in 0.2.4. See [5.12][https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html]
13
+
10
14
  ## [0.2.4] - 2019-02-06
11
15
  ### Changed
12
16
  - Send path instead of full uri.
@@ -24,7 +28,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
24
28
  - with\_retry.https://www.mokhan.ca/%F0%9F%92%8E/2018/11/10/net-hippie-0-2-0.html
25
29
  - authorization header helpers
26
30
 
27
- [Unreleased]: https://github.com/mokhan/net-hippie/compare/v0.2.3...HEAD
31
+ [Unreleased]: https://github.com/mokhan/net-hippie/compare/v0.2.5...HEAD
32
+ [0.2.5]: https://github.com/mokhan/net-hippie/compare/v0.2.4...v0.2.5
28
33
  [0.2.4]: https://github.com/mokhan/net-hippie/compare/v0.2.3...v0.2.4
29
34
  [0.2.3]: https://github.com/mokhan/net-hippie/compare/v0.2.2...v0.2.3
30
35
  [0.2.2]: https://github.com/mokhan/net-hippie/compare/v0.2.1...v0.2.2
@@ -106,9 +106,8 @@ module Net
106
106
  end
107
107
 
108
108
  def request_for(type, uri, headers: {}, body: {})
109
- uri = URI.parse(uri.to_s)
110
109
  final_headers = default_headers.merge(headers)
111
- type.new(uri.path, final_headers).tap do |x|
110
+ type.new(uri.to_s, final_headers).tap do |x|
112
111
  x.body = mapper.map_from(final_headers, body) unless body.empty?
113
112
  end
114
113
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Net
4
4
  module Hippie
5
- VERSION = '0.2.4'
5
+ VERSION = '0.2.5'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-hippie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - mo