Sha256: 99b0759f67f9c4584f215f939f4c1b2d76ad9b8df74199e75849855528e8db32

Contents?: true

Size: 473 Bytes

Versions: 2

Compression:

Stored size: 473 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.4 lib/generators/comic_vine/install/install_generator.rb
comic_vine-0.0.3 lib/generators/comic_vine/install/install_generator.rb