{"action":"created","issue":{"url":"https://api.github.com/repos/computology/packagecloud-ruby/issues/2","labels_url":"https://api.github.com/repos/computology/packagecloud-ruby/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/computology/packagecloud-ruby/issues/2/comments","events_url":"https://api.github.com/repos/computology/packagecloud-ruby/issues/2/events","html_url":"https://github.com/computology/packagecloud-ruby/issues/2","id":85586406,"number":2,"title":"Quick question about README regarding Packagecloud::Package inititialization...","user":{"login":"ckuttruff","id":253577,"avatar_url":"https://avatars.githubusercontent.com/u/253577?v=3","gravatar_id":"","url":"https://api.github.com/users/ckuttruff","html_url":"https://github.com/ckuttruff","followers_url":"https://api.github.com/users/ckuttruff/followers","following_url":"https://api.github.com/users/ckuttruff/following{/other_user}","gists_url":"https://api.github.com/users/ckuttruff/gists{/gist_id}","starred_url":"https://api.github.com/users/ckuttruff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckuttruff/subscriptions","organizations_url":"https://api.github.com/users/ckuttruff/orgs","repos_url":"https://api.github.com/users/ckuttruff/repos","events_url":"https://api.github.com/users/ckuttruff/events{/privacy}","received_events_url":"https://api.github.com/users/ckuttruff/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-05T17:22:33Z","updated_at":"2015-06-05T17:29:10Z","closed_at":"2015-06-05T17:29:10Z","body":"In the gem / rpm examples, an IO object is used by calling open, but the source example is just passing a string to `Packagecloud::Package.new`\r\nhttps://github.com/computology/packagecloud-ruby#packages\r\n\r\nIs this something that should be tweaked, or am I missing some case analysis in your implementation.\r\nHappy to submit a PR, but wanted to make sure I am understanding things properly, cause it looks like read is called on the file object in all cases:\r\nhttps://github.com/computology/packagecloud-ruby/blob/master/lib/packagecloud/client.rb#L117\r\n\r\nThanks for your work on packagecloud; has been really easy getting started.\r\nCheers!"},"comment":{"url":"https://api.github.com/repos/computology/packagecloud-ruby/issues/comments/109370472","html_url":"https://github.com/computology/packagecloud-ruby/issues/2#issuecomment-109370472","issue_url":"https://api.github.com/repos/computology/packagecloud-ruby/issues/2","id":109370472,"user":{"login":"ckuttruff","id":253577,"avatar_url":"https://avatars.githubusercontent.com/u/253577?v=3","gravatar_id":"","url":"https://api.github.com/users/ckuttruff","html_url":"https://github.com/ckuttruff","followers_url":"https://api.github.com/users/ckuttruff/followers","following_url":"https://api.github.com/users/ckuttruff/following{/other_user}","gists_url":"https://api.github.com/users/ckuttruff/gists{/gist_id}","starred_url":"https://api.github.com/users/ckuttruff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckuttruff/subscriptions","organizations_url":"https://api.github.com/users/ckuttruff/orgs","repos_url":"https://api.github.com/users/ckuttruff/repos","events_url":"https://api.github.com/users/ckuttruff/events{/privacy}","received_events_url":"https://api.github.com/users/ckuttruff/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T17:29:10Z","updated_at":"2015-06-05T17:29:10Z","body":"Thanks for the lightning quick reply!\r\nEnjoy your day / weekend!"}}