Module: CopyBot
- Defined in:
- lib/copy_bot.rb,
lib/copy_bot/config.rb,
lib/copy_bot/railtie.rb,
lib/copy_bot/version.rb,
lib/copy_bot/step_runner.rb,
lib/copy_bot/step_factory.rb,
lib/copy_bot/shell_command.rb,
lib/copy_bot/steps/base_step.rb,
lib/copy_bot/step_definitions.rb,
lib/copy_bot/steps/drop_local_db_tables.rb,
lib/copy_bot/steps/delete_remote_db_dump.rb,
lib/copy_bot/steps/create_local_db_backup.rb,
lib/copy_bot/steps/execute_custom_command.rb,
lib/copy_bot/steps/download_remote_db_dump.rb,
lib/copy_bot/steps/run_migrations_on_local_db.rb,
lib/copy_bot/steps/import_remote_db_to_local_db.rb
Defined Under Namespace
Modules: Steps
Classes: Config, Railtie, ShellCommand, StepDefinitions, StepFactory, StepRunner
Constant Summary
collapse
- VERSION =
'0.1.0'.freeze
Class Method Summary
collapse
Class Method Details
33
34
35
|
# File 'lib/copy_bot.rb', line 33
def self.config
@config ||= Config.new
end
|
.setup {|CopyBot::Config| ... } ⇒ Object
28
29
30
|
# File 'lib/copy_bot.rb', line 28
def self.setup
yield config
end
|
38
39
40
|
# File 'lib/copy_bot.rb', line 38
def self.step_definitions
@step_definitions ||= StepDefinitions.new
end
|