historic_bank_rates 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/historic_bank_rates.rb +1 -1
- data/lib/historic_bank_rates/bank_scrapers/bank_of_tanzania.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe307728215d02c3332234f82ec6e895666868ef
|
4
|
+
data.tar.gz: 8b92c57bcd224ea49966373874155941636f5b5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d3251b5912c43c4e8726150d86abc91a6e7f963b3bb10d13880d476273b0e81936db9ba3044b233e2d6f3acf1346b497f5359ac34056d6f0272f10f605d7b25
|
7
|
+
data.tar.gz: 19d8d0d4f56481b069658268cc1133e5111849a3d1a71aafe781489ce51af95de04333979e452512b0574c7aaf83a3f5f88d99612bc557f8005970931b656833
|
data/README.md
CHANGED
@@ -28,7 +28,7 @@ Or install it yourself as:
|
|
28
28
|
### Initialize (NOTE: the date used can affect the success of the import! method)
|
29
29
|
|
30
30
|
```ruby
|
31
|
-
scraper = HistoricBankRates::
|
31
|
+
scraper = HistoricBankRates::BankScrapers::CentralBankOfKenya.new
|
32
32
|
hbr = HistoricBankRates::Rates.new(scraper, Date.new(2016, 05, 30))
|
33
33
|
hbr.import! # => true
|
34
34
|
```
|
data/lib/historic_bank_rates.rb
CHANGED
@@ -58,7 +58,7 @@ module HistoricBankRates
|
|
58
58
|
end
|
59
59
|
|
60
60
|
def form_url
|
61
|
-
@form_url ||= 'http://www.bot
|
61
|
+
@form_url ||= 'http://www.bot.go.tz/FinancialMarkets/ExchangeRates/ShowExchangeRates.asp'
|
62
62
|
end
|
63
63
|
|
64
64
|
def form_params
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: historic_bank_rates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Donkin
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
version: '0'
|
119
119
|
requirements: []
|
120
120
|
rubyforge_project:
|
121
|
-
rubygems_version: 2.
|
121
|
+
rubygems_version: 2.5.1
|
122
122
|
signing_key:
|
123
123
|
specification_version: 4
|
124
124
|
summary: Scrapes various bank websites to generate a list of currencies and their
|