3
4
5
6
7
8
9
10
11
|
# File 'lib/vmc/cli/app/push/sync.rb', line 3
def apply_changes(app)
app.memory = megabytes(input[:memory]) if input.has?(:memory)
app.total_instances = input[:instances] if input.has?(:instances)
app.command = input[:command] if input.has?(:command)
app.production = input[:plan].upcase.start_with?("P") if input.has?(:plan)
app.framework = input[:framework] if input.has?(:framework)
app.runtime = input[:runtime] if input.has?(:runtime)
app.buildpack = input[:buildpack] if input.has?(:buildpack)
end
|