number_to_yen 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -13
- data/lib/number_to_yen/converter.rb +1 -0
- data/lib/number_to_yen/version.rb +1 -1
- data/number_to_yen.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3c6b8c788583c7f0e2e860702761d146501a44088f821d344fbea38347addef3
|
4
|
+
data.tar.gz: 21ace82f9e99995f03fb3fcefafb74f93a447ee35fef3960546fcd29bd9c663d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b59b911474100dbb34fbfd56ecddf6938d507568aaae577b3291622eae652c0b24ba5abe830787b76cd6d1a9efbe1a55cc0650fc91315019bc3d5132cd189f3
|
7
|
+
data.tar.gz: 618952efc8d4e9e2f4947503cb16dfaf7be6331eae0c566ff835801272b51f31dbad5de05596cd4064721140352ed3ecf2d781a48af8552ec799084984a0a49b
|
data/README.md
CHANGED
@@ -58,19 +58,7 @@ gem 'number_to_yen', require: 'number_to_yen/core_ext'
|
|
58
58
|
1234567890.to_yen # => "12億3,456万7,890円"
|
59
59
|
```
|
60
60
|
|
61
|
-
|
62
|
-
|
63
|
-
## `number_to_ja` と `Numeric#to_ja`
|
64
|
-
|
65
|
-
TODO: 記載する
|
66
|
-
|
67
|
-
## gem 'draper' と併用する場合
|
68
|
-
|
69
|
-
TODO: 記載する
|
70
|
-
|
71
|
-
## gem 'money' と併用する場合
|
72
|
-
|
73
|
-
TODO: 記載する
|
61
|
+
より簡潔に書けて便利ですが、helper の `number_to_yen` とコア拡張の `to_yen` どちらを使うかは個別に判断してください。
|
74
62
|
|
75
63
|
## Development
|
76
64
|
|
data/number_to_yen.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = 'number_to_yen'
|
7
7
|
spec.version = NumberToYen::VERSION
|
8
8
|
spec.authors = ['Tsukuru Tanimichi']
|
9
|
-
spec.email = ['info
|
9
|
+
spec.email = ['info@ttanimichi.com']
|
10
10
|
|
11
11
|
spec.summary = 'Formats a number into a Japanese Yen string (e.g., 12万3,456円).'
|
12
12
|
spec.homepage = 'https://github.com/ttanimichi/number_to_yen'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: number_to_yen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tsukuru Tanimichi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -68,7 +68,7 @@ dependencies:
|
|
68
68
|
version: '0'
|
69
69
|
description:
|
70
70
|
email:
|
71
|
-
- info
|
71
|
+
- info@ttanimichi.com
|
72
72
|
executables:
|
73
73
|
- number_to_yen
|
74
74
|
extensions: []
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
112
|
rubyforge_project:
|
113
|
-
rubygems_version: 2.6
|
113
|
+
rubygems_version: 2.7.6
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: Formats a number into a Japanese Yen string (e.g., 12万3,456円).
|