module MigrationSignature
Constants
- VERSION
Public Class Methods
build_all()
click to toggle source
# File lib/migration_signature.rb, line 24 def self.build_all config.all_runnable_files.each do |path| MigrationSignature::MigrationFile.new(path).update_signature! end end
build_file(file)
click to toggle source
# File lib/migration_signature.rb, line 30 def self.build_file(file) mf = MigrationSignature::MigrationFile.new(file) if mf.ignore? warn "Tried to build signature for #{mf.basename}, but it is ignored." return end mf.update_signature! end
check_all()
click to toggle source
# File lib/migration_signature.rb, line 16 def self.check_all config.all_runnable_files.each do |path| MigrationSignature::MigrationFile.new(path).validate_signature! end true end
config()
click to toggle source
# File lib/migration_signature.rb, line 12 def self.config @config ||= MigrationSignature::Config.load end