Comparing changes

v0.2.3 v0.2.4
2 commits 3 files changed

Commits

7101ff1 send path instead of full uri. mokha 2019-02-06 16:55:24
3275eda add CHANGELOG mokha 2019-02-04 16:22:59
Changed files (3)
lib/net/hippie/client.rb
@@ -106,8 +106,9 @@ module Net
       end
 
       def request_for(type, uri, headers: {}, body: {})
+        uri = URI.parse(uri.to_s)
         final_headers = default_headers.merge(headers)
-        type.new(uri.to_s, final_headers).tap do |x|
+        type.new(uri.path, final_headers).tap do |x|
           x.body = mapper.map_from(final_headers, body) unless body.empty?
         end
       end
lib/net/hippie/version.rb
@@ -2,6 +2,6 @@
 
 module Net
   module Hippie
-    VERSION = '0.2.3'
+    VERSION = '0.2.4'
   end
 end
CHANGELOG.md
@@ -0,0 +1,41 @@
+Version 0.2.4
+# Changelog
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [Unreleased]
+
+## [0.2.4] - 2019-02-06
+### Changed
+- Send path instead of full uri.
+
+## [0.2.3] - 2019-02-01
+### Added
+- Default verify mode
+
+## [0.2.2] - 2019-02-01
+### Added
+- open\_timeout added to client.
+
+## [0.2.1] - 2019-02-01
+### Added
+- with\_retry.https://www.mokhan.ca/%F0%9F%92%8E/2018/11/10/net-hippie-0-2-0.html
+- authorization header helpers
+
+[Unreleased]: https://github.com/mokhan/net-hippie/compare/v0.2.3...HEAD
+[0.2.4]: https://github.com/mokhan/net-hippie/compare/v0.2.3...v0.2.4
+[0.2.3]: https://github.com/mokhan/net-hippie/compare/v0.2.2...v0.2.3
+[0.2.2]: https://github.com/mokhan/net-hippie/compare/v0.2.1...v0.2.2
+[0.2.1]: https://github.com/mokhan/net-hippie/compare/v0.2.0...v0.2.1
+[0.2.0]: https://github.com/mokhan/net-hippie/compare/v0.1.9...v0.2.0
+[0.1.9]: https://github.com/mokhan/net-hippie/compare/v0.1.8...v0.1.9
+[0.1.8]: https://github.com/mokhan/net-hippie/compare/v0.1.7...v0.1.8
+[0.1.7]: https://github.com/mokhan/net-hippie/compare/v0.1.6...v0.1.7
+[0.1.6]: https://github.com/mokhan/net-hippie/compare/v0.1.5...v0.1.6
+[0.1.5]: https://github.com/mokhan/net-hippie/compare/v0.1.4...v0.1.5
+[0.1.4]: https://github.com/mokhan/net-hippie/compare/v0.1.3...v0.1.4
+[0.1.3]: https://github.com/mokhan/net-hippie/compare/v0.1.2...v0.1.3
+[0.1.2]: https://github.com/mokhan/net-hippie/compare/v0.1.1...v0.1.2
+[0.1.1]: https://github.com/mokhan/net-hippie/compare/v0.1.0...v0.1.1