mroch-BigMoney 0.1.0 → 0.1.2

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.
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 0.1.1 / 2008-06-22
2
+
3
+ * Fixed documentation
4
+
5
+ * Added String#to_big_money and Numeric#to_big_money
6
+
1
7
  === 0.1.0 / 2008-06-21
2
8
 
3
9
  * Initial beta release
data/README.txt CHANGED
@@ -30,7 +30,7 @@ so is safe from float rounding errors.
30
30
  bm.to_formatted_s('$%.2f') #=> '$3.99'
31
31
  bm.to_formatted_s('$%.2f %s') #=> '$3.99 USD'
32
32
 
33
- bm2 = BigMoney.new(1)
33
+ bm2 = 1.to_big_money
34
34
  bm + bm2 #=> BigMoney.new(4.99)
35
35
  bm + 1 #=> BigMoney.new(4.99)
36
36
 
@@ -40,9 +40,9 @@ so is safe from float rounding errors.
40
40
 
41
41
  git clone git://github.com/mroch/bigmoney.git
42
42
 
43
- * From RubyForge: TBA
43
+ * Via gem:
44
44
 
45
- * Via gem: TBA
45
+ gem install mroch-BigMoney -s http://gems.github.com
46
46
 
47
47
  == LICENSE:
48
48
 
data/bigmoney.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "BigMoney"
3
- s.version = "0.1.0"
4
- s.date = "2008-06-21"
3
+ s.version = "0.1.2"
4
+ s.date = "2008-08-09"
5
5
  s.summary = "Represents an amount of money in a particular currency."
6
6
  s.email = "mroch@cmu.edu"
7
7
  s.homepage = "http://github.com/mroch/bigmoney"
@@ -24,4 +24,4 @@ Gem::Specification.new do |s|
24
24
  # s.rdoc_options = ["--main", "README.txt"]
25
25
  # s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.txt"]
26
26
  # s.add_dependency("mime-types", ["> 0.0.0"])
27
- end
27
+ end
@@ -1,7 +1,7 @@
1
1
  require 'bigdecimal'
2
2
 
3
3
  class BigMoney
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
 
6
6
  class MoneyError < StandardError ; end
7
7
  class UncomparableCurrency < MoneyError ; end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mroch-BigMoney
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marshall Roch
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-06-21 00:00:00 -07:00
12
+ date: 2008-08-09 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  requirements: []
55
55
 
56
56
  rubyforge_project:
57
- rubygems_version: 1.0.1
57
+ rubygems_version: 1.2.0
58
58
  signing_key:
59
59
  specification_version: 2
60
60
  summary: Represents an amount of money in a particular currency.