net-hippie 0.2.3 → 0.2.4

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: 06320b6b41a56790a62c7cc6e316fc9a9d9b8da411cd79d9fb429da25168a898
4
- data.tar.gz: f8cf496b64232b2645baf230d3d6581bcc3683c1107a2218517fd420f1854232
3
+ metadata.gz: b5c388fcfd92d5db5f06ee52cbe174c5350ad66f1fd336fabe6066323521051e
4
+ data.tar.gz: b00fc2014d8d08a9f3d7680c4c446b3df969790eb2b7518a11640cffe2592074
5
5
  SHA512:
6
- metadata.gz: 6a5fbb3ea2c1e2511641281d38c536f8ae81a69b0ce1c37e90dd429d76fc10a0037bd8348961cee6c34768a29a8e9ddfe36d57771f63ff6adadd27e12b5e1046
7
- data.tar.gz: 41b91a05ac860294917fccedf98d7bff115edc46fe403ba5955e177e12a9c8e9933a816cff6f921b933c6eb506bba7ca484dfec2ee1080433299493818ea192a
6
+ metadata.gz: af37ba0fda24e69459be4552f00d58e0acee39f9b76025a23b6ea1961ebb5911b3cb959b52cb5f989e2fd167d632222e174201d648890cd3b6c11ca2fa46fef9
7
+ data.tar.gz: 438a42d01235acd6d428f90d5ca9fdcd0cf25a38750a6734a38e5f0d55e6cdc1412f36fa1144bf53723c12947dbcf000c093b8e59aec85084f012a8010256c07
@@ -0,0 +1,41 @@
1
+ Version 0.2.4
2
+ # Changelog
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.2.4] - 2019-02-06
11
+ ### Changed
12
+ - Send path instead of full uri.
13
+
14
+ ## [0.2.3] - 2019-02-01
15
+ ### Added
16
+ - Default verify mode
17
+
18
+ ## [0.2.2] - 2019-02-01
19
+ ### Added
20
+ - open\_timeout added to client.
21
+
22
+ ## [0.2.1] - 2019-02-01
23
+ ### Added
24
+ - with\_retry.https://www.mokhan.ca/%F0%9F%92%8E/2018/11/10/net-hippie-0-2-0.html
25
+ - authorization header helpers
26
+
27
+ [Unreleased]: https://github.com/mokhan/net-hippie/compare/v0.2.3...HEAD
28
+ [0.2.4]: https://github.com/mokhan/net-hippie/compare/v0.2.3...v0.2.4
29
+ [0.2.3]: https://github.com/mokhan/net-hippie/compare/v0.2.2...v0.2.3
30
+ [0.2.2]: https://github.com/mokhan/net-hippie/compare/v0.2.1...v0.2.2
31
+ [0.2.1]: https://github.com/mokhan/net-hippie/compare/v0.2.0...v0.2.1
32
+ [0.2.0]: https://github.com/mokhan/net-hippie/compare/v0.1.9...v0.2.0
33
+ [0.1.9]: https://github.com/mokhan/net-hippie/compare/v0.1.8...v0.1.9
34
+ [0.1.8]: https://github.com/mokhan/net-hippie/compare/v0.1.7...v0.1.8
35
+ [0.1.7]: https://github.com/mokhan/net-hippie/compare/v0.1.6...v0.1.7
36
+ [0.1.6]: https://github.com/mokhan/net-hippie/compare/v0.1.5...v0.1.6
37
+ [0.1.5]: https://github.com/mokhan/net-hippie/compare/v0.1.4...v0.1.5
38
+ [0.1.4]: https://github.com/mokhan/net-hippie/compare/v0.1.3...v0.1.4
39
+ [0.1.3]: https://github.com/mokhan/net-hippie/compare/v0.1.2...v0.1.3
40
+ [0.1.2]: https://github.com/mokhan/net-hippie/compare/v0.1.1...v0.1.2
41
+ [0.1.1]: https://github.com/mokhan/net-hippie/compare/v0.1.0...v0.1.1
@@ -106,8 +106,9 @@ module Net
106
106
  end
107
107
 
108
108
  def request_for(type, uri, headers: {}, body: {})
109
+ uri = URI.parse(uri.to_s)
109
110
  final_headers = default_headers.merge(headers)
110
- type.new(uri.to_s, final_headers).tap do |x|
111
+ type.new(uri.path, final_headers).tap do |x|
111
112
  x.body = mapper.map_from(final_headers, body) unless body.empty?
112
113
  end
113
114
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Net
4
4
  module Hippie
5
- VERSION = '0.2.3'
5
+ VERSION = '0.2.4'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-hippie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - mo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-01 00:00:00.000000000 Z
11
+ date: 2019-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -92,6 +92,7 @@ files:
92
92
  - ".gitlab-ci.yml"
93
93
  - ".rubocop.yml"
94
94
  - ".travis.yml"
95
+ - CHANGELOG.md
95
96
  - Gemfile
96
97
  - LICENSE.txt
97
98
  - README.md