Sha256: 733e03b2f76995b8abdd622032999969e046b41ef296f6a5c4b54756b0477fd2

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 Bytes

Contents

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

			def copy_config_file
				copy_file "crimagify_versions.yml", "config/crimagify_versions.yml"
				copy_file "crimagify_settings.yml", "config/crimagify_sestings.yml"
			end

			def copy_migrations
				rake "crimagify:install:migrations"
			end
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
crimagify-0.0.2 lib/generators/crimagify/install/install_generator.rb