currency_quote 0.1.9 → 0.2.0

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: cc4814120128afe37b38292105c3440ea4c6e99238acf18308a95136df72bbd3
4
- data.tar.gz: 3360ae9c8b53711d3c0441c904819e70b851d6b5a351e43b04fa2d56c9ffd1b2
3
+ metadata.gz: 1445f01c79f6c6c01212e23d903b698fd6e0df3ef8ecff16b4be35beae436f35
4
+ data.tar.gz: 0361676c60c807d0ca818df20e727fc6564ccd61fa1ac5c4886af584f550b054
5
5
  SHA512:
6
- metadata.gz: 1b0a41373d31330d6a7d3e78e3a275d2d9cddf94ad5fc3f01121d49e396bba314d0155f9029773b871ecf4e5a2910ba37def74a80433ec577c18a2f27c71a32c
7
- data.tar.gz: dfdd244d4c187b482b07b8d1d0d742a810b4d28216f700e092d9c5eca846e452979ccaa6a689f0b252175a6bccb655bb1edbfa3d203503c88d08cbe2cff36cc8
6
+ metadata.gz: cb3e9f08a61b26e866ff2f5271affc5e497defd88c8d22d1304be914b5e99220a7d7f3dbe2b112df9a551348249b1848341c58f7b9faa147a66786a9a4be12de
7
+ data.tar.gz: 80c1a02737311812074bd7977d6409e06aea639408e7fe42ae7bf6b40dfa0e98e9c74fe89ad3f560703004d57241a726fadce46ce5aaac65e884f9a317361035
@@ -1,7 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- currency_quote (0.1.8)
4
+ currency_quote (0.1.9)
5
+ addressable
6
+ nokogiri
5
7
 
6
8
  GEM
7
9
  remote: https://rubygems.org/
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  #spec.description = %q{TODO: Write a longer description or delete this line.}
11
11
  spec.homepage = "https://www.sesocio.com"
12
12
  spec.license = "MIT"
13
- spec.required_ruby_version = Gem::Requirement.new(">= 2.7.1")
13
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
14
14
 
15
15
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
16
16
 
@@ -32,7 +32,7 @@ class CurrencyQuote::Currency
32
32
 
33
33
  def make_get_to_bcra
34
34
  url = "#{BASE_URL}?date2=#{date}"
35
- @doc = Nokogiri::HTML( URI.open(url) )
35
+ @doc = Nokogiri::HTML( open(url) )
36
36
  end
37
37
 
38
38
  def get_currency_quotation
@@ -30,7 +30,7 @@ class CurrencyQuote::Dolar
30
30
  }
31
31
  url = "#{BASE_URL}?#{params.query}"
32
32
 
33
- @doc = Nokogiri::HTML( URI.open(url) )
33
+ @doc = Nokogiri::HTML( open(url) )
34
34
  end
35
35
 
36
36
  def extract_data
@@ -1,3 +1,3 @@
1
1
  module CurrencyQuote
2
- VERSION = "0.1.9"
2
+ VERSION = "0.2.0"
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.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facundo A. Díaz Martínez
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: 2.7.1
79
+ version: 2.4.0
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - ">="