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 +4 -4
- data/CHANGELOG.md +41 -0
- data/lib/net/hippie/client.rb +2 -1
- data/lib/net/hippie/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b5c388fcfd92d5db5f06ee52cbe174c5350ad66f1fd336fabe6066323521051e
|
|
4
|
+
data.tar.gz: b00fc2014d8d08a9f3d7680c4c446b3df969790eb2b7518a11640cffe2592074
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: af37ba0fda24e69459be4552f00d58e0acee39f9b76025a23b6ea1961ebb5911b3cb959b52cb5f989e2fd167d632222e174201d648890cd3b6c11ca2fa46fef9
|
|
7
|
+
data.tar.gz: 438a42d01235acd6d428f90d5ca9fdcd0cf25a38750a6734a38e5f0d55e6cdc1412f36fa1144bf53723c12947dbcf000c093b8e59aec85084f012a8010256c07
|
data/CHANGELOG.md
ADDED
|
@@ -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
|
data/lib/net/hippie/client.rb
CHANGED
|
@@ -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.
|
|
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
|
data/lib/net/hippie/version.rb
CHANGED
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.
|
|
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-
|
|
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
|