currency_quote 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 612adc220b92ef9731f4542a260feed46dbd1af40d2c02ce2ca1fece1ea317dc
4
- data.tar.gz: 25daa5f77c54fdd8f0a13a03d4f68eb5f14f6ba5f45406e7bbedba5ededb5b77
3
+ metadata.gz: 6eb28e36b9639588febc4fb586d7427b948174992ed74a8eb0cb2710e44f6003
4
+ data.tar.gz: e6a0b640af6bd565680e2ada442cca52311834e824964b2cea8538d9114485f8
5
5
  SHA512:
6
- metadata.gz: fc7f2763977394e81b95b57fb961c8106b7607425d4fa9de12cb10b2e1e13f54ce911bb2c72cb63f94f0b05fcbb6e97dac5290af4be0e9efbc59576b1e4e601a
7
- data.tar.gz: '0421195e6b5f4c9f5849865acfd15efceb659a6792b87d7bd5c98010b763c1e21ee49e68f1f073b8f30cc0c2dbd1695f72f66430d23609018fcc88620bf322ff'
6
+ metadata.gz: fb1fb334786f7451e88d6d1484e60f22d8c519a3d992f27438d26cd1f5d7c44a52af1532a52d35fc44ef35ce76f1a30460695238782a33dc9d0408ea11d8741d
7
+ data.tar.gz: fb9793f9fc5c6cb51aee4491d5374445ad837a4d3c09c7a17483a4cc17aef6c8f4967852bd05e20a356bf0a35644b1ed2c00def53aba000b58c5244e670dd722
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- currency_quote (0.1.3)
4
+ currency_quote (0.1.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -35,8 +35,8 @@ class CurrencyQuote::Dolar
35
35
  def extract_data
36
36
  data = @doc.css("td").map(&:text)
37
37
  @date = data[data.size - 1]
38
- @sell = data[data.size - 2].to_f
39
- @buy = data[data.size - 3].to_f
38
+ @sell = data[data.size - 2].gsub(",", ".").to_f
39
+ @buy = data[data.size - 3].gsub(",", ".").to_f
40
40
  end
41
41
 
42
42
  def struct
@@ -1,3 +1,3 @@
1
1
  module CurrencyQuote
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: currency_quote
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
  - Facundo A. Díaz Martínez