lib/gemsmith/tools/pusher.rb in gemsmith-19.3.0 vs lib/gemsmith/tools/pusher.rb in gemsmith-19.4.0
- old
+ new
@@ -8,12 +8,11 @@
# Pushes a gem package to remote gem server.
class Pusher
include Import[:executor, :logger]
include Dry::Monads[:result]
- def initialize command: Gem::CommandManager.new, **dependencies
- super(**dependencies)
-
+ def initialize(command: Gem::CommandManager.new, **)
+ super(**)
@command = command
end
def call specification
command.run ["push", specification.package_path.to_s, *one_time_password]