mumboe-currency 0.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.
- data/bin/currency_historical_rate_load +105 -0
- data/examples/ex1.rb +13 -0
- data/examples/xe1.rb +20 -0
- data/lib/currency/active_record.rb +265 -0
- data/lib/currency/config.rb +91 -0
- data/lib/currency/core_extensions.rb +41 -0
- data/lib/currency/currency/factory.rb +228 -0
- data/lib/currency/currency.rb +175 -0
- data/lib/currency/currency_version.rb +6 -0
- data/lib/currency/exception.rb +119 -0
- data/lib/currency/exchange/rate/deriver.rb +157 -0
- data/lib/currency/exchange/rate/source/base.rb +166 -0
- data/lib/currency/exchange/rate/source/failover.rb +63 -0
- data/lib/currency/exchange/rate/source/federal_reserve.rb +160 -0
- data/lib/currency/exchange/rate/source/historical/rate.rb +184 -0
- data/lib/currency/exchange/rate/source/historical/rate_loader.rb +186 -0
- data/lib/currency/exchange/rate/source/historical/writer.rb +220 -0
- data/lib/currency/exchange/rate/source/historical.rb +79 -0
- data/lib/currency/exchange/rate/source/new_york_fed.rb +127 -0
- data/lib/currency/exchange/rate/source/provider.rb +120 -0
- data/lib/currency/exchange/rate/source/test.rb +50 -0
- data/lib/currency/exchange/rate/source/the_financials.rb +191 -0
- data/lib/currency/exchange/rate/source/timed_cache.rb +198 -0
- data/lib/currency/exchange/rate/source/xe.rb +165 -0
- data/lib/currency/exchange/rate/source.rb +89 -0
- data/lib/currency/exchange/rate.rb +214 -0
- data/lib/currency/exchange/time_quantitizer.rb +111 -0
- data/lib/currency/exchange.rb +50 -0
- data/lib/currency/formatter.rb +290 -0
- data/lib/currency/macro.rb +321 -0
- data/lib/currency/money.rb +295 -0
- data/lib/currency/money_helper.rb +13 -0
- data/lib/currency/parser.rb +151 -0
- data/lib/currency.rb +143 -0
- data/test/string_test.rb +54 -0
- data/test/test_base.rb +44 -0
- metadata +90 -0
metadata
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mumboe-currency
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: "0.5"
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mike Bradford
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-07-17 00:00:00 -05:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: Extended version of currency gem on RubyForge to handle all currency symbols listed on xe.com/symbols.php
|
17
|
+
email: mbradford@mumboe.com
|
18
|
+
executables:
|
19
|
+
- currency_historical_rate_load
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files: []
|
23
|
+
|
24
|
+
files:
|
25
|
+
- bin/currency_historical_rate_load
|
26
|
+
- examples/ex1.rb
|
27
|
+
- examples/xe1.rb
|
28
|
+
- lib/currency/active_record.rb
|
29
|
+
- lib/currency/config.rb
|
30
|
+
- lib/currency/core_extensions.rb
|
31
|
+
- lib/currency/currency/factory.rb
|
32
|
+
- lib/currency/currency.rb
|
33
|
+
- lib/currency/currency_version.rb
|
34
|
+
- lib/currency/exception.rb
|
35
|
+
- lib/currency/exchange/rate/deriver.rb
|
36
|
+
- lib/currency/exchange/rate/source/base.rb
|
37
|
+
- lib/currency/exchange/rate/source/failover.rb
|
38
|
+
- lib/currency/exchange/rate/source/federal_reserve.rb
|
39
|
+
- lib/currency/exchange/rate/source/historical/rate.rb
|
40
|
+
- lib/currency/exchange/rate/source/historical/rate_loader.rb
|
41
|
+
- lib/currency/exchange/rate/source/historical/writer.rb
|
42
|
+
- lib/currency/exchange/rate/source/historical.rb
|
43
|
+
- lib/currency/exchange/rate/source/new_york_fed.rb
|
44
|
+
- lib/currency/exchange/rate/source/provider.rb
|
45
|
+
- lib/currency/exchange/rate/source/test.rb
|
46
|
+
- lib/currency/exchange/rate/source/the_financials.rb
|
47
|
+
- lib/currency/exchange/rate/source/timed_cache.rb
|
48
|
+
- lib/currency/exchange/rate/source/xe.rb
|
49
|
+
- lib/currency/exchange/rate/source.rb
|
50
|
+
- lib/currency/exchange/rate.rb
|
51
|
+
- lib/currency/exchange/time_quantitizer.rb
|
52
|
+
- lib/currency/exchange.rb
|
53
|
+
- lib/currency/formatter.rb
|
54
|
+
- lib/currency/macro.rb
|
55
|
+
- lib/currency/money.rb
|
56
|
+
- lib/currency/money_helper.rb
|
57
|
+
- lib/currency/parser.rb
|
58
|
+
- lib/currency.rb
|
59
|
+
- test/string_test.rb
|
60
|
+
- test/test_base.rb
|
61
|
+
has_rdoc: true
|
62
|
+
homepage: http://rubyforge.org/projects/currency/
|
63
|
+
licenses: []
|
64
|
+
|
65
|
+
post_install_message:
|
66
|
+
rdoc_options: []
|
67
|
+
|
68
|
+
require_paths:
|
69
|
+
- lib
|
70
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: "0"
|
75
|
+
version:
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: "0"
|
81
|
+
version:
|
82
|
+
requirements: []
|
83
|
+
|
84
|
+
rubyforge_project:
|
85
|
+
rubygems_version: 1.3.5
|
86
|
+
signing_key:
|
87
|
+
specification_version: 3
|
88
|
+
summary: Extends the RubyForge version to handle all currency symbols listed on xe.com/symbols.php.
|
89
|
+
test_files: []
|
90
|
+
|