currency 0.4.10 → 0.4.11
Sign up to get free protection for your applications and to get access to all the features.
- data/Releases.txt +6 -0
- data/lib/currency/currency_version.rb +1 -1
- data/lib/currency/parser.rb +6 -6
- metadata +12 -12
data/Releases.txt
CHANGED
data/lib/currency/parser.rb
CHANGED
@@ -63,9 +63,9 @@ class Currency::Parser
|
|
63
63
|
raise Currency::Exception::InvalidMoneyString,
|
64
64
|
[
|
65
65
|
"time: #{str.inspect} #{currency} #{x.inspect}",
|
66
|
-
:string
|
67
|
-
:currency
|
68
|
-
:state
|
66
|
+
:string, str,
|
67
|
+
:currency, currency,
|
68
|
+
:state, x,
|
69
69
|
]
|
70
70
|
end
|
71
71
|
x = md.pre_match + md.post_match
|
@@ -144,9 +144,9 @@ class Currency::Parser
|
|
144
144
|
raise ::Currency::Exception::InvalidMoneyString,
|
145
145
|
[
|
146
146
|
"#{str.inspect} #{currency} #{x.inspect}",
|
147
|
-
:string
|
148
|
-
:currency
|
149
|
-
:state
|
147
|
+
:string, str,
|
148
|
+
:currency, currency,
|
149
|
+
:state, x,
|
150
150
|
]
|
151
151
|
end
|
152
152
|
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: currency
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.4.
|
7
|
-
date: 2007-11-
|
6
|
+
version: 0.4.11
|
7
|
+
date: 2007-11-02 00:00:00 -05:00
|
8
8
|
summary: "Currency models currencies, monetary values, foreign exchanges rates. Pulls live and historical rates from http://xe.com/, http://newyorkfed.org/, http://thefinancials.com/. Can store/retrieve historical rate data from database using ActiveRecord. Can store/retrieve Money values using ActiveRecord. For more details, see: http://rubyforge.org/projects/currency/ http://currency.rubyforge.org/ http://currency.rubyforge.org/files/README_txt.html"
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -88,22 +88,22 @@ files:
|
|
88
88
|
- test/timed_cache_test.rb
|
89
89
|
- test/xe_test.rb
|
90
90
|
test_files:
|
91
|
-
- test/
|
91
|
+
- test/xe_test.rb
|
92
|
+
- test/money_test.rb
|
92
93
|
- test/test_base.rb
|
93
|
-
- test/parser_test.rb
|
94
|
-
- test/ar_test_core.rb
|
95
94
|
- test/ar_test_base.rb
|
95
|
+
- test/ar_column_test.rb
|
96
96
|
- test/ar_simple_test.rb
|
97
|
+
- test/macro_test.rb
|
98
|
+
- test/time_quantitizer_test.rb
|
99
|
+
- test/new_york_fed_test.rb
|
100
|
+
- test/ar_test_core.rb
|
101
|
+
- test/historical_writer_test.rb
|
97
102
|
- test/formatter_test.rb
|
98
|
-
- test/
|
99
|
-
- test/
|
103
|
+
- test/parser_test.rb
|
104
|
+
- test/config_test.rb
|
100
105
|
- test/timed_cache_test.rb
|
101
|
-
- test/historical_writer_test.rb
|
102
|
-
- test/ar_column_test.rb
|
103
|
-
- test/macro_test.rb
|
104
106
|
- test/federal_reserve_test.rb
|
105
|
-
- test/new_york_fed_test.rb
|
106
|
-
- test/time_quantitizer_test.rb
|
107
107
|
rdoc_options:
|
108
108
|
- --main
|
109
109
|
- README.txt
|