money-historical-bank 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -39,6 +39,13 @@ Feel free to create a new loader (cf `OpenExchangeRatesLoader`) if you know a so
39
39
  Feel free to suggest refactoring.
40
40
 
41
41
  ## License
42
- The MIT License
42
+ This gem is available under the *MIT license*
43
43
 
44
- Copyright © 2011 Damien Couture <wam@atwam.com>
44
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
45
+
46
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
47
+
48
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
49
+
50
+
51
+ Copyright © 2012 Damien Couture <wam@atwam.com>
@@ -7,8 +7,8 @@ require 'open-uri'
7
7
  class Money
8
8
  module Bank
9
9
  module OpenExchangeRatesLoader
10
- HIST_URL = 'https://raw.github.com/currencybot/open-exchange-rates/master/historical/'
11
- OER_URL = 'https://raw.github.com/currencybot/open-exchange-rates/master/latest.json'
10
+ HIST_URL = 'http://openexchangerates.org/historical/'
11
+ OER_URL = 'http://openexchangerates.org/latest.json'
12
12
 
13
13
  # Tries to load data from OpenExchangeRates for the given rate.
14
14
  # Won't do anything if there's no data available for that date
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: money-historical-bank
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - Damien Couture
8
+ - atwam
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-05 00:00:00.000000000 Z
12
+ date: 2012-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: yajl-ruby
16
- requirement: &70115643698760 !ruby/object:Gem::Requirement
16
+ requirement: &70316487507440 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.8.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70115643698760
24
+ version_requirements: *70316487507440
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: money
27
- requirement: &70115643698120 !ruby/object:Gem::Requirement
27
+ requirement: &70316487512020 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 3.7.1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70115643698120
35
+ version_requirements: *70316487512020
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: minitest
38
- requirement: &70115643697640 !ruby/object:Gem::Requirement
38
+ requirement: &70316487531960 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '2.0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70115643697640
46
+ version_requirements: *70316487531960
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rr
49
- requirement: &70115643697080 !ruby/object:Gem::Requirement
49
+ requirement: &70316487543520 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 1.0.4
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70115643697080
57
+ version_requirements: *70316487543520
58
58
  description: A gem that provides rates for the money gem. Able to handle history (rates
59
59
  varying in time), and auto download rates from open-exchange-rates. Highly inspired
60
60
  by money-open-exchange-rates gem.
@@ -72,7 +72,7 @@ files:
72
72
  - test/historical_bank_test.rb
73
73
  - test/test.json
74
74
  - test/test_helper.rb
75
- homepage: http://github.com/coutud/money-historical-bank
75
+ homepage: http://github.com/atwam/money-historical-bank
76
76
  licenses: []
77
77
  post_install_message:
78
78
  rdoc_options: []