Permalink
Browse files

fix JSON parse arguments.

  • Loading branch information...
1 parent ba8c61a commit 379a1ecdc7925ca768690c0f7d86c57f7bc4b954 @hsbt hsbt committed Jul 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/atig/update_checker.rb
@@ -6,7 +6,7 @@ def commits
uri = URI("https://api.github.com/repos/mzp/atig/commits")
http = Atig::Http.new
res = http.http(uri).request http.req(:get, uri)
- JSON.parse(res.body)['commits']
+ JSON.parse(res.body)
end
def server_version

0 comments on commit 379a1ec

Please sign in to comment.