numbers_and_words 0.11.9 → 0.11.10

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: a565a7b412e3ce37990ada8ada522f55e08db8d24576dcab13afee2f70b3a5c7
4
- data.tar.gz: 076ba08de6db6213ee609389da12aa956456963df17906fd1b8175c39edc4f14
3
+ metadata.gz: 04032d6938d0487167512413e0035cfd44e568ad622c20fc304d80a217556cf9
4
+ data.tar.gz: c316187430a6d4930978215f478f34d9973fbe2bf0efa50dd3969652375eab51
5
5
  SHA512:
6
- metadata.gz: 749dc5a65e4d482918cdc7a72f5c66436e5e26bce3c9ec217e8b57e1dd9f2364282ef673b05b4be4464a58ffe7a561b719fbd2b46c5d5e3b54979629044b0234
7
- data.tar.gz: eadf0605cd88d2e97bafdf6dea1ad1f8e1333d9a8b127bf906431ec53096a9f52cfaa14afb8ac33dc98b97fc283b0953c944073b33e2a2ac9524d77ef66d881c
6
+ metadata.gz: 81f843d717a8b84cb29096e43845201ac5a2a95e63177736df9135520f452badcc01057035500afd65bed7df9bf36cf78a6ad94a5168295e3d43b2597b6d746b
7
+ data.tar.gz: 64dc18b49df49650052b3bc2ca1ad895ddbacd4e60cffe7614c76712bd0270a8eb3695e571fe8c31b4fdf801148bf183056a76a1124f831f6b973e5a231bcc15
@@ -4,7 +4,7 @@ require 'numbers_and_words/helper_classes/array_extensions/helpers'
4
4
 
5
5
  module NumbersAndWords
6
6
  class FiguresArray < Array
7
- Array.include ArrayExtensions::Helpers
7
+ include ArrayExtensions::Helpers
8
8
 
9
9
  def to_words(options = {})
10
10
  local_language { Strategies.figures_converter.new(self, options).run }
@@ -14,6 +14,10 @@ module NumbersAndWords
14
14
  super.to_figures
15
15
  end
16
16
 
17
+ def figures_array_in_capacity(capacity)
18
+ super.to_figures
19
+ end
20
+
17
21
  def local_language(&block)
18
22
  ::I18n.with_locale(I18n.local_language, &block)
19
23
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NumbersAndWords
4
- VERSION = '0.11.9'
4
+ VERSION = '0.11.10'
5
5
  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.9
4
+ version: 0.11.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill Lazarev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-04 00:00:00.000000000 Z
11
+ date: 2021-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n