torupees 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a09142938faeef590ac8f82930266e53c81deca1
4
+ data.tar.gz: 4fb194dc43de5d3e173f87882a9364e365039b44
5
+ SHA512:
6
+ metadata.gz: 860400b1a6bbae7d7be851c2790cc2b3c1bf5450b38b7d39878e908035334ada86c7241f2d6b3434d7943a3468422aeab3ed3e22a88be659ad1832b4aec6e0fe
7
+ data.tar.gz: 9c3a17d12886e4dd567b87dcc3b03dca11365998e4ad31a3ba408eaa23dc09706abcf07967a3bcbf3f01ea341b9306f2131d4a829930a825ec508e60029e3c59
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.1
4
+ before_install: gem install bundler -v 1.10.5
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in torupees.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Anup Neupane
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # Torupees
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/torupees`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'torupees'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install torupees
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake false` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/torupees.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "torupees"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,3 @@
1
+ module Torupees
2
+ VERSION = "0.1.0"
3
+ end
data/lib/torupees.rb ADDED
@@ -0,0 +1,168 @@
1
+ require "torupees/version"
2
+
3
+ module ToRupees
4
+ SMALL_NUMBERS = {""=>"", 0=> "००" , 1=> "०१" , 2=> "०२" , 3=> "०३" , 4=> "०४" , 5=> "०५" , 6=> "०६" , 7=> "०७" , 8=> "०८", 9=> "०९" }
5
+ NEPALI_NUMBERS = {""=>"", 0=> "०" , 1=> "१" , 2=> "२" , 3=> "३" , 4=> "४" , 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=> "३६" , 37=> "३७" , 38=> "३८" , 39=> "३९" , 40=> "४०" , 41=> "४१" , 42=> "४२" , 43=> "४३" , 44=> "४४" , 45=> "४५" , 46=> "४६" , 47=> "४७" , 48=> "४८" , 49=> "४९" , 50=> "५०" , 51=> "५१" , 52=> "५२" , 53=> "५३" , 54=> "५४" , 55=> "५५" , 56=> "५६" , 57=> "५७" , 58=> "५८" , 59=> "५९" , 60=> "६०" , 61=> "६१" , 62=> "६२" , 63=> "६३" , 64=> "६४" , 65=> "६५" , 66=> "६६" , 67=> "६७" , 68=> "६८" , 69=> "६९" , 70=> "७०" , 71=> "७१" , 72=> "७२" , 73=> "७३" , 74=> "७४" , 75=> "७५" , 76=> "७६" , 77=> "७७" , 78=> "७८" , 79=> "७९" , 80=> "८०" , 81=> "८१" , 82=> "८२" , 83=> "८३" , 84=> "८४" , 85=> "८५" , 86=> "८६" , 87=> "८७" , 88=> "८८" , 89=> "८९" , 90=> "९०" , 91=> "९१" , 92=> "९२" , 93=> "९३" , 94=> "९४" , 95=> "९५" , 96=> "९६" , 97=> "९७" , 98=> "९८" , 99=> "९९" , 100=> "१००" }
6
+
7
+ def to_rupees
8
+
9
+
10
+ string = self.to_s.gsub(/\s+/, "")
11
+
12
+ decimalcheck = string.index('.')
13
+ if (decimalcheck != nil )
14
+ #return "Decimal Number Detected" + decimalcheck.to_s
15
+ paisa = string[decimalcheck+1 .. decimalcheck+2 ]
16
+ else
17
+ p = false
18
+ paisa = '0'
19
+ end
20
+ num = self.to_i
21
+ num, sign = check_sign(num)
22
+ #return "०" if num == 0 && paisa ==""
23
+ #return "००" if num == 0
24
+ return (sign + NEPALI_NUMBERS[num] + " |" + paisa.to_i.to_rupees) if (num <= 100 && paisa.to_i != 0)
25
+ #return (sign + NEPALI_NUMBERS[num]+ " |") if (num <=100 && paisa.to_i == 0)
26
+ return (sign + NEPALI_NUMBERS[num]) if (num <=100 && decimalcheck == nil)
27
+ counter = 0
28
+ result = []
29
+ while num != 0
30
+ if (num > 10000000000000000)
31
+ return false
32
+
33
+
34
+ elsif ((num / 1000000000000000) >= 1)
35
+ test , remaining = num.divmod(1000000000000000)
36
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,००,००,००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9
37
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,००,००,००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99
38
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,००,००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 999
39
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,००,००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9999
40
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99999
41
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 999999
42
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9999999
43
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99999999
44
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 999999999
45
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9999999999
46
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99999999999
47
+ return ((sign + NEPALI_NUMBERS[test]) +",००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 999999999999
48
+ return ((sign + NEPALI_NUMBERS[test]) +",००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9999999999999
49
+ return ((sign + NEPALI_NUMBERS[test]) +",०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99999999999999
50
+ return ((sign + NEPALI_NUMBERS[test]) +","+ (remaining.to_s+ "."+ paisa).to_rupees )
51
+
52
+
53
+ elsif ((num / 10000000000000) >= 1)
54
+ test , remaining = num.divmod(10000000000000)
55
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,००,००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9
56
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,००,००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99
57
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 999
58
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9999
59
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99999
60
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 999999
61
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9999999
62
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99999999
63
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 999999999
64
+ return ((sign + NEPALI_NUMBERS[test]) +",००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9999999999
65
+ return ((sign + NEPALI_NUMBERS[test]) +",००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99999999999
66
+ return ((sign + NEPALI_NUMBERS[test]) +",०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 999999999999
67
+ return ((sign + NEPALI_NUMBERS[test]) +","+ (remaining.to_s+"."+paisa).to_rupees )
68
+
69
+
70
+ elsif ((num / 100000000000) >= 1)
71
+ test , remaining = num.divmod(100000000000)
72
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9
73
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99
74
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 999
75
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9999
76
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99999
77
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 999999
78
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9999999
79
+ return ((sign + NEPALI_NUMBERS[test]) +",००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99999999
80
+ return ((sign + NEPALI_NUMBERS[test]) +",००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 999999999
81
+ return ((sign + NEPALI_NUMBERS[test]) +",०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9999999999
82
+ return ((sign + NEPALI_NUMBERS[test]) +","+ (remaining.to_s+"."+paisa).to_rupees )
83
+
84
+
85
+ elsif ((num / 1000000000) >= 1)
86
+ test , remaining = num.divmod(1000000000)
87
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9
88
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99
89
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 999
90
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9999
91
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99999
92
+ return ((sign + NEPALI_NUMBERS[test]) +",००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 999999
93
+ return ((sign + NEPALI_NUMBERS[test]) +",००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9999999
94
+ return ((sign + NEPALI_NUMBERS[test]) +",०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99999999
95
+ return ((sign + NEPALI_NUMBERS[test]) +","+ (remaining.to_s+"."+paisa).to_rupees )
96
+
97
+
98
+ elsif ((num / 10000000) >= 1)
99
+ test , remaining = num.divmod(10000000)
100
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9
101
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99
102
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 999
103
+ return ((sign + NEPALI_NUMBERS[test]) +",००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9999
104
+ return ((sign + NEPALI_NUMBERS[test]) +",००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99999
105
+ return ((sign + NEPALI_NUMBERS[test]) +",०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 999999
106
+ return ((sign + NEPALI_NUMBERS[test]) +","+ (remaining.to_s+"."+paisa).to_rupees )
107
+
108
+
109
+ elsif ((num / 100000) >= 1)
110
+ test , remaining = num.divmod(100000)
111
+ return ((sign + NEPALI_NUMBERS[test]) +",००,००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9
112
+ return ((sign + NEPALI_NUMBERS[test]) +",००,०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99
113
+ return ((sign + NEPALI_NUMBERS[test]) +",००,"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 999
114
+ return ((sign + NEPALI_NUMBERS[test]) +",०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9999
115
+ return ((sign + NEPALI_NUMBERS[test]) +","+ (remaining.to_s+"."+paisa).to_rupees )
116
+
117
+
118
+ elsif ((num / 1000) >= 1)
119
+ test , remaining = num.divmod(1000)
120
+ return ((sign + NEPALI_NUMBERS[test]) +",००"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 9
121
+ return ((sign + NEPALI_NUMBERS[test]) +",०"+ (remaining.to_s+"."+paisa).to_rupees) if remaining <= 99
122
+ return ((sign + NEPALI_NUMBERS[test]) +","+ (remaining.to_s+"."+paisa).to_rupees)
123
+
124
+ end
125
+
126
+ num, remaining = num.divmod(100)
127
+ #return (sign + NEPALI_NUMBERS[num] +"," + (remaining.to_s+"."+paisa).to_rupees )
128
+ if remaining <=9
129
+ temp_result = (sign + NEPALI_NUMBERS[num]) + "०" + (NEPALI_NUMBERS[remaining])
130
+ else
131
+ temp_result = (sign + NEPALI_NUMBERS[num] + (NEPALI_NUMBERS[remaining]))
132
+ end
133
+
134
+ result = temp_result + " |" + paisa.to_i.to_rupees
135
+ # result = sign + result.reverse.join("").rstrip + "." + paisa.to_i.to_rupees
136
+ #result = sign + result + "." + paisa.to_i.to_rupees
137
+ return result
138
+
139
+
140
+ end
141
+
142
+ end
143
+ def check_sign(num)
144
+ return num < 0 ? ([num.abs, '-']) : ([num, ''])
145
+ end
146
+
147
+
148
+ end
149
+
150
+ class Fixnum
151
+ include ToRupees
152
+ end
153
+
154
+ class Float
155
+ include ToRupees
156
+ end
157
+
158
+ class String
159
+ include ToRupees
160
+ end
161
+
162
+ class Bignum
163
+ include ToRupees
164
+ end
165
+
166
+
167
+
168
+
data/torupees.gemspec ADDED
@@ -0,0 +1,32 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'torupees/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "torupees"
8
+ spec.version = Torupees::VERSION
9
+ spec.authors = ["Anup Neupane"]
10
+ spec.email = ["anupbrt@outlook.com"]
11
+
12
+ spec.summary = %q{Internation Number Format to Nepali Number Format .}
13
+ spec.description = %q{100.to_rupees => "१००"}
14
+ spec.homepage = "http://github.com/anupbrt"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_development_dependency "bundler", "~> 1.10"
31
+ spec.add_development_dependency "rake", "~> 10.0"
32
+ end
metadata ADDED
@@ -0,0 +1,84 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: torupees
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Anup Neupane
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-08-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: 100.to_rupees => "१००"
42
+ email:
43
+ - anupbrt@outlook.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".gitignore"
49
+ - ".travis.yml"
50
+ - Gemfile
51
+ - LICENSE.txt
52
+ - README.md
53
+ - Rakefile
54
+ - bin/console
55
+ - bin/setup
56
+ - lib/torupees.rb
57
+ - lib/torupees/version.rb
58
+ - torupees.gemspec
59
+ homepage: http://github.com/anupbrt
60
+ licenses:
61
+ - MIT
62
+ metadata:
63
+ allowed_push_host: https://rubygems.org
64
+ post_install_message:
65
+ rdoc_options: []
66
+ require_paths:
67
+ - lib
68
+ required_ruby_version: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
73
+ required_rubygems_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ requirements: []
79
+ rubyforge_project:
80
+ rubygems_version: 2.4.6
81
+ signing_key:
82
+ specification_version: 4
83
+ summary: Internation Number Format to Nepali Number Format .
84
+ test_files: []