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 +4 -4
- data/CHANGELOG.md +7 -2
- data/lib/net/hippie/client.rb +1 -2
- data/lib/net/hippie/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a223f6b7bf61906d27f605a848babbd2563151b0a4c4e44056a024420e20aeb9
|
4
|
+
data.tar.gz: 58a69b4311c6e67462aab3a400edd4ebbd52be5f4dc19b5cd93b949ff93e04c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f9285dea932b4f5923d9f0217c9880e65a9f3f6a9ee1cff3667c0507f934895158bd0aa23c0e518d38d93a219a4f3c9a10510d7e3a72a7949d7b7129abce849
|
7
|
+
data.tar.gz: ff8f43301b974bc850de8eaef3fde222dd4a2874673f3fec241852e3dbc6a9bedc12cfd1f9746798e9454a43630eb95e8cb8a59bd5ab998aaac016fd46c6b7ab
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Version 0.2.
|
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.
|
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
|
data/lib/net/hippie/client.rb
CHANGED
@@ -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.
|
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
|
data/lib/net/hippie/version.rb
CHANGED