sevenwire-money 2.3.4 → 2.3.5

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.
Files changed (3) hide show
  1. data/lib/money/money.rb +1 -1
  2. data/money.gemspec +1 -1
  3. metadata +1 -1
@@ -197,7 +197,7 @@ class Money
197
197
  # Output a money object as a string.
198
198
  # Example:
199
199
  # Money.new(100).to_s => "1.00"
200
- def to_s(precision)
200
+ def to_s(precision=nil)
201
201
  case precision
202
202
  when :tenths
203
203
  sprintf("%.3f", millicents.to_f / 100000)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "money"
3
- s.version = "2.3.4"
3
+ s.version = "2.3.5"
4
4
  s.summary = "Money and MicroMoney with currency exchange support library"
5
5
  s.email = "brandon@sevenwire.com"
6
6
  s.homepage = "http://github.com/sevenwire/money"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sevenwire-money
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.4
4
+ version: 2.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Luetke