sankhya 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +14 -0
- data/Gemfile.lock +4 -4
- data/README.md +8 -1
- data/lib/sankhya.rb +8 -4
- data/lib/sankhya/numbers.rb +49 -37
- data/lib/sankhya/version.rb +1 -1
- data/lib/sankhya/words.rb +33 -33
- data/spec/sankhya_spec.rb +90 -54
- metadata +13 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f633c8fe0e823c5f3b348d601b3ea5bebc69586
|
4
|
+
data.tar.gz: 19c17dca7750feaacfe3597df03dace9bf7594bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c7ef2eed787b50fe71cac7e1e4a3d754e82647601337bad530f14e89ffc34331c79fb27a0b4bf0a80c7c9f99f1b2c0607642d399bbffa6026b47ed379a32a54
|
7
|
+
data.tar.gz: 42c443e851da1c2c9f77f929438ac4540be63d701c5ceaf1a1b419f32fef57ae1ca95f9536167631bd2e7fcc00582192d0f5a6fdf0819a6f0b9b8f465bad670f
|
data/.rubocop.yml
ADDED
data/Gemfile.lock
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sankhya (0.
|
4
|
+
sankhya (0.3.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
9
|
diff-lcs (1.2.5)
|
10
|
-
rake (10.
|
10
|
+
rake (10.3.1)
|
11
11
|
rspec (2.14.1)
|
12
12
|
rspec-core (~> 2.14.0)
|
13
13
|
rspec-expectations (~> 2.14.0)
|
14
14
|
rspec-mocks (~> 2.14.0)
|
15
|
-
rspec-core (2.14.
|
15
|
+
rspec-core (2.14.8)
|
16
16
|
rspec-expectations (2.14.5)
|
17
17
|
diff-lcs (>= 1.1.3, < 2.0)
|
18
|
-
rspec-mocks (2.14.
|
18
|
+
rspec-mocks (2.14.6)
|
19
19
|
|
20
20
|
PLATFORMS
|
21
21
|
ruby
|
data/README.md
CHANGED
@@ -18,7 +18,9 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
Sankhya
|
21
|
+
Sankhya adds a couple of methods to Integer and Float classes.
|
22
|
+
|
23
|
+
### to_words
|
22
24
|
|
23
25
|
10101101.to_words # "one crore, one lakh, one thousand, one hundred and one"
|
24
26
|
0.to_words # "zero"
|
@@ -27,6 +29,11 @@ Sankhya add a 'to_words' method to Integer and Float classes.
|
|
27
29
|
1.1.to_words # ["one", "one"]
|
28
30
|
1.01.to_words # ["one", "one"]
|
29
31
|
|
32
|
+
### to_amount
|
33
|
+
|
34
|
+
10101101.to_amount # "10,101,101"
|
35
|
+
10101.01.to_amount # "10,101.01"
|
36
|
+
0.to_amount # "0.00"
|
30
37
|
|
31
38
|
Please see the spec for more examples.
|
32
39
|
|
data/lib/sankhya.rb
CHANGED
@@ -1,10 +1,14 @@
|
|
1
|
-
require
|
2
|
-
require
|
3
|
-
require
|
1
|
+
require 'sankhya/version'
|
2
|
+
require 'sankhya/words'
|
3
|
+
require 'sankhya/numbers'
|
4
4
|
|
5
5
|
module Sankhya
|
6
6
|
def to_words(options = {})
|
7
|
-
Numbers
|
7
|
+
Numbers.translate self, options
|
8
|
+
end
|
9
|
+
|
10
|
+
def to_amount(options = {})
|
11
|
+
Numbers.amount self, options
|
8
12
|
end
|
9
13
|
end
|
10
14
|
|
data/lib/sankhya/numbers.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
module Sankhya
|
2
|
-
|
3
2
|
class Numbers
|
4
3
|
extend Words
|
5
4
|
|
@@ -10,57 +9,70 @@ module Sankhya
|
|
10
9
|
words_of(number)
|
11
10
|
else # if float
|
12
11
|
integer = number.floor
|
13
|
-
decimal = (number * (10
|
12
|
+
decimal = (number * (10**@scale)).floor - (integer * (10**@scale))
|
14
13
|
[words_of(integer), words_of(decimal)]
|
15
14
|
end
|
16
15
|
end
|
17
16
|
|
18
|
-
|
17
|
+
def self.amount(number, options)
|
18
|
+
parse options
|
19
|
+
|
20
|
+
numbers = format "%.#{@scale}f", number
|
21
|
+
integers, decimals = numbers.split('.')
|
19
22
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
+
result = []
|
24
|
+
result << integers.reverse[3..-1].to_s.gsub(/(\d{2})(?=\d)/, '\\1,').reverse
|
25
|
+
result << integers.reverse[0..2].reverse
|
23
26
|
|
24
|
-
|
25
|
-
@comma = options.has_key?(:comma) ? options[:comma] : true
|
26
|
-
@scale = is_number?(options[:scale]) ? ([options[:scale], 0].max) : 2
|
27
|
+
result.select { |x| !x.empty? }.join(',') + '.' + decimals
|
27
28
|
end
|
28
29
|
|
29
|
-
|
30
|
-
|
31
|
-
self.to_english(number)
|
32
|
-
else
|
33
|
-
words = []
|
30
|
+
class << self
|
31
|
+
private
|
34
32
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
33
|
+
def number?(number)
|
34
|
+
true if Float(number) rescue false
|
35
|
+
end
|
36
|
+
|
37
|
+
def parse(options)
|
38
|
+
@comma = options.key?(:comma) ? options[:comma] : true
|
39
|
+
@scale = number?(options[:scale]) ? ([options[:scale], 0].max) : 2
|
40
|
+
end
|
39
41
|
|
40
|
-
|
41
|
-
|
42
|
-
number
|
43
|
-
|
42
|
+
def words_of(number)
|
43
|
+
if number < 20
|
44
|
+
to_english(number)
|
45
|
+
else
|
46
|
+
words = []
|
44
47
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
48
|
+
units = [{ divisor: 100, prefix: ', and' },
|
49
|
+
{ divisor: 10, suffix: 'hundred,' },
|
50
|
+
{ divisor: 100, suffix: 'thousand,' },
|
51
|
+
{ divisor: 100, suffix: 'lakh,' }]
|
49
52
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
i
|
53
|
+
i = 0
|
54
|
+
while i < units.length
|
55
|
+
number, segment = number.divmod(units[i][:divisor])
|
56
|
+
parts = segment < 20 ? segment.divmod(100) : segment.divmod(10)
|
57
|
+
|
58
|
+
words << units[i][:suffix] if units[i][:suffix] && segment > 0
|
59
|
+
words << to_english(parts.last) if parts.last > 0
|
60
|
+
words << to_english(10 * parts.first) if parts.first > 0
|
61
|
+
words << units[i][:prefix] if units[i][:prefix] && segment > 0 && number > 0
|
62
|
+
|
63
|
+
if i == units.length - 1 && number > 0
|
64
|
+
# suffix crore and start over
|
65
|
+
words << 'crore,'
|
66
|
+
i = 0
|
67
|
+
else
|
68
|
+
i += 1
|
69
|
+
end
|
56
70
|
end
|
57
|
-
end
|
58
71
|
|
59
|
-
|
60
|
-
|
72
|
+
regex = @comma ? /, ,|,$/ : /, ,|,/
|
73
|
+
words.reverse.join(' ').gsub(/#{regex}/, '')
|
74
|
+
end
|
61
75
|
end
|
62
76
|
end
|
63
|
-
|
64
77
|
end
|
65
|
-
|
66
78
|
end
|
data/lib/sankhya/version.rb
CHANGED
data/lib/sankhya/words.rb
CHANGED
@@ -1,39 +1,39 @@
|
|
1
1
|
module Sankhya
|
2
2
|
module Words
|
3
3
|
def to_english(number)
|
4
|
-
{0 => 'zero',
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
4
|
+
{ 0 => 'zero',
|
5
|
+
1 => 'one',
|
6
|
+
2 => 'two',
|
7
|
+
3 => 'three',
|
8
|
+
4 => 'four',
|
9
|
+
5 => 'five',
|
10
|
+
6 => 'six',
|
11
|
+
7 => 'seven',
|
12
|
+
8 => 'eight',
|
13
|
+
9 => 'nine',
|
14
|
+
10 => 'ten',
|
15
|
+
11 => 'eleven',
|
16
|
+
12 => 'twelve',
|
17
|
+
13 => 'thirteen',
|
18
|
+
14 => 'fourteen',
|
19
|
+
15 => 'fifteen',
|
20
|
+
16 => 'sixteen',
|
21
|
+
17 => 'seventeen',
|
22
|
+
18 => 'eighteen',
|
23
|
+
19 => 'nineteen',
|
24
|
+
10 => 'ten',
|
25
|
+
20 => 'twenty',
|
26
|
+
30 => 'thirty',
|
27
|
+
40 => 'forty',
|
28
|
+
50 => 'fifty',
|
29
|
+
60 => 'sixty',
|
30
|
+
70 => 'seventy',
|
31
|
+
80 => 'eighty',
|
32
|
+
90 => 'ninety',
|
33
|
+
100 => 'hundred',
|
34
|
+
1_000 => 'thousand',
|
35
|
+
100_000 => 'lakh',
|
36
|
+
10_000_000 => 'crore'
|
37
37
|
}[number]
|
38
38
|
end
|
39
39
|
end
|
data/spec/sankhya_spec.rb
CHANGED
@@ -2,111 +2,147 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe Sankhya do
|
4
4
|
|
5
|
-
it
|
6
|
-
0.to_words.should eql(
|
5
|
+
it 'converts 0 to words' do
|
6
|
+
0.to_words.should eql('zero')
|
7
7
|
end
|
8
8
|
|
9
|
-
it
|
10
|
-
|
9
|
+
it 'converts 5,36,24,133 to words' do
|
10
|
+
53_624_133.to_words.should eql('five crore, thirty six lakh, twenty four thousand, one hundred and thirty three')
|
11
11
|
end
|
12
12
|
|
13
|
-
it
|
14
|
-
|
13
|
+
it 'converts 12,12,012 to words' do
|
14
|
+
1_212_012.to_words.should eql('twelve lakh, twelve thousand and twelve')
|
15
15
|
end
|
16
16
|
|
17
|
-
it
|
18
|
-
|
17
|
+
it 'converts 7,00,007 to words' do
|
18
|
+
700_007.to_words.should eql('seven lakh and seven')
|
19
19
|
end
|
20
20
|
|
21
|
-
it
|
22
|
-
|
21
|
+
it 'converts 1,01,01,101 to words' do
|
22
|
+
10_101_101.to_words.should eql('one crore, one lakh, one thousand, one hundred and one')
|
23
23
|
end
|
24
24
|
|
25
|
-
it
|
26
|
-
|
25
|
+
it 'converts 33,00,00,000 to words' do
|
26
|
+
330_000_000.to_words.should eql('thirty three crore')
|
27
27
|
end
|
28
28
|
|
29
|
-
it
|
30
|
-
|
29
|
+
it 'converts 10,00,000 to words' do
|
30
|
+
1_000_000.to_words.should eql('ten lakh')
|
31
31
|
end
|
32
32
|
|
33
|
-
it
|
34
|
-
|
33
|
+
it 'converts 99,000 to words' do
|
34
|
+
99_000.to_words.should eql('ninety nine thousand')
|
35
35
|
end
|
36
36
|
|
37
|
-
it
|
38
|
-
(0.0).to_words.should eql([
|
37
|
+
it 'converts 0.0 to words' do
|
38
|
+
(0.0).to_words.should eql(['zero', 'zero'])
|
39
39
|
end
|
40
40
|
|
41
|
-
it
|
42
|
-
(1.1).to_words.should eql([
|
41
|
+
it 'converts 1.1 to words' do
|
42
|
+
(1.1).to_words.should eql(['one', 'ten'])
|
43
43
|
end
|
44
44
|
|
45
|
-
it
|
46
|
-
(1.1).to_words(scale: 1).should eql([
|
45
|
+
it 'converts 1.1 with scale 1 to words' do
|
46
|
+
(1.1).to_words(scale: 1).should eql(['one', 'one'])
|
47
47
|
end
|
48
48
|
|
49
|
-
it
|
50
|
-
(1.01).to_words(scale: 2).should eql([
|
49
|
+
it 'converts 1.01 with scale 2 to words' do
|
50
|
+
(1.01).to_words(scale: 2).should eql(['one', 'one'])
|
51
51
|
end
|
52
52
|
|
53
|
-
it
|
54
|
-
(3.14).to_words.should eql([
|
53
|
+
it 'converts 3.14 to words' do
|
54
|
+
(3.14).to_words.should eql(['three', 'fourteen'])
|
55
55
|
end
|
56
56
|
|
57
|
-
it
|
58
|
-
(
|
57
|
+
it 'converts 29,97,924.58 to words' do
|
58
|
+
(2_997_924.58).to_words.should eql(['twenty nine lakh, ninety seven thousand, nine hundred and twenty four', 'fifty eight'])
|
59
59
|
end
|
60
60
|
|
61
|
-
it
|
62
|
-
(
|
61
|
+
it 'converts 143,29,97,924.58 to words' do
|
62
|
+
(1_432_997_924.58).to_words.should eql(['one hundred and forty three crore, twenty nine lakh, ninety seven thousand, nine hundred and twenty four', 'fifty eight'])
|
63
63
|
end
|
64
64
|
|
65
|
-
it
|
66
|
-
(
|
65
|
+
it 'converts 2,07,143,29,97,924.58 to words' do
|
66
|
+
(2_071_432_997_924.58).to_words.should eql(['two lakh, seven thousand, one hundred and forty three crore, twenty nine lakh, ninety seven thousand, nine hundred and twenty four', 'fifty eight'])
|
67
67
|
end
|
68
68
|
|
69
|
-
# it
|
70
|
-
# (2299111234567890.76).to_words.should eql([
|
69
|
+
# it 'converts 22,99,11,123,45,67,890.76 to words' do
|
70
|
+
# (2299111234567890.76).to_words.should eql(['twenty two crore, ninety nine lakh, eleven thousand, one hundred and twenty three crore, forty five lakh, sixty seven thousand, eight hundred and ninety', 'seventy six'])
|
71
71
|
# end
|
72
72
|
|
73
|
-
it
|
74
|
-
(
|
73
|
+
it 'converts 21,89,14,967,50,95,052.8 to words' do
|
74
|
+
(2_189_149_675_095_052.8).to_words.should eql(['twenty one crore, eighty nine lakh, fourteen thousand, nine hundred and sixty seven crore, fifty lakh, ninety five thousand and fifty two', 'eighty'])
|
75
75
|
end
|
76
76
|
|
77
|
-
it
|
78
|
-
(
|
77
|
+
it 'converts 10,10,110.10 to words without comma' do
|
78
|
+
(1_010_110.10).to_words(comma: false).should eql(['ten lakh ten thousand one hundred and ten', 'ten'])
|
79
79
|
end
|
80
80
|
|
81
|
-
it
|
82
|
-
(
|
81
|
+
it 'converts 10,10,110.10 to words without comma, if comma option is a truthy value' do
|
82
|
+
(1_010_110.10).to_words(comma: 'false').should eql(['ten lakh, ten thousand, one hundred and ten', 'ten'])
|
83
83
|
end
|
84
84
|
|
85
|
-
it
|
86
|
-
(
|
85
|
+
it 'converts 10,10,110.10 to words with scale -2' do
|
86
|
+
(1_010_110.10).to_words(scale: -2).should eql(['ten lakh, ten thousand, one hundred and ten', 'zero'])
|
87
87
|
end
|
88
88
|
|
89
|
-
it
|
90
|
-
(
|
89
|
+
it 'converts 10,10,110.10 to words with scale -1' do
|
90
|
+
(1_010_110.10).to_words(scale: -1).should eql(['ten lakh, ten thousand, one hundred and ten', 'zero'])
|
91
91
|
end
|
92
92
|
|
93
|
-
it
|
94
|
-
(
|
93
|
+
it 'converts 10,10,110.10 to words with scale 0' do
|
94
|
+
(1_010_110.10).to_words(scale: 0).should eql(['ten lakh, ten thousand, one hundred and ten', 'zero'])
|
95
95
|
end
|
96
96
|
|
97
|
-
it
|
98
|
-
(
|
97
|
+
it 'converts 10,10,110.10 to words with scale 2, if scale option is an invalid value' do
|
98
|
+
(1_010_110.10).to_words(scale: 'one').should eql(['ten lakh, ten thousand, one hundred and ten', 'ten'])
|
99
99
|
end
|
100
100
|
|
101
|
-
it
|
102
|
-
(
|
101
|
+
it 'converts 10,10,110.10 to words with scale 1' do
|
102
|
+
(1_010_110.10).to_words(scale: 1).should eql(['ten lakh, ten thousand, one hundred and ten', 'one'])
|
103
103
|
end
|
104
104
|
|
105
|
-
it
|
106
|
-
(
|
105
|
+
it 'converts 10,10,110.10 to words with scale 2' do
|
106
|
+
(1_010_110.10).to_words(scale: 2).should eql(['ten lakh, ten thousand, one hundred and ten', 'ten'])
|
107
107
|
end
|
108
108
|
|
109
|
-
it
|
110
|
-
(
|
109
|
+
it 'converts 10,10,110.10 to words with scale 3' do
|
110
|
+
(1_010_110.10).to_words(scale: 3).should eql(['ten lakh, ten thousand, one hundred and ten', 'one hundred'])
|
111
|
+
end
|
112
|
+
|
113
|
+
it 'converts 1 to amount' do
|
114
|
+
(1).to_amount.should eql('1.00')
|
115
|
+
end
|
116
|
+
|
117
|
+
it 'converts 10.10 to amount' do
|
118
|
+
(10.10).to_amount.should eql('10.10')
|
119
|
+
end
|
120
|
+
|
121
|
+
it 'converts 10.100 to amount' do
|
122
|
+
(10.100).to_amount.should eql('10.10')
|
123
|
+
end
|
124
|
+
|
125
|
+
it 'converts 100.10 to amount' do
|
126
|
+
(100.10).to_amount.should eql('100.10')
|
127
|
+
end
|
128
|
+
|
129
|
+
it 'converts 1000.10 to amount' do
|
130
|
+
(1_000.10).to_amount.should eql('1,000.10')
|
131
|
+
end
|
132
|
+
|
133
|
+
it 'converts 10000.10 to amount' do
|
134
|
+
(10_000.10).to_amount.should eql('10,000.10')
|
135
|
+
end
|
136
|
+
|
137
|
+
it 'converts 10000000.10 to amount' do
|
138
|
+
(10_000_000.10).to_amount.should eql('1,00,00,000.10')
|
139
|
+
end
|
140
|
+
|
141
|
+
it 'converts 100000000.10 to amount' do
|
142
|
+
(100_000_000.10).to_amount.should eql('10,00,00,000.10')
|
143
|
+
end
|
144
|
+
|
145
|
+
it 'converts 100000000.10 to amount' do
|
146
|
+
(100_000_000.10).to_amount(scale: 3).should eql('10,00,00,000.100')
|
111
147
|
end
|
112
148
|
end
|
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sankhya
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geordee Naliyath
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.5'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
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
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
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
54
|
version: '0'
|
55
55
|
description: Sankhya means numbers in Sanskrit and other Indian languages. This is
|
@@ -60,7 +60,8 @@ executables: []
|
|
60
60
|
extensions: []
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
|
-
- .gitignore
|
63
|
+
- ".gitignore"
|
64
|
+
- ".rubocop.yml"
|
64
65
|
- Gemfile
|
65
66
|
- Gemfile.lock
|
66
67
|
- LICENSE.txt
|
@@ -83,17 +84,17 @@ require_paths:
|
|
83
84
|
- lib
|
84
85
|
required_ruby_version: !ruby/object:Gem::Requirement
|
85
86
|
requirements:
|
86
|
-
- -
|
87
|
+
- - ">="
|
87
88
|
- !ruby/object:Gem::Version
|
88
89
|
version: '0'
|
89
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
91
|
requirements:
|
91
|
-
- -
|
92
|
+
- - ">="
|
92
93
|
- !ruby/object:Gem::Version
|
93
94
|
version: '0'
|
94
95
|
requirements: []
|
95
96
|
rubyforge_project:
|
96
|
-
rubygems_version: 2.
|
97
|
+
rubygems_version: 2.2.2
|
97
98
|
signing_key:
|
98
99
|
specification_version: 4
|
99
100
|
summary: A little gem to convert number to words in Indian English
|