GitHub PullRequestReviewCommentEvent at 2014-01-23 06:41:42
Repository: autoparts
Actor: laktek
Payload: {"comment":{"url":"https://api.github.com/repos/action-io/autoparts/pulls/comments/9104323","id":9104323,"diff_hunk":"@@ -378,6 +383,25 @@ def remote_file_exists?(url)\n       `curl -IsL -w \\\"%{http_code}\\\" '#{url}' -o /dev/null 2> /dev/null`.strip == '200'\n     end\n \n+    # notify the web IDE when a package is installed / uninstalled\n+    def call_web_hook(action)\n+      begin\n+        box_id = File.read(BOX_ID_PATH).strip\n+        autoparts_version = Autoparts::Commands::Help.version\n+\n+        Net::HTTP.post_form URI(WEB_HOOK_URL), {\n+          'type' => action.to_s,","path":"lib/autoparts/package.rb","position":40,"original_position":40,"commit_id":"ad8e6b0d9d8edb4b253a23daa3bde4da5694c4a8","original_commit_id":"ad8e6b0d9d8edb4b253a23daa3bde4da5694c4a8","user":{"login":"laktek","id":5358,"avatar_url":"https://gravatar.com/avatar/78f629467a182fffdca5a327045fd362?d=https%3A%2F%2Fidenticons.github.com%2F3a246af2678dfad0d536e0a62cf49179.png&r=x","gravatar_id":"78f629467a182fffdca5a327045fd362","url":"https://api.github.com/users/laktek","html_url":"https://github.com/laktek","followers_url":"https://api.github.com/users/laktek/followers","following_url":"https://api.github.com/users/laktek/following{/other_user}","gists_url":"https://api.github.com/users/laktek/gists{/gist_id}","starred_url":"https://api.github.com/users/laktek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laktek/subscriptions","organizations_url":"https://api.github.com/users/laktek/orgs","repos_url":"https://api.github.com/users/laktek/repos","events_url":"https://api.github.com/users/laktek/events{/privacy}","received_events_url":"https://api.github.com/users/laktek/received_events","type":"User","site_admin":false},"body":"ah, `post_form` documentation says \"The form data must be provided as a Hash mapping from String to String\":\r\n\r\nhttp://ruby-doc.org/stdlib-2.1.0/libdoc/net/http/rdoc/Net/HTTP.html#post_form-method","created_at":"2014-01-23T06:41:42Z","updated_at":"2014-01-23T06:41:42Z","html_url":"https://github.com/action-io/autoparts/pull/41#discussion_r9104323","pull_request_url":"https://api.github.com/repos/action-io/autoparts/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/action-io/autoparts/pulls/comments/9104323"},"html":{"href":"https://github.com/action-io/autoparts/pull/41#discussion_r9104323"},"pull_request":{"href":"https://api.github.com/repos/action-io/autoparts/pulls/41"}}}}