fx_lib 0.1.4 → 0.1.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -3
  3. data/lib/fx_lib/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b406394b9aa855e1e42a9e5299fffad3870e2ef
4
- data.tar.gz: ec8c7bc219b8c16646d128e67372f3907e31dcac
3
+ metadata.gz: 5464e8d341a153ea204cfd1d533bf10a253f3c59
4
+ data.tar.gz: 873b52a3aa5322549d04ff2e33ceb38bfbe1593a
5
5
  SHA512:
6
- metadata.gz: 08e5ef887a5ded25f8d640f510e8f1385b483ea31cb2db245e3761a0da6e7ceb29785969c61f68210c8270d855249381e996c78ff711d0b052a1f741f0df9bd5
7
- data.tar.gz: 259994d47c491443c457aac1cc9b7d9675c0c723b12bc3044048f4a9f97c318a5ff6f24c69087a257ab20050ae3d75b116a9e190dd9d57946d7179e41c64a37c
6
+ metadata.gz: b98f557adaa070ca1a2c4c90d562da3a5e61bb187e6086e31def773644a664b042d076deafb24a192080b030e9cc981e2d46d7cc0851cd7b8036be68f0ef5037
7
+ data.tar.gz: 9b8e48008227c2427f9e141200beb3d75f59902b8e04b5871743adad9836cca451575c09cd0af02f20175da3f938d990e53b00e1f2a44931e07d41171e814606
data/README.md CHANGED
@@ -11,6 +11,7 @@ Add this line to your application's Gemfile:
11
11
  And then execute:
12
12
 
13
13
  $ rails generate fx_lib:migration
14
+ $ rake db:migrate
14
15
 
15
16
  To seed the database with current fx rates from xml file please run the following rake task
16
17
 
@@ -23,9 +24,9 @@ Or install it yourself as:
23
24
  ## Usage
24
25
 
25
26
  Methods:
26
- `FxLib::Exchange_Rate.at(Date, Base currency, Counter currency)`
27
- `FxLib::fetch_data_on(URL, Date)` - Fetch data for a particular date - cron jobs
28
- `FxLib::fetch_data(URL)` - Fetch, parse, store the feed
27
+ 1. `FxLib::Exchange_Rate.at(Date, Base currency, Counter currency)`
28
+ 2. `FxLib::fetch_data_on(URL, Date)` - Fetch data for a particular date - cron jobs
29
+ 3. `FxLib::fetch_data(URL)` - Fetch, parse, store the feed
29
30
 
30
31
  ## Contributing
31
32
 
@@ -1,3 +1,3 @@
1
1
  module FxLib
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fx_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - hsu