Sha256: da96c43c62715b7cf04972b045982e7132fb23d7d27d1d963ff8fdfb92eb6718

Contents?: true

Size: 470 Bytes

Versions: 2

Compression:

Stored size: 470 Bytes

Contents

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

      desc "This generator installs the blank keyfile for ComicVine and copies the initializer"
      def copy_the_keyfile
        copy_file "cv_key.yml", "config/cv_key.yml"
      end
      
      def copy_the_init
        copy_file "initializer.rb", "config/initializers/comic_vine.rb"
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
comic_vine-0.0.2 lib/generators/comic_vine/install/install_generator.rb
comic_vine-0.0.1 lib/generators/comic_vine/install/install_generator.rb