Sha256: fab0d2fef48b556d281d4581d1db208bfbfb3277e4aa50ae2142f341b489b38c

Contents?: true

Size: 390 Bytes

Versions: 13

Compression:

Stored size: 390 Bytes

Contents

class FriendlyId20UpgradeGenerator < Rails::Generator::Base
  def manifest
    record do |m|
      unless options[:skip_migration]
        m.migration_template(
          'upgrade_friendly_id_to_20.rb', 'db/migrate', :migration_file_name => 'upgrade_friendly_id_to_20'
        )
        m.file "/../../../lib/tasks/friendly_id.rake", "lib/tasks/friendly_id.rake"
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 4 rubygems

Version Path
norman-friendly_id-2.1.4 generators/friendly_id_20_upgrade/friendly_id_20_upgrade_generator.rb
rakutenusa-friendly_id-2.0.9 generators/friendly_id_20_upgrade/friendly_id_20_upgrade_generator.rb
friendly_id-2.1.5 generators/friendly_id_20_upgrade/friendly_id_20_upgrade_generator.rb
rdavila_friendly_id-2.2.6 generators/friendly_id_20_upgrade/friendly_id_20_upgrade_generator.rb
friendly_id-2.2.7 generators/friendly_id_20_upgrade/friendly_id_20_upgrade_generator.rb
friendly_id-2.2.6 generators/friendly_id_20_upgrade/friendly_id_20_upgrade_generator.rb
friendly_id-2.2.5 generators/friendly_id_20_upgrade/friendly_id_20_upgrade_generator.rb
friendly_id-2.2.4 generators/friendly_id_20_upgrade/friendly_id_20_upgrade_generator.rb
friendly_id-2.2.3 generators/friendly_id_20_upgrade/friendly_id_20_upgrade_generator.rb
friendly_id-2.2.2 generators/friendly_id_20_upgrade/friendly_id_20_upgrade_generator.rb
friendly_id-2.2.1 generators/friendly_id_20_upgrade/friendly_id_20_upgrade_generator.rb
friendly_id-2.2.0 generators/friendly_id_20_upgrade/friendly_id_20_upgrade_generator.rb
friendly_id-2.1.4 generators/friendly_id_20_upgrade/friendly_id_20_upgrade_generator.rb