diff --git a/CHANGELOG.md b/CHANGELOG.md index 6401168..ec51a1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ 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). +## [1.4.1] - 2022-07-11 +- Updated `rake` to `~> 13.0` for Ruby `~> 2.2` + ## [1.4.0] - 2022-07-01 ### Added - Support for Ruby 2.1 diff --git a/is_it_working.gemspec b/is_it_working.gemspec index 0eede7f..0b3240e 100644 --- a/is_it_working.gemspec +++ b/is_it_working.gemspec @@ -35,11 +35,17 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'sqlite3' end + # Rake 13 requires Ruby 2.2 or high. + if ::Gem::Version.new(RUBY_VERSION) >= ::Gem::Version.new("2.2.0") + spec.add_development_dependency 'rake', '~> 13.0' + else + spec.add_development_dependency 'rake', '~> 10.0' + end + # List all gems that are not Ruby version dependent spec.add_development_dependency 'pry' spec.add_development_dependency 'rspec' spec.add_development_dependency 'webmock' - spec.add_development_dependency 'rake' , '~> 10.0' spec.add_development_dependency 'appraisal', '~> 2.0' spec.add_development_dependency 'net-smtp' end diff --git a/lib/is_it_working/version.rb b/lib/is_it_working/version.rb index d8f5364..4a4ec5e 100644 --- a/lib/is_it_working/version.rb +++ b/lib/is_it_working/version.rb @@ -1,3 +1,3 @@ module IsItWorking - VERSION = '1.4.0'.freeze + VERSION = '1.4.1'.freeze end