diff options
| author | mo khan <mo.khan@gmail.com> | 2020-12-26 14:40:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-26 14:40:53 -0700 |
| commit | b4d66a4a16d11542f7ca5fd2ad0a264f70b42e84 (patch) | |
| tree | 8b0f2cc15e89f54e9ebb7a5a6fb8dbabe5e7470b | |
| parent | 0fe6803a50825b3d659453e09bf28c7e69f88076 (diff) | |
| parent | da28d73a8695f979f8ee712e115d43b507e7402c (diff) | |
Merge pull request #5 from mokhan/ruby-3v1.1.0
Add support for Ruby 3.0
| -rw-r--r-- | CHANGELOG.md | 9 | ||||
| -rw-r--r-- | lib/net/hippie.rb | 4 | ||||
| -rw-r--r-- | lib/net/hippie/version.rb | 2 | ||||
| -rw-r--r-- | net-hippie.gemspec | 2 |
4 files changed, 11 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1089abe..21782dc 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-26 +### 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' |
