fcoury / octopi

A Ruby interface to GitHub API v2
http://hasmany.info/2009/4/18/ruby-interface-to-github-api
MIT License
216 stars 47 forks source link

Commit.find raises an error because variable "repo" is not defined #30

Closed calavera closed 14 years ago

calavera commented 15 years ago

This patch solves the error, I didn't include a test because is an obvious error:

From af1f41ad0a29f36db10672ff8cfa09045d99a240 Mon Sep 17 00:00:00 2001 From: David Calavera david.calavera@gmail.com Date: Thu, 2 Jul 2009 14:32:05 +0200 Subject: [PATCH] solves Commit.find error


lib/octopi/commit.rb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/octopi/commit.rb b/lib/octopi/commit.rb index 863bd31..ff94256 100644 --- a/lib/octopi/commit.rb +++ b/lib/octopi/commit.rb @@ -39,9 +39,9 @@ module Octopi commit = args.pop super "#{commit.repo_identifier}" else

radar commented 14 years ago

Commit.find now works