Sha256: fafea7795da740fcd4e601c345cd193fa64f68e0473008e926a5fdd64f00c284

Contents?: true

Size: 436 Bytes

Versions: 3

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_settings.yml"
			end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
crimagify-0.0.3.2 lib/generators/crimagify/install/install_generator.rb
crimagify-0.0.3.1 lib/generators/crimagify/install/install_generator.rb
crimagify-0.0.2.1 lib/generators/crimagify/install/install_generator.rb