numbers_and_words 0.11.6 → 0.11.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9948dcaf97539c2dfe2e51fbdd0438ad52628160feabfad193e83f9e34ccc777
4
- data.tar.gz: 5949653822dc333caaae102a9a416a2fbbbe570a3a8ae198c5ef690e669b488a
3
+ metadata.gz: 8fbb352f4dff4e1515b73e36972350bb7161cf0c5d8f931565da3c9ace866b30
4
+ data.tar.gz: cab2aaac07c83e7f0c19d97f814608083c573ba36840a8499a7d6334875fa5cd
5
5
  SHA512:
6
- metadata.gz: dd3a796b8e851fb295a45d88ee4d2d9316153560b20306c075e3c2df265033d06d787cffb666770b8a3e3ca4634338e0fbbec9d49ca95c50af4d231cfe46a9b5
7
- data.tar.gz: 0f589eddd20bcbf1f5294a481d5ad5f8ec642356f36591019526a9e57352a60a7305ad08f7d2af1b48cc872cdd96c9fd02c90c067678a76a3e5ae3c0943943d4
6
+ metadata.gz: 85b1af1ea9a76b79bbcdcd98fbd57e10eb677d042ac12ab02648e693b77b83ec7551bfc008e3af7c3615e33cd56295cef1f01c5e2ad213adca7e8aef403efc0c
7
+ data.tar.gz: e7334d4acf4752d1974c55ae76f897c91a64a110b44fea55c42d82913a65fa621737617048067a9ae47ba7bea94d2908d3a937297a348339b4494ed39d01cbeb
data/README.rdoc CHANGED
@@ -5,7 +5,7 @@
5
5
  {<img src="https://secure.travis-ci.org/kslazarev/numbers_and_words.svg?branch=master" />}[http://travis-ci.org/kslazarev/numbers_and_words]
6
6
  {<img src="https://coveralls.io/repos/kslazarev/numbers_and_words/badge.svg?branch=master" alt="Coverage Status" />}[https://coveralls.io/r/kslazarev/numbers_and_words]
7
7
 
8
- Convert numbers to words using the I18n library.
8
+ Spell out numbers in several languages using the I18n gem.
9
9
 
10
10
  Перевод чисел в слова при помощи библиотеки I18n.
11
11
 
@@ -15,7 +15,9 @@ Számok betűvel írva az I18n könyvtár segítségével.
15
15
 
16
16
  I18n kütüphanesi ile sayıları yazıya çevirir.
17
17
 
18
- Converte números em letras utilizando a biblioteca I18n.
18
+ Soletra números em vários idiomas utilizando a biblioteca I18n.
19
+
20
+ Deletrea números en varios idiomas utilizando la gema I18n.
19
21
 
20
22
  == Supported Languages / Языки / Langues Supportées
21
23
 
@@ -32,18 +34,18 @@ Converte números em letras utilizando a biblioteca I18n.
32
34
  * Türkçe [tr]
33
35
  * Deutsch** [de]
34
36
  * Italiano** [it]
35
- * Nederlands** [nl]
37
+ * Nederlands [nl]
36
38
  * Swedish** [se]
37
39
  * English (British)** [en-GB]
38
40
  * Česky [cs]
39
41
  * Português [pt]
40
42
  * Português Brasileiro [pt-BR]
41
43
  * հայերեն (Armenian) [hy]
44
+ * Қазақша [kz]
42
45
 
43
46
  ** Experimental
44
47
 
45
48
  * {[en-AU], [en-CA], [en-IN], [en-US]}*** => [en]
46
- * {[es-419], [es-AR], [es-CL], [es-CO], [es-MX], [es-PE], [es-VE]}*** => [es]
47
49
  * {[fr-CA], [fr-CH]}*** => [fr]
48
50
  * {[de], [de-AT], [de-CH]}*** => [de]
49
51
  * {[it-CH]}*** => [it]
@@ -88,6 +90,9 @@ Converte números em letras utilizando a biblioteca I18n.
88
90
  I18n.with_locale(:hy) { 42.to_words }
89
91
  => "քառասուն երկու"
90
92
 
93
+ I18n.with_locale(:kz) { 42.to_words }
94
+ => "қырық екi"
95
+
91
96
  21.to_words
92
97
  => "twenty-one"
93
98
  => "veintiuno"
@@ -102,12 +107,13 @@ Converte números em letras utilizando a biblioteca I18n.
102
107
  => "ოცდაერთი"
103
108
  => "einundzwanzig"
104
109
  => "ventiuno"
105
- => "éénentwintig"
110
+ => "eenentwintig"
106
111
  => "tjugo-en"
107
112
  => "dvacetjedna"
108
113
  => "vinte e um"
109
114
  => "hai mươi mốt"
110
115
  => "քսան մեկ"
116
+ => "жиырма бiр"
111
117
 
112
118
  231.to_words
113
119
  => "two hundred thirty-one"
@@ -123,12 +129,13 @@ Converte números em letras utilizando a biblioteca I18n.
123
129
  => "iki yüz otuz bir"
124
130
  => "zweihunderteinunddreißig"
125
131
  => "2 cento trentauno"
126
- => "tweehonderdéénendertig"
132
+ => "tweehonderdeenendertig"
127
133
  => "två hundra trettio-en"
128
134
  => "dvě stě třicetjedna"
129
135
  => "duzentos e trinta e um"
130
136
  => "hai trăm ba mươi mốt"
131
137
  => "երկու հարյուր երեսուն մեկ"
138
+ => "екi жүз отыз бiр"
132
139
 
133
140
  4030.to_words
134
141
  => "four thousand thirty"
@@ -149,6 +156,7 @@ Converte números em letras utilizando a biblioteca I18n.
149
156
  => "čtyři tisíce třicet"
150
157
  => "bốn nghìn không trăm ba mươi"
151
158
  => "չորս հազար երեսուն"
159
+ => "төрт мың отыз"
152
160
 
153
161
  1000100.to_words
154
162
  => "one million one hundred"
@@ -169,6 +177,7 @@ Converte números em letras utilizando a biblioteca I18n.
169
177
  => "jeden milión jedno sto"
170
178
  => "một triệu một trăm"
171
179
  => "մեկ միլիոն հարյուր"
180
+ => "бiр миллион бiр жүз"
172
181
 
173
182
  1000000000000000000000000000000000.to_words
174
183
  => "one decillion"
@@ -186,6 +195,7 @@ Converte números em letras utilizando a biblioteca I18n.
186
195
  => "één decillion"
187
196
  => "en decillion"
188
197
  => "decilijon"
198
+ => "бiр дециллион"
189
199
 
190
200
  [1, 2, 3].to_words
191
201
  => ["one", "two", "three"]
@@ -200,6 +210,7 @@ Converte números em letras utilizando a biblioteca I18n.
200
210
  => ["jedna", "dva", "tři"]
201
211
  => ["một", "hai", "ba"]
202
212
  => ["մեկ", "երկու", "երեք"]
213
+ => ["бiр", "екi", "үш"]
203
214
 
204
215
  [11, 22, 133].to_words
205
216
  => ["eleven", "twenty-two", "one hundred thirty-three"]
@@ -215,11 +226,12 @@ Converte números em letras utilizando a biblioteca I18n.
215
226
  => ["on bir", "yirmi iki", "yüz otuz üç"]
216
227
  => ["elf", "zweiundzwanzig", "einhundertdreiunddreißig"]
217
228
  => ["undici", "ventidue", "1 cento trentatre"]
218
- => ["elf", "tweeentwintig", "honderddrieendertig"]
229
+ => ["elf", "tweeëntwintig", "honderddrieëndertig"]
219
230
  => ["elva", "tjugo-två", "en hundra trettio-tre"]
220
231
  => ["jedenáct", "dvacetdva", "jedno sto třicettři"]
221
232
  => ["mười một", "hai mươi hai", "một trăm ba mươi ba"]
222
233
  => ["տասնմեկ", "քսան երկու", "հարյուր երեսուն երեք"]
234
+ => ["он бiр", "жиырма екi", "бiр жүз отыз үш"]
223
235
 
224
236
  21.77.to_words
225
237
  => "twenty-one and seventy-seven hundredths"
@@ -279,7 +291,7 @@ Converte números em letras utilizando a biblioteca I18n.
279
291
 
280
292
  * Brazilian Portuguese
281
293
 
282
- Change gender form: (gender: [:female || :male || :neuter])
294
+ Change gender form: (gender: [:female || :male])
283
295
 
284
296
  I18n.with_locale(:'pt-BR') { 1000000001.to_words gender: :female }
285
297
  => "um bilhão e uma"
@@ -297,7 +309,6 @@ Converte números em letras utilizando a biblioteca I18n.
297
309
  I18n.with_locale(:'cs') { 1.to_words gender: :neuter }
298
310
  => "jedno"
299
311
 
300
-
301
312
  Remove 'zero' from integral part of float: (remove_zero: [true || false])
302
313
 
303
314
  I18n.with_locale(:cs) { 0.7.to_words }
@@ -314,18 +325,49 @@ Converte números em letras utilizando a biblioteca I18n.
314
325
  I18n.with_locale(:cs) { 21.to_words gender: :female, ordinal: true }
315
326
  => "dvacátá první"
316
327
 
328
+ * Spanish
329
+
330
+ Change gender form: (gender: [:female || :male])
331
+
332
+ I18n.with_locale(:es) { 1.to_words gender: :female }
333
+ => "una"
334
+
335
+ I18n.with_locale(:es) { 1.to_words gender: :male }
336
+ => "uno"
337
+
338
+ Use the apocopated (shortened) form: (apocopated: [true || false])
339
+
340
+ I18n.with_locale(:es) { 1.to_words apocopated: true }
341
+ => "un"
342
+
343
+ Mix gender and apocopated forms:
344
+
345
+ I18n.with_locale(:es) { 201.to_words gender: :female, apocopated: true }
346
+ => "doscientas un"
347
+
348
+ Remove 'zero' from integral part of float: (remove_zero: [true || false])
349
+
350
+ I18n.with_locale(:es) { 0.7.to_words }
351
+ => "cero con siete décimas"
352
+
353
+ I18n.with_locale(:es) { 0.7.to_words remove_zero: true }
354
+ => "siete décimas"
355
+
317
356
  == Other options / Другие опции
318
357
 
319
- * precision
358
+ * Precision
320
359
 
321
360
  You may pass argument :precision that added zeros to the end of float number:
322
361
 
323
362
  I18n.with_locale(:ru) { 0.1.to_words precision: 3 }
324
363
  => ноль целых и десять сотых
325
364
 
365
+ I18n.with_locale(:es) { 0.2.to_words precision: 2 }
366
+ => cero con veinte centésimas
367
+
326
368
  == Requirements / Требования / Configuration Requise
327
369
 
328
- * 2.3 <= Ruby (compatible with/совместимость с/compatible avec Ruby 2.3 and/и/et JRuby);
370
+ * 2.5 <= Ruby (compatible with/совместимость с/compatible avec Ruby 2.5 and/и/et JRuby);
329
371
  * 0.5.0 <= I18n (earlier versions not tested/ранние версии не тестировались/versions précédentes non testées);
330
372
 
331
373
  == Installation / Установка / Installation
@@ -42,6 +42,10 @@ module NumbersAndWords
42
42
  self[0].to_i if self[0].to_i.positive?
43
43
  end
44
44
 
45
+ def only_ones
46
+ ones if !tens && !hundreds
47
+ end
48
+
45
49
  def teens
46
50
  tens_with_ones if tens == 1
47
51
  end
@@ -14,8 +14,12 @@ module NumbersAndWords
14
14
  super.to_figures
15
15
  end
16
16
 
17
- def local_language
18
- ::I18n.with_locale(I18n.local_language) { yield }
17
+ def figures_array_in_capacity(capacity)
18
+ super.to_figures
19
+ end
20
+
21
+ def local_language(&block)
22
+ ::I18n.with_locale(I18n.local_language, &block)
19
23
  end
20
24
  end
21
25
  end
@@ -8,8 +8,8 @@ module NumbersAndWords
8
8
  local_language { Strategies.array_joiner.new(to_a, options).run }
9
9
  end
10
10
 
11
- def local_language
12
- ::I18n.with_locale(I18n.local_language) { yield }
11
+ def local_language(&block)
12
+ ::I18n.with_locale(I18n.local_language, &block)
13
13
  end
14
14
  end
15
15
  end
@@ -0,0 +1,7 @@
1
+ kz:
2
+ numbers:
3
+ ones: [нөл, бiр, екi, үш, төрт, бес, алты, жетi, сегiз, тоғыз]
4
+ teens: [_, он бiр, он екi, он үш, он төрт, он бес, он алты, он жетi, он сегiз, он тоғыз]
5
+ tens: [_, он, жиырма, отыз, қырық, елу, алпыс, жетпiс, сексен, тоқсан]
6
+ hundreds: жүз
7
+ mega: [_, мың, миллион, миллиард, триллион, квадриллион, квинтиллион, секстиллион, септиллион, октиллион, нониллион, дециллион]
@@ -1,8 +1,10 @@
1
1
  nl:
2
2
  numbers:
3
- ones: [nul, één, twee, drie, vier, vijf, zes, zeven, acht, negen]
3
+ ones: [nul, een, twee, drie, vier, vijf, zes, zeven, acht, negen]
4
+ loose_one: één
4
5
  teens: [_, elf, twaalf, dertien, veertien, vijftien, zestien, zeventien, achttien, negentien]
5
6
  tens: [_, tien, twintig, dertig, veertig, vijftig, zestig, zeventig, tachtig, negentig]
6
7
  hundreds: honderd
7
8
  mega: [_, duizend, miljoen, miljard, biljoen, biljard, triljoen, triljard, septiljoen, octillion, noniljoen, decillion]
8
9
  union: en
10
+ union2or3: ën
@@ -14,7 +14,7 @@ module NumbersAndWords
14
14
 
15
15
  def init
16
16
  ::I18n.load_path << config_file
17
- ::I18n::Backend::Simple.send :include, ::I18n::Backend::Pluralization
17
+ ::I18n::Backend::Simple.include ::I18n::Backend::Pluralization
18
18
  end
19
19
 
20
20
  def files
@@ -1,13 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- Hash[
4
- NumbersAndWords::I18n::Pluralization.languages.map do |language|
5
- [language.to_sym, {
6
- i18n: {
7
- plural: {
8
- rule: Object.const_get("NumbersAndWords::I18n::Plurals::#{language.split('-').collect(&:capitalize).join}::RULE")
9
- }
3
+ NumbersAndWords::I18n::Pluralization.languages.map do |language|
4
+ [language.to_sym, {
5
+ i18n: {
6
+ plural: {
7
+ rule: Object.const_get("NumbersAndWords::I18n::Plurals::#{language.split('-').collect(&:capitalize).join}::RULE")
10
8
  }
11
- }]
12
- end
13
- ]
9
+ }
10
+ }]
11
+ end.to_h
@@ -25,8 +25,8 @@ module NumbersAndWords
25
25
 
26
26
  private
27
27
 
28
- def around
29
- decorator.run { yield }
28
+ def around(&block)
29
+ decorator.run(&block)
30
30
  end
31
31
  end
32
32
  end
@@ -22,6 +22,7 @@ require 'numbers_and_words/strategies/figures_converter/languages/pt'
22
22
  require 'numbers_and_words/strategies/figures_converter/languages/se'
23
23
  require 'numbers_and_words/strategies/figures_converter/languages/tr'
24
24
  require 'numbers_and_words/strategies/figures_converter/languages/hy'
25
+ require 'numbers_and_words/strategies/figures_converter/languages/kz'
25
26
 
26
27
  require 'numbers_and_words/strategies/figures_converter/languages/families/cyrillic'
27
28
  require 'numbers_and_words/strategies/figures_converter/languages/ru'
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module NumbersAndWords
4
+ module Strategies
5
+ module FiguresConverter
6
+ module Languages
7
+ class Kz < Base
8
+ end
9
+ end
10
+ end
11
+ end
12
+ end
@@ -10,9 +10,16 @@ module NumbersAndWords
10
10
  end
11
11
 
12
12
  def capacity_iteration
13
- if FiguresArray::THOUSAND_CAPACITY == @current_capacity
14
- capacity_words = words_in_capacity(@current_capacity)
15
- capacity_words.empty? ? [] : [capacity_words, megs].join
13
+ return super if FiguresArray::THOUSAND_CAPACITY != @current_capacity
14
+ return megs if figures.number_in_capacity(@current_capacity) == 1
15
+
16
+ capacity_words = words_in_capacity(@current_capacity)
17
+ capacity_words.empty? ? [] : [capacity_words, megs].join
18
+ end
19
+
20
+ def simple_number_to_words
21
+ if @figures.only_ones && @figures.ones == 1
22
+ [@translations.t(:loose_one)]
16
23
  else
17
24
  super
18
25
  end
@@ -34,7 +34,7 @@ module NumbersAndWords
34
34
  nil
35
35
  end
36
36
 
37
- def respond_to_missing?(method_name, include_private = false)
37
+ def respond_to_missing?(method_name, include_private: false)
38
38
  Object.const_get(proxy_class_name(method_name)) || super
39
39
  end
40
40
 
@@ -12,7 +12,7 @@ module NumbersAndWords
12
12
 
13
13
  def result(type)
14
14
  @type = type
15
- MEGS_TYPE != type ? check_simple_numbers : check_megs_numbers
15
+ MEGS_TYPE == type ? check_megs_numbers : check_simple_numbers
16
16
  end
17
17
 
18
18
  private
@@ -26,6 +26,7 @@ require 'numbers_and_words/translations/ka'
26
26
  require 'numbers_and_words/translations/cs'
27
27
  require 'numbers_and_words/translations/vi'
28
28
  require 'numbers_and_words/translations/hy'
29
+ require 'numbers_and_words/translations/kz'
29
30
 
30
31
  module NumbersAndWords
31
32
  module Translations
@@ -6,7 +6,7 @@ module NumbersAndWords
6
6
  I18N_NAMESPACE = :numbers
7
7
 
8
8
  def t(attribute, options = {})
9
- ::I18n.t attribute, options.merge(scope: I18N_NAMESPACE)
9
+ ::I18n.t attribute, **options.merge(scope: I18N_NAMESPACE)
10
10
  end
11
11
  end
12
12
  end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module NumbersAndWords
4
+ module Translations
5
+ class Kz < Base
6
+ include NumbersAndWords::Translations::Families::Latin
7
+ end
8
+ end
9
+ end
@@ -6,7 +6,7 @@ module NumbersAndWords
6
6
  include NumbersAndWords::Translations::Families::Latin
7
7
 
8
8
  def tens_with_ones(numbers, _options = {})
9
- [ones(numbers[0]), tens(numbers[1])].join(union)
9
+ [ones(numbers[0]), tens(numbers[1])].join(union(numbers[0]))
10
10
  end
11
11
 
12
12
  def hundreds(number, _options = {})
@@ -14,6 +14,14 @@ module NumbersAndWords
14
14
 
15
15
  super number, separator: ''
16
16
  end
17
+
18
+ private
19
+
20
+ def union(units)
21
+ return t :union2or3 if [2, 3].include?(units)
22
+
23
+ t :union
24
+ end
17
25
  end
18
26
  end
19
27
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NumbersAndWords
4
- VERSION = '0.11.6'
4
+ VERSION = '0.11.11'
5
5
  end
@@ -16,7 +16,7 @@ module NumbersAndWords
16
16
  private
17
17
 
18
18
  def to_figures_array
19
- number.to_s.split(//).map(&:to_i).to_figures
19
+ number.to_s.chars.map(&:to_i).to_figures
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,58 +1,58 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: numbers_and_words
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.6
4
+ version: 0.11.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill Lazarev
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-14 00:00:00.000000000 Z
11
+ date: 2021-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "<="
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "<="
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jeweler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '2'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '12'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
55
- description: Convert numbers to words using I18N.
54
+ version: '12'
55
+ description: This gem spells out numbers in several languages using the I18n gem.
56
56
  email: k.s.lazarev@gmail.com
57
57
  executables: []
58
58
  extensions: []
@@ -84,6 +84,7 @@ files:
84
84
  - lib/numbers_and_words/i18n/locales/numbers.hy.yml
85
85
  - lib/numbers_and_words/i18n/locales/numbers.it.yml
86
86
  - lib/numbers_and_words/i18n/locales/numbers.ka.yml
87
+ - lib/numbers_and_words/i18n/locales/numbers.kz.yml
87
88
  - lib/numbers_and_words/i18n/locales/numbers.lt.yml
88
89
  - lib/numbers_and_words/i18n/locales/numbers.lv.yml
89
90
  - lib/numbers_and_words/i18n/locales/numbers.nl.yml
@@ -176,6 +177,7 @@ files:
176
177
  - lib/numbers_and_words/strategies/figures_converter/languages/hy.rb
177
178
  - lib/numbers_and_words/strategies/figures_converter/languages/it.rb
178
179
  - lib/numbers_and_words/strategies/figures_converter/languages/ka.rb
180
+ - lib/numbers_and_words/strategies/figures_converter/languages/kz.rb
179
181
  - lib/numbers_and_words/strategies/figures_converter/languages/lt.rb
180
182
  - lib/numbers_and_words/strategies/figures_converter/languages/lv.rb
181
183
  - lib/numbers_and_words/strategies/figures_converter/languages/nl.rb
@@ -238,6 +240,7 @@ files:
238
240
  - lib/numbers_and_words/translations/hy.rb
239
241
  - lib/numbers_and_words/translations/it.rb
240
242
  - lib/numbers_and_words/translations/ka.rb
243
+ - lib/numbers_and_words/translations/kz.rb
241
244
  - lib/numbers_and_words/translations/lt.rb
242
245
  - lib/numbers_and_words/translations/lv.rb
243
246
  - lib/numbers_and_words/translations/nl.rb
@@ -256,7 +259,7 @@ homepage: http://github.com/kslazarev/numbers_and_words
256
259
  licenses:
257
260
  - MIT
258
261
  metadata: {}
259
- post_install_message:
262
+ post_install_message:
260
263
  rdoc_options: []
261
264
  require_paths:
262
265
  - lib
@@ -264,15 +267,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
264
267
  requirements:
265
268
  - - ">="
266
269
  - !ruby/object:Gem::Version
267
- version: '0'
270
+ version: 2.5.0
268
271
  required_rubygems_version: !ruby/object:Gem::Requirement
269
272
  requirements:
270
273
  - - ">="
271
274
  - !ruby/object:Gem::Version
272
275
  version: '0'
273
276
  requirements: []
274
- rubygems_version: 3.0.3
275
- signing_key:
277
+ rubygems_version: 3.2.21
278
+ signing_key:
276
279
  specification_version: 4
277
- summary: Convert numbers to words using I18N.
280
+ summary: Spell out numbers in several languages
278
281
  test_files: []