Sha256: d011ee2983567b5c595ee232e43991bad5932cf97182e2d6da86eb847b21f714

Contents?: true

Size: 302 Bytes

Versions: 22

Compression:

Stored size: 302 Bytes

Contents

module <%= config[:gem_class] %>
  class UpgradeGenerator < Rails::Generators::Base
		source_root File.join(File.dirname(__FILE__), "..", "templates")

    desc "Upgrades previously installed <%= config[:gem_class] %> resources."
    def upgrade
      # TODO - Add upgrade code here.
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
gemsmith-1.1.0 lib/gemsmith/templates/lib/generators/gem/upgrade/upgrade_generator.rb.tmp
gemsmith-1.0.0 lib/gemsmith/templates/lib/generators/gem/upgrade/upgrade_generator.rb.tmp