{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/chardane/ClarifaiRuby/pulls/4","id":58850479,"html_url":"https://github.com/chardane/ClarifaiRuby/pull/4","diff_url":"https://github.com/chardane/ClarifaiRuby/pull/4.diff","patch_url":"https://github.com/chardane/ClarifaiRuby/pull/4.patch","issue_url":"https://api.github.com/repos/chardane/ClarifaiRuby/issues/4","number":4,"state":"open","locked":false,"title":"remove rake console, use bin/console instead","user":{"login":"chardane","id":3520614,"avatar_url":"https://avatars.githubusercontent.com/u/3520614?v=3","gravatar_id":"","url":"https://api.github.com/users/chardane","html_url":"https://github.com/chardane","followers_url":"https://api.github.com/users/chardane/followers","following_url":"https://api.github.com/users/chardane/following{/other_user}","gists_url":"https://api.github.com/users/chardane/gists{/gist_id}","starred_url":"https://api.github.com/users/chardane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chardane/subscriptions","organizations_url":"https://api.github.com/users/chardane/orgs","repos_url":"https://api.github.com/users/chardane/repos","events_url":"https://api.github.com/users/chardane/events{/privacy}","received_events_url":"https://api.github.com/users/chardane/received_events","type":"User","site_admin":false},"body":"I didn’t see that this is possible! This gives the ability to have an initialized configuration for the ClarifaiRuby module when you run `bin/console`, so you don’t have to copy paste the configs every time.\r\n\r\nSo now, run `bin/console` and you'd be able to play around with all our objects right away.\r\n\r\nBonus: I put in a `@client`, so if you want to make http requests directly using our ClarifaiRuby::Client, you can use it!  Example:\r\n```\r\n$ bin/console\r\nrb(main):001:0> @client\r\n=> #<ClarifaiRuby::Client:0x007fefbcca9de8 @token=\"07dOq1yBQ6CEPkuYi66Wptdw7EqzQJ\">\r\nrb(main):002:0> @client.get(\"/info\")\r\n=> #<HTTParty::Response:0x7fbe6a5462f0 parsed_response= ...\r\n```","created_at":"2016-02-10T05:51:45Z","updated_at":"2016-02-10T05:51:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chardane/ClarifaiRuby/pulls/4/commits","review_comments_url":"https://api.github.com/repos/chardane/ClarifaiRuby/pulls/4/comments","review_comment_url":"https://api.github.com/repos/chardane/ClarifaiRuby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chardane/ClarifaiRuby/issues/4/comments","statuses_url":"https://api.github.com/repos/chardane/ClarifaiRuby/statuses/d9cb3be9919d54e888e2c090233ff10381b7b496","head":{"label":"chardane:better_console","ref":"better_console","sha":"d9cb3be9919d54e888e2c090233ff10381b7b496","user":{"login":"chardane","id":3520614,"avatar_url":"https://avatars.githubusercontent.com/u/3520614?v=3","gravatar_id":"","url":"https://api.github.com/users/chardane","html_url":"https://github.com/chardane","followers_url":"https://api.github.com/users/chardane/followers","following_url":"https://api.github.com/users/chardane/following{/other_user}","gists_url":"https://api.github.com/users/chardane/gists{/gist_id}","starred_url":"https://api.github.com/users/chardane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chardane/subscriptions","organizations_url":"https://api.github.com/users/chardane/orgs","repos_url":"https://api.github.com/users/chardane/repos","events_url":"https://api.github.com/users/chardane/events{/privacy}","received_events_url":"https://api.github.com/users/chardane/received_events","type":"User","site_admin":false},"repo":{"id":50637033,"name":"ClarifaiRuby","full_name":"chardane/ClarifaiRuby","owner":{"login":"chardane","id":3520614,"avatar_url":"https://avatars.githubusercontent.com/u/3520614?v=3","gravatar_id":"","url":"https://api.github.com/users/chardane","html_url":"https://github.com/chardane","followers_url":"https://api.github.com/users/chardane/followers","following_url":"https://api.github.com/users/chardane/following{/other_user}","gists_url":"https://api.github.com/users/chardane/gists{/gist_id}","starred_url":"https://api.github.com/users/chardane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chardane/subscriptions","organizations_url":"https://api.github.com/users/chardane/orgs","repos_url":"https://api.github.com/users/chardane/repos","events_url":"https://api.github.com/users/chardane/events{/privacy}","received_events_url":"https://api.github.com/users/chardane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chardane/ClarifaiRuby","description":"Ruby client for Clarifai API","fork":false,"url":"https://api.github.com/repos/chardane/ClarifaiRuby","forks_url":"https://api.github.com/repos/chardane/ClarifaiRuby/forks","keys_url":"https://api.github.com/repos/chardane/ClarifaiRuby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chardane/ClarifaiRuby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chardane/ClarifaiRuby/teams","hooks_url":"https://api.github.com/repos/chardane/ClarifaiRuby/hooks","issue_events_url":"https://api.github.com/repos/chardane/ClarifaiRuby/issues/events{/number}","events_url":"https://api.github.com/repos/chardane/ClarifaiRuby/events","assignees_url":"https://api.github.com/repos/chardane/ClarifaiRuby/assignees{/user}","branches_url":"https://api.github.com/repos/chardane/ClarifaiRuby/branches{/branch}","tags_url":"https://api.github.com/repos/chardane/ClarifaiRuby/tags","blobs_url":"https://api.github.com/repos/chardane/ClarifaiRuby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chardane/ClarifaiRuby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chardane/ClarifaiRuby/git/refs{/sha}","trees_url":"https://api.github.com/repos/chardane/ClarifaiRuby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chardane/ClarifaiRuby/statuses/{sha}","languages_url":"https://api.github.com/repos/chardane/ClarifaiRuby/languages","stargazers_url":"https://api.github.com/repos/chardane/ClarifaiRuby/stargazers","contributors_url":"https://api.github.com/repos/chardane/ClarifaiRuby/contributors","subscribers_url":"https://api.github.com/repos/chardane/ClarifaiRuby/subscribers","subscription_url":"https://api.github.com/repos/chardane/ClarifaiRuby/subscription","commits_url":"https://api.github.com/repos/chardane/ClarifaiRuby/commits{/sha}","git_commits_url":"https://api.github.com/repos/chardane/ClarifaiRuby/git/commits{/sha}","comments_url":"https://api.github.com/repos/chardane/ClarifaiRuby/comments{/number}","issue_comment_url":"https://api.github.com/repos/chardane/ClarifaiRuby/issues/comments{/number}","contents_url":"https://api.github.com/repos/chardane/ClarifaiRuby/contents/{+path}","compare_url":"https://api.github.com/repos/chardane/ClarifaiRuby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chardane/ClarifaiRuby/merges","archive_url":"https://api.github.com/repos/chardane/ClarifaiRuby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chardane/ClarifaiRuby/downloads","issues_url":"https://api.github.com/repos/chardane/ClarifaiRuby/issues{/number}","pulls_url":"https://api.github.com/repos/chardane/ClarifaiRuby/pulls{/number}","milestones_url":"https://api.github.com/repos/chardane/ClarifaiRuby/milestones{/number}","notifications_url":"https://api.github.com/repos/chardane/ClarifaiRuby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chardane/ClarifaiRuby/labels{/name}","releases_url":"https://api.github.com/repos/chardane/ClarifaiRuby/releases{/id}","deployments_url":"https://api.github.com/repos/chardane/ClarifaiRuby/deployments","created_at":"2016-01-29T04:20:06Z","updated_at":"2016-01-29T04:21:11Z","pushed_at":"2016-02-10T05:47:46Z","git_url":"git://github.com/chardane/ClarifaiRuby.git","ssh_url":"git@github.com:chardane/ClarifaiRuby.git","clone_url":"https://github.com/chardane/ClarifaiRuby.git","svn_url":"https://github.com/chardane/ClarifaiRuby","homepage":null,"size":30,"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":"chardane:master","ref":"master","sha":"02abc0241d14c446f6923e77f0b1e8b363bc9267","user":{"login":"chardane","id":3520614,"avatar_url":"https://avatars.githubusercontent.com/u/3520614?v=3","gravatar_id":"","url":"https://api.github.com/users/chardane","html_url":"https://github.com/chardane","followers_url":"https://api.github.com/users/chardane/followers","following_url":"https://api.github.com/users/chardane/following{/other_user}","gists_url":"https://api.github.com/users/chardane/gists{/gist_id}","starred_url":"https://api.github.com/users/chardane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chardane/subscriptions","organizations_url":"https://api.github.com/users/chardane/orgs","repos_url":"https://api.github.com/users/chardane/repos","events_url":"https://api.github.com/users/chardane/events{/privacy}","received_events_url":"https://api.github.com/users/chardane/received_events","type":"User","site_admin":false},"repo":{"id":50637033,"name":"ClarifaiRuby","full_name":"chardane/ClarifaiRuby","owner":{"login":"chardane","id":3520614,"avatar_url":"https://avatars.githubusercontent.com/u/3520614?v=3","gravatar_id":"","url":"https://api.github.com/users/chardane","html_url":"https://github.com/chardane","followers_url":"https://api.github.com/users/chardane/followers","following_url":"https://api.github.com/users/chardane/following{/other_user}","gists_url":"https://api.github.com/users/chardane/gists{/gist_id}","starred_url":"https://api.github.com/users/chardane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chardane/subscriptions","organizations_url":"https://api.github.com/users/chardane/orgs","repos_url":"https://api.github.com/users/chardane/repos","events_url":"https://api.github.com/users/chardane/events{/privacy}","received_events_url":"https://api.github.com/users/chardane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chardane/ClarifaiRuby","description":"Ruby client for Clarifai API","fork":false,"url":"https://api.github.com/repos/chardane/ClarifaiRuby","forks_url":"https://api.github.com/repos/chardane/ClarifaiRuby/forks","keys_url":"https://api.github.com/repos/chardane/ClarifaiRuby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chardane/ClarifaiRuby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chardane/ClarifaiRuby/teams","hooks_url":"https://api.github.com/repos/chardane/ClarifaiRuby/hooks","issue_events_url":"https://api.github.com/repos/chardane/ClarifaiRuby/issues/events{/number}","events_url":"https://api.github.com/repos/chardane/ClarifaiRuby/events","assignees_url":"https://api.github.com/repos/chardane/ClarifaiRuby/assignees{/user}","branches_url":"https://api.github.com/repos/chardane/ClarifaiRuby/branches{/branch}","tags_url":"https://api.github.com/repos/chardane/ClarifaiRuby/tags","blobs_url":"https://api.github.com/repos/chardane/ClarifaiRuby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chardane/ClarifaiRuby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chardane/ClarifaiRuby/git/refs{/sha}","trees_url":"https://api.github.com/repos/chardane/ClarifaiRuby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chardane/ClarifaiRuby/statuses/{sha}","languages_url":"https://api.github.com/repos/chardane/ClarifaiRuby/languages","stargazers_url":"https://api.github.com/repos/chardane/ClarifaiRuby/stargazers","contributors_url":"https://api.github.com/repos/chardane/ClarifaiRuby/contributors","subscribers_url":"https://api.github.com/repos/chardane/ClarifaiRuby/subscribers","subscription_url":"https://api.github.com/repos/chardane/ClarifaiRuby/subscription","commits_url":"https://api.github.com/repos/chardane/ClarifaiRuby/commits{/sha}","git_commits_url":"https://api.github.com/repos/chardane/ClarifaiRuby/git/commits{/sha}","comments_url":"https://api.github.com/repos/chardane/ClarifaiRuby/comments{/number}","issue_comment_url":"https://api.github.com/repos/chardane/ClarifaiRuby/issues/comments{/number}","contents_url":"https://api.github.com/repos/chardane/ClarifaiRuby/contents/{+path}","compare_url":"https://api.github.com/repos/chardane/ClarifaiRuby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chardane/ClarifaiRuby/merges","archive_url":"https://api.github.com/repos/chardane/ClarifaiRuby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chardane/ClarifaiRuby/downloads","issues_url":"https://api.github.com/repos/chardane/ClarifaiRuby/issues{/number}","pulls_url":"https://api.github.com/repos/chardane/ClarifaiRuby/pulls{/number}","milestones_url":"https://api.github.com/repos/chardane/ClarifaiRuby/milestones{/number}","notifications_url":"https://api.github.com/repos/chardane/ClarifaiRuby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chardane/ClarifaiRuby/labels{/name}","releases_url":"https://api.github.com/repos/chardane/ClarifaiRuby/releases{/id}","deployments_url":"https://api.github.com/repos/chardane/ClarifaiRuby/deployments","created_at":"2016-01-29T04:20:06Z","updated_at":"2016-01-29T04:21:11Z","pushed_at":"2016-02-10T05:47:46Z","git_url":"git://github.com/chardane/ClarifaiRuby.git","ssh_url":"git@github.com:chardane/ClarifaiRuby.git","clone_url":"https://github.com/chardane/ClarifaiRuby.git","svn_url":"https://github.com/chardane/ClarifaiRuby","homepage":null,"size":30,"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/chardane/ClarifaiRuby/pulls/4"},"html":{"href":"https://github.com/chardane/ClarifaiRuby/pull/4"},"issue":{"href":"https://api.github.com/repos/chardane/ClarifaiRuby/issues/4"},"comments":{"href":"https://api.github.com/repos/chardane/ClarifaiRuby/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/chardane/ClarifaiRuby/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/chardane/ClarifaiRuby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chardane/ClarifaiRuby/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/chardane/ClarifaiRuby/statuses/d9cb3be9919d54e888e2c090233ff10381b7b496"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":4,"changed_files":2}}