log pattern got excluded

This commit is contained in:
Renée Hendricksen 2016-05-30 14:51:58 +02:00 committed by Tyranja
parent 5776e13385
commit ce071ad728
2 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@ -7,6 +7,7 @@ tmp/
log/
logs/
!vendor/travis-core/lib/travis/logs/
!vendor/travis-core/lib/travis/model/log/
.yardoc
.coverage

View File

@ -0,0 +1,5 @@
class Log::Part < Travis::LogsModel
self.table_name = 'log_parts'
validates :log_id, presence: true, numericality: { greater_than: 0 }
end