lib/lolcommits/runner.rb in lolcommits-0.16.2 vs lib/lolcommits/runner.rb in lolcommits-0.16.3
- old
+ new
@@ -93,11 +93,11 @@
end
end
def run_capture
puts '*** Preserving this moment in history.' unless capture_stealth
- capturer = Platform.capturer_class(!capture_image?).new(
+ capturer = Platform.capturer_class(animate: !capture_image?).new(
capture_path: capture_path,
capture_device: capture_device,
capture_delay: capture_delay,
capture_duration: capture_duration
)
@@ -179,10 +179,10 @@
def enabled_plugins
@enabled_plugins ||= config.plugin_manager.enabled_plugins_for(self)
end
- def system_call(call_str, capture_output = false)
+ def system_call(call_str, capture_output: false)
debug "making system call for \n #{call_str}"
capture_output ? `#{call_str}` : system(call_str)
end
def debug(message)