{"action":"created","issue":{"url":"https://api.github.com/repos/RubyMoney/eu_central_bank/issues/82","repository_url":"https://api.github.com/repos/RubyMoney/eu_central_bank","labels_url":"https://api.github.com/repos/RubyMoney/eu_central_bank/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/RubyMoney/eu_central_bank/issues/82/comments","events_url":"https://api.github.com/repos/RubyMoney/eu_central_bank/issues/82/events","html_url":"https://github.com/RubyMoney/eu_central_bank/pull/82","id":357725281,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzNjcxOTAx","number":82,"title":"Use HTTPS when requesting exchange rate XML","user":{"login":"cfurrow","id":149965,"node_id":"MDQ6VXNlcjE0OTk2NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/149965?v=4","gravatar_id":"","url":"https://api.github.com/users/cfurrow","html_url":"https://github.com/cfurrow","followers_url":"https://api.github.com/users/cfurrow/followers","following_url":"https://api.github.com/users/cfurrow/following{/other_user}","gists_url":"https://api.github.com/users/cfurrow/gists{/gist_id}","starred_url":"https://api.github.com/users/cfurrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfurrow/subscriptions","organizations_url":"https://api.github.com/users/cfurrow/orgs","repos_url":"https://api.github.com/users/cfurrow/repos","events_url":"https://api.github.com/users/cfurrow/events{/privacy}","received_events_url":"https://api.github.com/users/cfurrow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-06T16:05:59Z","updated_at":"2018-09-06T20:41:08Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/RubyMoney/eu_central_bank/pulls/82","html_url":"https://github.com/RubyMoney/eu_central_bank/pull/82","diff_url":"https://github.com/RubyMoney/eu_central_bank/pull/82.diff","patch_url":"https://github.com/RubyMoney/eu_central_bank/pull/82.patch"},"body":"It appears that the www.ecb.europa.eu domain now force-redirects to HTTPS, and that is causing an issue. See below:\r\n\r\n```\r\nrake aborted!\r\nredirection forbidden: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml -> https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml\r\n/app/vendor/bundle/ruby/2.3.0/gems/eu_central_bank-1.3.0/lib/eu_central_bank.rb:166:in `doc'\r\n/app/vendor/bundle/ruby/2.3.0/gems/eu_central_bank-1.3.0/lib/eu_central_bank.rb:29:in `update_rates'\r\n/app/config/initializers/money.rb:11:in `<top (required)>'\r\n```\r\nThis PR updates the constants to use HTTPS to fetch the exchange rate data.\r\n"},"comment":{"url":"https://api.github.com/repos/RubyMoney/eu_central_bank/issues/comments/419234083","html_url":"https://github.com/RubyMoney/eu_central_bank/pull/82#issuecomment-419234083","issue_url":"https://api.github.com/repos/RubyMoney/eu_central_bank/issues/82","id":419234083,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTIzNDA4Mw==","user":{"login":"nanoblgames","id":41824053,"node_id":"MDQ6VXNlcjQxODI0MDUz","avatar_url":"https://avatars0.githubusercontent.com/u/41824053?v=4","gravatar_id":"","url":"https://api.github.com/users/nanoblgames","html_url":"https://github.com/nanoblgames","followers_url":"https://api.github.com/users/nanoblgames/followers","following_url":"https://api.github.com/users/nanoblgames/following{/other_user}","gists_url":"https://api.github.com/users/nanoblgames/gists{/gist_id}","starred_url":"https://api.github.com/users/nanoblgames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanoblgames/subscriptions","organizations_url":"https://api.github.com/users/nanoblgames/orgs","repos_url":"https://api.github.com/users/nanoblgames/repos","events_url":"https://api.github.com/users/nanoblgames/events{/privacy}","received_events_url":"https://api.github.com/users/nanoblgames/received_events","type":"User","site_admin":false},"created_at":"2018-09-06T20:41:08Z","updated_at":"2018-09-06T20:41:08Z","author_association":"NONE","body":"How can I get this commit ? I have been trying `gem 'eu_central_bank', github: 'RubyMoney/eu_central_bank', ref: 'e7410a5c8cbb8f12e47da6ab0bc1f1246049bd52'`\r\nBut get an error;\r\n```\r\nfatal: Could not parse object 'e7410a5c8cbb8f12e47da6ab0bc1f1246049bd52'.\r\nGit error: command `git reset --hard e7410a5c8cbb8f12e47da6ab0bc1f1246049bd52` in directory /Users/emrekucukozkan/.rvm/gems/ruby-2.2.6/bundler/gems/eu_central_bank-e7410a5c8cbb has\r\nfailed.\r\n```"}}
{"actor":{"display_login":"nanoblgames"}}