currency_quote 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/currency_quote/currency.rb +7 -9
- data/lib/currency_quote/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1faabc0feffe1d54943addd93fd452607884239c58081c11375e46de4ae3b11c
|
4
|
+
data.tar.gz: c628005d7f335e895128dd59c3c01b5ff0eed8cac5a8815af2176290684ca606
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85af2e02b7785d3ee83cd10c4fbb3d902947c2b39b3cd89fbe848b9988f682bcd430f9661fb8dd7724d00dd3d5f541d5b1792cdc60949958ce3332b2721a6354
|
7
|
+
data.tar.gz: 71cc8163e2aed87f4d5d8bd7bd1af1305db1ad1150f214fee2a5f09574855a39c373f223b8bea5d232a84ef4b1fb70618072bfcc7d6952e767890e00f2170517
|
data/Gemfile.lock
CHANGED
@@ -14,16 +14,14 @@ class CurrencyQuote::Currency
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def get_quotation
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
@sell = @buy = @quote = 0
|
24
|
-
end
|
25
|
-
return struct
|
17
|
+
begin
|
18
|
+
get_dolar_quotation
|
19
|
+
make_get_to_bcra
|
20
|
+
get_currency_quotation
|
21
|
+
rescue Timeout::Error => e
|
22
|
+
@sell = @buy = @quote = 0
|
26
23
|
end
|
24
|
+
return struct
|
27
25
|
end
|
28
26
|
|
29
27
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: currency_quote
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Facundo A. Díaz Martínez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|