Skip to content

Commit

Permalink
Fix bug #13 reported by @stevenou.
Browse files Browse the repository at this point in the history
  • Loading branch information
phlegx committed Oct 17, 2022
1 parent a6ba272 commit b409f87
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/money/bank/currencylayer_bank.rb
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ def read_from_url
# Opens an url and reads the content
# @return [String] unparsed JSON content
def open_url
URI.open(source_url).read
currencylayer ? URI.open(source_url).read : URI.open(source_url, apikey: access_key).read
rescue OpenURI::HTTPError
''
Expand Down
2 changes: 1 addition & 1 deletion money-currencylayer-bank.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |s|
s.name = 'money-currencylayer-bank'
s.version = '0.7.0'
s.version = '0.7.1'
s.date = Time.now.utc.strftime('%Y-%m-%d')
s.homepage = "http://github.com/phlegx/#{s.name}"
s.authors = ['Egon Zemmer']
Expand Down

0 comments on commit b409f87

Please sign in to comment.