{"action":"created","comment":{"url":"https://api.github.com/repos/petercunning/memapp/pulls/comments/46841958","id":46841958,"diff_hunk":"@@ -121,50 +121,50 @@ def initialize(person)\n move_down(4)\n     text \"Membership information\" ,:size => 14, :style => :bold,:horizontal_padding => 2\n \n-    move_down(1)    \n-   \n+    move_down(1)\n+\n     text \"Please check that all members data here is correct.\" ,:size => 8, :style => :italic,:horizontal_padding => 2\n     text \"We require Date of birth for Cadet members. It can be an advantage when applying for funding to be able to give an acurate age profile of club members so if you wish, please also give dates of birth for all members. \" +\n      \"Please state school/College name for Cadet Members as occupation.\",:size => 8, :style => :italic,:horizontal_padding => 2\n-    \n-    header = [\"First Name\",\"Last Name\",\"Date of birth \\n yyyy-mm-dd\",\"Mobile\",\"Occupation\",\"Status\"] \n+\n+    header = [\"First Name\",\"Last Name\",\"Date of birth \\n yyyy-mm-dd\",\"Mobile\",\"Occupation\",\"Status\"]\n     header2 = [\" \"]\n-     \n+\n     if @person.member.privilege.id == 2 ||  @person.member.privilege.id == 4 then\n-  \n-     \n+\n+\n         table( [header] + members + [header2] , :header => :true,\n-        :cell_style => {:padding => 1, :borders => [] }, \n-        :column_widths => {0 => 120, 1=> 120 , 2=> 60, 3 => 80, 4 => 80, 5 => 60 } ) do |t| \n+        :cell_style => {:padding => 1, :borders => [] },\n+        :column_widths => {0 => 120, 1=> 120 , 2=> 60, 3 => 80, 4 => 80, 5 => 60 } ) do |t|\n          t.row(0).style :background_color => 'ffffff', :text_color => '000000'\n          t.cells.row((1)..(t.row_length - 1 )).background_color = entry_fields_background_colour\n          t.cells.row((1)..(t.row_length - 1 )).text_color = entry_fields_txt_colour\n          t.cells.row((t.row_length - 1)..(t.row_length)).background_color = new_entry_fields_background_colour\n-         t.cells.row((t.row_length - 1)..(t.row_length)).text_color = new_entry_fields_txt_colour   \n+         t.cells.row((t.row_length - 1)..(t.row_length)).text_color = new_entry_fields_txt_colour\n         end\n \n-    else \n-         header = [\"First Name\",\"Last Name\",\"Date of birth \\n yyyy-mm-dd\",\"Mobile\",\"Occupation\"] \n+    else\n+         header = [\"First Name\",\"Last Name\",\"Date of birth \\n yyyy-mm-dd\",\"Mobile\",\"Occupation\"]\n          table( [header] + members , :header => :true,\n         :cell_style => {:padding => 1, :borders => []},\n-        :column_widths => {0 => 120, 1=> 120 , 2=> 60, 3 => 80, 4 => 80 } ) do |t| \n+        :column_widths => {0 => 120, 1=> 120 , 2=> 60, 3 => 80, 4 => 80 } ) do |t|\n          t.row(0).style :background_color => 'ffffff', :text_color => '000000'\n          t.cells.row(1).background_color = entry_fields_background_colour\n          t.cells.row(1).text_color = entry_fields_txt_colour\n         end\n \n-    end #if \n-    \n+    end #if","path":"app/pdfs/person_pdf.rb","position":137,"original_position":137,"commit_id":"731f0390fc00ce5c91727c2eb040056bde854ace","original_commit_id":"731f0390fc00ce5c91727c2eb040056bde854ace","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Missing space after #.","created_at":"2015-12-07T16:31:40Z","updated_at":"2015-12-07T16:31:40Z","html_url":"https://github.com/petercunning/memapp/pull/65#discussion_r46841958","pull_request_url":"https://api.github.com/repos/petercunning/memapp/pulls/65","_links":{"self":{"href":"https://api.github.com/repos/petercunning/memapp/pulls/comments/46841958"},"html":{"href":"https://github.com/petercunning/memapp/pull/65#discussion_r46841958"},"pull_request":{"href":"https://api.github.com/repos/petercunning/memapp/pulls/65"}}},"pull_request":{"url":"https://api.github.com/repos/petercunning/memapp/pulls/65","id":52867140,"html_url":"https://github.com/petercunning/memapp/pull/65","diff_url":"https://github.com/petercunning/memapp/pull/65.diff","patch_url":"https://github.com/petercunning/memapp/pull/65.patch","issue_url":"https://api.github.com/repos/petercunning/memapp/issues/65","number":65,"state":"open","locked":false,"title":"update pen fee handling","user":{"login":"petercunning","id":6607481,"avatar_url":"https://avatars.githubusercontent.com/u/6607481?v=3","gravatar_id":"","url":"https://api.github.com/users/petercunning","html_url":"https://github.com/petercunning","followers_url":"https://api.github.com/users/petercunning/followers","following_url":"https://api.github.com/users/petercunning/following{/other_user}","gists_url":"https://api.github.com/users/petercunning/gists{/gist_id}","starred_url":"https://api.github.com/users/petercunning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petercunning/subscriptions","organizations_url":"https://api.github.com/users/petercunning/orgs","repos_url":"https://api.github.com/users/petercunning/repos","events_url":"https://api.github.com/users/petercunning/events{/privacy}","received_events_url":"https://api.github.com/users/petercunning/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-07T16:31:32Z","updated_at":"2015-12-07T16:31:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9fe3e353367afab5108a4c456798f2c0c49d9244","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/petercunning/memapp/pulls/65/commits","review_comments_url":"https://api.github.com/repos/petercunning/memapp/pulls/65/comments","review_comment_url":"https://api.github.com/repos/petercunning/memapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/petercunning/memapp/issues/65/comments","statuses_url":"https://api.github.com/repos/petercunning/memapp/statuses/731f0390fc00ce5c91727c2eb040056bde854ace","head":{"label":"petercunning:penfees","ref":"penfees","sha":"731f0390fc00ce5c91727c2eb040056bde854ace","user":{"login":"petercunning","id":6607481,"avatar_url":"https://avatars.githubusercontent.com/u/6607481?v=3","gravatar_id":"","url":"https://api.github.com/users/petercunning","html_url":"https://github.com/petercunning","followers_url":"https://api.github.com/users/petercunning/followers","following_url":"https://api.github.com/users/petercunning/following{/other_user}","gists_url":"https://api.github.com/users/petercunning/gists{/gist_id}","starred_url":"https://api.github.com/users/petercunning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petercunning/subscriptions","organizations_url":"https://api.github.com/users/petercunning/orgs","repos_url":"https://api.github.com/users/petercunning/repos","events_url":"https://api.github.com/users/petercunning/events{/privacy}","received_events_url":"https://api.github.com/users/petercunning/received_events","type":"User","site_admin":false},"repo":{"id":17981523,"name":"memapp","full_name":"petercunning/memapp","owner":{"login":"petercunning","id":6607481,"avatar_url":"https://avatars.githubusercontent.com/u/6607481?v=3","gravatar_id":"","url":"https://api.github.com/users/petercunning","html_url":"https://github.com/petercunning","followers_url":"https://api.github.com/users/petercunning/followers","following_url":"https://api.github.com/users/petercunning/following{/other_user}","gists_url":"https://api.github.com/users/petercunning/gists{/gist_id}","starred_url":"https://api.github.com/users/petercunning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petercunning/subscriptions","organizations_url":"https://api.github.com/users/petercunning/orgs","repos_url":"https://api.github.com/users/petercunning/repos","events_url":"https://api.github.com/users/petercunning/events{/privacy}","received_events_url":"https://api.github.com/users/petercunning/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/petercunning/memapp","description":null,"fork":false,"url":"https://api.github.com/repos/petercunning/memapp","forks_url":"https://api.github.com/repos/petercunning/memapp/forks","keys_url":"https://api.github.com/repos/petercunning/memapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/petercunning/memapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/petercunning/memapp/teams","hooks_url":"https://api.github.com/repos/petercunning/memapp/hooks","issue_events_url":"https://api.github.com/repos/petercunning/memapp/issues/events{/number}","events_url":"https://api.github.com/repos/petercunning/memapp/events","assignees_url":"https://api.github.com/repos/petercunning/memapp/assignees{/user}","branches_url":"https://api.github.com/repos/petercunning/memapp/branches{/branch}","tags_url":"https://api.github.com/repos/petercunning/memapp/tags","blobs_url":"https://api.github.com/repos/petercunning/memapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/petercunning/memapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/petercunning/memapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/petercunning/memapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/petercunning/memapp/statuses/{sha}","languages_url":"https://api.github.com/repos/petercunning/memapp/languages","stargazers_url":"https://api.github.com/repos/petercunning/memapp/stargazers","contributors_url":"https://api.github.com/repos/petercunning/memapp/contributors","subscribers_url":"https://api.github.com/repos/petercunning/memapp/subscribers","subscription_url":"https://api.github.com/repos/petercunning/memapp/subscription","commits_url":"https://api.github.com/repos/petercunning/memapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/petercunning/memapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/petercunning/memapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/petercunning/memapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/petercunning/memapp/contents/{+path}","compare_url":"https://api.github.com/repos/petercunning/memapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/petercunning/memapp/merges","archive_url":"https://api.github.com/repos/petercunning/memapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/petercunning/memapp/downloads","issues_url":"https://api.github.com/repos/petercunning/memapp/issues{/number}","pulls_url":"https://api.github.com/repos/petercunning/memapp/pulls{/number}","milestones_url":"https://api.github.com/repos/petercunning/memapp/milestones{/number}","notifications_url":"https://api.github.com/repos/petercunning/memapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/petercunning/memapp/labels{/name}","releases_url":"https://api.github.com/repos/petercunning/memapp/releases{/id}","created_at":"2014-03-21T14:08:10Z","updated_at":"2015-04-24T13:53:40Z","pushed_at":"2015-12-07T16:31:32Z","git_url":"git://github.com/petercunning/memapp.git","ssh_url":"git@github.com:petercunning/memapp.git","clone_url":"https://github.com/petercunning/memapp.git","svn_url":"https://github.com/petercunning/memapp","homepage":null,"size":1590,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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":"petercunning:master","ref":"master","sha":"22ff1aa351b9f1838d2be386a6bd6fc53fb4b3ea","user":{"login":"petercunning","id":6607481,"avatar_url":"https://avatars.githubusercontent.com/u/6607481?v=3","gravatar_id":"","url":"https://api.github.com/users/petercunning","html_url":"https://github.com/petercunning","followers_url":"https://api.github.com/users/petercunning/followers","following_url":"https://api.github.com/users/petercunning/following{/other_user}","gists_url":"https://api.github.com/users/petercunning/gists{/gist_id}","starred_url":"https://api.github.com/users/petercunning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petercunning/subscriptions","organizations_url":"https://api.github.com/users/petercunning/orgs","repos_url":"https://api.github.com/users/petercunning/repos","events_url":"https://api.github.com/users/petercunning/events{/privacy}","received_events_url":"https://api.github.com/users/petercunning/received_events","type":"User","site_admin":false},"repo":{"id":17981523,"name":"memapp","full_name":"petercunning/memapp","owner":{"login":"petercunning","id":6607481,"avatar_url":"https://avatars.githubusercontent.com/u/6607481?v=3","gravatar_id":"","url":"https://api.github.com/users/petercunning","html_url":"https://github.com/petercunning","followers_url":"https://api.github.com/users/petercunning/followers","following_url":"https://api.github.com/users/petercunning/following{/other_user}","gists_url":"https://api.github.com/users/petercunning/gists{/gist_id}","starred_url":"https://api.github.com/users/petercunning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petercunning/subscriptions","organizations_url":"https://api.github.com/users/petercunning/orgs","repos_url":"https://api.github.com/users/petercunning/repos","events_url":"https://api.github.com/users/petercunning/events{/privacy}","received_events_url":"https://api.github.com/users/petercunning/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/petercunning/memapp","description":null,"fork":false,"url":"https://api.github.com/repos/petercunning/memapp","forks_url":"https://api.github.com/repos/petercunning/memapp/forks","keys_url":"https://api.github.com/repos/petercunning/memapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/petercunning/memapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/petercunning/memapp/teams","hooks_url":"https://api.github.com/repos/petercunning/memapp/hooks","issue_events_url":"https://api.github.com/repos/petercunning/memapp/issues/events{/number}","events_url":"https://api.github.com/repos/petercunning/memapp/events","assignees_url":"https://api.github.com/repos/petercunning/memapp/assignees{/user}","branches_url":"https://api.github.com/repos/petercunning/memapp/branches{/branch}","tags_url":"https://api.github.com/repos/petercunning/memapp/tags","blobs_url":"https://api.github.com/repos/petercunning/memapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/petercunning/memapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/petercunning/memapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/petercunning/memapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/petercunning/memapp/statuses/{sha}","languages_url":"https://api.github.com/repos/petercunning/memapp/languages","stargazers_url":"https://api.github.com/repos/petercunning/memapp/stargazers","contributors_url":"https://api.github.com/repos/petercunning/memapp/contributors","subscribers_url":"https://api.github.com/repos/petercunning/memapp/subscribers","subscription_url":"https://api.github.com/repos/petercunning/memapp/subscription","commits_url":"https://api.github.com/repos/petercunning/memapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/petercunning/memapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/petercunning/memapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/petercunning/memapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/petercunning/memapp/contents/{+path}","compare_url":"https://api.github.com/repos/petercunning/memapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/petercunning/memapp/merges","archive_url":"https://api.github.com/repos/petercunning/memapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/petercunning/memapp/downloads","issues_url":"https://api.github.com/repos/petercunning/memapp/issues{/number}","pulls_url":"https://api.github.com/repos/petercunning/memapp/pulls{/number}","milestones_url":"https://api.github.com/repos/petercunning/memapp/milestones{/number}","notifications_url":"https://api.github.com/repos/petercunning/memapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/petercunning/memapp/labels{/name}","releases_url":"https://api.github.com/repos/petercunning/memapp/releases{/id}","created_at":"2014-03-21T14:08:10Z","updated_at":"2015-04-24T13:53:40Z","pushed_at":"2015-12-07T16:31:32Z","git_url":"git://github.com/petercunning/memapp.git","ssh_url":"git@github.com:petercunning/memapp.git","clone_url":"https://github.com/petercunning/memapp.git","svn_url":"https://github.com/petercunning/memapp","homepage":null,"size":1590,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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/petercunning/memapp/pulls/65"},"html":{"href":"https://github.com/petercunning/memapp/pull/65"},"issue":{"href":"https://api.github.com/repos/petercunning/memapp/issues/65"},"comments":{"href":"https://api.github.com/repos/petercunning/memapp/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/petercunning/memapp/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/petercunning/memapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/petercunning/memapp/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/petercunning/memapp/statuses/731f0390fc00ce5c91727c2eb040056bde854ace"}}}}