Sha256: 8c60e05ef42fcaa5cd4ff6349abba1ef49f0731ecb7fe04f8d1d9190b67fef77
Contents?: true
Size: 506 Bytes
Versions: 4
Compression:
Stored size: 506 Bytes
Contents
require 'rails/generators/named_base' module Ixtlan module Generators class AuditBase < Base def create args = [] if name args << ARGV.shift else args << "error" end args << 'message:string request:text response:text session:text parameters:text clazz:string backtrace:text' args += ARGV[0, 10000] || [] args << "--read-only --timestamps" generate generator_name, *args end end end end
Version data entries
4 entries across 4 versions & 1 rubygems