Skip to content
This repository

Dec 26, 2012

  1. Jonathan del Strother

    Catch the correct timeout exception during Server#boot

    TimeoutError is actually Capybara::TimeoutError, which is unrelated to Ruby's Timeout
    jdelStrother authored

Jul 13, 2012

  1. Jonas Nicklas

    Allow port to be specified on initialize, closes #685

    authored
  2. Jonas Nicklas

    Raise errors in main thread when error in application occurs, closes #…

    authored
  3. Jonas Nicklas

    Session is responsible for starting server

    authored

Jul 04, 2012

  1. Douwe Maan

    Rename option insert_port_into_portless_url to always_include_port an…

    …d clear up description.
    DouweM authored

Apr 23, 2012

  1. Douwe Maan

    Check for default port instead of hardcoded 80.

    DouweM authored

Apr 22, 2012

  1. Douwe Maan

    Insert port into URL to visit if it doesn't have one already and Capy…

    …bara.insert_port_into_portless_url is true.
    DouweM authored

Mar 06, 2012

  1. James Tucker

    Add code to catch server errors at server boot time, and during respo…

    …nsiveness checks
    raggi authored

Feb 01, 2012

  1. Jonas Nicklas

    Remove Capybara.timeout entirely

    authored
  2. Jonas Nicklas

    Use regular Ruby timout in server bootup process

    authored

Jan 08, 2012

  1. Jo Liss

    Remove Capybara.server_boot_timeout, hard-code 60 seconds. Closes #589

    Thanks to Adam Cigánek for his helpful input and the original patch!
    joliss authored

Jan 03, 2012

  1. Jo Liss

    Poll for the server coming up more frequently

    Capybara.timeout sleeps 50ms between polls, and since the server tends
    to boot quickly, this is a reasonable value. By not adding another
    500ms, we shave a few seconds off the test execution time, mostly in
    spec/server_spec.rb.
    joliss authored

Oct 28, 2011

  1. Jonas Nicklas

    Merge pull request #516 from dbalatero/add_server_host_option

    This adds a server_host option to Capybara.
    authored

Oct 19, 2011

  1. Adrian Irving-Beer

    Raise on Rack app timeout.

    wisq authored

Oct 05, 2011

  1. David Balatero

    This adds a server_host option to Capybara.

    In order to run Selenium via Capybara on my virtual machine, you need to be
    able to bind the server IP to a net interface on the same subnet as the VM.
    
    This patch exposes an configuration variable to allow you to bind the
    test server to any net interface on your local machine.
    
    Falls back to 127.0.0.1 if the config var is not set.
    dbalatero authored

Apr 26, 2011

  1. Piotr Sarnacki

    Rack body should respond to each, passing string breaks on 1.9.2

    drogus authored

Nov 17, 2010

  1. Adam Cigánek

    Server boot timeout is now configurable

    madadam authored

Nov 09, 2010

  1. Jonas Nicklas

    catch correct error, on server timeout, closes #185

    authored

Oct 28, 2010

  1. Allow the Rack handler to be configured via Capybara.server {|app, po…

    …rt| ...}
    
    For example, to use mongrel rather than thin or webrick:
    
        Capybara.server do |app, port|
          require 'rack/handler/mongrel'
          Rack::Handler::Mongrel.run(app, :Port => port)
        end
    John Firebaugh authored

Oct 08, 2010

  1. Jonas Nicklas

    Use 127.0.0.1 instead of localhost

    Apparently this prevents some issues and has no
    downsides.
    authored
  2. Jonas Nicklas

    Drop mongrel support, silence thin and webrick

    Mongrel is an outdated server, it doesn't work on
    Ruby 1.9, for speed, thin is perfectly well suited
    for compatibility webrick is much better.
    
    Also: no more annoying logging information from
    thin/webrick
    authored

Sep 02, 2010

  1. Harry Vangberg

    use Capybara.server_port if specified

    vangberg authored

Jul 14, 2010

  1. Jonas Nicklas

    Use TCPServer to find available port for server

    Reverts the revert.
    
    I've added some code to make the Server reuse already booted
    applications.
    
    This reverts commit 9fe037d.
    
    Conflicts:
    
    	lib/capybara/server.rb
    authored

Jul 11, 2010

  1. Jonas Nicklas

    Don't use Capybara.log anymore, it's not really useful

    authored

Jul 10, 2010

  1. Jonas Nicklas

    Move utils into own folder

    authored

Jul 09, 2010

  1. Jonas Nicklas

    Explicit module for Server

    authored
  2. Jonas Nicklas

    Rename WaitUntil to timeout

    authored
  3. Jonas Nicklas

    Revert "Use TCPServer to find available port for server"

    This reverts commit a8a4efc.
    authored

Jul 06, 2010

  1. Bernerd Schaefer

    Use TCPServer to find available port for server

    This protects against the race conditions which inevitably occur
    when booting multiple capybara servers (such as running specjour).
    TCPServer.new() will set recently opened sockets to SOCK_WAIT status to
    ensure that a certain amount of time elapses before they are reused.

Mar 24, 2010

  1. Lucas Prim

    MSWin Fix

    lucasprim authored

Mar 12, 2010

  1. Jonas Nicklas

    Make sure server does nothing when no app given

    authored

Feb 26, 2010

  1. Jonas Nicklas

    Darrin Holst to contributors

    authored

Feb 19, 2010

  1. Jonas Nicklas

    Improved handler loading for JRuby

    authored

Feb 07, 2010

  1. Jonas Nicklas

    Prefer thin over mongrel, Closes #34

    For Ruby 1.9 compatibility
    authored

Jan 30, 2010

  1. Jonas Nicklas

    Fixed failing server spec, server needs to be booted

    authored
Something went wrong with that request. Please try again.