examples/_src/gem.erb.rb in cl-1.2.2 vs examples/_src/gem.erb.rb in cl-1.2.3

- old
+ new

@@ -6,10 +6,12 @@ module Gem module Release module Cmds class Release < Cl::Cmd + register 'release' + arg :gemspec opt '-h', '--host HOST', 'Push to a compatible host other than rubygems.org' opt '-k', '--key KEY', 'Rubygems API key to use' opt '-q', '--quiet', 'Silence output' @@ -18,9 +20,11 @@ p cmd: registry_key, args: args, opts: opts end end class Bump < Cl::Cmd + register 'bump' + opt '-v', '--version VERSION', 'The version to bump to [1.1.1|major|minor|patch|pre|rc|release]' opt '--[no-]commit', 'Bump the version, but do not commit' def run p cmd: registry_key, args: args, opts: opts