lib/fulmar/shell.rb in fulmar-shell-1.8.2 vs lib/fulmar/shell.rb in fulmar-shell-1.8.3
- old
+ new
@@ -1,16 +1,16 @@
require 'open3'
require 'pathname'
require 'fulmar/ringbuffer'
-Thread.report_on_exception = false
+Thread.report_on_exception = false if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.5.0')
# This shell is part of the fulmar deployment tools
# it can be used stand-alone, though
module Fulmar
# Implements simple access to shell commands
class Shell
- VERSION = '1.8.2'
+ VERSION = '1.8.3'
attr_accessor :debug, :last_output, :last_error, :quiet, :strict, :interactive
attr_reader :path
DEFAULT_BUFFER_SIZE = 1000