1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Post install message for gem.

This commit is contained in:
Jonas Nicklas 2013-03-17 16:40:59 +01:00
parent f27d15851e
commit 8dbc93aa79

View file

@ -41,4 +41,26 @@ Gem::Specification.new do |s|
s.signing_key = 'gem-private_key.pem' s.signing_key = 'gem-private_key.pem'
end end
s.cert_chain = ['gem-public_cert.pem'] s.cert_chain = ['gem-public_cert.pem']
s.post_install_message = <<-MESSAGE
IMPORTANT! Some of the defaults have changed in Capybara 2.1. If you're experiencing failures,
please revert to the old behaviour by setting:
Capybara.configure do |config|
config.match = :one
config.exact_options = true
config.ignore_hidden_elements = true
config.visible_text_only = true
end
If you're migrating from Capybara 1.x, try:
Capybara.configure do |config|
config.match = :prefer_exact
config.ignore_hidden_elements = false
end
Details here: http://www.elabs.se/blog/60-introducing-capybara-2-1
MESSAGE
end end