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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 2deee0cd9d7d9b95513a6d490b04447c16944a90
4
- data.tar.gz: 4f0151c989e25572c43e35ff9efd02811e9f9705
2
+ SHA256:
3
+ metadata.gz: 3c6b8c788583c7f0e2e860702761d146501a44088f821d344fbea38347addef3
4
+ data.tar.gz: 21ace82f9e99995f03fb3fcefafb74f93a447ee35fef3960546fcd29bd9c663d
5
5
  SHA512:
6
- metadata.gz: 6d4d373fec2603e5049eb4b8b6fff68c4c1198eab4efbd6a6a34659e6e09d91e0f5cc3c9be396a3d548a17853f4abe1dd693588aeb12ccad52c47b3165b93355
7
- data.tar.gz: fd694a4021c5e9881f1c2c7a72731970cebc2d15f4d4b745a26c8a4ffa1420ff003c0ce244db4fb1f8904e3835878ca97e11c9c885632a742de287ad2556c031
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
- より簡潔に書けて便利ですがグローバル汚染でもあるため、helper の `number_to_yen` とコア拡張の `to_yen` どちらを使うかは個別に判断してください。
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
 
@@ -32,6 +32,7 @@ module NumberToYen
32
32
 
33
33
  def units
34
34
  @units ||= [
35
+ { value: basic_unit ** 5, name: '垓' },
35
36
  { value: basic_unit ** 4, name: '京' },
36
37
  { value: basic_unit ** 3, name: '兆' },
37
38
  { value: basic_unit ** 2, name: '億' },
@@ -1,3 +1,3 @@
1
1
  module NumberToYen
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
@@ -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+git@ttanimichi.com']
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.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: 2017-05-22 00:00:00.000000000 Z
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+git@ttanimichi.com
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.11
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円).