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 +6 -0
- data/README.txt +3 -3
- data/bigmoney.gemspec +3 -3
- data/lib/big_money/big_money.rb +1 -1
- metadata +3 -3
data/History.txt
CHANGED
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 =
|
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
|
-
*
|
43
|
+
* Via gem:
|
44
44
|
|
45
|
-
|
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.
|
4
|
-
s.date = "2008-
|
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
|
data/lib/big_money/big_money.rb
CHANGED
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.
|
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-
|
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
|
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.
|