sevenwire-money 2.3.0 → 2.3.1

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.
@@ -16,6 +16,9 @@ class Numeric
16
16
  end
17
17
  end
18
18
 
19
+ def to_micro_money
20
+ to_money(:millicents)
21
+ end
19
22
 
20
23
  def millicents
21
24
  MicroMoney.new(self).to_money
@@ -70,4 +73,8 @@ class String
70
73
  end
71
74
  end
72
75
 
76
+ def to_micro_money
77
+ to_money(:millicents)
78
+ end
79
+
73
80
  end
data/money.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "money"
3
- s.version = "2.3.0"
3
+ s.version = "2.3.1"
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.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Luetke