From 6a52056efcbd3d3269c6f572917024087098a95e Mon Sep 17 00:00:00 2001 From: Jose Luis Duran Date: Sun, 11 Jun 2017 00:23:15 -0300 Subject: [PATCH] Release 0.10.6 Features - Add full support for Brazilian Portuguese. [#139] - Add option `precision` to `to_words`. [#134] Bugs - Fix README typo for 231 in French. - Fix big numbers in Spanish. [#129] - Fix typo for number twenty-one in Spanish. [#127] --- CHANGELOG.md | 9 +++-- lib/numbers_and_words/version.rb | 2 +- numbers_and_words.gemspec | 64 +++++++++++++++++++------------- 3 files changed, 45 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 224f9334..9b085433 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,12 @@ -## 0.10.6 (Next) - - * Add full support for Brazilian Portuguese. \[[#139](https://github.com/kslazarev/numbers_and_words/pull/139)\] +## 0.10.7 (Next) ### Features * Your contribution here. + +## 0.10.6 (June 11, 2017) + +### Features + * Add full support for Brazilian Portuguese. \[[#139](https://github.com/kslazarev/numbers_and_words/pull/139)\] * Add option `precision` to `to_words`. \[[#134](https://github.com/kslazarev/numbers_and_words/issues/134)\] \([@neodelf](https://github.com/neodelf)\) \(assignee: [@neodelf](https://github.com/neodelf)\) ### Bugs diff --git a/lib/numbers_and_words/version.rb b/lib/numbers_and_words/version.rb index 7d95520b..30f3d4a9 100644 --- a/lib/numbers_and_words/version.rb +++ b/lib/numbers_and_words/version.rb @@ -1,3 +1,3 @@ module NumbersAndWords - VERSION = '0.10.5' + VERSION = '0.10.6' end diff --git a/numbers_and_words.gemspec b/numbers_and_words.gemspec index 40e37166..afff0511 100644 --- a/numbers_and_words.gemspec +++ b/numbers_and_words.gemspec @@ -2,20 +2,19 @@ # DO NOT EDIT THIS FILE DIRECTLY # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' # -*- encoding: utf-8 -*- -# stub: numbers_and_words 0.10.5 ruby lib +# stub: numbers_and_words 0.10.6 ruby lib Gem::Specification.new do |s| - s.name = "numbers_and_words" - s.version = "0.10.5" + s.name = "numbers_and_words".freeze + s.version = "0.10.6" - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.require_paths = ["lib"] - s.authors = ["Kirill Lazarev"] - s.date = "2016-03-09" - s.description = "Convert numbers to words using I18N." - s.email = "k.s.lazarev@gmail.com" + 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 = "2017-06-11" + s.description = "Convert numbers to words using I18N.".freeze + s.email = "k.s.lazarev@gmail.com".freeze s.extra_rdoc_files = [ - "CHANGELOG.md", "LICENSE.txt", "README.rdoc" ] @@ -44,6 +43,7 @@ Gem::Specification.new do |s| "lib/numbers_and_words/i18n/locales/numbers.lt.yml", "lib/numbers_and_words/i18n/locales/numbers.lv.yml", "lib/numbers_and_words/i18n/locales/numbers.nl.yml", + "lib/numbers_and_words/i18n/locales/numbers.pt-BR.yml", "lib/numbers_and_words/i18n/locales/numbers.pt.yml", "lib/numbers_and_words/i18n/locales/numbers.ru.yml", "lib/numbers_and_words/i18n/locales/numbers.se.yml", @@ -54,6 +54,7 @@ Gem::Specification.new do |s| "lib/numbers_and_words/i18n/plurals/lt.rb", "lib/numbers_and_words/i18n/plurals/lv.rb", "lib/numbers_and_words/i18n/plurals/plurals.rb", + "lib/numbers_and_words/i18n/plurals/pt_br.rb", "lib/numbers_and_words/i18n/plurals/ru.rb", "lib/numbers_and_words/i18n/plurals/ua.rb", "lib/numbers_and_words/strategies.rb", @@ -64,6 +65,7 @@ Gem::Specification.new do |s| "lib/numbers_and_words/strategies/array_joiner/languages/en_gb.rb", "lib/numbers_and_words/strategies/array_joiner/languages/families/base.rb", "lib/numbers_and_words/strategies/array_joiner/languages/hu.rb", + "lib/numbers_and_words/strategies/array_joiner/languages/pt_br.rb", "lib/numbers_and_words/strategies/array_joiner/languages/ru.rb", "lib/numbers_and_words/strategies/array_joiner/languages/ua.rb", "lib/numbers_and_words/strategies/figures_converter.rb", @@ -81,6 +83,10 @@ Gem::Specification.new do |s| "lib/numbers_and_words/strategies/figures_converter/decorators/hu/base.rb", "lib/numbers_and_words/strategies/figures_converter/decorators/hu/fractional.rb", "lib/numbers_and_words/strategies/figures_converter/decorators/hu/integral.rb", + "lib/numbers_and_words/strategies/figures_converter/decorators/pt_br.rb", + "lib/numbers_and_words/strategies/figures_converter/decorators/pt_br/base.rb", + "lib/numbers_and_words/strategies/figures_converter/decorators/pt_br/fractional.rb", + "lib/numbers_and_words/strategies/figures_converter/decorators/pt_br/integral.rb", "lib/numbers_and_words/strategies/figures_converter/decorators/ru.rb", "lib/numbers_and_words/strategies/figures_converter/decorators/ru/base.rb", "lib/numbers_and_words/strategies/figures_converter/decorators/ru/fractional.rb", @@ -108,6 +114,7 @@ Gem::Specification.new do |s| "lib/numbers_and_words/strategies/figures_converter/languages/lv.rb", "lib/numbers_and_words/strategies/figures_converter/languages/nl.rb", "lib/numbers_and_words/strategies/figures_converter/languages/pt.rb", + "lib/numbers_and_words/strategies/figures_converter/languages/pt_br.rb", "lib/numbers_and_words/strategies/figures_converter/languages/ru.rb", "lib/numbers_and_words/strategies/figures_converter/languages/se.rb", "lib/numbers_and_words/strategies/figures_converter/languages/tr.rb", @@ -127,6 +134,10 @@ Gem::Specification.new do |s| "lib/numbers_and_words/strategies/figures_converter/options/en_gb/remove_zero.rb", "lib/numbers_and_words/strategies/figures_converter/options/hu.rb", "lib/numbers_and_words/strategies/figures_converter/options/hu/ordinal.rb", + "lib/numbers_and_words/strategies/figures_converter/options/pt_br.rb", + "lib/numbers_and_words/strategies/figures_converter/options/pt_br/gender.rb", + "lib/numbers_and_words/strategies/figures_converter/options/pt_br/ordinal.rb", + "lib/numbers_and_words/strategies/figures_converter/options/pt_br/remove_zero.rb", "lib/numbers_and_words/strategies/figures_converter/options/ru.rb", "lib/numbers_and_words/strategies/figures_converter/options/ru/gender.rb", "lib/numbers_and_words/strategies/figures_converter/options/ua.rb", @@ -150,6 +161,7 @@ Gem::Specification.new do |s| "lib/numbers_and_words/translations/lv.rb", "lib/numbers_and_words/translations/nl.rb", "lib/numbers_and_words/translations/pt.rb", + "lib/numbers_and_words/translations/pt_br.rb", "lib/numbers_and_words/translations/ru.rb", "lib/numbers_and_words/translations/se.rb", "lib/numbers_and_words/translations/tr.rb", @@ -159,30 +171,30 @@ Gem::Specification.new do |s| "lib/numbers_and_words/wrappers/float.rb", "lib/numbers_and_words/wrappers/integer.rb" ] - s.homepage = "http://github.com/kslazarev/numbers_and_words" - s.licenses = ["MIT"] - s.rubygems_version = "2.4.8" - s.summary = "Convert numbers to words using I18N." + s.homepage = "http://github.com/kslazarev/numbers_and_words".freeze + s.licenses = ["MIT".freeze] + s.rubygems_version = "2.6.12".freeze + s.summary = "Convert numbers to words using I18N.".freeze if s.respond_to? :specification_version then s.specification_version = 4 if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q, [">= 0"]) - s.add_runtime_dependency(%q, [">= 0"]) - s.add_development_dependency(%q, [">= 0"]) - s.add_development_dependency(%q, [">= 0"]) + s.add_runtime_dependency(%q.freeze, [">= 0"]) + 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, [">= 0"]) - s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, [">= 0"]) + s.add_dependency(%q.freeze, [">= 0"]) + s.add_dependency(%q.freeze, [">= 0"]) + s.add_dependency(%q.freeze, [">= 0"]) + s.add_dependency(%q.freeze, [">= 0"]) end else - s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, [">= 0"]) + s.add_dependency(%q.freeze, [">= 0"]) + s.add_dependency(%q.freeze, [">= 0"]) + s.add_dependency(%q.freeze, [">= 0"]) + s.add_dependency(%q.freeze, [">= 0"]) end end