{"action":"created","comment":{"url":"https://api.github.com/repos/stavro/arc/pulls/comments/80881426","pull_request_review_id":1902319,"id":80881426,"diff_hunk":"@@ -20,6 +20,12 @@ defmodule Arc.File do\n     end\n   end\n \n+  # Accepts a data in base64\n+  def new(%{filename: filename, base64: base64}) do\n+    {:ok, binary} = Base.decode64(base64)","path":"lib/arc/file.ex","position":6,"original_position":6,"commit_id":"8e22b9530ed3b4d83f0a4540fcd0052e643b43f8","original_commit_id":"8e22b9530ed3b4d83f0a4540fcd0052e643b43f8","user":{"login":"gullitmiranda","id":2034678,"avatar_url":"https://avatars.githubusercontent.com/u/2034678?v=3","gravatar_id":"","url":"https://api.github.com/users/gullitmiranda","html_url":"https://github.com/gullitmiranda","followers_url":"https://api.github.com/users/gullitmiranda/followers","following_url":"https://api.github.com/users/gullitmiranda/following{/other_user}","gists_url":"https://api.github.com/users/gullitmiranda/gists{/gist_id}","starred_url":"https://api.github.com/users/gullitmiranda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gullitmiranda/subscriptions","organizations_url":"https://api.github.com/users/gullitmiranda/orgs","repos_url":"https://api.github.com/users/gullitmiranda/repos","events_url":"https://api.github.com/users/gullitmiranda/events{/privacy}","received_events_url":"https://api.github.com/users/gullitmiranda/received_events","type":"User","site_admin":false},"body":"I believe that it is interesting to add the option `ignore: :whitespace`\r\nhttps://github.com/elixir-lang/elixir/issues/4186","created_at":"2016-09-28T09:58:57Z","updated_at":"2016-09-28T09:58:57Z","html_url":"https://github.com/stavro/arc/pull/108#discussion_r80881426","pull_request_url":"https://api.github.com/repos/stavro/arc/pulls/108","_links":{"self":{"href":"https://api.github.com/repos/stavro/arc/pulls/comments/80881426"},"html":{"href":"https://github.com/stavro/arc/pull/108#discussion_r80881426"},"pull_request":{"href":"https://api.github.com/repos/stavro/arc/pulls/108"}}},"pull_request":{"url":"https://api.github.com/repos/stavro/arc/pulls/108","id":84286968,"html_url":"https://github.com/stavro/arc/pull/108","diff_url":"https://github.com/stavro/arc/pull/108.diff","patch_url":"https://github.com/stavro/arc/pull/108.patch","issue_url":"https://api.github.com/repos/stavro/arc/issues/108","number":108,"state":"open","locked":false,"title":"accept base64 data and convert it to binary","user":{"login":"anoskov","id":5238655,"avatar_url":"https://avatars.githubusercontent.com/u/5238655?v=3","gravatar_id":"","url":"https://api.github.com/users/anoskov","html_url":"https://github.com/anoskov","followers_url":"https://api.github.com/users/anoskov/followers","following_url":"https://api.github.com/users/anoskov/following{/other_user}","gists_url":"https://api.github.com/users/anoskov/gists{/gist_id}","starred_url":"https://api.github.com/users/anoskov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anoskov/subscriptions","organizations_url":"https://api.github.com/users/anoskov/orgs","repos_url":"https://api.github.com/users/anoskov/repos","events_url":"https://api.github.com/users/anoskov/events{/privacy}","received_events_url":"https://api.github.com/users/anoskov/received_events","type":"User","site_admin":false},"body":"Extend Arc.File.new/1 function for accepts a data in base64 format.\r\n\r\nresolves \"#107\"","created_at":"2016-09-07T12:00:10Z","updated_at":"2016-09-28T09:58:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7520d870e289a8128597b63b81eeb53796300502","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/stavro/arc/pulls/108/commits","review_comments_url":"https://api.github.com/repos/stavro/arc/pulls/108/comments","review_comment_url":"https://api.github.com/repos/stavro/arc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stavro/arc/issues/108/comments","statuses_url":"https://api.github.com/repos/stavro/arc/statuses/8e22b9530ed3b4d83f0a4540fcd0052e643b43f8","head":{"label":"anoskov:master","ref":"master","sha":"8e22b9530ed3b4d83f0a4540fcd0052e643b43f8","user":{"login":"anoskov","id":5238655,"avatar_url":"https://avatars.githubusercontent.com/u/5238655?v=3","gravatar_id":"","url":"https://api.github.com/users/anoskov","html_url":"https://github.com/anoskov","followers_url":"https://api.github.com/users/anoskov/followers","following_url":"https://api.github.com/users/anoskov/following{/other_user}","gists_url":"https://api.github.com/users/anoskov/gists{/gist_id}","starred_url":"https://api.github.com/users/anoskov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anoskov/subscriptions","organizations_url":"https://api.github.com/users/anoskov/orgs","repos_url":"https://api.github.com/users/anoskov/repos","events_url":"https://api.github.com/users/anoskov/events{/privacy}","received_events_url":"https://api.github.com/users/anoskov/received_events","type":"User","site_admin":false},"repo":{"id":67592322,"name":"arc","full_name":"anoskov/arc","owner":{"login":"anoskov","id":5238655,"avatar_url":"https://avatars.githubusercontent.com/u/5238655?v=3","gravatar_id":"","url":"https://api.github.com/users/anoskov","html_url":"https://github.com/anoskov","followers_url":"https://api.github.com/users/anoskov/followers","following_url":"https://api.github.com/users/anoskov/following{/other_user}","gists_url":"https://api.github.com/users/anoskov/gists{/gist_id}","starred_url":"https://api.github.com/users/anoskov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anoskov/subscriptions","organizations_url":"https://api.github.com/users/anoskov/orgs","repos_url":"https://api.github.com/users/anoskov/repos","events_url":"https://api.github.com/users/anoskov/events{/privacy}","received_events_url":"https://api.github.com/users/anoskov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anoskov/arc","description":":paperclip: Flexible file upload and attachment library for Elixir","fork":true,"url":"https://api.github.com/repos/anoskov/arc","forks_url":"https://api.github.com/repos/anoskov/arc/forks","keys_url":"https://api.github.com/repos/anoskov/arc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anoskov/arc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anoskov/arc/teams","hooks_url":"https://api.github.com/repos/anoskov/arc/hooks","issue_events_url":"https://api.github.com/repos/anoskov/arc/issues/events{/number}","events_url":"https://api.github.com/repos/anoskov/arc/events","assignees_url":"https://api.github.com/repos/anoskov/arc/assignees{/user}","branches_url":"https://api.github.com/repos/anoskov/arc/branches{/branch}","tags_url":"https://api.github.com/repos/anoskov/arc/tags","blobs_url":"https://api.github.com/repos/anoskov/arc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anoskov/arc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anoskov/arc/git/refs{/sha}","trees_url":"https://api.github.com/repos/anoskov/arc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anoskov/arc/statuses/{sha}","languages_url":"https://api.github.com/repos/anoskov/arc/languages","stargazers_url":"https://api.github.com/repos/anoskov/arc/stargazers","contributors_url":"https://api.github.com/repos/anoskov/arc/contributors","subscribers_url":"https://api.github.com/repos/anoskov/arc/subscribers","subscription_url":"https://api.github.com/repos/anoskov/arc/subscription","commits_url":"https://api.github.com/repos/anoskov/arc/commits{/sha}","git_commits_url":"https://api.github.com/repos/anoskov/arc/git/commits{/sha}","comments_url":"https://api.github.com/repos/anoskov/arc/comments{/number}","issue_comment_url":"https://api.github.com/repos/anoskov/arc/issues/comments{/number}","contents_url":"https://api.github.com/repos/anoskov/arc/contents/{+path}","compare_url":"https://api.github.com/repos/anoskov/arc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anoskov/arc/merges","archive_url":"https://api.github.com/repos/anoskov/arc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anoskov/arc/downloads","issues_url":"https://api.github.com/repos/anoskov/arc/issues{/number}","pulls_url":"https://api.github.com/repos/anoskov/arc/pulls{/number}","milestones_url":"https://api.github.com/repos/anoskov/arc/milestones{/number}","notifications_url":"https://api.github.com/repos/anoskov/arc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anoskov/arc/labels{/name}","releases_url":"https://api.github.com/repos/anoskov/arc/releases{/id}","deployments_url":"https://api.github.com/repos/anoskov/arc/deployments","created_at":"2016-09-07T09:25:32Z","updated_at":"2016-09-07T09:25:34Z","pushed_at":"2016-09-07T10:15:16Z","git_url":"git://github.com/anoskov/arc.git","ssh_url":"git@github.com:anoskov/arc.git","clone_url":"https://github.com/anoskov/arc.git","svn_url":"https://github.com/anoskov/arc","homepage":"","size":121,"stargazers_count":0,"watchers_count":0,"language":"Elixir","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":"stavro:master","ref":"master","sha":"620eb1a59b62b308685d65a29e5cd708e94a6394","user":{"login":"stavro","id":2391584,"avatar_url":"https://avatars.githubusercontent.com/u/2391584?v=3","gravatar_id":"","url":"https://api.github.com/users/stavro","html_url":"https://github.com/stavro","followers_url":"https://api.github.com/users/stavro/followers","following_url":"https://api.github.com/users/stavro/following{/other_user}","gists_url":"https://api.github.com/users/stavro/gists{/gist_id}","starred_url":"https://api.github.com/users/stavro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stavro/subscriptions","organizations_url":"https://api.github.com/users/stavro/orgs","repos_url":"https://api.github.com/users/stavro/repos","events_url":"https://api.github.com/users/stavro/events{/privacy}","received_events_url":"https://api.github.com/users/stavro/received_events","type":"User","site_admin":false},"repo":{"id":36914552,"name":"arc","full_name":"stavro/arc","owner":{"login":"stavro","id":2391584,"avatar_url":"https://avatars.githubusercontent.com/u/2391584?v=3","gravatar_id":"","url":"https://api.github.com/users/stavro","html_url":"https://github.com/stavro","followers_url":"https://api.github.com/users/stavro/followers","following_url":"https://api.github.com/users/stavro/following{/other_user}","gists_url":"https://api.github.com/users/stavro/gists{/gist_id}","starred_url":"https://api.github.com/users/stavro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stavro/subscriptions","organizations_url":"https://api.github.com/users/stavro/orgs","repos_url":"https://api.github.com/users/stavro/repos","events_url":"https://api.github.com/users/stavro/events{/privacy}","received_events_url":"https://api.github.com/users/stavro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stavro/arc","description":":paperclip: Flexible file upload and attachment library for Elixir","fork":false,"url":"https://api.github.com/repos/stavro/arc","forks_url":"https://api.github.com/repos/stavro/arc/forks","keys_url":"https://api.github.com/repos/stavro/arc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stavro/arc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stavro/arc/teams","hooks_url":"https://api.github.com/repos/stavro/arc/hooks","issue_events_url":"https://api.github.com/repos/stavro/arc/issues/events{/number}","events_url":"https://api.github.com/repos/stavro/arc/events","assignees_url":"https://api.github.com/repos/stavro/arc/assignees{/user}","branches_url":"https://api.github.com/repos/stavro/arc/branches{/branch}","tags_url":"https://api.github.com/repos/stavro/arc/tags","blobs_url":"https://api.github.com/repos/stavro/arc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stavro/arc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stavro/arc/git/refs{/sha}","trees_url":"https://api.github.com/repos/stavro/arc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stavro/arc/statuses/{sha}","languages_url":"https://api.github.com/repos/stavro/arc/languages","stargazers_url":"https://api.github.com/repos/stavro/arc/stargazers","contributors_url":"https://api.github.com/repos/stavro/arc/contributors","subscribers_url":"https://api.github.com/repos/stavro/arc/subscribers","subscription_url":"https://api.github.com/repos/stavro/arc/subscription","commits_url":"https://api.github.com/repos/stavro/arc/commits{/sha}","git_commits_url":"https://api.github.com/repos/stavro/arc/git/commits{/sha}","comments_url":"https://api.github.com/repos/stavro/arc/comments{/number}","issue_comment_url":"https://api.github.com/repos/stavro/arc/issues/comments{/number}","contents_url":"https://api.github.com/repos/stavro/arc/contents/{+path}","compare_url":"https://api.github.com/repos/stavro/arc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stavro/arc/merges","archive_url":"https://api.github.com/repos/stavro/arc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stavro/arc/downloads","issues_url":"https://api.github.com/repos/stavro/arc/issues{/number}","pulls_url":"https://api.github.com/repos/stavro/arc/pulls{/number}","milestones_url":"https://api.github.com/repos/stavro/arc/milestones{/number}","notifications_url":"https://api.github.com/repos/stavro/arc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stavro/arc/labels{/name}","releases_url":"https://api.github.com/repos/stavro/arc/releases{/id}","deployments_url":"https://api.github.com/repos/stavro/arc/deployments","created_at":"2015-06-05T05:52:31Z","updated_at":"2016-09-27T08:46:16Z","pushed_at":"2016-09-28T00:22:13Z","git_url":"git://github.com/stavro/arc.git","ssh_url":"git@github.com:stavro/arc.git","clone_url":"https://github.com/stavro/arc.git","svn_url":"https://github.com/stavro/arc","homepage":"","size":168,"stargazers_count":359,"watchers_count":359,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":26,"forks":61,"open_issues":26,"watchers":359,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stavro/arc/pulls/108"},"html":{"href":"https://github.com/stavro/arc/pull/108"},"issue":{"href":"https://api.github.com/repos/stavro/arc/issues/108"},"comments":{"href":"https://api.github.com/repos/stavro/arc/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/stavro/arc/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/stavro/arc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stavro/arc/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/stavro/arc/statuses/8e22b9530ed3b4d83f0a4540fcd0052e643b43f8"}}}}
{"actor":{"display_login":"gullitmiranda"}}