currencies 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
- # DO NOT EDIT THIS FILE
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{currencies}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["hexorx"]
12
- s.date = %q{2010-02-19}
12
+ s.date = %q{2010-03-30}
13
13
  s.description = %q{If you are tracking any kind of assets the currencies gem is for you. It contains every currency in the ISO 4217 standard and allows you to add your own as well. So if you decide to take sparkly buttons as a form of payment you can use currencies to display the shiny button unicode symbol ☼ (disclaimer: ☼ may not look like a shiny button to everyone.) when used with something like the money gem. Speaking of the money gem, currencies gives you an ExchangeBank that the money gem can use to convert from one currency to another. There are plans to have ExchangeRate provider plugin system. Right now the rates are either set manually or pulled from Yahoo Finance.}
14
14
  s.email = %q{hexorx@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -36,7 +36,7 @@ Gem::Specification.new do |s|
36
36
  s.homepage = %q{http://github.com/hexorx/currencies}
37
37
  s.rdoc_options = ["--charset=UTF-8"]
38
38
  s.require_paths = ["lib"]
39
- s.rubygems_version = %q{1.3.5}
39
+ s.rubygems_version = %q{1.3.6}
40
40
  s.summary = %q{Simple gem for working with currencies. It is extracted from the countries gem and contains all the currency information in the ISO 4217 standard.}
41
41
  s.test_files = [
42
42
  "spec/currency_spec.rb",
@@ -60,3 +60,4 @@ Gem::Specification.new do |s|
60
60
  s.add_dependency(%q<yard>, [">= 0"])
61
61
  end
62
62
  end
63
+
@@ -1,3 +1,5 @@
1
+ require 'thread'
2
+
1
3
  class Currency
2
4
  class ExchangeBank
3
5
  def self.instance
@@ -399,12 +399,7 @@ LRD:
399
399
  name: Dollars
400
400
  symbol: $
401
401
  unicode_hex: 36
402
- LSL:
403
- alt_currency:
404
- code: ZAR
405
- name: Rand
406
- symbol: R
407
- unicode_hex: 82
402
+ LSL:
408
403
  code: LSL
409
404
  name: Maloti
410
405
  LTL:
@@ -464,19 +459,14 @@ MYR:
464
459
  unicode_hex:
465
460
  - 82
466
461
  - 77
467
- MZN:
462
+ MZN:
468
463
  code: MZN
469
464
  name: Meticals
470
465
  symbol: MT
471
466
  unicode_hex:
472
467
  - 77
473
468
  - 84
474
- NAD:
475
- alt_currency:
476
- code: ZAR
477
- name: Rand
478
- symbol: R
479
- unicode_hex: 82
469
+ NAD:
480
470
  code: NAD
481
471
  name: Dollars
482
472
  symbol: $
@@ -515,12 +505,7 @@ OMR:
515
505
  name: Riais
516
506
  symbol: ﷼
517
507
  unicode_hex: 65020
518
- PAB:
519
- alt_currency:
520
- code: USD
521
- name: Dollars
522
- symbol: $
523
- unicode_hex: 36
508
+ PAB:
524
509
  code: PAB
525
510
  name: Balboa
526
511
  symbol: B/.
@@ -662,14 +647,6 @@ THB:
662
647
  symbol: ฿
663
648
  unicode_hex: 3647
664
649
  TJS:
665
- alt_currency:
666
- code: RUB
667
- name: Rubles
668
- symbol: руб
669
- unicode_hex:
670
- - 1088
671
- - 1091
672
- - 1073
673
650
  code: TJS
674
651
  name: Somoni
675
652
  TND:
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: currencies
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 2
8
+ - 1
9
+ version: 0.2.1
5
10
  platform: ruby
6
11
  authors:
7
12
  - hexorx
@@ -9,29 +14,33 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-02-19 00:00:00 -07:00
17
+ date: 2010-03-30 00:00:00 -06:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: rspec
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
23
29
  version: "0"
24
- version:
30
+ type: :development
31
+ version_requirements: *id001
25
32
  - !ruby/object:Gem::Dependency
26
33
  name: yard
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
34
+ prerelease: false
35
+ requirement: &id002 !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - ">="
32
38
  - !ruby/object:Gem::Version
39
+ segments:
40
+ - 0
33
41
  version: "0"
34
- version:
42
+ type: :development
43
+ version_requirements: *id002
35
44
  description: "If you are tracking any kind of assets the currencies gem is for you. It contains every currency in the ISO 4217 standard and allows you to add your own as well. So if you decide to take sparkly buttons as a form of payment you can use currencies to display the shiny button unicode symbol \xE2\x98\xBC (disclaimer: \xE2\x98\xBC may not look like a shiny button to everyone.) when used with something like the money gem. Speaking of the money gem, currencies gives you an ExchangeBank that the money gem can use to convert from one currency to another. There are plans to have ExchangeRate provider plugin system. Right now the rates are either set manually or pulled from Yahoo Finance."
36
45
  email: hexorx@gmail.com
37
46
  executables: []
@@ -70,18 +79,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
70
79
  requirements:
71
80
  - - ">="
72
81
  - !ruby/object:Gem::Version
82
+ segments:
83
+ - 0
73
84
  version: "0"
74
- version:
75
85
  required_rubygems_version: !ruby/object:Gem::Requirement
76
86
  requirements:
77
87
  - - ">="
78
88
  - !ruby/object:Gem::Version
89
+ segments:
90
+ - 0
79
91
  version: "0"
80
- version:
81
92
  requirements: []
82
93
 
83
94
  rubyforge_project:
84
- rubygems_version: 1.3.5
95
+ rubygems_version: 1.3.6
85
96
  signing_key:
86
97
  specification_version: 3
87
98
  summary: Simple gem for working with currencies. It is extracted from the countries gem and contains all the currency information in the ISO 4217 standard.