{"action":"created","comment":{"url":"https://api.github.com/repos/appium/sample-code/pulls/comments/25486741","id":25486741,"diff_hunk":"@@ -0,0 +1,6 @@\n+# config/cucumber.yml\n+##YAML Template\n+---\n+ipadsim: IDEVICE=ipad IDEVICENAME='ipad simulator'","path":"sample-code/examples/ruby/cucumber_ios/config/cucumber.yml","position":4,"original_position":4,"commit_id":"5d25863281369c743fc6a3e52a3e8aedca85773d","original_commit_id":"5d25863281369c743fc6a3e52a3e8aedca85773d","user":{"login":"faidy","id":7017200,"avatar_url":"https://avatars.githubusercontent.com/u/7017200?v=3","gravatar_id":"","url":"https://api.github.com/users/faidy","html_url":"https://github.com/faidy","followers_url":"https://api.github.com/users/faidy/followers","following_url":"https://api.github.com/users/faidy/following{/other_user}","gists_url":"https://api.github.com/users/faidy/gists{/gist_id}","starred_url":"https://api.github.com/users/faidy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faidy/subscriptions","organizations_url":"https://api.github.com/users/faidy/orgs","repos_url":"https://api.github.com/users/faidy/repos","events_url":"https://api.github.com/users/faidy/events{/privacy}","received_events_url":"https://api.github.com/users/faidy/received_events","type":"User","site_admin":false},"body":"I intended to use it in step definitions that are different on different form factors but I didn't find an applicable case here.\r\nI will remove it now.","created_at":"2015-02-27T03:58:31Z","updated_at":"2015-02-27T03:58:31Z","html_url":"https://github.com/appium/sample-code/pull/35#discussion_r25486741","pull_request_url":"https://api.github.com/repos/appium/sample-code/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/appium/sample-code/pulls/comments/25486741"},"html":{"href":"https://github.com/appium/sample-code/pull/35#discussion_r25486741"},"pull_request":{"href":"https://api.github.com/repos/appium/sample-code/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/appium/sample-code/pulls/35","id":30114158,"html_url":"https://github.com/appium/sample-code/pull/35","diff_url":"https://github.com/appium/sample-code/pull/35.diff","patch_url":"https://github.com/appium/sample-code/pull/35.patch","issue_url":"https://api.github.com/repos/appium/sample-code/issues/35","number":35,"state":"open","locked":false,"title":"Added iphone and ipad profiles to cucumber.yml for different running configurations for the ruby cucumber sample","user":{"login":"faidy","id":7017200,"avatar_url":"https://avatars.githubusercontent.com/u/7017200?v=3","gravatar_id":"","url":"https://api.github.com/users/faidy","html_url":"https://github.com/faidy","followers_url":"https://api.github.com/users/faidy/followers","following_url":"https://api.github.com/users/faidy/following{/other_user}","gists_url":"https://api.github.com/users/faidy/gists{/gist_id}","starred_url":"https://api.github.com/users/faidy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faidy/subscriptions","organizations_url":"https://api.github.com/users/faidy/orgs","repos_url":"https://api.github.com/users/faidy/repos","events_url":"https://api.github.com/users/faidy/events{/privacy}","received_events_url":"https://api.github.com/users/faidy/received_events","type":"User","site_admin":false},"body":"- Added iphonesim and ipadsim profiles to cucumber.yml\r\n- Defined IDEVICE and IDEVICENAME environment variables in cucumber.yml\r\n- Used IDEVICENAME in env.rb to load the appium.txt file related to the configuration\r\n- Left the regular configuration as is so as not to cause any confusion\r\n- IDEVICE environment variable can be used to branch step definitions that are not the same in iPhone and iPad\r\n- Now, running `cucumber -p ipadsim` will launch the ipad air simulator while `cucumber -p iphonesim` will launch the iphone 6 simulator","created_at":"2015-02-26T20:41:28Z","updated_at":"2015-02-27T03:58:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0fe5374aa07765fc3df64f4744e28a37748e0136","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/appium/sample-code/pulls/35/commits","review_comments_url":"https://api.github.com/repos/appium/sample-code/pulls/35/comments","review_comment_url":"https://api.github.com/repos/appium/sample-code/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appium/sample-code/issues/35/comments","statuses_url":"https://api.github.com/repos/appium/sample-code/statuses/5d25863281369c743fc6a3e52a3e8aedca85773d","head":{"label":"faidy:master","ref":"master","sha":"5d25863281369c743fc6a3e52a3e8aedca85773d","user":{"login":"faidy","id":7017200,"avatar_url":"https://avatars.githubusercontent.com/u/7017200?v=3","gravatar_id":"","url":"https://api.github.com/users/faidy","html_url":"https://github.com/faidy","followers_url":"https://api.github.com/users/faidy/followers","following_url":"https://api.github.com/users/faidy/following{/other_user}","gists_url":"https://api.github.com/users/faidy/gists{/gist_id}","starred_url":"https://api.github.com/users/faidy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faidy/subscriptions","organizations_url":"https://api.github.com/users/faidy/orgs","repos_url":"https://api.github.com/users/faidy/repos","events_url":"https://api.github.com/users/faidy/events{/privacy}","received_events_url":"https://api.github.com/users/faidy/received_events","type":"User","site_admin":false},"repo":{"id":30317293,"name":"sample-code","full_name":"faidy/sample-code","owner":{"login":"faidy","id":7017200,"avatar_url":"https://avatars.githubusercontent.com/u/7017200?v=3","gravatar_id":"","url":"https://api.github.com/users/faidy","html_url":"https://github.com/faidy","followers_url":"https://api.github.com/users/faidy/followers","following_url":"https://api.github.com/users/faidy/following{/other_user}","gists_url":"https://api.github.com/users/faidy/gists{/gist_id}","starred_url":"https://api.github.com/users/faidy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faidy/subscriptions","organizations_url":"https://api.github.com/users/faidy/orgs","repos_url":"https://api.github.com/users/faidy/repos","events_url":"https://api.github.com/users/faidy/events{/privacy}","received_events_url":"https://api.github.com/users/faidy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/faidy/sample-code","description":"appium sample code (dotnet, java, node, perl, php, python, ruby, etc.)","fork":true,"url":"https://api.github.com/repos/faidy/sample-code","forks_url":"https://api.github.com/repos/faidy/sample-code/forks","keys_url":"https://api.github.com/repos/faidy/sample-code/keys{/key_id}","collaborators_url":"https://api.github.com/repos/faidy/sample-code/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/faidy/sample-code/teams","hooks_url":"https://api.github.com/repos/faidy/sample-code/hooks","issue_events_url":"https://api.github.com/repos/faidy/sample-code/issues/events{/number}","events_url":"https://api.github.com/repos/faidy/sample-code/events","assignees_url":"https://api.github.com/repos/faidy/sample-code/assignees{/user}","branches_url":"https://api.github.com/repos/faidy/sample-code/branches{/branch}","tags_url":"https://api.github.com/repos/faidy/sample-code/tags","blobs_url":"https://api.github.com/repos/faidy/sample-code/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/faidy/sample-code/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/faidy/sample-code/git/refs{/sha}","trees_url":"https://api.github.com/repos/faidy/sample-code/git/trees{/sha}","statuses_url":"https://api.github.com/repos/faidy/sample-code/statuses/{sha}","languages_url":"https://api.github.com/repos/faidy/sample-code/languages","stargazers_url":"https://api.github.com/repos/faidy/sample-code/stargazers","contributors_url":"https://api.github.com/repos/faidy/sample-code/contributors","subscribers_url":"https://api.github.com/repos/faidy/sample-code/subscribers","subscription_url":"https://api.github.com/repos/faidy/sample-code/subscription","commits_url":"https://api.github.com/repos/faidy/sample-code/commits{/sha}","git_commits_url":"https://api.github.com/repos/faidy/sample-code/git/commits{/sha}","comments_url":"https://api.github.com/repos/faidy/sample-code/comments{/number}","issue_comment_url":"https://api.github.com/repos/faidy/sample-code/issues/comments{/number}","contents_url":"https://api.github.com/repos/faidy/sample-code/contents/{+path}","compare_url":"https://api.github.com/repos/faidy/sample-code/compare/{base}...{head}","merges_url":"https://api.github.com/repos/faidy/sample-code/merges","archive_url":"https://api.github.com/repos/faidy/sample-code/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/faidy/sample-code/downloads","issues_url":"https://api.github.com/repos/faidy/sample-code/issues{/number}","pulls_url":"https://api.github.com/repos/faidy/sample-code/pulls{/number}","milestones_url":"https://api.github.com/repos/faidy/sample-code/milestones{/number}","notifications_url":"https://api.github.com/repos/faidy/sample-code/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/faidy/sample-code/labels{/name}","releases_url":"https://api.github.com/repos/faidy/sample-code/releases{/id}","created_at":"2015-02-04T19:39:20Z","updated_at":"2015-02-26T20:32:21Z","pushed_at":"2015-02-26T20:32:20Z","git_url":"git://github.com/faidy/sample-code.git","ssh_url":"git@github.com:faidy/sample-code.git","clone_url":"https://github.com/faidy/sample-code.git","svn_url":"https://github.com/faidy/sample-code","homepage":"","size":20705,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"appium:master","ref":"master","sha":"722b9dd4c6a890719eb755d13dee9d12b23f2808","user":{"login":"appium","id":3221291,"avatar_url":"https://avatars.githubusercontent.com/u/3221291?v=3","gravatar_id":"","url":"https://api.github.com/users/appium","html_url":"https://github.com/appium","followers_url":"https://api.github.com/users/appium/followers","following_url":"https://api.github.com/users/appium/following{/other_user}","gists_url":"https://api.github.com/users/appium/gists{/gist_id}","starred_url":"https://api.github.com/users/appium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appium/subscriptions","organizations_url":"https://api.github.com/users/appium/orgs","repos_url":"https://api.github.com/users/appium/repos","events_url":"https://api.github.com/users/appium/events{/privacy}","received_events_url":"https://api.github.com/users/appium/received_events","type":"Organization","site_admin":false},"repo":{"id":22625346,"name":"sample-code","full_name":"appium/sample-code","owner":{"login":"appium","id":3221291,"avatar_url":"https://avatars.githubusercontent.com/u/3221291?v=3","gravatar_id":"","url":"https://api.github.com/users/appium","html_url":"https://github.com/appium","followers_url":"https://api.github.com/users/appium/followers","following_url":"https://api.github.com/users/appium/following{/other_user}","gists_url":"https://api.github.com/users/appium/gists{/gist_id}","starred_url":"https://api.github.com/users/appium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appium/subscriptions","organizations_url":"https://api.github.com/users/appium/orgs","repos_url":"https://api.github.com/users/appium/repos","events_url":"https://api.github.com/users/appium/events{/privacy}","received_events_url":"https://api.github.com/users/appium/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appium/sample-code","description":"appium sample code (dotnet, java, node, perl, php, python, ruby, etc.)","fork":false,"url":"https://api.github.com/repos/appium/sample-code","forks_url":"https://api.github.com/repos/appium/sample-code/forks","keys_url":"https://api.github.com/repos/appium/sample-code/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appium/sample-code/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appium/sample-code/teams","hooks_url":"https://api.github.com/repos/appium/sample-code/hooks","issue_events_url":"https://api.github.com/repos/appium/sample-code/issues/events{/number}","events_url":"https://api.github.com/repos/appium/sample-code/events","assignees_url":"https://api.github.com/repos/appium/sample-code/assignees{/user}","branches_url":"https://api.github.com/repos/appium/sample-code/branches{/branch}","tags_url":"https://api.github.com/repos/appium/sample-code/tags","blobs_url":"https://api.github.com/repos/appium/sample-code/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appium/sample-code/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appium/sample-code/git/refs{/sha}","trees_url":"https://api.github.com/repos/appium/sample-code/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appium/sample-code/statuses/{sha}","languages_url":"https://api.github.com/repos/appium/sample-code/languages","stargazers_url":"https://api.github.com/repos/appium/sample-code/stargazers","contributors_url":"https://api.github.com/repos/appium/sample-code/contributors","subscribers_url":"https://api.github.com/repos/appium/sample-code/subscribers","subscription_url":"https://api.github.com/repos/appium/sample-code/subscription","commits_url":"https://api.github.com/repos/appium/sample-code/commits{/sha}","git_commits_url":"https://api.github.com/repos/appium/sample-code/git/commits{/sha}","comments_url":"https://api.github.com/repos/appium/sample-code/comments{/number}","issue_comment_url":"https://api.github.com/repos/appium/sample-code/issues/comments{/number}","contents_url":"https://api.github.com/repos/appium/sample-code/contents/{+path}","compare_url":"https://api.github.com/repos/appium/sample-code/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appium/sample-code/merges","archive_url":"https://api.github.com/repos/appium/sample-code/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appium/sample-code/downloads","issues_url":"https://api.github.com/repos/appium/sample-code/issues{/number}","pulls_url":"https://api.github.com/repos/appium/sample-code/pulls{/number}","milestones_url":"https://api.github.com/repos/appium/sample-code/milestones{/number}","notifications_url":"https://api.github.com/repos/appium/sample-code/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appium/sample-code/labels{/name}","releases_url":"https://api.github.com/repos/appium/sample-code/releases{/id}","created_at":"2014-08-05T01:05:03Z","updated_at":"2015-02-27T00:27:55Z","pushed_at":"2015-02-20T18:46:09Z","git_url":"git://github.com/appium/sample-code.git","ssh_url":"git@github.com:appium/sample-code.git","clone_url":"https://github.com/appium/sample-code.git","svn_url":"https://github.com/appium/sample-code","homepage":"","size":23351,"stargazers_count":86,"watchers_count":86,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":242,"mirror_url":null,"open_issues_count":12,"forks":242,"open_issues":12,"watchers":86,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appium/sample-code/pulls/35"},"html":{"href":"https://github.com/appium/sample-code/pull/35"},"issue":{"href":"https://api.github.com/repos/appium/sample-code/issues/35"},"comments":{"href":"https://api.github.com/repos/appium/sample-code/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/appium/sample-code/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/appium/sample-code/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appium/sample-code/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/appium/sample-code/statuses/5d25863281369c743fc6a3e52a3e8aedca85773d"}}}}