yen 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8c532519de0cb50f44b3946aadcefa3c7b2ac494
4
+ data.tar.gz: 73e83810792582b507bcd333a1b2461aa671f3e9
5
+ SHA512:
6
+ metadata.gz: 3f6dc09b231be4d7d839946f45d8d7bf035b28837c0b96c73163119c89695ca4ac3019eeb65cce04a77fcc75b33fb9ff598075217108f42611aa557fbcf54d58
7
+ data.tar.gz: 61fd5210f80fe2e0cc6cc23effe8ac1cff22dc375c4166cfaadb84fd76d9d576de376dbbb74b4a9146cee760efd5665e97e36de54455d2fdd0f6843c75587763
data/.gitignore ADDED
@@ -0,0 +1,23 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+
19
+ **/*.swp
20
+ *.swp
21
+ **/*~
22
+ *.*~
23
+ *~
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in yen.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 siman-man
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,34 @@
1
+ # Yen
2
+
3
+ 数値を日本語表記に変換するgemです。Integerのみ使用できます。対応している桁数は倶胝までです。
4
+
5
+ ## Installation
6
+
7
+ install it yourself as:
8
+
9
+ $ gem install yen
10
+
11
+ ## Usage
12
+
13
+ ```ruby
14
+ require 'yen'
15
+
16
+ 10000.to_j #=> 1万
17
+ 10000.to_j(:all) #=> 一万
18
+
19
+ 370060178930.to_j #=> 3700億6017万8930
20
+ 370060178930.to_j(:all) #=> 三千七百億六千十七万八千九百三十
21
+
22
+ 10000.to_yen #=> 1万円
23
+ 10000.to_yen(:all) #=> 一万円
24
+ ```
25
+
26
+ TODO: Write usage instructions here
27
+
28
+ ## Contributing
29
+
30
+ 1. Fork it
31
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
32
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
33
+ 4. Push to the branch (`git push origin my-new-feature`)
34
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
data/example/sample.rb ADDED
@@ -0,0 +1,10 @@
1
+ require 'yen'
2
+
3
+ puts 10000.to_j #=> 1万
4
+ puts 10000.to_j(:all) #=> 一万
5
+
6
+ puts 370060178930.to_j #=> 3700億6017万8930
7
+ puts 370060178930.to_j(:all) #=> 三千七百億六千十七万八千九百三十
8
+
9
+ puts 10000.to_yen #=> 1万円
10
+ puts 10000.to_yen(:all) #=> 一万円
data/lib/yen.rb ADDED
@@ -0,0 +1,55 @@
1
+ # encoding: utf-8
2
+ require "yen/version"
3
+
4
+ class Integer
5
+ def to_yen(type = :positional)
6
+ self.to_j(type) + "円"
7
+ end
8
+
9
+ def to_j(type = :positional)
10
+ cardinal = %w(零 一 二 三 四 五 六 七 八 九)
11
+ base_unit = %w(十 百 千)
12
+ unit = %w(万 億 兆 京 垓 予 穣 溝 澗 正 裁 極 恒河沙 阿僧祇 那由多 不可思議 無量大数)
13
+ float_unit = %w(割 分 厘 毛 糸 忽 微 繊 沙 塵 埃 緲 漠 模糊 逡巡 須臾 瞬息 断指 刹那 六徳 虚 空 清 浄)
14
+
15
+ return (type == :positional)? "0" : "零" if self.zero?
16
+
17
+ numbers = []
18
+
19
+ self.to_s.chars{ |num| numbers.unshift num.to_i }
20
+
21
+ number_blocks = numbers.each_slice(4).to_a.reverse
22
+
23
+ japanese = ""
24
+ block_size = number_blocks.size
25
+
26
+ number_blocks.each_with_index do |block, index|
27
+ str = ""
28
+ if type == :positional
29
+ num = block.reverse.join.to_i
30
+ str += num.to_s unless num.zero?
31
+ else
32
+ block.each_with_index do |num, unit|
33
+ if num.nonzero?
34
+ str += base_unit[unit-1] if unit.nonzero?
35
+
36
+ if num == 1
37
+ if unit.zero? || unit == 3
38
+ if index != block_size-1 || str.size.zero?
39
+ str += cardinal[num]
40
+ end
41
+ end
42
+ else
43
+ str += cardinal[num]
44
+ end
45
+ end
46
+ end
47
+ end
48
+
49
+ japanese += (type == :all)? str.reverse : str
50
+ japanese += unit[number_blocks.size-(index+2)] if str.size.nonzero? && block_size != index+1
51
+ end
52
+
53
+ japanese
54
+ end
55
+ end
@@ -0,0 +1,3 @@
1
+ module Yen
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,3 @@
1
+ require 'yen'
2
+
3
+ $LOAD_PATH << File.expand_path('../../lib', __FILE__)
@@ -0,0 +1,233 @@
1
+ require 'spec_helper'
2
+ require 'yen'
3
+
4
+ describe "Test for to_j method" do
5
+ describe "to_j :all option" do
6
+ it "between 0 - 1万" do
7
+ expect(0.to_j(:all)).to eq("零")
8
+ expect(1.to_j(:all)).to eq("一")
9
+ expect(2.to_j(:all)).to eq("二")
10
+ expect(3.to_j(:all)).to eq("三")
11
+ expect(4.to_j(:all)).to eq("四")
12
+ expect(5.to_j(:all)).to eq("五")
13
+ expect(6.to_j(:all)).to eq("六")
14
+ expect(7.to_j(:all)).to eq("七")
15
+ expect(8.to_j(:all)).to eq("八")
16
+ expect(9.to_j(:all)).to eq("九")
17
+ expect(10.to_j(:all)).to eq("十")
18
+ expect(33.to_j(:all)).to eq("三十三")
19
+ expect(77.to_j(:all)).to eq("七十七")
20
+ expect(99.to_j(:all)).to eq("九十九")
21
+ expect(100.to_j(:all)).to eq("百")
22
+ expect(101.to_j(:all)).to eq("百一")
23
+ expect(108.to_j(:all)).to eq("百八")
24
+ expect(110.to_j(:all)).to eq("百十")
25
+ expect(111.to_j(:all)).to eq("百十一")
26
+ expect(285.to_j(:all)).to eq("二百八十五")
27
+ expect(330.to_j(:all)).to eq("三百三十")
28
+ expect(777.to_j(:all)).to eq("七百七十七")
29
+ expect(999.to_j(:all)).to eq("九百九十九")
30
+ expect(1000.to_j(:all)).to eq("千")
31
+ expect(1001.to_j(:all)).to eq("千一")
32
+ expect(1011.to_j(:all)).to eq("千十一")
33
+ expect(1111.to_j(:all)).to eq("千百十一")
34
+ expect(2013.to_j(:all)).to eq("二千十三")
35
+ expect(3333.to_j(:all)).to eq("三千三百三十三")
36
+ expect(9999.to_j(:all)).to eq("九千九百九十九")
37
+ end
38
+
39
+ it "between 1万 - 1兆" do
40
+ expect(10000.to_j(:all)).to eq("一万")
41
+ expect(10001.to_j(:all)).to eq("一万一")
42
+ expect(10011.to_j(:all)).to eq("一万十一")
43
+ expect(10100.to_j(:all)).to eq("一万百")
44
+ expect(10101.to_j(:all)).to eq("一万百一")
45
+ expect(10111.to_j(:all)).to eq("一万百十一")
46
+ expect(11000.to_j(:all)).to eq("一万千")
47
+ expect(11001.to_j(:all)).to eq("一万千一")
48
+ expect(11010.to_j(:all)).to eq("一万千十")
49
+ expect(11011.to_j(:all)).to eq("一万千十一")
50
+ expect(11100.to_j(:all)).to eq("一万千百")
51
+ expect(11101.to_j(:all)).to eq("一万千百一")
52
+ expect(11110.to_j(:all)).to eq("一万千百十")
53
+ expect(11111.to_j(:all)).to eq("一万千百十一")
54
+ expect(12345.to_j(:all)).to eq("一万二千三百四十五")
55
+ expect(100000.to_j(:all)).to eq("十万")
56
+ expect(100001.to_j(:all)).to eq("十万一")
57
+ expect(100010.to_j(:all)).to eq("十万十")
58
+ expect(100011.to_j(:all)).to eq("十万十一")
59
+ expect(100100.to_j(:all)).to eq("十万百")
60
+ expect(100101.to_j(:all)).to eq("十万百一")
61
+ expect(100110.to_j(:all)).to eq("十万百十")
62
+ expect(100111.to_j(:all)).to eq("十万百十一")
63
+ expect(101000.to_j(:all)).to eq("十万千")
64
+ expect(101001.to_j(:all)).to eq("十万千一")
65
+ expect(101010.to_j(:all)).to eq("十万千十")
66
+ expect(101011.to_j(:all)).to eq("十万千十一")
67
+ expect(101100.to_j(:all)).to eq("十万千百")
68
+ expect(101101.to_j(:all)).to eq("十万千百一")
69
+ expect(101110.to_j(:all)).to eq("十万千百十")
70
+ expect(101111.to_j(:all)).to eq("十万千百十一")
71
+ expect(110000.to_j(:all)).to eq("十一万")
72
+ expect(330030.to_j(:all)).to eq("三十三万三十")
73
+ expect(1000000.to_j(:all)).to eq("百万")
74
+ expect(1000001.to_j(:all)).to eq("百万一")
75
+ expect(1001001.to_j(:all)).to eq("百万千一")
76
+ expect(1010000.to_j(:all)).to eq("百一万")
77
+ expect(1100000.to_j(:all)).to eq("百十万")
78
+ expect(1110000.to_j(:all)).to eq("百十一万")
79
+ expect(7770000.to_j(:all)).to eq("七百七十七万")
80
+ expect(10000000.to_j(:all)).to eq("一千万")
81
+ expect(10010000.to_j(:all)).to eq("一千一万")
82
+ expect(10100000.to_j(:all)).to eq("一千十万")
83
+ expect(10110000.to_j(:all)).to eq("一千十一万")
84
+ expect(11000000.to_j(:all)).to eq("一千百万")
85
+ expect(11010000.to_j(:all)).to eq("一千百一万")
86
+ expect(11100000.to_j(:all)).to eq("一千百十万")
87
+ expect(11110000.to_j(:all)).to eq("一千百十一万")
88
+ expect(30030030.to_j(:all)).to eq("三千三万三十")
89
+ expect(33333333.to_j(:all)).to eq("三千三百三十三万三千三百三十三")
90
+ expect(100000000.to_j(:all)).to eq("一億")
91
+ expect(1000000000.to_j(:all)).to eq("十億")
92
+ expect(1100000000.to_j(:all)).to eq("十一億")
93
+ expect(10000000000.to_j(:all)).to eq("百億")
94
+ expect(10100000000.to_j(:all)).to eq("百一億")
95
+ expect(11000000000.to_j(:all)).to eq("百十億")
96
+ expect(11100000000.to_j(:all)).to eq("百十一億")
97
+ expect(100000000000.to_j(:all)).to eq("一千億")
98
+ expect(100100000000.to_j(:all)).to eq("一千一億")
99
+ expect(101000000000.to_j(:all)).to eq("一千十億")
100
+ expect(101100000000.to_j(:all)).to eq("一千十一億")
101
+ expect(110000000000.to_j(:all)).to eq("一千百億")
102
+ expect(110100000000.to_j(:all)).to eq("一千百一億")
103
+ expect(111000000000.to_j(:all)).to eq("一千百十億")
104
+ expect(111100000000.to_j(:all)).to eq("一千百十一億")
105
+ expect(370060178930.to_j(:all)).to eq("三千七百億六千十七万八千九百三十")
106
+ end
107
+
108
+ it "between 1兆 - 1垓" do
109
+ 1000000000000.to_j(:all).should == "一兆"
110
+ 1000000000001.to_j(:all).should == "一兆一"
111
+ 1000100010001.to_j(:all).should == "一兆一億一万一"
112
+ 2000000000000.to_j(:all).should == "二兆"
113
+ 10000000000000000.to_j(:all).should == "一京"
114
+ 10000000000000001.to_j(:all).should == "一京一"
115
+ 10001000000000001.to_j(:all).should == "一京一兆一"
116
+ 12345678912345678.to_j(:all).should == "一京二千三百四十五兆六千七百八十九億一千二百三十四万五千六百七十八"
117
+ 100000000000000000000.to_j(:all).should == "一垓"
118
+ end
119
+ end
120
+
121
+ describe "test to_j positional option" do
122
+ it "between 0 - 9999" do
123
+ expect(0.to_j).to eq("0")
124
+ expect(1.to_j).to eq("1")
125
+ expect(2.to_j).to eq("2")
126
+ expect(3.to_j).to eq("3")
127
+ expect(4.to_j).to eq("4")
128
+ expect(5.to_j).to eq("5")
129
+ expect(6.to_j).to eq("6")
130
+ expect(7.to_j).to eq("7")
131
+ expect(8.to_j).to eq("8")
132
+ expect(9.to_j).to eq("9")
133
+ expect(10.to_j).to eq("10")
134
+ expect(33.to_j).to eq("33")
135
+ expect(77.to_j).to eq("77")
136
+ expect(99.to_j).to eq("99")
137
+ expect(100.to_j).to eq("100")
138
+ expect(101.to_j).to eq("101")
139
+ expect(108.to_j).to eq("108")
140
+ expect(110.to_j).to eq("110")
141
+ expect(111.to_j).to eq("111")
142
+ expect(285.to_j).to eq("285")
143
+ expect(330.to_j).to eq("330")
144
+ expect(777.to_j).to eq("777")
145
+ expect(999.to_j).to eq("999")
146
+ expect(1000.to_j).to eq("1000")
147
+ expect(1001.to_j).to eq("1001")
148
+ expect(1011.to_j).to eq("1011")
149
+ expect(1111.to_j).to eq("1111")
150
+ expect(2013.to_j).to eq("2013")
151
+ expect(3333.to_j).to eq("3333")
152
+ expect(9999.to_j).to eq("9999")
153
+ end
154
+
155
+ it "between 10000 - 999999999999" do
156
+ expect(10000.to_j).to eq("1万")
157
+ expect(10001.to_j).to eq("1万1")
158
+ expect(10011.to_j).to eq("1万11")
159
+ expect(10100.to_j).to eq("1万100")
160
+ expect(10101.to_j).to eq("1万101")
161
+ expect(10111.to_j).to eq("1万111")
162
+ expect(11000.to_j).to eq("1万1000")
163
+ expect(11001.to_j).to eq("1万1001")
164
+ expect(11010.to_j).to eq("1万1010")
165
+ expect(11011.to_j).to eq("1万1011")
166
+ expect(11111.to_j).to eq("1万1111")
167
+ expect(12345.to_j).to eq("1万2345")
168
+ expect(100000.to_j).to eq("10万")
169
+ expect(100001.to_j).to eq("10万1")
170
+ expect(100010.to_j).to eq("10万10")
171
+ expect(100011.to_j).to eq("10万11")
172
+ expect(100100.to_j).to eq("10万100")
173
+ expect(100101.to_j).to eq("10万101")
174
+ expect(100110.to_j).to eq("10万110")
175
+ expect(100111.to_j).to eq("10万111")
176
+ expect(101000.to_j).to eq("10万1000")
177
+ expect(101001.to_j).to eq("10万1001")
178
+ expect(101010.to_j).to eq("10万1010")
179
+ expect(101011.to_j).to eq("10万1011")
180
+ expect(101100.to_j).to eq("10万1100")
181
+ expect(101101.to_j).to eq("10万1101")
182
+ expect(101110.to_j).to eq("10万1110")
183
+ expect(101111.to_j).to eq("10万1111")
184
+ expect(110000.to_j).to eq("11万")
185
+ expect(330030.to_j).to eq("33万30")
186
+ expect(1000000.to_j).to eq("100万")
187
+ expect(1000001.to_j).to eq("100万1")
188
+ expect(1001001.to_j).to eq("100万1001")
189
+ expect(1010000.to_j).to eq("101万")
190
+ expect(1100000.to_j).to eq("110万")
191
+ expect(1110000.to_j).to eq("111万")
192
+ expect(7770000.to_j).to eq("777万")
193
+ expect(10000000.to_j).to eq("1000万")
194
+ expect(10010000.to_j).to eq("1001万")
195
+ expect(10100000.to_j).to eq("1010万")
196
+ expect(10110000.to_j).to eq("1011万")
197
+ expect(11000000.to_j).to eq("1100万")
198
+ expect(11010000.to_j).to eq("1101万")
199
+ expect(11100000.to_j).to eq("1110万")
200
+ expect(11110000.to_j).to eq("1111万")
201
+ expect(30030030.to_j).to eq("3003万30")
202
+ expect(33333333.to_j).to eq("3333万3333")
203
+ expect(100000000.to_j).to eq("1億")
204
+ expect(1000000000.to_j).to eq("10億")
205
+ expect(1100000000.to_j).to eq("11億")
206
+ expect(10000000000.to_j).to eq("100億")
207
+ expect(10100000000.to_j).to eq("101億")
208
+ expect(11000000000.to_j).to eq("110億")
209
+ expect(11100000000.to_j).to eq("111億")
210
+ expect(100000000000.to_j).to eq("1000億")
211
+ expect(100100000000.to_j).to eq("1001億")
212
+ expect(101000000000.to_j).to eq("1010億")
213
+ expect(101100000000.to_j).to eq("1011億")
214
+ expect(110000000000.to_j).to eq("1100億")
215
+ expect(110100000000.to_j).to eq("1101億")
216
+ expect(111000000000.to_j).to eq("1110億")
217
+ expect(111100000000.to_j).to eq("1111億")
218
+ expect(370060178930.to_j).to eq("3700億6017万8930")
219
+ end
220
+
221
+ it "between 1兆 - 1垓" do
222
+ expect(1000000000000.to_j).to eq("1兆")
223
+ expect(1000000000001.to_j).to eq("1兆1")
224
+ expect(1000100010001.to_j).to eq("1兆1億1万1")
225
+ expect(2000000000000.to_j).to eq("2兆")
226
+ expect(10000000000000000.to_j).to eq("1京")
227
+ expect(10000000000000001.to_j).to eq("1京1")
228
+ expect(10001000000000001.to_j).to eq("1京1兆1")
229
+ expect(12345678912345678.to_j).to eq("1京2345兆6789億1234万5678")
230
+ expect(100000000000000000000.to_j).to eq("1垓")
231
+ end
232
+ end
233
+ end
data/yen.gemspec ADDED
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'yen/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "yen"
8
+ spec.version = Yen::VERSION
9
+ spec.authors = ["siman-man"]
10
+ spec.email = ["k128585@ie.u-ryukyu.ac.jp"]
11
+ spec.description = "this is convert integer to yen."
12
+ spec.summary = "this is convert integer to yen."
13
+ spec.homepage = "https://github.com/siman-man/yen"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.3"
22
+ spec.add_development_dependency "rake"
23
+ spec.add_development_dependency "rspec"
24
+ end
metadata ADDED
@@ -0,0 +1,100 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: yen
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - siman-man
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-09-21 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.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: this is convert integer to yen.
56
+ email:
57
+ - k128585@ie.u-ryukyu.ac.jp
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - .gitignore
63
+ - Gemfile
64
+ - LICENSE.txt
65
+ - README.md
66
+ - Rakefile
67
+ - example/sample.rb
68
+ - lib/yen.rb
69
+ - lib/yen/version.rb
70
+ - spec/spec_helper.rb
71
+ - spec/yen/yen_spec.rb
72
+ - yen.gemspec
73
+ homepage: https://github.com/siman-man/yen
74
+ licenses:
75
+ - MIT
76
+ metadata: {}
77
+ post_install_message:
78
+ rdoc_options: []
79
+ require_paths:
80
+ - lib
81
+ required_ruby_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ required_rubygems_version: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - '>='
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ requirements: []
92
+ rubyforge_project:
93
+ rubygems_version: 2.0.3
94
+ signing_key:
95
+ specification_version: 4
96
+ summary: this is convert integer to yen.
97
+ test_files:
98
+ - spec/spec_helper.rb
99
+ - spec/yen/yen_spec.rb
100
+ has_rdoc: