lib/gemsmith/helpers/cli.rb in gemsmith-8.2.0 vs lib/gemsmith/helpers/cli.rb in gemsmith-9.0.0

- old
+ new

@@ -6,10 +6,14 @@ module CLI module_function def print_gems gems say "Multiple versions found:\n\n" - gems.each.with_index { |spec, index| say "#{index + 1}. #{spec.name} #{spec.version.version}" } + + gems.each.with_index do |spec, index| + say "#{index + 1}. #{spec.name} #{spec.version.version}" + end + say "q. Quit.\n\n" end def pick_gem gems, name answer = ask "Enter selection:"