Sha256: 9b17b21ec2f48d1d32ae6b30e6870124afd5724676f50bebd4d18ac691cd151c

Contents?: true

Size: 467 Bytes

Versions: 8

Compression:

Stored size: 467 Bytes

Contents

class ::RSpec::Core::Formatters::JsonFormatter
  # def close(_notification)
  #   output.write @output_hash.to_json
  #   output.close if IO === output && output != $stdout
  # end
  #
  # def close(_notification)
  #   output.write @output_hash.to_json
  #   # JSON formatter does not look @ closed? and we need it to, otherwise Phantom freezes
  #   return unless IO === output
  #   return if output.closed? || output == $stdout
  #
  #   output.close
  # end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
opal-rspec-0.8.0 lib-opal/opal/rspec/fixes/rspec/core/formatters/json_formatter.rb
opal-rspec-0.8.0.alpha3 lib-opal/opal/rspec/fixes/rspec/core/formatters/json_formatter.rb
opal-rspec-0.8.0.alpha2 lib-opal/opal/rspec/fixes/rspec/core/formatters/json_formatter.rb
opal-rspec-0.8.0.alpha1 lib-opal/opal/rspec/fixes/rspec/core/formatters/json_formatter.rb
opal-rspec-0.7.1 lib-opal/opal/rspec/fixes/rspec/core/formatters/json_formatter.rb
opal-rspec-0.7.0 lib-opal/opal/rspec/fixes/rspec/core/formatters/json_formatter.rb
opal-rspec-0.7.0.rc.2 lib-opal/opal/rspec/fixes/rspec/core/formatters/json_formatter.rb
opal-rspec-0.7.0.rc.1 lib-opal/opal/rspec/fixes/rspec/core/formatters/json_formatter.rb