{"push_id":613400902,"size":1,"distinct_size":1,"ref":"refs/heads/network-loader","head":"d9c9a3a581f50098728b6903ef041c9d166b3b53","before":"e84476d6be0c5217475fa8d4e200149a314e4206","commits":[{"sha":"d9c9a3a581f50098728b6903ef041c9d166b3b53","author":{"email":"339172eef30a66d05abc17ea589c9ba07c5cb98c@gmail.com","name":"Pan Thomakos"},"message":"Make NetworkLoader more resilient.\n\nIf the Rails asset host is set without a scheme (which is the\nrecommended way to set an asset host so that it works both with HTTP and\nHTTPS pages) the `NetworkLoader` will fail because it requires a scheme to\nbe present. This change allows the `NetworkLoader` to work with asset\nhosts that do and don't include the http scheme.\n\nThis change also removes the dynamic setting of `scheme` and `host` on\nURI which does not work (the GET call still fails since `request_uri` is\nundefined).\n\nI've included tests to make sure the `NetworkLoader` now works with the\nasset host set (with and without a scheme) and does not cause exceptions.","distinct":true,"url":"https://api.github.com/repos/panthomakos/premailer-rails/commits/d9c9a3a581f50098728b6903ef041c9d166b3b53"}]}