lib/generators/outboxable/install_generator.rb in outboxable-0.1.0 vs lib/generators/outboxable/install_generator.rb in outboxable-0.1.1
- old
+ new
@@ -4,11 +4,11 @@
source_root File.expand_path('../../../templates', __FILE__)
# Copy initializer into user app
def copy_initializer
- copy_file('initializer.rb', 'config/initializers/outboxable.rb')
+ copy_file('initializer.rb', 'config/initializers/z_outboxable.rb')
end
# Copy user information (model & Migrations) into user app
def create_user_model
target_path = "app/models/outbox.rb"
@@ -31,6 +31,6 @@
# Use to assign migration time otherwise generator will error
def self.next_migration_number(dir)
Time.now.utc.strftime("%Y%m%d%H%M%S")
end
end
-end
\ No newline at end of file
+end