number_to_yen 0.1.0 → 0.1.1

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
2
  SHA1:
3
- metadata.gz: cd020005eff01385b01d43672f55c0fa9a8aabfd
4
- data.tar.gz: e6c2df27f61b1eb0fd254f8b6876bb9e67c33a1c
3
+ metadata.gz: 2deee0cd9d7d9b95513a6d490b04447c16944a90
4
+ data.tar.gz: 4f0151c989e25572c43e35ff9efd02811e9f9705
5
5
  SHA512:
6
- metadata.gz: d652695add064fdf152cce7f959e0d4cd959e5e382e3f0940308e51f2e27b178632bd3417b6567ea530b78d443716dd50963d9cf84b03168d7e074f23cf50c1e
7
- data.tar.gz: cc5b6863c21c6ab79b3fe7773acecccd5f622dfd3035c2703ef973ef59073f30e2e88171d142ef364dc0e215487935032398a1a626b18903f251414842b1db0b
6
+ metadata.gz: 6d4d373fec2603e5049eb4b8b6fff68c4c1198eab4efbd6a6a34659e6e09d91e0f5cc3c9be396a3d548a17853f4abe1dd693588aeb12ccad52c47b3165b93355
7
+ data.tar.gz: fd694a4021c5e9881f1c2c7a72731970cebc2d15f4d4b745a26c8a4ffa1420ff003c0ce244db4fb1f8904e3835878ca97e11c9c885632a742de287ad2556c031
data/README.md CHANGED
@@ -71,3 +71,17 @@ TODO: 記載する
71
71
  ## gem 'money' と併用する場合
72
72
 
73
73
  TODO: 記載する
74
+
75
+ ## Development
76
+
77
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
78
+
79
+ 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).
80
+
81
+ ## Contributing
82
+
83
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ttanimichi/number_to_yen
84
+
85
+ ## License
86
+
87
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -31,7 +31,7 @@ module NumberToYen
31
31
  private
32
32
 
33
33
  def units
34
- [
34
+ @units ||= [
35
35
  { value: basic_unit ** 4, name: '京' },
36
36
  { value: basic_unit ** 3, name: '兆' },
37
37
  { value: basic_unit ** 2, name: '億' },
@@ -1,3 +1,3 @@
1
1
  module NumberToYen
2
- VERSION = "0.1.0"
2
+ VERSION = '0.1.1'
3
3
  end
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.0
4
+ version: 0.1.1
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-19 00:00:00.000000000 Z
11
+ date: 2017-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler