Sha256: edad2dfa1236d45df643910526e7aa2edb7cf2ab62c9e98c9d845b86c09a3de4

Contents?: true

Size: 400 Bytes

Versions: 26

Compression:

Stored size: 400 Bytes

Contents

require 'webmock/config'

config = WebMock::Config.instance

unless config.allow_net_connect
  allow_localhost = config.allow_localhost
  allow = config.allow || []
  allow << /saucelabs.com/
  connect_on_start = config.net_http_connect_on_start

  WebMock.disable_net_connect!(
    :allow_localhost => allow_localhost,
    :allow => allow, 
    :net_http_connect_on_start => connect_on_start
  )
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
sauce-3.7.2 lib/sauce/webmock.rb
sauce-3.7.1 lib/sauce/webmock.rb
sauce-3.7.0 lib/sauce/webmock.rb
sauce-3.5.11 lib/sauce/webmock.rb
sauce-3.5.10 lib/sauce/webmock.rb
sauce-3.5.9 lib/sauce/webmock.rb
sauce-3.5.8 lib/sauce/webmock.rb
sauce-3.5.7 lib/sauce/webmock.rb
sauce_ruby-3.5.11 lib/sauce/webmock.rb
sauce_ruby-3.5.10 lib/sauce/webmock.rb
sauce_ruby-3.5.9 lib/sauce/webmock.rb
sauce_ruby-3.5.8 lib/sauce/webmock.rb
sauce_ruby-3.5.7 lib/sauce/webmock.rb
sauce_ruby-3.5.6 lib/sauce/webmock.rb
sauce-3.5.6 lib/sauce/webmock.rb
sauce-3.5.5 lib/sauce/webmock.rb
sauce-3.5.4 lib/sauce/webmock.rb
sauce-3.5.3 lib/sauce/webmock.rb
sauce-3.5.2 lib/sauce/webmock.rb
sauce-3.5.1 lib/sauce/webmock.rb