lib/octopi/repository.rb in devver-octopi-0.2.13 vs lib/octopi/repository.rb in devver-octopi-0.2.14
- old
+ new
@@ -107,10 +107,10 @@
def issue(number)
Issue.find(:user => self.owner, :repo => self, :number => number)
end
def collaborators
- property('collaborators', [self.owner, self.name].join('/')).values.map { |v| User.find(v) }
+ property('collaborators', [self.owner, self.name].join('/')).values.map { |v| User.find(v.join) }
end
def self.create(options={})
raise AuthenticationRequired, "To create a repository you must be authenticated." if Api.api.read_only?
self.validate_args(options[:name] => :repo)