Class: Gempilot::CLI::Commands::Bump

Inherits:
Gempilot::CLI::Command show all
Includes:
GemContext
Defined in:
lib/gempilot/cli/commands/bump.rb

Overview

Delegates version bumping to rake version:bump.

Instance Method Summary collapse

Instance Method Details

#run(segment = "patch") ⇒ Object



24
25
26
27
28
# File 'lib/gempilot/cli/commands/bump.rb', line 24

def run(segment = "patch")
  detect_gem_context
  segment = validate_segment(segment)
  run_rake_bump(segment)
end