lib/milestoner/cli/actions/next.rb in milestoner-17.11.0 vs lib/milestoner/cli/actions/next.rb in milestoner-18.0.0

- old
+ new

@@ -5,18 +5,18 @@ module Milestoner module CLI module Actions # Handles calculation of next version. class Next < Sod::Action - include Import[:configuration, :kernel] + include Import[:settings, :io] description "Show next version." ancillary "Calculated from commit trailers." on %w[-n --next] - def call(*) = kernel.puts configuration.project_version + def call(*) = io.puts settings.project_version end end end end