Commit Graph

5 Commits

Author SHA1 Message Date
Douglas Barbosa Alexandre 2053d89172 Extract helper methods to clean up RepositoryArchiveCleanUpService spec 2016-07-21 11:47:28 -03:00
Douglas Barbosa Alexandre 92ee8c5e64 Use Dir.mktmpdir instead of FileUtils.mkdir_p in the spec 2016-07-21 11:47:27 -03:00
Douglas Barbosa Alexandre 79983afbbf Use find instead Ruby to remove files due to performance reasons 2016-07-21 10:31:49 -03:00
Douglas Barbosa Alexandre 1bda451789 Cover the behavior RepositoryArchiveCleanUpService with tests 2016-07-21 10:31:49 -03:00
Douglas Barbosa Alexandre a6de806498 Add service to clean up repository archive cache
Replace invocation of `find` with Ruby code that matches old cached
files in a better, and safe way to avoid data-integrity issues.
2016-07-21 10:31:49 -03:00