Class: Capricorn::CLI::Builder
Constant Summary
Constants included
from Helpers
Helpers::DEFAULT_CONFIG
Instance Method Summary
collapse
Methods included from Helpers
#application, #application_ids, #application_info, #applications, #client, #cluster, #config, #environment, #halt, #info, #local_config, #machine, #machines, #node, #nodes
banner, #help, #method_missing, start
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Capricorn::CLI
Instance Method Details
7
8
9
|
# File 'lib/capricorn-client/cli/builder.rb', line 7
def current
system("rake build")
end
|
24
25
26
27
|
# File 'lib/capricorn-client/cli/builder.rb', line 24
def major
check_clean_stage
bump_version(:major)
end
|
18
19
20
21
|
# File 'lib/capricorn-client/cli/builder.rb', line 18
def minor
check_clean_stage
bump_version(:minor)
end
|
12
13
14
15
|
# File 'lib/capricorn-client/cli/builder.rb', line 12
def patch
check_clean_stage
bump_version(:patch)
end
|