From a0196ad56caf0c549f4b38932694a4c2ddf49bda Mon Sep 17 00:00:00 2001 From: mo khan Date: Sat, 26 Dec 2020 14:29:21 -0700 Subject: feat: add support for Ruby 3.0 --- CHANGELOG.md | 9 +++++++-- lib/net/hippie.rb | 4 ++-- lib/net/hippie/version.rb | 2 +- net-hippie.gemspec | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1089abe..1fc97cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -Version 1.0.1 +Version 1.1.0 # Changelog All notable changes to this project will be documented in this file. @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.1.0] - 2020-12-25 +### Added +- Add support for Ruby 3.0 + ## [1.0.1] - 2020-07-31 ### Fixed - Load version before client @@ -73,7 +77,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - 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/v1.0.1...HEAD +[Unreleased]: https://github.com/mokhan/net-hippie/compare/v1.1.0...HEAD +[1.1.0]: https://github.com/mokhan/net-hippie/compare/v1.0.1...v1.1.0 [1.0.1]: https://github.com/mokhan/net-hippie/compare/v1.0.0...v1.0.1 [1.0.0]: https://github.com/mokhan/net-hippie/compare/v0.3.2...v1.0.0 [0.3.2]: https://github.com/mokhan/net-hippie/compare/v0.3.1...v0.3.2 diff --git a/lib/net/hippie.rb b/lib/net/hippie.rb index 179f747..d71fe68 100644 --- a/lib/net/hippie.rb +++ b/lib/net/hippie.rb @@ -31,7 +31,7 @@ module Net ].freeze def self.logger - @logger ||= Logger.new(STDERR) + @logger ||= Logger.new($stderr) end def self.logger=(logger) @@ -61,7 +61,7 @@ module Net end def self.respond_to_missing?(name, _include_private = false) - Client.public_instance_methods.include?(name.to_sym) + Client.public_instance_methods.include?(name.to_sym) || super end def self.default_client diff --git a/lib/net/hippie/version.rb b/lib/net/hippie/version.rb index 12f3a68..7f99a1e 100644 --- a/lib/net/hippie/version.rb +++ b/lib/net/hippie/version.rb @@ -2,6 +2,6 @@ module Net module Hippie - VERSION = '1.0.1' + VERSION = '1.1.0' end end diff --git a/net-hippie.gemspec b/net-hippie.gemspec index a19e07b..4be11e9 100644 --- a/net-hippie.gemspec +++ b/net-hippie.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |spec| spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] - spec.required_ruby_version = '~> 2.5' + spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0') spec.add_development_dependency 'minitest', '~> 5.0' spec.add_development_dependency 'rake', '~> 13.0' -- cgit v1.2.3 From da28d73a8695f979f8ee712e115d43b507e7402c Mon Sep 17 00:00:00 2001 From: mo khan Date: Sat, 26 Dec 2020 14:38:50 -0700 Subject: docs: update date in CHANGELOG --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fc97cd..21782dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [1.1.0] - 2020-12-25 +## [1.1.0] - 2020-12-26 ### Added - Add support for Ruby 3.0 -- cgit v1.2.3