numbers_and_words 0.11.6 → 0.11.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9948dcaf97539c2dfe2e51fbdd0438ad52628160feabfad193e83f9e34ccc777
4
- data.tar.gz: 5949653822dc333caaae102a9a416a2fbbbe570a3a8ae198c5ef690e669b488a
3
+ metadata.gz: 84a1dae35d34a880f4a6d6509abb36912c5746f43164489a370343e8b06930d3
4
+ data.tar.gz: e6384d6eeb6b96268e0185a84db8707a86b6ca5508aebcbda2157231c710e644
5
5
  SHA512:
6
- metadata.gz: dd3a796b8e851fb295a45d88ee4d2d9316153560b20306c075e3c2df265033d06d787cffb666770b8a3e3ca4634338e0fbbec9d49ca95c50af4d231cfe46a9b5
7
- data.tar.gz: 0f589eddd20bcbf1f5294a481d5ad5f8ec642356f36591019526a9e57352a60a7305ad08f7d2af1b48cc872cdd96c9fd02c90c067678a76a3e5ae3c0943943d4
6
+ metadata.gz: c030f45f26b1d578943e9588ab2917fd8d17f07a6351f44133979f39e8a4f8aac71012ab5411aff89ac11105a86689fc3518622038fadc3866d093762ad4fe4e
7
+ data.tar.gz: c02be4c6e859336bd71df3b23bacfc36fc9738aad8b4f1182b02fc50a1c075c83307e5e8ddc6564de0839e5690f82414ab9e064686f312590c9da98b217cd159
@@ -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,7 @@ 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
19
 
20
20
  == Supported Languages / Языки / Langues Supportées
21
21
 
@@ -325,7 +325,7 @@ Converte números em letras utilizando a biblioteca I18n.
325
325
 
326
326
  == Requirements / Требования / Configuration Requise
327
327
 
328
- * 2.3 <= Ruby (compatible with/совместимость с/compatible avec Ruby 2.3 and/и/et JRuby);
328
+ * 2.5 <= Ruby (compatible with/совместимость с/compatible avec Ruby 2.5 and/и/et JRuby);
329
329
  * 0.5.0 <= I18n (earlier versions not tested/ранние версии не тестировались/versions précédentes non testées);
330
330
 
331
331
  == Installation / Установка / Installation
@@ -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
@@ -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
@@ -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.7'
5
5
  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.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill Lazarev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-14 00:00:00.000000000 Z
11
+ date: 2020-06-01 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: []
@@ -264,15 +264,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
264
264
  requirements:
265
265
  - - ">="
266
266
  - !ruby/object:Gem::Version
267
- version: '0'
267
+ version: 2.5.0
268
268
  required_rubygems_version: !ruby/object:Gem::Requirement
269
269
  requirements:
270
270
  - - ">="
271
271
  - !ruby/object:Gem::Version
272
272
  version: '0'
273
273
  requirements: []
274
- rubygems_version: 3.0.3
274
+ rubygems_version: 3.1.2
275
275
  signing_key:
276
276
  specification_version: 4
277
- summary: Convert numbers to words using I18N.
277
+ summary: Spell out numbers in several languages
278
278
  test_files: []