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-5.3.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/upgrade/upgrade_generator.rb.tt
gemsmith-5.2.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/upgrade/upgrade_generator.rb.tt
gemsmith-5.1.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/upgrade/upgrade_generator.rb.tt
gemsmith-5.0.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/upgrade/upgrade_generator.rb.tt
gemsmith-4.3.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/upgrade/upgrade_generator.rb.tt
gemsmith-4.2.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/upgrade/upgrade_generator.rb.tt
gemsmith-4.1.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/upgrade/upgrade_generator.rb.tt
gemsmith-4.0.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/upgrade/upgrade_generator.rb.tt
gemsmith-3.2.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/upgrade/upgrade_generator.rb.tt
gemsmith-3.1.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/upgrade/upgrade_generator.rb.tt
gemsmith-3.0.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/upgrade/upgrade_generator.rb.tt
gemsmith-2.4.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/upgrade/upgrade_generator.rb.tt
gemsmith-2.3.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/upgrade/upgrade_generator.rb.tt
gemsmith-2.2.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/upgrade/upgrade_generator.rb.tt
gemsmith-2.1.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/upgrade/upgrade_generator.rb.tt
gemsmith-2.0.0 lib/gemsmith/templates/lib/generators/gem/upgrade/upgrade_generator.rb.tmp
gemsmith-1.5.0 lib/gemsmith/templates/lib/generators/gem/upgrade/upgrade_generator.rb.tmp
gemsmith-1.4.0 lib/gemsmith/templates/lib/generators/gem/upgrade/upgrade_generator.rb.tmp
gemsmith-1.3.0 lib/gemsmith/templates/lib/generators/gem/upgrade/upgrade_generator.rb.tmp
gemsmith-1.2.0 lib/gemsmith/templates/lib/generators/gem/upgrade/upgrade_generator.rb.tmp