diff --git a/lib/bank/feed.rb b/lib/bank/feed.rb index 07f6163..59b90cb 100644 --- a/lib/bank/feed.rb +++ b/lib/bank/feed.rb @@ -47,7 +47,7 @@ module Bank end def url - URI("http://www.ecb.europa.eu/stats/eurofxref/eurofxref-#{@scope}.xml") + URI("https://www.ecb.europa.eu/stats/eurofxref/eurofxref-#{@scope}.xml") end end end diff --git a/spec/vcr_cassettes/feed.yml b/spec/vcr_cassettes/feed.yml index e0c70bc..8df3afe 100644 --- a/spec/vcr_cassettes/feed.yml +++ b/spec/vcr_cassettes/feed.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml + uri: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml body: encoding: US-ASCII string: '' @@ -34,8 +34,8 @@ http_interactions: - BIGipServerPOOL.www.ecb.europa.eu_HTTP=1376260780.16415.0000; path=/ body: encoding: US-ASCII - string: ! "\n\n\tReference + string: ! "\n\n\tReference rates\n\t\n\t\tEuropean Central Bank\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\n" - http_version: + http_version: recorded_at: Tue, 20 Nov 2012 13:04:39 GMT - request: method: get - uri: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml + uri: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml body: encoding: US-ASCII string: '' @@ -91,8 +91,8 @@ http_interactions: - BIGipServerPOOL.www.ecb.europa.eu_HTTP=1342706348.16415.0000; path=/ body: encoding: US-ASCII - string: ! "\n\n\tReference + string: ! "\n\n\tReference rates\n\t\n\t\tEuropean Central Bank\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\n" - http_version: + http_version: recorded_at: Tue, 20 Nov 2012 13:04:39 GMT - request: method: get - uri: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml + uri: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml body: encoding: US-ASCII string: '' @@ -148,8 +148,8 @@ http_interactions: - BIGipServerPOOL.www.ecb.europa.eu_HTTP=1359483564.16415.0000; path=/ body: encoding: US-ASCII - string: ! 'Reference + string: ! 'Reference ratesEuropean Central Bank' - http_version: + http_version: recorded_at: Tue, 20 Nov 2012 13:06:23 GMT - request: method: get - uri: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml + uri: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml body: encoding: US-ASCII string: '' @@ -1146,8 +1146,8 @@ http_interactions: - BIGipServerPOOL.www.ecb.europa.eu_HTTP=1342706348.16415.0000; path=/ body: encoding: US-ASCII - string: ! 'Reference + string: ! 'Reference ratesEuropean Central Bank' - http_version: + http_version: recorded_at: Tue, 20 Nov 2012 13:06:23 GMT - request: method: get - uri: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist.xml + uri: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist.xml body: encoding: US-ASCII string: '' @@ -2144,8 +2144,8 @@ http_interactions: - BIGipServerPOOL.www.ecb.europa.eu_HTTP=1359483564.16415.0000; path=/ body: encoding: US-ASCII - string: Reference + string: Reference ratesEuropean Central Bank - http_version: + http_version: recorded_at: Tue, 20 Nov 2012 13:06:28 GMT - request: method: get - uri: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist.xml + uri: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist.xml body: encoding: US-ASCII string: '' @@ -48666,8 +48666,8 @@ http_interactions: - BIGipServerPOOL.www.ecb.europa.eu_HTTP=1359483564.16415.0000; path=/ body: encoding: US-ASCII - string: Reference + string: Reference ratesEuropean Central Bank - http_version: + http_version: recorded_at: Tue, 20 Nov 2012 13:06:34 GMT recorded_with: VCR 2.2.4