lib/abak-flow/hub_extensions.rb in abak-flow-0.1.2 vs lib/abak-flow/hub_extensions.rb in abak-flow-0.1.3
- old
+ new
@@ -1,7 +1,7 @@
module Abak::Flow
- module RunnerExtension
+ class ::Hub::Runner
def execute
if args.noop?
puts commands
elsif not args.skip?
if args.chained?
@@ -11,11 +11,11 @@
end
end
end
end
- module CommandsExtension
+ module ::Hub::Commands
def pull_request(args)
args.shift
options = { }
force = explicit_owner = false
base_project = local_repo.main_project
@@ -106,9 +106,6 @@
rescue HTTPExceptions
display_http_exception("creating pull request", $!.response)
exit 1
end
end
-
- Hub::Runner.send :include, RunnerExtension
- Hub::Commands.send :include, CommandsExtension
end
\ No newline at end of file