forked from gnufied/backgroundrb
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check in test cases for cron trigger
- Loading branch information
gnufied
committed
Feb 7, 2008
1 parent
2034f67
commit e8d1ae2
Showing
8 changed files
with
190 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
class Autotest | ||
def find_files | ||
result = {} | ||
Find.find '.' do |f| | ||
Find.prune if @exceptions and f =~ @exceptions and test ?d, f | ||
|
||
next if test ?d, f | ||
next if f =~ /(swp|~|rej|orig|flymake)$/ # temporary/patch files | ||
next if f =~ /\/\.?#/ # Emacs autosave/cvs merge files | ||
|
||
filename = f.sub(/^\.\//, '') | ||
|
||
result[filename] = File.stat(filename).mtime rescue next | ||
end | ||
return result | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.