Sha256: 830c787c57281d4d3e99b873de06aba9aaca8789782f2742fb1f253f511c9b63

Contents?: true

Size: 369 Bytes

Versions: 4

Compression:

Stored size: 369 Bytes

Contents

require 'generators/rails/seed_file_generator'

module VersionedSeeds
  class SeedFileGenerator < ::Rails::Generators::SeedFileGenerator
    source_root File.expand_path('../../templates', __FILE__)

    def say_deprecated
      say "====> This generator is now DEPRECATED. <====", :red
      say "Please use:"
      say "  rails g seed_file #{name}"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
versioned_seeds-0.5.2 lib/generators/versioned_seeds/seed_file_generator.rb
versioned_seeds-0.5.1 lib/generators/versioned_seeds/seed_file_generator.rb
versioned_seeds-0.5.0 lib/generators/versioned_seeds/seed_file_generator.rb
versioned_seeds-0.4.0 lib/generators/versioned_seeds/seed_file_generator.rb