Sha256: 02cd356fd0dd4c68cf38e52a45f886bbd990e119b79df75823bbc8be1a0faaba

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

module Traka
  module Generators
    class InstallGenerator < ::Rails::Generators::Base
      source_root File.expand_path("../templates", __FILE__)

      desc "Installs Traka into the app."

      def create_model
        generate "model", "traka_change klass:string uuid:string action_type:string version:integer"
      end

      def create_version_file
        directory "public/system"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
traka-0.0.1 lib/generators/traka/install_generator.rb