diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-29 09:43:46 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-02-19 17:24:03 +0100 |
commit | f6a91ccc5b21d26c677bf828fa255f16f453e1e0 (patch) | |
tree | 521d7f457c0fb607b9790c7f01b8ab27869c7558 /lib | |
parent | 9972abc2951e2d2c7c4c94189199234c39d25ceb (diff) | |
download | gitlab-ce-f6a91ccc5b21d26c677bf828fa255f16f453e1e0.tar.gz |
Move eraseable implementation to build concern
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ci/build/eraseable.rb | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/gitlab/ci/build/eraseable.rb b/lib/gitlab/ci/build/eraseable.rb deleted file mode 100644 index b7dbc9fb1a9..00000000000 --- a/lib/gitlab/ci/build/eraseable.rb +++ /dev/null @@ -1,25 +0,0 @@ -module Gitlab - module Ci - module Build - class Eraseable - def initialize(build) - @build = build - end - - def erase! - raise NotImplementedError - end - - def erased? - @build.artifacts_file.exists? && @build.artifacts_metadata.exists? - end - - private - - def trace_file - raise NotImplementedError - end - end - end - end -end |