fafx 0.1.5 → 0.1.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d27dba1cc52f91715a859be62830bc5be449bcdf
4
- data.tar.gz: ce559df98ee8bfd2bd657e0ee44c1f3ae43201cb
3
+ metadata.gz: 55db911858a337cfb8c6dbaf5f74442aacc9e88d
4
+ data.tar.gz: 4021b29cf40373b2df48807eda30ceadaec32623
5
5
  SHA512:
6
- metadata.gz: 4faa51d02cea954fa5df14d04da9a5ced884ae6d1b28fd1361b9af47adaba2330a401454f3e029c8ace7354d4f4df53775f706f923cd710e78ca1c7194e01f2d
7
- data.tar.gz: a242ca6e26616879c051ba4910d79fbe6e920539b4642cc52ed8d75c535d5af2049b6ed817ba50647e88b71afdeafbff856c2616e817d401fb52a8ddfc9ac8c1
6
+ metadata.gz: ddb2b486dd15d8affffdce65451358764c2f27e26d31590ee152f143244c4e7fd739b1a397a6a00a60470ecec287e8dde6d2b1b1abee2b843fb66fbc2f4bc3e1
7
+ data.tar.gz: 570d0f8d7d9bbf05da9d6eb2b1e9f2f89248153ea83487a600aebff16c8e3399e1e7ad9e8b4158852412a856715758e7f2ac1a96fbbec4b25ebda8615bc4ebf2
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fafx (0.1.5)
4
+ fafx (0.1.6)
5
5
  nokogiri (~> 1.8, >= 1.8.2)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -39,7 +39,7 @@ Fafx::ExchangeRate.most_recent
39
39
  # => {"USD"=>1.1571, "JPY"=>128.54, "BGN"=>1.9558, "CZK"=>25.648, ...}
40
40
  ```
41
41
 
42
- The `at` function may raise a `DateError` or `CurrencyError` exception, should the date or currency be unavailable.
42
+ The `at` function may raise a `DateError` or `CurrencyError` exception, should the date or currency be unavailable. Passing an object other than `Date` to `at` raises `DateError` as well.
43
43
 
44
44
  ## Updating the exchange rates data
45
45
 
data/bin/fafx CHANGED
@@ -36,7 +36,7 @@ begin
36
36
  when :dates
37
37
  puts Fafx::ExchangeRate.dates_available
38
38
  when :update
39
- Fafx::ExchangeRate.fetch_data_and_save_to_disk
39
+ Fafx::ExchangeRate.update_data
40
40
  puts 'Exchange rates data updated!'
41
41
  end
42
42
  end
@@ -1,3 +1,3 @@
1
1
  module Fafx
2
- VERSION = '0.1.5'.freeze
2
+ VERSION = '0.1.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fafx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Kair
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-16 00:00:00.000000000 Z
11
+ date: 2019-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler