
- Re-factor - Remove code for notifications - Remove addons - Remove travis-core gem. - Ignore logs directory only - Move core tests to spec/lib
24 lines
356 B
Ruby
24 lines
356 B
Ruby
require 'travis/services/base'
|
|
|
|
module Travis
|
|
module Services
|
|
class FindRepo < Base
|
|
register :find_repo
|
|
|
|
def run(options = {})
|
|
result
|
|
end
|
|
|
|
def updated_at
|
|
result.try(:updated_at)
|
|
end
|
|
|
|
private
|
|
|
|
def result
|
|
@result ||= scope(:repository).find_by(params)
|
|
end
|
|
end
|
|
end
|
|
end
|