Sha256: dc5b7d36f181e372ee9bf8da054df8e3b45142d7d1c5b0a8dbd0486ca14a2b67

Contents?: true

Size: 464 Bytes

Versions: 12

Compression:

Stored size: 464 Bytes

Contents

# was fixed in https://github.com/rspec/rspec-support/commit/2dac0afd920e27ab557efc6bb51bebfd544256dc
# Remove once we get current with RSpec

# Need to ensure we're loaded before we patch
require 'rspec/support/spec/stderr_splitter'

class RSpec::Support::StdErrSplitter
  respond_to_name = (::RUBY_VERSION.to_f < 1.9) ? :respond_to? : :respond_to_missing?

  define_method respond_to_name do |*args|
    @orig_stderr.respond_to?(*args) || super(*args)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
opal-rspec-0.8.0 lib-opal/opal/rspec/fixes/rspec/support/spec/stderr_splitter.rb
opal-rspec-0.8.0.alpha3 lib-opal/opal/rspec/fixes/rspec/support/spec/stderr_splitter.rb
opal-rspec-0.8.0.alpha2 lib-opal/opal/rspec/fixes/rspec/support/spec/stderr_splitter.rb
opal-rspec-0.8.0.alpha1 lib-opal/opal/rspec/fixes/rspec/support/spec/stderr_splitter.rb
opal-rspec-0.7.1 lib-opal/opal/rspec/fixes/rspec/support/spec/stderr_splitter.rb
opal-rspec-0.7.0 lib-opal/opal/rspec/fixes/rspec/support/spec/stderr_splitter.rb
opal-rspec-0.6.2 opal/opal/rspec/fixes/rspec/support/spec/stderr_splitter.rb
opal-rspec-0.7.0.rc.2 lib-opal/opal/rspec/fixes/rspec/support/spec/stderr_splitter.rb
opal-rspec-0.7.0.rc.1 lib-opal/opal/rspec/fixes/rspec/support/spec/stderr_splitter.rb
opal-rspec-0.6.1 opal/opal/rspec/fixes/rspec/support/spec/stderr_splitter.rb
opal-rspec-0.6.0 opal/opal/rspec/fixes/rspec/support/spec/stderr_splitter.rb
opal-rspec-0.6.0.beta1 opal/opal/rspec/fixes/rspec/support/spec/stderr_splitter.rb