lib/bolt/executor.rb in bolt-1.29.1 vs lib/bolt/executor.rb in bolt-1.30.0
- old
+ new
@@ -14,15 +14,12 @@
module Bolt
class Executor
attr_reader :noop, :transports
attr_accessor :run_as
- # FIXME: There must be a better way
- # https://makandracards.com/makandra/36011-ruby-do-not-mix-optional-and-keyword-arguments
def initialize(concurrency = 1,
analytics = Bolt::Analytics::NoopClient.new,
noop = false)
-
# lazy-load expensive gem code
require 'concurrent'
@analytics = analytics
@logger = Logging.logger[self]