Sha256: fbd7321deb5dcfcc56f23cb80e0688a3a8d1af3e7a078e76557d4b9c7bd6c31c

Contents?: true

Size: 602 Bytes

Versions: 20

Compression:

Stored size: 602 Bytes

Contents

generate "wheels_checkout_assets_readonly"

stategies << lambda do
  generate "devise:install"
  source_root File.expand_path('../../../../', __FILE__)
  my_migrations = Dir.new(File.expand_path('db/migrate', source_root)).entries

  my_migrations.each do |file|
    migration_oldnum = file.split("_").first
    migration_name = file.split('.').first.
                      split("_").reject{|t| t==migration_oldnum}.join('_')
    if migrations.select{|t| t.include?(migration_name)}.empty?
      migration_template "db/migrate/#{file}", "db/migrate/#{migration_name}"
      sleep 1
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
wheels-0.1.30 lib/generators/recipes/wheels_update.rb
wheels-0.1.28 lib/generators/recipes/wheels_update.rb
wheels-0.1.27 lib/generators/recipes/wheels_update.rb
wheels-0.1.25 lib/generators/recipes/wheels_update.rb
wheels-0.1.24 lib/generators/recipes/wheels_update.rb
wheels-0.1.23 lib/generators/recipes/wheels_update.rb
wheels-0.1.22 lib/generators/recipes/wheels_update.rb
wheels-0.1.21 lib/generators/recipes/wheels_update.rb
wheels-0.1.20 lib/generators/recipes/wheels_update.rb
wheels-0.1.19 lib/generators/recipes/wheels_update.rb
wheels-0.1.18 lib/generators/recipes/wheels_update.rb
wheels-0.1.17 lib/generators/recipes/wheels_update.rb
wheels-0.1.16 lib/generators/recipes/wheels_update.rb
wheels-0.1.15 lib/generators/recipes/wheels_update.rb
wheels-0.1.14 lib/generators/recipes/wheels_update.rb
wheels-0.1.13 lib/generators/recipes/wheels_update.rb
wheels-0.1.12 lib/generators/recipes/wheels_update.rb
wheels-0.1.11 lib/generators/wheels_update/recipes/wheels.rb
wheels-0.1.10 lib/generators/recipes/wheels_update.rb
wheels-0.1.9 lib/generators/recipes/wheels_update.rb