diff options
author | taca <taca@pkgsrc.org> | 2018-09-23 16:50:34 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2018-09-23 16:50:34 +0000 |
commit | 2b024c1ad15ed4b8d83a06aa7dff962d943398b5 (patch) | |
tree | 8f63f405aa777dea1de01fd96fed8559e620a6e0 /www/ruby-capybara | |
parent | 913633ddd66c3d7efcf9321fef3d763bde450b69 (diff) | |
download | pkgsrc-2b024c1ad15ed4b8d83a06aa7dff962d943398b5.tar.gz |
www/ruby-capybara: update to 3.8.0
# Version 3.8.0
Release date: 2018-09-20
### Added
* Workaround gecodriver 0.22 issue with undefined pause durations
* :element selector ignores XML namespaces
### Fixed
* Added Errno::ECONNRESET to the errors which will allows https server detection
# Version 3.7.2
Release date: 2018-09-12
### Fixed
* Fix MatchQuery based matchers when used on a root element found using any type of parent/ancestor query - Issue #2097
* Fix Chrome/FF HTML5 drag simulation for elements (a, img) which default to draggable - Issue #2098
# Version 3.7.1
Release date: 2018-09-05
### Fixed
* Restored ability to pass symbol as the CSS selector when calling `has_css?`/`have_css`/etc - Issue #2093
# Version 3.7.0
Release date: 2018-09-02
### Added
* `Capybara.disable_animation` can be set to a CSS selector to identify which elements will have animation disabled [Michael Glass]
* `Capybara.default_normalize_ws` option which sets whether or not text predicates and matchers (`has_text?`, `has_content?`, `assert_text`, etc) use `normalize_ws` option by default. Defaults to false. [Stegalin Ivan]
* Selector based predicates, matchers, and finders now support the `:normalize_ws` option for the `:text`/`:exact_text` filters. Defaults to the `Capybara.default_normalize_ws`setting above.
* Element `choose`/`check`/`uncheck`/`attach_file`/`fill_in` can now operate on the element they're called on or a descendant if no locator is passed.
### Fixed
* All CSS styles applied by the `Element#attach_file` `:make_visible` option will now have `!important` priority set to ensure they override any other specified style.
* Firefox file inputs are only manually cleared when necessary.
# Version 3.6.0
Release date: 2018-08-14
### Added
* Workaround geckodriver/firefox send_keys issues as much as possible using the Selenium actions API
* Workaround lack of HTML5 native drag and drop events when using Selenium driver with Chrome and FF >= 62
* `Capybara.predicates_wait` option which sets whether or not Capybaras matcher predicate methods (`has_css?`, `has_selector?`, `has_text?`, etc.) default to using waiting/retrying behavior (defaults to true)
# Version 3.5.1
Release date: 2018-08-03
### Fixed
* Fixed misspelled method name `refute_matches_elector` => `refute_matches_selector`
# Version 3.5.0
Release date: 2018-08-01
### Added
* text predicates and matchers (`has_text?`, `has_content?`, `assert_text`, etc) now support a `normalize_ws` option
### Fixed
* `attach_file` with Selenium and local Firefox 62+ now correctly generates only one change event when attaching multiple files
# Version 3.4.2
Release date: 2018-07-24
### Fixed
* `match_xxx` selectors and `matches_xxx?` predicates work correctly with elements found using a sibling selector - Issue #2073
# Version 3.4.1
Release date: 2018-07-20
### Fixed
* `Session#evaluate_script` now strips the script in `Session` rather than only in the Selenium driver
# Version 3.4.0
Release date: 2018-07-19
### Fixed
* Make selenium driver :backspace clear stategy work even if caret location is in middle of field content [Champier Cyril]
* Selenium issue with fieldset nested in disabled fieldset not being considered disabled
* `Session#evaluate_script` and `Element#evaluate_script` now strip leading/trailing whitespace from scripts [Ian Lesperance]
### Added
* Work around Selenium lack of support for `file_detector` with remote geckodriver
* `#within_frame` locator is optional when only one frame exists
* `Capybara.test_id` option that allows for matching the Capybara provided selector types on an arbitrary attribute
(defaults to nil), set to your test id attribute ('data-test-id, etc) if using test id attributes in your project
# Version 3.3.1
Release date: 2018-06-27
### Fixed
* `selenium-webdriver` version check [ahorek]
* Selenium driver correctly responds to `disabled?` for fieldset elements - Issue #2059 [Thomas Walpole]
# Version 3.3.0
Release date: 2018-06-25
### Added
* RackTest driver now handles 307/308 redirects
* `execute_async_script` can now be called on elements to run the JS in the context of the element
* `:download` filter option on `:link' selector
* `Window#fullscreen`
* `Element#style` and associated matchers
### Changed
* Minimum "supported" `selenium-webdriver` is raised to 3.5.0 (but you really should be using newer than that)
### Fixes
* Selenium driver with Firefox workaround for clicking on table row - https://github.com/mozilla/geckodriver/issues/1228
* :class and :id filters applied to CSS based selectors now correctly handle the CSS comma
* Selenium driver handles namespaces when generating an elements `#path` - Issue #2048
# Version 3.2.1
Release date: 2018-06-04
### Fixes
* Only split CSS selectors when :class or :id options are given. Restores 3.1.1 functionality for now but the underlying issue
will require a larger fix, hopefully coming soon. - Issue #2044 [Thomas Walpole]
# Version 3.2.0
Release date: 2018-06-01
### Changed
* Ruby 2.3.0+ is now required
* `ElementNotFound` errors raised in selector filters are interpreted as non-matches
### Added
* New global configuration `default_set_options` used in `Capybara::Node::Element#set` as default `options` hash [Champier Cyril]
* `execute_script` and `evaluate_script` can now be called on elements to run the JS in the context of the element [Thomas Walpole]
* Filters in custom selectors now support a `matcher` Regexp to handle multiple filter options [Thomas Walpole]
* `:element` selector type which will match on any attribute (other than the reserved names) passed as a filter option [Thomas Walpole]
* `:class` filter option now supports preceding class names with `!` to indicate not having that class [Thomas Walpole]
* `:class` and `:id` filter options now accept `XPath::Expression` objects to allow for more flexibility in matching [Thomas Walpole]
* `Capybara.disable_animation` setting which triggers loading of a middleware that attempts to disable animations in pages.
This is very much a beta feature and may change/disappear in the future. [Thomas Walpole]
# Version 3.1.1
Release date: 2018-05-25
### Fixes
* Ensure keystrokes are sent when setting time/date fields to a string with the Selenium driver [Thomas Walpole]
# Version 3.1.0
Release date: 2018-05-10
### Added
* Support for using `select` with text inputs associated with a datalist element
* `type` filter on `:button` selector
* Support for server operating in https mode
* Selenium driver now uses JS to fill_in/set date and time fields when passed date or time objects [Aleksei Gusev, Thomas Walpole]
Diffstat (limited to 'www/ruby-capybara')
-rw-r--r-- | www/ruby-capybara/Makefile | 7 | ||||
-rw-r--r-- | www/ruby-capybara/PLIST | 39 | ||||
-rw-r--r-- | www/ruby-capybara/distinfo | 10 |
3 files changed, 36 insertions, 20 deletions
diff --git a/www/ruby-capybara/Makefile b/www/ruby-capybara/Makefile index ae19b9d417c..6977dc87267 100644 --- a/www/ruby-capybara/Makefile +++ b/www/ruby-capybara/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.16 2018/05/06 02:24:54 taca Exp $ +# $NetBSD: Makefile,v 1.17 2018/09/23 16:50:34 taca Exp $ -DISTNAME= capybara-3.0.3 +DISTNAME= capybara-3.8.0 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} CATEGORIES= devel ruby www @@ -13,10 +13,11 @@ DEPENDS+= ${RUBY_PKGPREFIX}-nokogiri>=1.8:../../textproc/ruby-nokogiri DEPENDS+= ${RUBY_PKGPREFIX}-mini_mime>=0.1.3:../../mail/ruby-mini_mime DEPENDS+= ${RUBY_PKGPREFIX}-rack16>=1.6.0:../../www/ruby-rack16 DEPENDS+= ${RUBY_PKGPREFIX}-rack-test>=0.6.3:../../www/ruby-rack-test -DEPENDS+= ${RUBY_PKGPREFIX}-xpath>=3.0:../../textproc/ruby-xpath +DEPENDS+= ${RUBY_PKGPREFIX}-xpath>=3.1:../../textproc/ruby-xpath DEPENDS+= ${RUBY_PKGPREFIX}-addressable>=0:../../net/ruby-addressable USE_LANGUAGES= # none +RUBY_VERSIONS_ACCEPTED= 23 24 25 .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ruby-capybara/PLIST b/www/ruby-capybara/PLIST index a5f706a4f30..63da88b12a1 100644 --- a/www/ruby-capybara/PLIST +++ b/www/ruby-capybara/PLIST @@ -1,9 +1,5 @@ -@comment $NetBSD: PLIST,v 1.11 2018/05/06 02:24:54 taca Exp $ +@comment $NetBSD: PLIST,v 1.12 2018/09/23 16:50:34 taca Exp $ ${GEM_HOME}/cache/${GEM_NAME}.gem -${GEM_LIBDIR}/.yard/templates_custom/default/class/html/selectors.erb -${GEM_LIBDIR}/.yard/templates_custom/default/class/html/setup.rb -${GEM_LIBDIR}/.yard/yard_extensions.rb -${GEM_LIBDIR}/.yardopts ${GEM_LIBDIR}/History.md ${GEM_LIBDIR}/License.txt ${GEM_LIBDIR}/README.md @@ -30,6 +26,7 @@ ${GEM_LIBDIR}/lib/capybara/queries/current_path_query.rb ${GEM_LIBDIR}/lib/capybara/queries/match_query.rb ${GEM_LIBDIR}/lib/capybara/queries/selector_query.rb ${GEM_LIBDIR}/lib/capybara/queries/sibling_query.rb +${GEM_LIBDIR}/lib/capybara/queries/style_query.rb ${GEM_LIBDIR}/lib/capybara/queries/text_query.rb ${GEM_LIBDIR}/lib/capybara/queries/title_query.rb ${GEM_LIBDIR}/lib/capybara/rack_test/browser.rb @@ -53,8 +50,17 @@ ${GEM_LIBDIR}/lib/capybara/selector/filters/expression_filter.rb ${GEM_LIBDIR}/lib/capybara/selector/filters/node_filter.rb ${GEM_LIBDIR}/lib/capybara/selector/selector.rb ${GEM_LIBDIR}/lib/capybara/selenium/driver.rb +${GEM_LIBDIR}/lib/capybara/selenium/driver_specializations/chrome_driver.rb +${GEM_LIBDIR}/lib/capybara/selenium/driver_specializations/marionette_driver.rb +${GEM_LIBDIR}/lib/capybara/selenium/extensions/html5_drag.rb ${GEM_LIBDIR}/lib/capybara/selenium/node.rb +${GEM_LIBDIR}/lib/capybara/selenium/nodes/chrome_node.rb +${GEM_LIBDIR}/lib/capybara/selenium/nodes/marionette_node.rb +${GEM_LIBDIR}/lib/capybara/selenium/patches/pause_duration_fix.rb ${GEM_LIBDIR}/lib/capybara/server.rb +${GEM_LIBDIR}/lib/capybara/server/animation_disabler.rb +${GEM_LIBDIR}/lib/capybara/server/checker.rb +${GEM_LIBDIR}/lib/capybara/server/middleware.rb ${GEM_LIBDIR}/lib/capybara/session.rb ${GEM_LIBDIR}/lib/capybara/session/config.rb ${GEM_LIBDIR}/lib/capybara/session/matchers.rb @@ -71,10 +77,11 @@ ${GEM_LIBDIR}/lib/capybara/spec/session/accept_prompt_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/all_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/ancestor_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/assert_all_of_selectors_spec.rb -${GEM_LIBDIR}/lib/capybara/spec/session/assert_current_path.rb -${GEM_LIBDIR}/lib/capybara/spec/session/assert_selector.rb -${GEM_LIBDIR}/lib/capybara/spec/session/assert_text.rb -${GEM_LIBDIR}/lib/capybara/spec/session/assert_title.rb +${GEM_LIBDIR}/lib/capybara/spec/session/assert_current_path_spec.rb +${GEM_LIBDIR}/lib/capybara/spec/session/assert_selector_spec.rb +${GEM_LIBDIR}/lib/capybara/spec/session/assert_style_spec.rb +${GEM_LIBDIR}/lib/capybara/spec/session/assert_text_spec.rb +${GEM_LIBDIR}/lib/capybara/spec/session/assert_title_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/attach_file_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/body_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/check_spec.rb @@ -86,7 +93,7 @@ ${GEM_LIBDIR}/lib/capybara/spec/session/current_scope_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/current_url_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/dismiss_confirm_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/dismiss_prompt_spec.rb -${GEM_LIBDIR}/lib/capybara/spec/session/element/assert_match_selector.rb +${GEM_LIBDIR}/lib/capybara/spec/session/element/assert_match_selector_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/element/match_css_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/element/match_xpath_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/element/matches_selector_spec.rb @@ -115,17 +122,18 @@ ${GEM_LIBDIR}/lib/capybara/spec/session/has_link_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/has_none_selectors_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/has_select_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/has_selector_spec.rb +${GEM_LIBDIR}/lib/capybara/spec/session/has_style_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/has_table_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/has_text_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/has_title_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/has_xpath_spec.rb -${GEM_LIBDIR}/lib/capybara/spec/session/headers.rb +${GEM_LIBDIR}/lib/capybara/spec/session/headers_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/html_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/node_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/node_wrapper_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/refresh_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/reset_session_spec.rb -${GEM_LIBDIR}/lib/capybara/spec/session/response_code.rb +${GEM_LIBDIR}/lib/capybara/spec/session/response_code_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/save_and_open_page_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/save_and_open_screenshot_spec.rb ${GEM_LIBDIR}/lib/capybara/spec/session/save_page_spec.rb @@ -166,13 +174,16 @@ ${GEM_LIBDIR}/lib/capybara/spec/views/popup_one.erb ${GEM_LIBDIR}/lib/capybara/spec/views/popup_two.erb ${GEM_LIBDIR}/lib/capybara/spec/views/postback.erb ${GEM_LIBDIR}/lib/capybara/spec/views/tables.erb +${GEM_LIBDIR}/lib/capybara/spec/views/with_animation.erb ${GEM_LIBDIR}/lib/capybara/spec/views/with_base_tag.erb ${GEM_LIBDIR}/lib/capybara/spec/views/with_count.erb ${GEM_LIBDIR}/lib/capybara/spec/views/with_fixed_header_footer.erb ${GEM_LIBDIR}/lib/capybara/spec/views/with_hover.erb ${GEM_LIBDIR}/lib/capybara/spec/views/with_html.erb +${GEM_LIBDIR}/lib/capybara/spec/views/with_html5_svg.erb ${GEM_LIBDIR}/lib/capybara/spec/views/with_html_entities.erb ${GEM_LIBDIR}/lib/capybara/spec/views/with_js.erb +${GEM_LIBDIR}/lib/capybara/spec/views/with_namespace.erb ${GEM_LIBDIR}/lib/capybara/spec/views/with_scope.erb ${GEM_LIBDIR}/lib/capybara/spec/views/with_simple_html.erb ${GEM_LIBDIR}/lib/capybara/spec/views/with_slow_unload.erb @@ -184,9 +195,12 @@ ${GEM_LIBDIR}/lib/capybara/version.rb ${GEM_LIBDIR}/lib/capybara/window.rb ${GEM_LIBDIR}/spec/basic_node_spec.rb ${GEM_LIBDIR}/spec/capybara_spec.rb +${GEM_LIBDIR}/spec/css_splitter_spec.rb ${GEM_LIBDIR}/spec/dsl_spec.rb ${GEM_LIBDIR}/spec/filter_set_spec.rb ${GEM_LIBDIR}/spec/fixtures/capybara.csv +${GEM_LIBDIR}/spec/fixtures/certificate.pem +${GEM_LIBDIR}/spec/fixtures/key.pem ${GEM_LIBDIR}/spec/fixtures/selenium_driver_rspec_failure.rb ${GEM_LIBDIR}/spec/fixtures/selenium_driver_rspec_success.rb ${GEM_LIBDIR}/spec/minitest_spec.rb @@ -204,6 +218,7 @@ ${GEM_LIBDIR}/spec/selector_spec.rb ${GEM_LIBDIR}/spec/selenium_spec_chrome.rb ${GEM_LIBDIR}/spec/selenium_spec_chrome_remote.rb ${GEM_LIBDIR}/spec/selenium_spec_edge.rb +${GEM_LIBDIR}/spec/selenium_spec_firefox_remote.rb ${GEM_LIBDIR}/spec/selenium_spec_ie.rb ${GEM_LIBDIR}/spec/selenium_spec_marionette.rb ${GEM_LIBDIR}/spec/server_spec.rb diff --git a/www/ruby-capybara/distinfo b/www/ruby-capybara/distinfo index a074f22dccc..583d085f357 100644 --- a/www/ruby-capybara/distinfo +++ b/www/ruby-capybara/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.13 2018/05/06 02:24:54 taca Exp $ +$NetBSD: distinfo,v 1.14 2018/09/23 16:50:34 taca Exp $ -SHA1 (capybara-3.0.3.gem) = faad6468dbcc45cc5097782ee9f45f5c1e1c0d00 -RMD160 (capybara-3.0.3.gem) = 1a286a923b3748d98766ab3db7bb2b23f86499ee -SHA512 (capybara-3.0.3.gem) = 7af6c04304f3308322ec374d226b6cd874ba2068be5451da482a6bd2861e404b580e4c74604f0873cd91a52f1d95117efdf850cf19eb9c6265715cff5d503c47 -Size (capybara-3.0.3.gem) = 276480 bytes +SHA1 (capybara-3.8.0.gem) = 4cf69bfae0a63ee7efebc0394899f85d76e23317 +RMD160 (capybara-3.8.0.gem) = a432b7eea2acdfd921009023699a180766e33f76 +SHA512 (capybara-3.8.0.gem) = 6b8069e1f39d42695bb8f96ddd6f221e1ddcf09ceeeec65588721c89d232497a53fd8e3b8018e65a306eec0a187a15ed26c481a7574a6af7260f86466449c864 +Size (capybara-3.8.0.gem) = 300544 bytes |