numbers_and_words 0.11.4 → 0.11.5

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
  SHA1:
3
- metadata.gz: 2f6672607ef61331dcab2560613f0983f852e521
4
- data.tar.gz: caff72eea42948c2e55ecec50061eec8a9dfba34
3
+ metadata.gz: c601603640f2fd42a075ea704686dd34fedcaac6
4
+ data.tar.gz: 8f39dec70454ee3ee56416a686d5465b91191631
5
5
  SHA512:
6
- metadata.gz: 2d762972288f8b5213c880eab4d2d13bf2183f017e4955d5edc5373923e6aaf1e9e1685232e981fd4e0725151cd13d90dd314d04986e15e6d8516fd3d82981f2
7
- data.tar.gz: f6e50fc911f8e55db858e17bcd653bfdfbc99952fa5f2965e80efff59c0b949dca1992389c802c881d2e702e138f2072c34101c1958fbb7e9ac8c86f06cef43f
6
+ metadata.gz: f3674f9549f9eabbe6611df88d22bebc05ef47506d627c6305fdfac36d79fd63b17fc8df711b61db6091a17a14d07fc48f2f80423fe59668ea2738beff8eb26a
7
+ data.tar.gz: 8b09e7b44a277d9213d0d9edc408b750e7a5e904e8cc9f779808862f8fb08b075d29b2e7127e18921e8c6be042bf19f7bc69c9b30b5367ac414d33dd8f80983f
@@ -169,7 +169,7 @@ Converte números em letras utilizando a biblioteca I18n.
169
169
  => "en miljoner en hundra"
170
170
  => "jeden milión jedno sto"
171
171
  => "một triệu một trăm"
172
- => "միլիոն հարյուր"
172
+ => "մեկ միլիոն հարյուր"
173
173
 
174
174
  1000000000000000000000000000000000.to_words
175
175
  => "one decillion"
@@ -3,23 +3,6 @@ module NumbersAndWords
3
3
  module FiguresConverter
4
4
  module Languages
5
5
  class Hy < Base
6
- def capacity_iteration
7
- words = []
8
- capacity_words = words_in_capacity(@current_capacity)
9
- words.push(megs) unless capacity_words.empty?
10
- words += capacity_words unless thousand? && one?
11
- words
12
- end
13
-
14
- private
15
-
16
- def one?
17
- words_in_capacity(@current_capacity) == [translations.ones(1)]
18
- end
19
-
20
- def thousand?
21
- FiguresArray::THOUSAND_CAPACITY <= @current_capacity
22
- end
23
6
  end
24
7
  end
25
8
  end
@@ -1,3 +1,3 @@
1
1
  module NumbersAndWords
2
- VERSION = '0.11.4'.freeze
2
+ VERSION = '0.11.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: numbers_and_words
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.4
4
+ version: 0.11.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill Lazarev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-20 00:00:00.000000000 Z
11
+ date: 2018-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n