lib/generators/printer/printer_generator.rb in oxen_printer-0.3.4 vs lib/generators/printer/printer_generator.rb in oxen_printer-0.4.1
- old
+ new
@@ -15,13 +15,16 @@
end
def create_migration_file
migration_template 'printer.rb', 'db/migrate/create_printers.rb'
# allow the clock to advance 1sec
- sleep 1
+ sleep 2
migration_template 'print_job.rb', 'db/migrate/create_print_jobs.rb'
# allow the clock to advance 1sec
- sleep 1
+ sleep 2
migration_template 'printable.rb', 'db/migrate/create_printables.rb'
+ # allow the clock to advance 1sec
+ sleep 2
+ migration_template 'template.rb', 'db/migrate/create_templates.rb'
end
end