{"action":"created","comment":{"url":"https://api.github.com/repos/openSUSE/osem/pulls/comments/28964961","id":28964961,"diff_hunk":"@@ -1,12 +1,12 @@\n--if commercial_type == CONFIG['commercial_types']['slideshare']\n+-if commercial_type == Commercial.provider['slideshare']\n   %iframe{:width=>\"560\", :height=>\"315\", :frameborder=>\"0\", :allowfullscreen=>\"true\", :src=> (request.ssl? ? \"https://\" : \"http://\") + \"www.slideshare.net/slideshow/embed_code/#{commercial_id}\"}","path":"app/views/shared/_media_item.html.haml","position":3,"original_position":3,"commit_id":"58974d69143aaf648fd21307c1088ed5da5c2050","original_commit_id":"58974d69143aaf648fd21307c1088ed5da5c2050","user":{"login":"hennevogel","id":514785,"avatar_url":"https://avatars.githubusercontent.com/u/514785?v=3","gravatar_id":"","url":"https://api.github.com/users/hennevogel","html_url":"https://github.com/hennevogel","followers_url":"https://api.github.com/users/hennevogel/followers","following_url":"https://api.github.com/users/hennevogel/following{/other_user}","gists_url":"https://api.github.com/users/hennevogel/gists{/gist_id}","starred_url":"https://api.github.com/users/hennevogel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hennevogel/subscriptions","organizations_url":"https://api.github.com/users/hennevogel/orgs","repos_url":"https://api.github.com/users/hennevogel/repos","events_url":"https://api.github.com/users/hennevogel/events{/privacy}","received_events_url":"https://api.github.com/users/hennevogel/received_events","type":"User","site_admin":false},"body":":width=>\"100%\"\r\n:height=>\"100%\"\r\n\r\nshould work well with a [responsive embed](http://getbootstrap.com/components/#responsive-embed)","created_at":"2015-04-23T14:06:10Z","updated_at":"2015-04-23T14:06:10Z","html_url":"https://github.com/openSUSE/osem/pull/637#discussion_r28964961","pull_request_url":"https://api.github.com/repos/openSUSE/osem/pulls/637","_links":{"self":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/comments/28964961"},"html":{"href":"https://github.com/openSUSE/osem/pull/637#discussion_r28964961"},"pull_request":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/637"}}},"pull_request":{"url":"https://api.github.com/repos/openSUSE/osem/pulls/637","id":33543133,"html_url":"https://github.com/openSUSE/osem/pull/637","diff_url":"https://github.com/openSUSE/osem/pull/637.diff","patch_url":"https://github.com/openSUSE/osem/pull/637.patch","issue_url":"https://api.github.com/repos/openSUSE/osem/issues/637","number":637,"state":"open","locked":false,"title":"Implement simplified commercial integration (#633)","user":{"login":"ChrisBr","id":3799140,"avatar_url":"https://avatars.githubusercontent.com/u/3799140?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisBr","html_url":"https://github.com/ChrisBr","followers_url":"https://api.github.com/users/ChrisBr/followers","following_url":"https://api.github.com/users/ChrisBr/following{/other_user}","gists_url":"https://api.github.com/users/ChrisBr/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisBr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisBr/subscriptions","organizations_url":"https://api.github.com/users/ChrisBr/orgs","repos_url":"https://api.github.com/users/ChrisBr/repos","events_url":"https://api.github.com/users/ChrisBr/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisBr/received_events","type":"User","site_admin":false},"body":"Fixes (#633)\r\nIt's now possible to simply enter an URL instead of copying the id / whatever.\r\nhttp://paste.opensuse.org/view/raw/14705047\r\nhttp://paste.opensuse.org/view/raw/64575612\r\n\r\nTODO:\r\n- tests / testing\r\n- migration (don't know how to generate the old url out of the id for speakerdeck)\r\n\r\n@differentreality @hennevogel please review!","created_at":"2015-04-17T13:18:24Z","updated_at":"2015-04-23T14:06:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2df43ea482668cf954cf1716a9ea9287acdc21e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openSUSE/osem/pulls/637/commits","review_comments_url":"https://api.github.com/repos/openSUSE/osem/pulls/637/comments","review_comment_url":"https://api.github.com/repos/openSUSE/osem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openSUSE/osem/issues/637/comments","statuses_url":"https://api.github.com/repos/openSUSE/osem/statuses/58974d69143aaf648fd21307c1088ed5da5c2050","head":{"label":"ChrisBr:commercial","ref":"commercial","sha":"58974d69143aaf648fd21307c1088ed5da5c2050","user":{"login":"ChrisBr","id":3799140,"avatar_url":"https://avatars.githubusercontent.com/u/3799140?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisBr","html_url":"https://github.com/ChrisBr","followers_url":"https://api.github.com/users/ChrisBr/followers","following_url":"https://api.github.com/users/ChrisBr/following{/other_user}","gists_url":"https://api.github.com/users/ChrisBr/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisBr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisBr/subscriptions","organizations_url":"https://api.github.com/users/ChrisBr/orgs","repos_url":"https://api.github.com/users/ChrisBr/repos","events_url":"https://api.github.com/users/ChrisBr/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisBr/received_events","type":"User","site_admin":false},"repo":{"id":17600815,"name":"osem","full_name":"ChrisBr/osem","owner":{"login":"ChrisBr","id":3799140,"avatar_url":"https://avatars.githubusercontent.com/u/3799140?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisBr","html_url":"https://github.com/ChrisBr","followers_url":"https://api.github.com/users/ChrisBr/followers","following_url":"https://api.github.com/users/ChrisBr/following{/other_user}","gists_url":"https://api.github.com/users/ChrisBr/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisBr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisBr/subscriptions","organizations_url":"https://api.github.com/users/ChrisBr/orgs","repos_url":"https://api.github.com/users/ChrisBr/repos","events_url":"https://api.github.com/users/ChrisBr/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisBr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChrisBr/osem","description":"Open Source Event Manager","fork":true,"url":"https://api.github.com/repos/ChrisBr/osem","forks_url":"https://api.github.com/repos/ChrisBr/osem/forks","keys_url":"https://api.github.com/repos/ChrisBr/osem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChrisBr/osem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChrisBr/osem/teams","hooks_url":"https://api.github.com/repos/ChrisBr/osem/hooks","issue_events_url":"https://api.github.com/repos/ChrisBr/osem/issues/events{/number}","events_url":"https://api.github.com/repos/ChrisBr/osem/events","assignees_url":"https://api.github.com/repos/ChrisBr/osem/assignees{/user}","branches_url":"https://api.github.com/repos/ChrisBr/osem/branches{/branch}","tags_url":"https://api.github.com/repos/ChrisBr/osem/tags","blobs_url":"https://api.github.com/repos/ChrisBr/osem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChrisBr/osem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChrisBr/osem/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChrisBr/osem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChrisBr/osem/statuses/{sha}","languages_url":"https://api.github.com/repos/ChrisBr/osem/languages","stargazers_url":"https://api.github.com/repos/ChrisBr/osem/stargazers","contributors_url":"https://api.github.com/repos/ChrisBr/osem/contributors","subscribers_url":"https://api.github.com/repos/ChrisBr/osem/subscribers","subscription_url":"https://api.github.com/repos/ChrisBr/osem/subscription","commits_url":"https://api.github.com/repos/ChrisBr/osem/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChrisBr/osem/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChrisBr/osem/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChrisBr/osem/issues/comments{/number}","contents_url":"https://api.github.com/repos/ChrisBr/osem/contents/{+path}","compare_url":"https://api.github.com/repos/ChrisBr/osem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChrisBr/osem/merges","archive_url":"https://api.github.com/repos/ChrisBr/osem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChrisBr/osem/downloads","issues_url":"https://api.github.com/repos/ChrisBr/osem/issues{/number}","pulls_url":"https://api.github.com/repos/ChrisBr/osem/pulls{/number}","milestones_url":"https://api.github.com/repos/ChrisBr/osem/milestones{/number}","notifications_url":"https://api.github.com/repos/ChrisBr/osem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChrisBr/osem/labels{/name}","releases_url":"https://api.github.com/repos/ChrisBr/osem/releases{/id}","created_at":"2014-03-10T17:04:49Z","updated_at":"2015-02-02T21:34:36Z","pushed_at":"2015-04-22T20:29:24Z","git_url":"git://github.com/ChrisBr/osem.git","ssh_url":"git@github.com:ChrisBr/osem.git","clone_url":"https://github.com/ChrisBr/osem.git","svn_url":"https://github.com/ChrisBr/osem","homepage":null,"size":5618,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"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":"openSUSE:master","ref":"master","sha":"9963c1550f67a7c516dee9e48b3fcda561440986","user":{"login":"openSUSE","id":623819,"avatar_url":"https://avatars.githubusercontent.com/u/623819?v=3","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":5911225,"name":"osem","full_name":"openSUSE/osem","owner":{"login":"openSUSE","id":623819,"avatar_url":"https://avatars.githubusercontent.com/u/623819?v=3","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openSUSE/osem","description":"Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.","fork":false,"url":"https://api.github.com/repos/openSUSE/osem","forks_url":"https://api.github.com/repos/openSUSE/osem/forks","keys_url":"https://api.github.com/repos/openSUSE/osem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openSUSE/osem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openSUSE/osem/teams","hooks_url":"https://api.github.com/repos/openSUSE/osem/hooks","issue_events_url":"https://api.github.com/repos/openSUSE/osem/issues/events{/number}","events_url":"https://api.github.com/repos/openSUSE/osem/events","assignees_url":"https://api.github.com/repos/openSUSE/osem/assignees{/user}","branches_url":"https://api.github.com/repos/openSUSE/osem/branches{/branch}","tags_url":"https://api.github.com/repos/openSUSE/osem/tags","blobs_url":"https://api.github.com/repos/openSUSE/osem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openSUSE/osem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openSUSE/osem/git/refs{/sha}","trees_url":"https://api.github.com/repos/openSUSE/osem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openSUSE/osem/statuses/{sha}","languages_url":"https://api.github.com/repos/openSUSE/osem/languages","stargazers_url":"https://api.github.com/repos/openSUSE/osem/stargazers","contributors_url":"https://api.github.com/repos/openSUSE/osem/contributors","subscribers_url":"https://api.github.com/repos/openSUSE/osem/subscribers","subscription_url":"https://api.github.com/repos/openSUSE/osem/subscription","commits_url":"https://api.github.com/repos/openSUSE/osem/commits{/sha}","git_commits_url":"https://api.github.com/repos/openSUSE/osem/git/commits{/sha}","comments_url":"https://api.github.com/repos/openSUSE/osem/comments{/number}","issue_comment_url":"https://api.github.com/repos/openSUSE/osem/issues/comments{/number}","contents_url":"https://api.github.com/repos/openSUSE/osem/contents/{+path}","compare_url":"https://api.github.com/repos/openSUSE/osem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openSUSE/osem/merges","archive_url":"https://api.github.com/repos/openSUSE/osem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openSUSE/osem/downloads","issues_url":"https://api.github.com/repos/openSUSE/osem/issues{/number}","pulls_url":"https://api.github.com/repos/openSUSE/osem/pulls{/number}","milestones_url":"https://api.github.com/repos/openSUSE/osem/milestones{/number}","notifications_url":"https://api.github.com/repos/openSUSE/osem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openSUSE/osem/labels{/name}","releases_url":"https://api.github.com/repos/openSUSE/osem/releases{/id}","created_at":"2012-09-22T07:40:18Z","updated_at":"2015-04-23T10:20:33Z","pushed_at":"2015-04-23T11:54:50Z","git_url":"git://github.com/openSUSE/osem.git","ssh_url":"git@github.com:openSUSE/osem.git","clone_url":"https://github.com/openSUSE/osem.git","svn_url":"https://github.com/openSUSE/osem","homepage":"http://osem.io","size":25036,"stargazers_count":37,"watchers_count":37,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":34,"mirror_url":null,"open_issues_count":76,"forks":34,"open_issues":76,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/637"},"html":{"href":"https://github.com/openSUSE/osem/pull/637"},"issue":{"href":"https://api.github.com/repos/openSUSE/osem/issues/637"},"comments":{"href":"https://api.github.com/repos/openSUSE/osem/issues/637/comments"},"review_comments":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/637/comments"},"review_comment":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openSUSE/osem/pulls/637/commits"},"statuses":{"href":"https://api.github.com/repos/openSUSE/osem/statuses/58974d69143aaf648fd21307c1088ed5da5c2050"}}}}