
- Re-factor - Remove code for notifications - Remove addons - Remove travis-core gem. - Ignore logs directory only - Move core tests to spec/lib
24 lines
364 B
Ruby
24 lines
364 B
Ruby
require 'travis/services/base'
|
|
|
|
module Travis
|
|
module Services
|
|
class FindRepoKey < FindRepo
|
|
register :find_repo_key
|
|
|
|
def run(options = {})
|
|
result
|
|
end
|
|
|
|
def updated_at
|
|
result.try(:updated_at)
|
|
end
|
|
|
|
private
|
|
|
|
def result
|
|
@result ||= (repo = super) ? repo.key : nil
|
|
end
|
|
end
|
|
end
|
|
end
|