{"action":"created","comment":{"url":"https://api.github.com/repos/infinitered/rmq/pulls/comments/28645508","id":28645508,"diff_hunk":"@@ -118,6 +118,22 @@ def project_path\n \n           ppath\n         end\n+\n+        # To use this, put this in your Rakefile:\n+        #   app.development do\n+        #     app.info_plist[\"ProjectBuildTime\"] = Time.now\n+        #   end\n+        def build_time\n+          if btime = NSBundle.mainBundle.infoDictionary[\"ProjectBuildTime\"]","path":"motion/ruby_motion_query/utils.rb","position":10,"original_position":10,"commit_id":"2ac7dff1753e1b17e10fa3617621d67a189609b3","original_commit_id":"2ac7dff1753e1b17e10fa3617621d67a189609b3","user":{"login":"zhigang1992","id":1057756,"avatar_url":"https://avatars.githubusercontent.com/u/1057756?v=3","gravatar_id":"","url":"https://api.github.com/users/zhigang1992","html_url":"https://github.com/zhigang1992","followers_url":"https://api.github.com/users/zhigang1992/followers","following_url":"https://api.github.com/users/zhigang1992/following{/other_user}","gists_url":"https://api.github.com/users/zhigang1992/gists{/gist_id}","starred_url":"https://api.github.com/users/zhigang1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhigang1992/subscriptions","organizations_url":"https://api.github.com/users/zhigang1992/orgs","repos_url":"https://api.github.com/users/zhigang1992/repos","events_url":"https://api.github.com/users/zhigang1992/events{/privacy}","received_events_url":"https://api.github.com/users/zhigang1992/received_events","type":"User","site_admin":false},"body":"Yeah, that's what I thought... but I was copying the implementation of `project_path` in this file. Thought there might be some convention there.\r\nhttps://github.com/infinitered/rmq/blob/2ac7dff1753e1b17e10fa3617621d67a189609b3/motion/ruby_motion_query/utils.rb#L109-L120","created_at":"2015-04-18T16:51:43Z","updated_at":"2015-04-18T16:51:43Z","html_url":"https://github.com/infinitered/rmq/pull/244#discussion_r28645508","pull_request_url":"https://api.github.com/repos/infinitered/rmq/pulls/244","_links":{"self":{"href":"https://api.github.com/repos/infinitered/rmq/pulls/comments/28645508"},"html":{"href":"https://github.com/infinitered/rmq/pull/244#discussion_r28645508"},"pull_request":{"href":"https://api.github.com/repos/infinitered/rmq/pulls/244"}}},"pull_request":{"url":"https://api.github.com/repos/infinitered/rmq/pulls/244","id":33594737,"html_url":"https://github.com/infinitered/rmq/pull/244","diff_url":"https://github.com/infinitered/rmq/pull/244.diff","patch_url":"https://github.com/infinitered/rmq/pull/244.patch","issue_url":"https://api.github.com/repos/infinitered/rmq/issues/244","number":244,"state":"closed","locked":false,"title":"Move settings to lib","user":{"login":"zhigang1992","id":1057756,"avatar_url":"https://avatars.githubusercontent.com/u/1057756?v=3","gravatar_id":"","url":"https://api.github.com/users/zhigang1992","html_url":"https://github.com/zhigang1992","followers_url":"https://api.github.com/users/zhigang1992/followers","following_url":"https://api.github.com/users/zhigang1992/following{/other_user}","gists_url":"https://api.github.com/users/zhigang1992/gists{/gist_id}","starred_url":"https://api.github.com/users/zhigang1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhigang1992/subscriptions","organizations_url":"https://api.github.com/users/zhigang1992/orgs","repos_url":"https://api.github.com/users/zhigang1992/repos","events_url":"https://api.github.com/users/zhigang1992/events{/privacy}","received_events_url":"https://api.github.com/users/zhigang1992/received_events","type":"User","site_admin":false},"body":"So that we don't need to have user put those two lines in their rake file\r\n\t\r\n    -  app.development do\t\t\r\n    -    app.info_plist[\"ProjectRootPath\"] = File.dirname(__FILE__)\t\t\r\n    -  end\t\t\r\n","created_at":"2015-04-18T02:12:22Z","updated_at":"2015-04-18T16:51:43Z","closed_at":"2015-04-18T15:30:54Z","merged_at":null,"merge_commit_sha":"873a6975396fd8d11fce6c55932d8899873bc6ac","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/infinitered/rmq/pulls/244/commits","review_comments_url":"https://api.github.com/repos/infinitered/rmq/pulls/244/comments","review_comment_url":"https://api.github.com/repos/infinitered/rmq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/infinitered/rmq/issues/244/comments","statuses_url":"https://api.github.com/repos/infinitered/rmq/statuses/2ac7dff1753e1b17e10fa3617621d67a189609b3","head":{"label":"zhigang1992:move_settings_to_lib","ref":"move_settings_to_lib","sha":"2ac7dff1753e1b17e10fa3617621d67a189609b3","user":{"login":"zhigang1992","id":1057756,"avatar_url":"https://avatars.githubusercontent.com/u/1057756?v=3","gravatar_id":"","url":"https://api.github.com/users/zhigang1992","html_url":"https://github.com/zhigang1992","followers_url":"https://api.github.com/users/zhigang1992/followers","following_url":"https://api.github.com/users/zhigang1992/following{/other_user}","gists_url":"https://api.github.com/users/zhigang1992/gists{/gist_id}","starred_url":"https://api.github.com/users/zhigang1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhigang1992/subscriptions","organizations_url":"https://api.github.com/users/zhigang1992/orgs","repos_url":"https://api.github.com/users/zhigang1992/repos","events_url":"https://api.github.com/users/zhigang1992/events{/privacy}","received_events_url":"https://api.github.com/users/zhigang1992/received_events","type":"User","site_admin":false},"repo":{"id":25924957,"name":"rmq","full_name":"zhigang1992/rmq","owner":{"login":"zhigang1992","id":1057756,"avatar_url":"https://avatars.githubusercontent.com/u/1057756?v=3","gravatar_id":"","url":"https://api.github.com/users/zhigang1992","html_url":"https://github.com/zhigang1992","followers_url":"https://api.github.com/users/zhigang1992/followers","following_url":"https://api.github.com/users/zhigang1992/following{/other_user}","gists_url":"https://api.github.com/users/zhigang1992/gists{/gist_id}","starred_url":"https://api.github.com/users/zhigang1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhigang1992/subscriptions","organizations_url":"https://api.github.com/users/zhigang1992/orgs","repos_url":"https://api.github.com/users/zhigang1992/repos","events_url":"https://api.github.com/users/zhigang1992/events{/privacy}","received_events_url":"https://api.github.com/users/zhigang1992/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zhigang1992/rmq","description":"RMQ - RubyMotionQuery","fork":true,"url":"https://api.github.com/repos/zhigang1992/rmq","forks_url":"https://api.github.com/repos/zhigang1992/rmq/forks","keys_url":"https://api.github.com/repos/zhigang1992/rmq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhigang1992/rmq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhigang1992/rmq/teams","hooks_url":"https://api.github.com/repos/zhigang1992/rmq/hooks","issue_events_url":"https://api.github.com/repos/zhigang1992/rmq/issues/events{/number}","events_url":"https://api.github.com/repos/zhigang1992/rmq/events","assignees_url":"https://api.github.com/repos/zhigang1992/rmq/assignees{/user}","branches_url":"https://api.github.com/repos/zhigang1992/rmq/branches{/branch}","tags_url":"https://api.github.com/repos/zhigang1992/rmq/tags","blobs_url":"https://api.github.com/repos/zhigang1992/rmq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhigang1992/rmq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhigang1992/rmq/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhigang1992/rmq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhigang1992/rmq/statuses/{sha}","languages_url":"https://api.github.com/repos/zhigang1992/rmq/languages","stargazers_url":"https://api.github.com/repos/zhigang1992/rmq/stargazers","contributors_url":"https://api.github.com/repos/zhigang1992/rmq/contributors","subscribers_url":"https://api.github.com/repos/zhigang1992/rmq/subscribers","subscription_url":"https://api.github.com/repos/zhigang1992/rmq/subscription","commits_url":"https://api.github.com/repos/zhigang1992/rmq/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhigang1992/rmq/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhigang1992/rmq/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhigang1992/rmq/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhigang1992/rmq/contents/{+path}","compare_url":"https://api.github.com/repos/zhigang1992/rmq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhigang1992/rmq/merges","archive_url":"https://api.github.com/repos/zhigang1992/rmq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhigang1992/rmq/downloads","issues_url":"https://api.github.com/repos/zhigang1992/rmq/issues{/number}","pulls_url":"https://api.github.com/repos/zhigang1992/rmq/pulls{/number}","milestones_url":"https://api.github.com/repos/zhigang1992/rmq/milestones{/number}","notifications_url":"https://api.github.com/repos/zhigang1992/rmq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhigang1992/rmq/labels{/name}","releases_url":"https://api.github.com/repos/zhigang1992/rmq/releases{/id}","created_at":"2014-10-29T14:34:10Z","updated_at":"2015-04-17T17:32:46Z","pushed_at":"2015-04-18T02:06:37Z","git_url":"git://github.com/zhigang1992/rmq.git","ssh_url":"git@github.com:zhigang1992/rmq.git","clone_url":"https://github.com/zhigang1992/rmq.git","svn_url":"https://github.com/zhigang1992/rmq","homepage":"","size":1235,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"infinitered:master","ref":"master","sha":"8ae878d2bf39baaa9505c53cd1ac1641e723508b","user":{"login":"infinitered","id":3902527,"avatar_url":"https://avatars.githubusercontent.com/u/3902527?v=3","gravatar_id":"","url":"https://api.github.com/users/infinitered","html_url":"https://github.com/infinitered","followers_url":"https://api.github.com/users/infinitered/followers","following_url":"https://api.github.com/users/infinitered/following{/other_user}","gists_url":"https://api.github.com/users/infinitered/gists{/gist_id}","starred_url":"https://api.github.com/users/infinitered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infinitered/subscriptions","organizations_url":"https://api.github.com/users/infinitered/orgs","repos_url":"https://api.github.com/users/infinitered/repos","events_url":"https://api.github.com/users/infinitered/events{/privacy}","received_events_url":"https://api.github.com/users/infinitered/received_events","type":"Organization","site_admin":false},"repo":{"id":11751319,"name":"rmq","full_name":"infinitered/rmq","owner":{"login":"infinitered","id":3902527,"avatar_url":"https://avatars.githubusercontent.com/u/3902527?v=3","gravatar_id":"","url":"https://api.github.com/users/infinitered","html_url":"https://github.com/infinitered","followers_url":"https://api.github.com/users/infinitered/followers","following_url":"https://api.github.com/users/infinitered/following{/other_user}","gists_url":"https://api.github.com/users/infinitered/gists{/gist_id}","starred_url":"https://api.github.com/users/infinitered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infinitered/subscriptions","organizations_url":"https://api.github.com/users/infinitered/orgs","repos_url":"https://api.github.com/users/infinitered/repos","events_url":"https://api.github.com/users/infinitered/events{/privacy}","received_events_url":"https://api.github.com/users/infinitered/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/infinitered/rmq","description":"RMQ - RubyMotionQuery","fork":false,"url":"https://api.github.com/repos/infinitered/rmq","forks_url":"https://api.github.com/repos/infinitered/rmq/forks","keys_url":"https://api.github.com/repos/infinitered/rmq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/infinitered/rmq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/infinitered/rmq/teams","hooks_url":"https://api.github.com/repos/infinitered/rmq/hooks","issue_events_url":"https://api.github.com/repos/infinitered/rmq/issues/events{/number}","events_url":"https://api.github.com/repos/infinitered/rmq/events","assignees_url":"https://api.github.com/repos/infinitered/rmq/assignees{/user}","branches_url":"https://api.github.com/repos/infinitered/rmq/branches{/branch}","tags_url":"https://api.github.com/repos/infinitered/rmq/tags","blobs_url":"https://api.github.com/repos/infinitered/rmq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/infinitered/rmq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/infinitered/rmq/git/refs{/sha}","trees_url":"https://api.github.com/repos/infinitered/rmq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/infinitered/rmq/statuses/{sha}","languages_url":"https://api.github.com/repos/infinitered/rmq/languages","stargazers_url":"https://api.github.com/repos/infinitered/rmq/stargazers","contributors_url":"https://api.github.com/repos/infinitered/rmq/contributors","subscribers_url":"https://api.github.com/repos/infinitered/rmq/subscribers","subscription_url":"https://api.github.com/repos/infinitered/rmq/subscription","commits_url":"https://api.github.com/repos/infinitered/rmq/commits{/sha}","git_commits_url":"https://api.github.com/repos/infinitered/rmq/git/commits{/sha}","comments_url":"https://api.github.com/repos/infinitered/rmq/comments{/number}","issue_comment_url":"https://api.github.com/repos/infinitered/rmq/issues/comments{/number}","contents_url":"https://api.github.com/repos/infinitered/rmq/contents/{+path}","compare_url":"https://api.github.com/repos/infinitered/rmq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/infinitered/rmq/merges","archive_url":"https://api.github.com/repos/infinitered/rmq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/infinitered/rmq/downloads","issues_url":"https://api.github.com/repos/infinitered/rmq/issues{/number}","pulls_url":"https://api.github.com/repos/infinitered/rmq/pulls{/number}","milestones_url":"https://api.github.com/repos/infinitered/rmq/milestones{/number}","notifications_url":"https://api.github.com/repos/infinitered/rmq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/infinitered/rmq/labels{/name}","releases_url":"https://api.github.com/repos/infinitered/rmq/releases{/id}","created_at":"2013-07-29T22:36:24Z","updated_at":"2015-04-15T04:27:54Z","pushed_at":"2015-04-18T02:12:23Z","git_url":"git://github.com/infinitered/rmq.git","ssh_url":"git@github.com:infinitered/rmq.git","clone_url":"https://github.com/infinitered/rmq.git","svn_url":"https://github.com/infinitered/rmq","homepage":"","size":4262,"stargazers_count":277,"watchers_count":277,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":22,"forks":42,"open_issues":22,"watchers":277,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/infinitered/rmq/pulls/244"},"html":{"href":"https://github.com/infinitered/rmq/pull/244"},"issue":{"href":"https://api.github.com/repos/infinitered/rmq/issues/244"},"comments":{"href":"https://api.github.com/repos/infinitered/rmq/issues/244/comments"},"review_comments":{"href":"https://api.github.com/repos/infinitered/rmq/pulls/244/comments"},"review_comment":{"href":"https://api.github.com/repos/infinitered/rmq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/infinitered/rmq/pulls/244/commits"},"statuses":{"href":"https://api.github.com/repos/infinitered/rmq/statuses/2ac7dff1753e1b17e10fa3617621d67a189609b3"}}}}