{"action":"created","issue":{"url":"https://api.github.com/repos/jasmine/jasmine.github.io/issues/40","labels_url":"https://api.github.com/repos/jasmine/jasmine.github.io/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/jasmine/jasmine.github.io/issues/40/comments","events_url":"https://api.github.com/repos/jasmine/jasmine.github.io/issues/40/events","html_url":"https://github.com/jasmine/jasmine.github.io/pull/40","id":97706417,"number":40,"title":"Added documentation for the spy method andReturns","user":{"login":"mkhanal","id":2561360,"avatar_url":"https://avatars.githubusercontent.com/u/2561360?v=3","gravatar_id":"","url":"https://api.github.com/users/mkhanal","html_url":"https://github.com/mkhanal","followers_url":"https://api.github.com/users/mkhanal/followers","following_url":"https://api.github.com/users/mkhanal/following{/other_user}","gists_url":"https://api.github.com/users/mkhanal/gists{/gist_id}","starred_url":"https://api.github.com/users/mkhanal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkhanal/subscriptions","organizations_url":"https://api.github.com/users/mkhanal/orgs","repos_url":"https://api.github.com/users/mkhanal/repos","events_url":"https://api.github.com/users/mkhanal/events{/privacy}","received_events_url":"https://api.github.com/users/mkhanal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-28T13:30:15Z","updated_at":"2015-07-29T07:25:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jasmine/jasmine.github.io/pulls/40","html_url":"https://github.com/jasmine/jasmine.github.io/pull/40","diff_url":"https://github.com/jasmine/jasmine.github.io/pull/40.diff","patch_url":"https://github.com/jasmine/jasmine.github.io/pull/40.patch"},"body":"andReturns method to a spy was added sometime back but the documentation slipped through the crack.\r\nThis PR so addresses the issue #35 \r\n\r\n**Not to be merged yet because of error**\r\n\r\n**CI Error**\r\n```\r\nGem::InstallError: mustache requires Ruby version ~> 2.0.\r\nInstalling redcarpet 1.17.2\r\nAn error occurred while installing mustache (1.0.2), and Bundler cannot\r\ncontinue.\r\nMake sure that `gem install mustache -v '1.0.2'` succeeds before bundling.\r\n```\r\n**Issues :**\r\n    The rake pages have generated documentation with 'page not found' status as can be seen in the diff and this also excludes a lot of code samples being removed from the documentation.\r\n\r\n**Feedback needed**\r\nIs there a piece missing in the Readme, or something that is not compatible with certain versions of ruby or other dependency which causes the page not found when we do 'rake pages'. I used ruby 2.1 "},"comment":{"url":"https://api.github.com/repos/jasmine/jasmine.github.io/issues/comments/125868659","html_url":"https://github.com/jasmine/jasmine.github.io/pull/40#issuecomment-125868659","issue_url":"https://api.github.com/repos/jasmine/jasmine.github.io/issues/40","id":125868659,"user":{"login":"lagartoflojo","id":2944,"avatar_url":"https://avatars.githubusercontent.com/u/2944?v=3","gravatar_id":"","url":"https://api.github.com/users/lagartoflojo","html_url":"https://github.com/lagartoflojo","followers_url":"https://api.github.com/users/lagartoflojo/followers","following_url":"https://api.github.com/users/lagartoflojo/following{/other_user}","gists_url":"https://api.github.com/users/lagartoflojo/gists{/gist_id}","starred_url":"https://api.github.com/users/lagartoflojo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lagartoflojo/subscriptions","organizations_url":"https://api.github.com/users/lagartoflojo/orgs","repos_url":"https://api.github.com/users/lagartoflojo/repos","events_url":"https://api.github.com/users/lagartoflojo/events{/privacy}","received_events_url":"https://api.github.com/users/lagartoflojo/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T07:25:53Z","updated_at":"2015-07-29T07:25:53Z","body":"I had to install pygments (`pip install pygments`) in order to correctly generate the pages.\r\nWithout it, it tries to access some web service to do the syntax highlighting, and I guess that it's not working correctly."}}