Fix URI::InvalidURIError when using Capybara::Session#current_path for url with space
Fix clicks in a frame not taking into account additional offset due to padding -- fixes #377
Merge pull request #379 from benalavi/master

IFrame clicks don't take into account padding on the IFrame
Bump rspec-rerun
Fix #265 rake test now working on jruby
Use single `expect` style for the whole bunch of specs
Mention `scroll_to` and additional option for `render` in README [ci skip]
Refactor render method for selector
Remove a few ensure blocks from tests because capybara should reset session automatically
Add support for phantom's #renderBase64.

The options for `#render_base64` and `#render` are the same except the first
argument which is format for `#render_base64`. Closes #189

Usage:

    encoded_image = @driver.render_base64(:jpeg) # => :png by default
    some_io.write image

    encoded_image = @driver.render_base64 :png, :full => true
    some_io.write image

    encoded_image = @driver.render_base64 :png, :selector => '.class'
    some_io.write image
Bump version
Show link to 1.4.0 in README
Add section for new release to CHANGELOG
Kill thread first off and then close IO
Add CHANGELOG entry [ci-skip]
Added ability to set paper_size via a driver setter
Temporary revert "Added ability to set paper_size via a driver setter"

This reverts commit 1e614751181b2b8a72f70284bd42e3b24f24ae7a.
Bump version
Added ability to set paper_size via a driver setter
Fix gemspec's warnings
Fix copyright years
Add forgotten interpolation [ci skip]
We require ruby >= 1.9.3 as capybara