diff --git a/CHANGELOG.md b/CHANGELOG.md index 90932aeb..bb6d37cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.11.7 (Next) +## 0.11.8 (Next) ### Features * Your contribution here. + +## 0.11.7 (June 1, 2020) + +### Features * Add support for Ruby 2.7. \[[#172](https://github.com/kslazarev/numbers_and_words/pull/172)\] * Drop support for Ruby 2.4. diff --git a/numbers_and_words.gemspec b/numbers_and_words.gemspec index 0a87452a..29654850 100644 --- a/numbers_and_words.gemspec +++ b/numbers_and_words.gemspec @@ -2,17 +2,17 @@ # DO NOT EDIT THIS FILE DIRECTLY # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' # -*- encoding: utf-8 -*- -# stub: numbers_and_words 0.11.6 ruby lib +# stub: numbers_and_words 0.11.7 ruby lib Gem::Specification.new do |s| s.name = "numbers_and_words".freeze - s.version = "0.11.6" + s.version = "0.11.7" s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.require_paths = ["lib".freeze] s.authors = ["Kirill Lazarev".freeze] - s.date = "2019-04-14" - s.description = "Convert numbers to words using I18N.".freeze + s.date = "2020-06-01" + s.description = "This gem spells out numbers in several languages using the I18n gem.".freeze s.email = "k.s.lazarev@gmail.com".freeze s.extra_rdoc_files = [ "LICENSE.txt", @@ -212,25 +212,22 @@ Gem::Specification.new do |s| ] s.homepage = "http://github.com/kslazarev/numbers_and_words".freeze s.licenses = ["MIT".freeze] - s.rubygems_version = "3.0.3".freeze - s.summary = "Convert numbers to words using I18N.".freeze + s.required_ruby_version = Gem::Requirement.new(">= 2.5.0".freeze) + s.rubygems_version = "3.1.2".freeze + s.summary = "Spell out numbers in several languages".freeze if s.respond_to? :specification_version then s.specification_version = 4 + end - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q.freeze, [">= 0"]) - s.add_development_dependency(%q.freeze, [">= 0"]) - s.add_development_dependency(%q.freeze, [">= 0"]) - else - s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, [">= 0"]) - end + if s.respond_to? :add_runtime_dependency then + s.add_runtime_dependency(%q.freeze, ["<= 2"]) + s.add_development_dependency(%q.freeze, ["~> 2"]) + s.add_development_dependency(%q.freeze, ["~> 12"]) else - s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, [">= 0"]) + s.add_dependency(%q.freeze, ["<= 2"]) + s.add_dependency(%q.freeze, ["~> 2"]) + s.add_dependency(%q.freeze, ["~> 12"]) end end