{"action":"created","comment":{"url":"https://api.github.com/repos/jbender/motion-cocoapods/pulls/comments/55299441","id":55299441,"diff_hunk":"@@ -0,0 +1,74 @@\n+# Copyright (c) 2012-2014, Laurent Sansonetti <lrz@hipbyte.com>\n+# All rights reserved.\n+#\n+# Redistribution and use in source and binary forms, with or without\n+# modification, are permitted provided that the following conditions are met:\n+#\n+# 1. Redistributions of source code must retain the above copyright notice,\n+#    this list of conditions and the following disclaimer.\n+# 2. Redistributions in binary form must reproduce the above copyright notice,\n+#    this list of conditions and the following disclaimer in the documentation\n+#    and/or other materials provided with the distribution.\n+#\n+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE\n+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n+# POSSIBILITY OF SUCH DAMAGE.\n+\n+namespace :pod do\n+  task :update_spec_repos do\n+    if ENV['COCOCAPODS_NO_UPDATE']\n+      $stderr.puts(\n+        '[!] The COCOCAPODS_NO_UPDATE env variable has been deprecated, use ' \\\n+        'COCOAPODS_NO_REPO_UPDATE instead.'\n+      )\n+      ENV['COCOAPODS_NO_REPO_UPDATE'] = '1'\n+    end\n+\n+    show_output = !ENV['COCOAPODS_NO_REPO_UPDATE_OUTPUT']\n+\n+    unless ENV['COCOAPODS_NO_REPO_UPDATE']\n+      Pod::SourcesManager.update(nil, show_output)\n+    end\n+  end\n+\n+  desc \"Download and integrate newly added pods\"\n+  task :install => :update_spec_repos do\n+    # TODO Should ideally not have to be controller manually.\n+    Pod::UserInterface.title_level = 1\n+\n+    pods = App.config.pods\n+\n+    # TODO fix this, see https://git.io/vae3Z\n+    need_install = (pods.analyzer.needs_install? rescue true)","path":"lib/tasks/cocoapods.rb","position":50,"original_position":50,"commit_id":"5e08fec2f8cc218783e84afd01b0e90b948c51e5","original_commit_id":"5e08fec2f8cc218783e84afd01b0e90b948c51e5","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Avoid using `rescue` in its modifier form.","created_at":"2016-03-08T00:41:15Z","updated_at":"2016-03-08T00:41:15Z","html_url":"https://github.com/jbender/motion-cocoapods/pull/1#discussion_r55299441","pull_request_url":"https://api.github.com/repos/jbender/motion-cocoapods/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/jbender/motion-cocoapods/pulls/comments/55299441"},"html":{"href":"https://github.com/jbender/motion-cocoapods/pull/1#discussion_r55299441"},"pull_request":{"href":"https://api.github.com/repos/jbender/motion-cocoapods/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/jbender/motion-cocoapods/pulls/1","id":62004372,"html_url":"https://github.com/jbender/motion-cocoapods/pull/1","diff_url":"https://github.com/jbender/motion-cocoapods/pull/1.diff","patch_url":"https://github.com/jbender/motion-cocoapods/pull/1.patch","issue_url":"https://api.github.com/repos/jbender/motion-cocoapods/issues/1","number":1,"state":"open","locked":false,"title":"Refactor main script","user":{"login":"jbender","id":723784,"avatar_url":"https://avatars.githubusercontent.com/u/723784?v=3","gravatar_id":"","url":"https://api.github.com/users/jbender","html_url":"https://github.com/jbender","followers_url":"https://api.github.com/users/jbender/followers","following_url":"https://api.github.com/users/jbender/following{/other_user}","gists_url":"https://api.github.com/users/jbender/gists{/gist_id}","starred_url":"https://api.github.com/users/jbender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbender/subscriptions","organizations_url":"https://api.github.com/users/jbender/orgs","repos_url":"https://api.github.com/users/jbender/repos","events_url":"https://api.github.com/users/jbender/events{/privacy}","received_events_url":"https://api.github.com/users/jbender/received_events","type":"User","site_admin":false},"body":"Clean up for smaller, parsable methods","created_at":"2016-03-08T00:17:34Z","updated_at":"2016-03-08T00:41:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ae967ca8693331777b91a399ffad32bbd62f0cd5","assignee":{"login":"jbender","id":723784,"avatar_url":"https://avatars.githubusercontent.com/u/723784?v=3","gravatar_id":"","url":"https://api.github.com/users/jbender","html_url":"https://github.com/jbender","followers_url":"https://api.github.com/users/jbender/followers","following_url":"https://api.github.com/users/jbender/following{/other_user}","gists_url":"https://api.github.com/users/jbender/gists{/gist_id}","starred_url":"https://api.github.com/users/jbender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbender/subscriptions","organizations_url":"https://api.github.com/users/jbender/orgs","repos_url":"https://api.github.com/users/jbender/repos","events_url":"https://api.github.com/users/jbender/events{/privacy}","received_events_url":"https://api.github.com/users/jbender/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/jbender/motion-cocoapods/pulls/1/commits","review_comments_url":"https://api.github.com/repos/jbender/motion-cocoapods/pulls/1/comments","review_comment_url":"https://api.github.com/repos/jbender/motion-cocoapods/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jbender/motion-cocoapods/issues/1/comments","statuses_url":"https://api.github.com/repos/jbender/motion-cocoapods/statuses/5e08fec2f8cc218783e84afd01b0e90b948c51e5","head":{"label":"jbender:feature/refactor","ref":"feature/refactor","sha":"5e08fec2f8cc218783e84afd01b0e90b948c51e5","user":{"login":"jbender","id":723784,"avatar_url":"https://avatars.githubusercontent.com/u/723784?v=3","gravatar_id":"","url":"https://api.github.com/users/jbender","html_url":"https://github.com/jbender","followers_url":"https://api.github.com/users/jbender/followers","following_url":"https://api.github.com/users/jbender/following{/other_user}","gists_url":"https://api.github.com/users/jbender/gists{/gist_id}","starred_url":"https://api.github.com/users/jbender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbender/subscriptions","organizations_url":"https://api.github.com/users/jbender/orgs","repos_url":"https://api.github.com/users/jbender/repos","events_url":"https://api.github.com/users/jbender/events{/privacy}","received_events_url":"https://api.github.com/users/jbender/received_events","type":"User","site_admin":false},"repo":{"id":53348266,"name":"motion-cocoapods","full_name":"jbender/motion-cocoapods","owner":{"login":"jbender","id":723784,"avatar_url":"https://avatars.githubusercontent.com/u/723784?v=3","gravatar_id":"","url":"https://api.github.com/users/jbender","html_url":"https://github.com/jbender","followers_url":"https://api.github.com/users/jbender/followers","following_url":"https://api.github.com/users/jbender/following{/other_user}","gists_url":"https://api.github.com/users/jbender/gists{/gist_id}","starred_url":"https://api.github.com/users/jbender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbender/subscriptions","organizations_url":"https://api.github.com/users/jbender/orgs","repos_url":"https://api.github.com/users/jbender/repos","events_url":"https://api.github.com/users/jbender/events{/privacy}","received_events_url":"https://api.github.com/users/jbender/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jbender/motion-cocoapods","description":"Integrate 3rd-party libraries in RubyMotion for iOS / OS X projects via CocoaPods","fork":true,"url":"https://api.github.com/repos/jbender/motion-cocoapods","forks_url":"https://api.github.com/repos/jbender/motion-cocoapods/forks","keys_url":"https://api.github.com/repos/jbender/motion-cocoapods/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbender/motion-cocoapods/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbender/motion-cocoapods/teams","hooks_url":"https://api.github.com/repos/jbender/motion-cocoapods/hooks","issue_events_url":"https://api.github.com/repos/jbender/motion-cocoapods/issues/events{/number}","events_url":"https://api.github.com/repos/jbender/motion-cocoapods/events","assignees_url":"https://api.github.com/repos/jbender/motion-cocoapods/assignees{/user}","branches_url":"https://api.github.com/repos/jbender/motion-cocoapods/branches{/branch}","tags_url":"https://api.github.com/repos/jbender/motion-cocoapods/tags","blobs_url":"https://api.github.com/repos/jbender/motion-cocoapods/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbender/motion-cocoapods/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbender/motion-cocoapods/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbender/motion-cocoapods/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbender/motion-cocoapods/statuses/{sha}","languages_url":"https://api.github.com/repos/jbender/motion-cocoapods/languages","stargazers_url":"https://api.github.com/repos/jbender/motion-cocoapods/stargazers","contributors_url":"https://api.github.com/repos/jbender/motion-cocoapods/contributors","subscribers_url":"https://api.github.com/repos/jbender/motion-cocoapods/subscribers","subscription_url":"https://api.github.com/repos/jbender/motion-cocoapods/subscription","commits_url":"https://api.github.com/repos/jbender/motion-cocoapods/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbender/motion-cocoapods/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbender/motion-cocoapods/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbender/motion-cocoapods/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbender/motion-cocoapods/contents/{+path}","compare_url":"https://api.github.com/repos/jbender/motion-cocoapods/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbender/motion-cocoapods/merges","archive_url":"https://api.github.com/repos/jbender/motion-cocoapods/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbender/motion-cocoapods/downloads","issues_url":"https://api.github.com/repos/jbender/motion-cocoapods/issues{/number}","pulls_url":"https://api.github.com/repos/jbender/motion-cocoapods/pulls{/number}","milestones_url":"https://api.github.com/repos/jbender/motion-cocoapods/milestones{/number}","notifications_url":"https://api.github.com/repos/jbender/motion-cocoapods/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbender/motion-cocoapods/labels{/name}","releases_url":"https://api.github.com/repos/jbender/motion-cocoapods/releases{/id}","deployments_url":"https://api.github.com/repos/jbender/motion-cocoapods/deployments","created_at":"2016-03-07T18:24:11Z","updated_at":"2016-03-07T18:24:12Z","pushed_at":"2016-03-08T00:41:05Z","git_url":"git://github.com/jbender/motion-cocoapods.git","ssh_url":"git@github.com:jbender/motion-cocoapods.git","clone_url":"https://github.com/jbender/motion-cocoapods.git","svn_url":"https://github.com/jbender/motion-cocoapods","homepage":"http://rubygems.org/gems/motion-cocoapods","size":196,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"jbender:master","ref":"master","sha":"41279b32b8dac6914636efd58b8172b3a5280ab8","user":{"login":"jbender","id":723784,"avatar_url":"https://avatars.githubusercontent.com/u/723784?v=3","gravatar_id":"","url":"https://api.github.com/users/jbender","html_url":"https://github.com/jbender","followers_url":"https://api.github.com/users/jbender/followers","following_url":"https://api.github.com/users/jbender/following{/other_user}","gists_url":"https://api.github.com/users/jbender/gists{/gist_id}","starred_url":"https://api.github.com/users/jbender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbender/subscriptions","organizations_url":"https://api.github.com/users/jbender/orgs","repos_url":"https://api.github.com/users/jbender/repos","events_url":"https://api.github.com/users/jbender/events{/privacy}","received_events_url":"https://api.github.com/users/jbender/received_events","type":"User","site_admin":false},"repo":{"id":53348266,"name":"motion-cocoapods","full_name":"jbender/motion-cocoapods","owner":{"login":"jbender","id":723784,"avatar_url":"https://avatars.githubusercontent.com/u/723784?v=3","gravatar_id":"","url":"https://api.github.com/users/jbender","html_url":"https://github.com/jbender","followers_url":"https://api.github.com/users/jbender/followers","following_url":"https://api.github.com/users/jbender/following{/other_user}","gists_url":"https://api.github.com/users/jbender/gists{/gist_id}","starred_url":"https://api.github.com/users/jbender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbender/subscriptions","organizations_url":"https://api.github.com/users/jbender/orgs","repos_url":"https://api.github.com/users/jbender/repos","events_url":"https://api.github.com/users/jbender/events{/privacy}","received_events_url":"https://api.github.com/users/jbender/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jbender/motion-cocoapods","description":"Integrate 3rd-party libraries in RubyMotion for iOS / OS X projects via CocoaPods","fork":true,"url":"https://api.github.com/repos/jbender/motion-cocoapods","forks_url":"https://api.github.com/repos/jbender/motion-cocoapods/forks","keys_url":"https://api.github.com/repos/jbender/motion-cocoapods/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbender/motion-cocoapods/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbender/motion-cocoapods/teams","hooks_url":"https://api.github.com/repos/jbender/motion-cocoapods/hooks","issue_events_url":"https://api.github.com/repos/jbender/motion-cocoapods/issues/events{/number}","events_url":"https://api.github.com/repos/jbender/motion-cocoapods/events","assignees_url":"https://api.github.com/repos/jbender/motion-cocoapods/assignees{/user}","branches_url":"https://api.github.com/repos/jbender/motion-cocoapods/branches{/branch}","tags_url":"https://api.github.com/repos/jbender/motion-cocoapods/tags","blobs_url":"https://api.github.com/repos/jbender/motion-cocoapods/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbender/motion-cocoapods/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbender/motion-cocoapods/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbender/motion-cocoapods/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbender/motion-cocoapods/statuses/{sha}","languages_url":"https://api.github.com/repos/jbender/motion-cocoapods/languages","stargazers_url":"https://api.github.com/repos/jbender/motion-cocoapods/stargazers","contributors_url":"https://api.github.com/repos/jbender/motion-cocoapods/contributors","subscribers_url":"https://api.github.com/repos/jbender/motion-cocoapods/subscribers","subscription_url":"https://api.github.com/repos/jbender/motion-cocoapods/subscription","commits_url":"https://api.github.com/repos/jbender/motion-cocoapods/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbender/motion-cocoapods/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbender/motion-cocoapods/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbender/motion-cocoapods/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbender/motion-cocoapods/contents/{+path}","compare_url":"https://api.github.com/repos/jbender/motion-cocoapods/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbender/motion-cocoapods/merges","archive_url":"https://api.github.com/repos/jbender/motion-cocoapods/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbender/motion-cocoapods/downloads","issues_url":"https://api.github.com/repos/jbender/motion-cocoapods/issues{/number}","pulls_url":"https://api.github.com/repos/jbender/motion-cocoapods/pulls{/number}","milestones_url":"https://api.github.com/repos/jbender/motion-cocoapods/milestones{/number}","notifications_url":"https://api.github.com/repos/jbender/motion-cocoapods/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbender/motion-cocoapods/labels{/name}","releases_url":"https://api.github.com/repos/jbender/motion-cocoapods/releases{/id}","deployments_url":"https://api.github.com/repos/jbender/motion-cocoapods/deployments","created_at":"2016-03-07T18:24:11Z","updated_at":"2016-03-07T18:24:12Z","pushed_at":"2016-03-08T00:41:05Z","git_url":"git://github.com/jbender/motion-cocoapods.git","ssh_url":"git@github.com:jbender/motion-cocoapods.git","clone_url":"https://github.com/jbender/motion-cocoapods.git","svn_url":"https://github.com/jbender/motion-cocoapods","homepage":"http://rubygems.org/gems/motion-cocoapods","size":196,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jbender/motion-cocoapods/pulls/1"},"html":{"href":"https://github.com/jbender/motion-cocoapods/pull/1"},"issue":{"href":"https://api.github.com/repos/jbender/motion-cocoapods/issues/1"},"comments":{"href":"https://api.github.com/repos/jbender/motion-cocoapods/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/jbender/motion-cocoapods/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/jbender/motion-cocoapods/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jbender/motion-cocoapods/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/jbender/motion-cocoapods/statuses/5e08fec2f8cc218783e84afd01b0e90b948c51e5"}}}}