{"action":"opened","pull_request":{"created_at":"2011-11-29T14:56:11Z","state":"open","review_comments":0,"_links":{"review_comments":{"href":"https://api.github.com/repos/archiloque/rest-client/pulls/103/comments"},"comments":{"href":"https://api.github.com/repos/archiloque/rest-client/issues/103/comments"},"html":{"href":"https://github.com/archiloque/rest-client/pull/103"},"self":{"href":"https://api.github.com/repos/archiloque/rest-client/pulls/103"}},"updated_at":"2011-11-29T14:56:11Z","patch_url":"https://github.com/archiloque/rest-client/pull/103.patch","changed_files":2,"comments":0,"user":{"gravatar_id":"8c73dab2ecd23d5b5627a0235ae2f9b1","id":10416,"url":"https://api.github.com/users/godfat","avatar_url":"https://secure.gravatar.com/avatar/8c73dab2ecd23d5b5627a0235ae2f9b1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"godfat"},"issue_url":"https://github.com/archiloque/rest-client/issues/103","body":"```ruby\r\nrequire 'webmock'\r\nrequire 'rest-client'\r\nWebMock::API.stub_request(:get, 'http://host/').to_return(:body => '123')\r\n\r\nRestClient.get('http://host/')        # \"123\"\r\nRestClient.get('http://host/').to_s   # \"123\"\r\nRestClient.get('http://host/').to_str # \"123\"\r\nRestClient.get('http://host/').class  # String\r\n\r\nRestClient.get('http://host/').to_i         # 200\r\nRestClient.get('http://host/').to_s.to_i    # 200\r\nRestClient.get('http://host/').to_str.to_i  # 200\r\nString(RestClient.get('http://host/')).to_i # 200\r\n\r\nRestClient.get('http://host/').dup.to_i         # 123\r\nString.new(RestClient.get('http://host/')).to_i # 123\r\n\"#{RestClient.get('http://host/')}\".to_i        # 123\r\n\r\nRestClient.get('http://host/').clone.to_i       # 200\r\n```","merged":false,"deletions":5,"commits":1,"mergeable":null,"id":537920,"number":103,"base":{"user":{"gravatar_id":"b052bdef1217eb4ce91a4f4bafcef7b5","id":3771,"url":"https://api.github.com/users/archiloque","avatar_url":"https://secure.gravatar.com/avatar/b052bdef1217eb4ce91a4f4bafcef7b5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"archiloque"},"repo":{"pushed_at":"2011-11-19T15:48:07Z","created_at":"2009-12-07T19:34:29Z","updated_at":"2011-11-29T14:40:30Z","private":false,"clone_url":"https://github.com/archiloque/rest-client.git","name":"rest-client","svn_url":"https://svn.github.com/archiloque/rest-client","master_branch":"master","watchers":768,"language":"Ruby","forks":74,"owner":{"gravatar_id":"b052bdef1217eb4ce91a4f4bafcef7b5","id":3771,"url":"https://api.github.com/users/archiloque","avatar_url":"https://secure.gravatar.com/avatar/b052bdef1217eb4ce91a4f4bafcef7b5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"archiloque"},"id":404319,"homepage":"http://rdoc.info/projects/archiloque/rest-client","description":"Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.","git_url":"git://github.com/archiloque/rest-client.git","html_url":"https://github.com/archiloque/rest-client","open_issues":10,"size":320,"fork":true,"url":"https://api.github.com/repos/archiloque/rest-client","ssh_url":"git@github.com:archiloque/rest-client.git"},"sha":"2a32c7b3db297132afc03794dbdafe1fccaf1bd4","ref":"master","label":"archiloque:master"},"additions":1,"merged_by":null,"title":"Remove AbstractResponse#to_i, which is too unexpected, considering:","head":{"user":{"gravatar_id":"8c73dab2ecd23d5b5627a0235ae2f9b1","id":10416,"url":"https://api.github.com/users/godfat","avatar_url":"https://secure.gravatar.com/avatar/8c73dab2ecd23d5b5627a0235ae2f9b1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"godfat"},"repo":{"pushed_at":"2011-11-29T14:54:59Z","created_at":"2011-11-29T14:40:30Z","updated_at":"2011-11-29T14:55:00Z","private":false,"clone_url":"https://github.com/godfat/rest-client.git","name":"rest-client","svn_url":"https://svn.github.com/godfat/rest-client","master_branch":"master","watchers":1,"language":"Ruby","forks":0,"owner":{"gravatar_id":"8c73dab2ecd23d5b5627a0235ae2f9b1","id":10416,"url":"https://api.github.com/users/godfat","avatar_url":"https://secure.gravatar.com/avatar/8c73dab2ecd23d5b5627a0235ae2f9b1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"godfat"},"id":2875498,"homepage":"http://rdoc.info/projects/archiloque/rest-client","description":"Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.","git_url":"git://github.com/godfat/rest-client.git","html_url":"https://github.com/godfat/rest-client","open_issues":0,"size":116,"fork":true,"url":"https://api.github.com/repos/godfat/rest-client","ssh_url":"git@github.com:godfat/rest-client.git"},"sha":"b5d5a8528b3d38c16cb9fe62fbb48c418fc92c62","ref":"no-to_i","label":"godfat:no-to_i"},"closed_at":null,"html_url":"https://github.com/archiloque/rest-client/pull/103","url":"https://api.github.com/repos/archiloque/rest-client/pulls/103","diff_url":"https://github.com/archiloque/rest-client/pull/103.diff","merged_at":null},"number":103}