number_to_indian_currency 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/Gemfile +4 -0
- data/Rakefile +2 -0
- data/lib/number_to_indian_currency.rb +7 -0
- data/lib/number_to_indian_currency/version.rb +3 -0
- data/number_to_indian_currency.gemspec +31 -0
- metadata +73 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "number_to_indian_currency/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "number_to_indian_currency"
|
7
|
+
s.version = NumberToIndianCurrency::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["Sandip Ransing"]
|
10
|
+
s.email = ["sandip@funonrails.com"]
|
11
|
+
s.homepage = ""
|
12
|
+
s.summary = %q{Helper that coverts number to indian currency with rupees symbol with css}
|
13
|
+
s.description = %q{
|
14
|
+
Example Usage
|
15
|
+
--------------------------------------------------------
|
16
|
+
>> number_to_indian_currency(400)
|
17
|
+
=> "<span class="WebRupee">Rs.</span> 400"
|
18
|
+
>> number_to_indian_currency(5921, false)
|
19
|
+
=> "Rs. 5,921" >> helper.number_to_indian_currency(9921)
|
20
|
+
=> "<span class="WebRupee">Rs.</span> 9,921"
|
21
|
+
>> number_to_indian_currency(1222040.54, false)
|
22
|
+
=> "Rs.12,22,040.54"
|
23
|
+
}
|
24
|
+
|
25
|
+
s.rubyforge_project = "number_to_indian_currency"
|
26
|
+
|
27
|
+
s.files = `git ls-files`.split("\n")
|
28
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
29
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
30
|
+
s.require_paths = ["lib"]
|
31
|
+
end
|
metadata
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: number_to_indian_currency
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Sandip Ransing
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-03-18 00:00:00 +05:30
|
19
|
+
default_executable:
|
20
|
+
dependencies: []
|
21
|
+
|
22
|
+
description: "\n Example Usage\n --------------------------------------------------------\n >> number_to_indian_currency(400)\n => \"<span class=\"WebRupee\">Rs.</span> 400\" \n >> number_to_indian_currency(5921, false)\n => \"Rs. 5,921\" >> helper.number_to_indian_currency(9921)\n => \"<span class=\"WebRupee\">Rs.</span> 9,921\"\n >> number_to_indian_currency(1222040.54, false) \n => \"Rs.12,22,040.54\"\n "
|
23
|
+
email:
|
24
|
+
- sandip@funonrails.com
|
25
|
+
executables: []
|
26
|
+
|
27
|
+
extensions: []
|
28
|
+
|
29
|
+
extra_rdoc_files: []
|
30
|
+
|
31
|
+
files:
|
32
|
+
- .gitignore
|
33
|
+
- Gemfile
|
34
|
+
- Rakefile
|
35
|
+
- lib/number_to_indian_currency.rb
|
36
|
+
- lib/number_to_indian_currency/version.rb
|
37
|
+
- number_to_indian_currency.gemspec
|
38
|
+
has_rdoc: true
|
39
|
+
homepage: ""
|
40
|
+
licenses: []
|
41
|
+
|
42
|
+
post_install_message:
|
43
|
+
rdoc_options: []
|
44
|
+
|
45
|
+
require_paths:
|
46
|
+
- lib
|
47
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
48
|
+
none: false
|
49
|
+
requirements:
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
hash: 3
|
53
|
+
segments:
|
54
|
+
- 0
|
55
|
+
version: "0"
|
56
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 3
|
62
|
+
segments:
|
63
|
+
- 0
|
64
|
+
version: "0"
|
65
|
+
requirements: []
|
66
|
+
|
67
|
+
rubyforge_project: number_to_indian_currency
|
68
|
+
rubygems_version: 1.3.7
|
69
|
+
signing_key:
|
70
|
+
specification_version: 3
|
71
|
+
summary: Helper that coverts number to indian currency with rupees symbol with css
|
72
|
+
test_files: []
|
73
|
+
|