sankhya 0.3.0 → 0.4.0

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: 9f633c8fe0e823c5f3b348d601b3ea5bebc69586
4
- data.tar.gz: 19c17dca7750feaacfe3597df03dace9bf7594bc
3
+ metadata.gz: 743e3626fe08a0c17cafe5ab0dfe3a6f5b90e544
4
+ data.tar.gz: 6a1c3a8285e8c7d482ce1b5f1870a7686d3b2f42
5
5
  SHA512:
6
- metadata.gz: 6c7ef2eed787b50fe71cac7e1e4a3d754e82647601337bad530f14e89ffc34331c79fb27a0b4bf0a80c7c9f99f1b2c0607642d399bbffa6026b47ed379a32a54
7
- data.tar.gz: 42c443e851da1c2c9f77f929438ac4540be63d701c5ceaf1a1b419f32fef57ae1ca95f9536167631bd2e7fcc00582192d0f5a6fdf0819a6f0b9b8f465bad670f
6
+ metadata.gz: 1e8a82da28c69283ee1f7c99154151025ee0218d812321f9c0a6ff51ca0ae0a2a248c0dc5fdda584d46dc1468d60bf657e25a7877b9061b5c8aa1291d508429e
7
+ data.tar.gz: 4df666b5cea19ab21d8510dc9c37ba5fa498fae264227b7a286cb70688b607891552ef52e604952bae4c38a14dac5f1c21389b58aa89cf8ad26f1291f67b664c
@@ -1,21 +1,26 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sankhya (0.3.0)
4
+ sankhya (0.4.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.3.1)
11
- rspec (2.14.1)
12
- rspec-core (~> 2.14.0)
13
- rspec-expectations (~> 2.14.0)
14
- rspec-mocks (~> 2.14.0)
15
- rspec-core (2.14.8)
16
- rspec-expectations (2.14.5)
17
- diff-lcs (>= 1.1.3, < 2.0)
18
- rspec-mocks (2.14.6)
10
+ rake (10.4.2)
11
+ rspec (3.3.0)
12
+ rspec-core (~> 3.3.0)
13
+ rspec-expectations (~> 3.3.0)
14
+ rspec-mocks (~> 3.3.0)
15
+ rspec-core (3.3.1)
16
+ rspec-support (~> 3.3.0)
17
+ rspec-expectations (3.3.0)
18
+ diff-lcs (>= 1.2.0, < 2.0)
19
+ rspec-support (~> 3.3.0)
20
+ rspec-mocks (3.3.1)
21
+ diff-lcs (>= 1.2.0, < 2.0)
22
+ rspec-support (~> 3.3.0)
23
+ rspec-support (3.3.0)
19
24
 
20
25
  PLATFORMS
21
26
  ruby
data/README.md CHANGED
@@ -31,8 +31,8 @@ Sankhya adds a couple of methods to Integer and Float classes.
31
31
 
32
32
  ### to_amount
33
33
 
34
- 10101101.to_amount # "10,101,101"
35
- 10101.01.to_amount # "10,101.01"
34
+ 10101101.to_amount # "1,01,01,101.00"
35
+ 10101.10.to_amount # "10,101.10"
36
36
  0.to_amount # "0.00"
37
37
 
38
38
  Please see the spec for more examples.
@@ -1,3 +1,3 @@
1
1
  module Sankhya
2
- VERSION = '0.3.0'
2
+ VERSION = '0.4.0'
3
3
  end
@@ -21,7 +21,6 @@ module Sankhya
21
21
  17 => 'seventeen',
22
22
  18 => 'eighteen',
23
23
  19 => 'nineteen',
24
- 10 => 'ten',
25
24
  20 => 'twenty',
26
25
  30 => 'thirty',
27
26
  40 => 'forty',
@@ -4,5 +4,5 @@ Bundler.setup
4
4
  require 'sankhya'
5
5
 
6
6
  RSpec.configure do |config|
7
-
7
+ config.expect_with(:rspec) { |c| c.syntax = :should }
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sankhya
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.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-05-07 00:00:00.000000000 Z
11
+ date: 2015-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  requirements: []
96
96
  rubyforge_project:
97
- rubygems_version: 2.2.2
97
+ rubygems_version: 2.4.6
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: A little gem to convert number to words in Indian English