farsifu 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/farsifu/punch.rb CHANGED
@@ -31,6 +31,7 @@ class String
31
31
  end
32
32
 
33
33
  class Numeric
34
+ include Convert
34
35
  include NumToWord
35
36
  end
36
37
 
@@ -1,3 +1,3 @@
1
1
  module FarsiFu
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
data/spec/farsifu_spec.rb CHANGED
@@ -12,6 +12,7 @@ describe "Farsifu" do
12
12
 
13
13
  it "should convert English numbers to Persian numbers" do
14
14
  ENGLISH_CHARS.to_farsi.should == PERSIAN_CHARS
15
+ 123.to_farsi.should == '۱۲۳'
15
16
  end
16
17
 
17
18
  it "should convert Persian numbers to Eersian numbers" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: farsifu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-04 00:00:00.000000000 Z
12
+ date: 2013-02-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec