Class: Kuby::Plugins::RailsApp::Sqlite
Instance Attribute Summary collapse
Instance Method Summary
collapse
#after_deploy, #after_setup, #before_deploy, #before_setup, #configure, dependencies, depends_on, #docker_images, #remove, #resources, #setup, task_dirs
Constructor Details
#initialize(environment, *_) ⇒ Sqlite
Returns a new instance of Sqlite.
9
10
11
|
# File 'lib/kuby/plugins/rails_app/sqlite.rb', line 9
def initialize(environment, *_)
@environment = environment
end
|
Instance Attribute Details
#environment ⇒ Object
Returns the value of attribute environment.
7
8
9
|
# File 'lib/kuby/plugins/rails_app/sqlite.rb', line 7
def environment
@environment
end
|
Instance Method Details
#after_configuration ⇒ Object
13
14
15
16
|
# File 'lib/kuby/plugins/rails_app/sqlite.rb', line 13
def after_configuration
environment.docker.package_phase.add(:sqlite_dev)
environment.docker.package_phase.add(:sqlite_client)
end
|
#bootstrap ⇒ Object
22
23
24
|
# File 'lib/kuby/plugins/rails_app/sqlite.rb', line 22
def bootstrap
end
|
18
19
20
|
# File 'lib/kuby/plugins/rails_app/sqlite.rb', line 18
def configure_pod_spec(_pod_spec)
end
|
#name ⇒ Object
34
35
36
|
# File 'lib/kuby/plugins/rails_app/sqlite.rb', line 34
def name
:sqlite
end
|
#password(_password) ⇒ Object
30
31
32
|
# File 'lib/kuby/plugins/rails_app/sqlite.rb', line 30
def password(_password)
raise 'SQLite databases do not require a username or password'
end
|
#user(_user) ⇒ Object
26
27
28
|
# File 'lib/kuby/plugins/rails_app/sqlite.rb', line 26
def user(_user)
raise 'SQLite databases do not require a username or password'
end
|