2014-11-26 16:59:46 +03:00
|
|
|
module Validators
|
|
|
|
|
class Helpers; end
|
|
|
|
|
class DeployEnv; end
|
2015-02-12 13:01:05 +03:00
|
|
|
class Key; end
|
|
|
|
|
class Image; end
|
2014-11-26 16:59:46 +03:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
require "db/validators/base"
|
2015-02-12 13:01:05 +03:00
|
|
|
[
|
|
|
|
|
'db/validators/helpers/*.rb',
|
|
|
|
|
'db/validators/deploy_env/*.rb',
|
|
|
|
|
'db/validators/key/*.rb',
|
|
|
|
|
'db/validators/image/*.rb'
|
|
|
|
|
].each do |files_regexp|
|
|
|
|
|
Dir[files_regexp].each {|file| require file }
|
|
|
|
|
end
|