From 7ae0ca4976341f344d00516f451484d98f6bf7ff Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Thu, 2 Oct 2014 18:41:15 +0200 Subject: [PATCH] Fix arguments to Project --- lib/licensee/project.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/licensee/project.rb b/lib/licensee/project.rb index 191f943..24bf382 100644 --- a/lib/licensee/project.rb +++ b/lib/licensee/project.rb @@ -11,7 +11,7 @@ class Licensee ] def initialize(path_or_repo, revision = nil) - if path_or_repo === Rugged::Repository + if path_or_repo.kind_of? Rugged::Repository @repository = path_or_repo else @repository = Rugged::Repository.new(path_or_repo)