-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]
- Loading branch information
Showing
3 changed files
with
45 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module NumbersAndWords | ||
VERSION = '0.10.5' | ||
VERSION = '0.10.6' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 = "[email protected]" | ||
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 = "[email protected]".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<i18n>, [">= 0"]) | ||
s.add_runtime_dependency(%q<activesupport>, [">= 0"]) | ||
s.add_development_dependency(%q<rake>, [">= 0"]) | ||
s.add_development_dependency(%q<jeweler>, [">= 0"]) | ||
s.add_runtime_dependency(%q<i18n>.freeze, [">= 0"]) | ||
s.add_runtime_dependency(%q<activesupport>.freeze, [">= 0"]) | ||
s.add_development_dependency(%q<rake>.freeze, [">= 0"]) | ||
s.add_development_dependency(%q<jeweler>.freeze, [">= 0"]) | ||
else | ||
s.add_dependency(%q<i18n>, [">= 0"]) | ||
s.add_dependency(%q<activesupport>, [">= 0"]) | ||
s.add_dependency(%q<rake>, [">= 0"]) | ||
s.add_dependency(%q<jeweler>, [">= 0"]) | ||
s.add_dependency(%q<i18n>.freeze, [">= 0"]) | ||
s.add_dependency(%q<activesupport>.freeze, [">= 0"]) | ||
s.add_dependency(%q<rake>.freeze, [">= 0"]) | ||
s.add_dependency(%q<jeweler>.freeze, [">= 0"]) | ||
end | ||
else | ||
s.add_dependency(%q<i18n>, [">= 0"]) | ||
s.add_dependency(%q<activesupport>, [">= 0"]) | ||
s.add_dependency(%q<rake>, [">= 0"]) | ||
s.add_dependency(%q<jeweler>, [">= 0"]) | ||
s.add_dependency(%q<i18n>.freeze, [">= 0"]) | ||
s.add_dependency(%q<activesupport>.freeze, [">= 0"]) | ||
s.add_dependency(%q<rake>.freeze, [">= 0"]) | ||
s.add_dependency(%q<jeweler>.freeze, [">= 0"]) | ||
end | ||
end | ||
|