lib/generators/audited/install_generator.rb in velocity_audited-5.1.4 vs lib/generators/audited/install_generator.rb in velocity_audited-5.1.5
- old
+ new
@@ -5,15 +5,15 @@
require "active_record"
require "rails/generators/active_record"
require "generators/audited/migration"
require "generators/audited/migration_helper"
-module Audited
+module VelocityAudited
module Generators
class InstallGenerator < Rails::Generators::Base
include Rails::Generators::Migration
- include Audited::Generators::MigrationHelper
- extend Audited::Generators::Migration
+ include VelocityAudited::Generators::MigrationHelper
+ extend VelocityAudited::Generators::Migration
class_option :audited_changes_column_type, type: :string, default: "text", required: false
class_option :audited_user_id_column_type, type: :string, default: "integer", required: false
source_root File.expand_path("../templates", __FILE__)