lib/avm/eac_rails_base1/runner/bundle.rb in avm-tools-0.75.0 vs lib/avm/eac_rails_base1/runner/bundle.rb in avm-tools-0.75.1
- old
+ new
@@ -6,11 +6,11 @@
require 'shellwords'
module Avm
module EacRailsBase1
class Runner < ::Avm::EacWebappBase0::Runner
- class Bundle < ::EacRubyUtils::Console::DocoptRunner
+ class Bundle
runner_with ::Avm::EacRailsBase1::RunnerWith::Bundle
runner_definition do
desc 'Runs "bundle ...".'
pos_arg :'bundle-args', repeat: true, optional: true
end
@@ -18,10 +18,10 @@
def run
bundle_run
end
def bundle_args
- options.fetch('<bundle-args>').reject { |arg| arg == '--' }
+ parsed.bundle_args.reject { |arg| arg == '--' }
end
end
end
end
end