Sha256: 3b635b0e49a0a303e125d89ad487c6895c382ab03e690a04675ba6236de2767a
Contents?: true
Size: 340 Bytes
Versions: 37
Compression:
Stored size: 340 Bytes
Contents
module RailsAudit class Audit def self.command(rails) self::COMMAND end def self.run(config) return true unless config[:enabled] && (config[:rails] || !self::RAILS) system "bundle exec #{command config[:rails]} #{config[:params]}" end def self.get_name name.split('::')[-1] end end end
Version data entries
37 entries across 37 versions & 1 rubygems