pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ruby-capybara www/ruby-capybara: update to 3.12.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e1df359902c7
branches:  trunk
changeset: 388999:e1df359902c7
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Dec 17 15:12:50 2018 +0000

description:
www/ruby-capybara: update to 3.12.0

# Version 3.12.0
Release date: 2018-11-28

### Added

* Support Ruby 2.6 endless range in Result#[] and query `:between` option
* Pre-registered headless firefox driver :selenium_headless [Andrew Havens]
* Selenium driver now defaults to clearing `sessionStorage` and `localStorage`. To disable pass `clear_local_storage: false` and/or `clear_session_storage: false` when creating 
Capybara::Selenium::Driver instance in your driver registration

### Fixed

* Raise error if only :x or :y are passed as an offset to click methods

### Removed

* Support for RSpec < 3.5

# Version 3.11.1
Release date: 2018-11-16

###Fixed

* Fixed :link_or_button XPath generation when it has had an expression filter added

# Version 3.11.0
Release date: 2018-11-14

### Added

* Ability for node filters to set detailed error messages
* `Capybara::HTML` Will use `nokogumbo` for HTML parsing if installed
* `Selector#locator_filter` added to allow for dynamic locator in selectors

### Fixed

* Node filters are evaluated in the context of the Selector they are used in to ensure the correct options are used

# Version 3.10.1
Release date: 2018-11-03

### Fixed

* Fix `aria-label` and `test_id` matching for `link_or_button` selector type - Issue #2125
* Fixed crash in element path creation for matcher failure messages - Issue #2120

# Version 3.10.0
Release date: 2018-10-23

### Added

* :class filter can now check for class names starting with !
* Selector `xpath`/`css` expression definitions will get filter names from block parameters if not explicitly provided
* `any_of_selectors` assertions and matchers to complement `all_of_selectors` and `none_of_selectors`

### Fixed

* Selector `css` expression definiton declared filters now work again
* Cleaned up warnings [Yuji Yaginuma]
* Workaround installation of rspec matcher proxies under jruby by reverting to the old solution not using prepend, so jruby bugs are not hit - Issue #2115

# Version 3.9.0
Release date: 2018-10-03

### Added

* Selenium with Chrome removes all cookies at session reset instead of just cookies from current domain if possible
* Support for Regexp for system :id and :class filters where possible
* `using_session` now accepts a session object as well as the name of the session for users who  manually manage sessions
* The `:field` selector will now find `type = "hidden"` fields if the `type: "hidden"` filter option is provided

diffstat:

 www/ruby-capybara/Makefile |   7 ++++---
 www/ruby-capybara/PLIST    |  27 ++++++++++++++++++++++-----
 www/ruby-capybara/distinfo |  10 +++++-----
 3 files changed, 31 insertions(+), 13 deletions(-)

diffs (136 lines):

diff -r 83f91b41b370 -r e1df359902c7 www/ruby-capybara/Makefile
--- a/www/ruby-capybara/Makefile        Mon Dec 17 15:12:06 2018 +0000
+++ b/www/ruby-capybara/Makefile        Mon Dec 17 15:12:50 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2018/09/24 16:03:42 taca Exp $
+# $NetBSD: Makefile,v 1.19 2018/12/17 15:12:50 taca Exp $
 
-DISTNAME=      capybara-3.8.1
+DISTNAME=      capybara-3.12.0
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel ruby www
 
@@ -13,10 +13,11 @@
 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.1:../../textproc/ruby-xpath
+DEPENDS+=      ${RUBY_PKGPREFIX}-xpath>=3.2:../../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"
diff -r 83f91b41b370 -r e1df359902c7 www/ruby-capybara/PLIST
--- a/www/ruby-capybara/PLIST   Mon Dec 17 15:12:06 2018 +0000
+++ b/www/ruby-capybara/PLIST   Mon Dec 17 15:12:50 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2018/09/23 16:50:34 taca Exp $
+@comment $NetBSD: PLIST,v 1.13 2018/12/17 15:12:50 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/History.md
 ${GEM_LIBDIR}/License.txt
@@ -37,25 +37,37 @@
 ${GEM_LIBDIR}/lib/capybara/rails.rb
 ${GEM_LIBDIR}/lib/capybara/result.rb
 ${GEM_LIBDIR}/lib/capybara/rspec.rb
-${GEM_LIBDIR}/lib/capybara/rspec/compound.rb
 ${GEM_LIBDIR}/lib/capybara/rspec/features.rb
 ${GEM_LIBDIR}/lib/capybara/rspec/matcher_proxies.rb
 ${GEM_LIBDIR}/lib/capybara/rspec/matchers.rb
+${GEM_LIBDIR}/lib/capybara/rspec/matchers/base.rb
+${GEM_LIBDIR}/lib/capybara/rspec/matchers/become_closed.rb
+${GEM_LIBDIR}/lib/capybara/rspec/matchers/compound.rb
+${GEM_LIBDIR}/lib/capybara/rspec/matchers/have_current_path.rb
+${GEM_LIBDIR}/lib/capybara/rspec/matchers/have_selector.rb
+${GEM_LIBDIR}/lib/capybara/rspec/matchers/have_style.rb
+${GEM_LIBDIR}/lib/capybara/rspec/matchers/have_text.rb
+${GEM_LIBDIR}/lib/capybara/rspec/matchers/have_title.rb
+${GEM_LIBDIR}/lib/capybara/rspec/matchers/match_selector.rb
 ${GEM_LIBDIR}/lib/capybara/selector.rb
+${GEM_LIBDIR}/lib/capybara/selector/builders/css_builder.rb
+${GEM_LIBDIR}/lib/capybara/selector/builders/xpath_builder.rb
 ${GEM_LIBDIR}/lib/capybara/selector/css.rb
 ${GEM_LIBDIR}/lib/capybara/selector/filter.rb
 ${GEM_LIBDIR}/lib/capybara/selector/filter_set.rb
 ${GEM_LIBDIR}/lib/capybara/selector/filters/base.rb
 ${GEM_LIBDIR}/lib/capybara/selector/filters/expression_filter.rb
+${GEM_LIBDIR}/lib/capybara/selector/filters/locator_filter.rb
 ${GEM_LIBDIR}/lib/capybara/selector/filters/node_filter.rb
+${GEM_LIBDIR}/lib/capybara/selector/regexp_disassembler.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/driver_specializations/firefox_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/nodes/firefox_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
@@ -114,6 +126,7 @@
 ${GEM_LIBDIR}/lib/capybara/spec/session/go_back_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/session/go_forward_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/session/has_all_selectors_spec.rb
+${GEM_LIBDIR}/lib/capybara/spec/session/has_any_selectors_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/session/has_button_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/session/has_css_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/session/has_current_path_spec.rb
@@ -169,6 +182,7 @@
 ${GEM_LIBDIR}/lib/capybara/spec/views/header_links.erb
 ${GEM_LIBDIR}/lib/capybara/spec/views/host_links.erb
 ${GEM_LIBDIR}/lib/capybara/spec/views/initial_alert.erb
+${GEM_LIBDIR}/lib/capybara/spec/views/obscured.erb
 ${GEM_LIBDIR}/lib/capybara/spec/views/path.erb
 ${GEM_LIBDIR}/lib/capybara/spec/views/popup_one.erb
 ${GEM_LIBDIR}/lib/capybara/spec/views/popup_two.erb
@@ -195,6 +209,7 @@
 ${GEM_LIBDIR}/lib/capybara/window.rb
 ${GEM_LIBDIR}/spec/basic_node_spec.rb
 ${GEM_LIBDIR}/spec/capybara_spec.rb
+${GEM_LIBDIR}/spec/css_builder_spec.rb
 ${GEM_LIBDIR}/spec/css_splitter_spec.rb
 ${GEM_LIBDIR}/spec/dsl_spec.rb
 ${GEM_LIBDIR}/spec/filter_set_spec.rb
@@ -207,6 +222,7 @@
 ${GEM_LIBDIR}/spec/minitest_spec_spec.rb
 ${GEM_LIBDIR}/spec/per_session_config_spec.rb
 ${GEM_LIBDIR}/spec/rack_test_spec.rb
+${GEM_LIBDIR}/spec/regexp_dissassembler_spec.rb
 ${GEM_LIBDIR}/spec/result_spec.rb
 ${GEM_LIBDIR}/spec/rspec/features_spec.rb
 ${GEM_LIBDIR}/spec/rspec/scenarios_spec.rb
@@ -218,11 +234,12 @@
 ${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.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
 ${GEM_LIBDIR}/spec/session_spec.rb
 ${GEM_LIBDIR}/spec/shared_selenium_session.rb
 ${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_LIBDIR}/spec/xpath_builder_spec.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 83f91b41b370 -r e1df359902c7 www/ruby-capybara/distinfo
--- a/www/ruby-capybara/distinfo        Mon Dec 17 15:12:06 2018 +0000
+++ b/www/ruby-capybara/distinfo        Mon Dec 17 15:12:50 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.15 2018/09/24 16:03:42 taca Exp $
+$NetBSD: distinfo,v 1.16 2018/12/17 15:12:50 taca Exp $
 
-SHA1 (capybara-3.8.1.gem) = e3fd144c68754635f64015cf2695294223cf2192
-RMD160 (capybara-3.8.1.gem) = 03c440398848fffe0a84b01cbe260370e26ef2a1
-SHA512 (capybara-3.8.1.gem) = ee4d2b3226e5233a092d163b4323f02ba84ad682682dc9e17a4343380e4480774eac1bba28e12a83000438c7bc1d2698fe1aabe6162ff729a243fb863f06fffb
-Size (capybara-3.8.1.gem) = 300544 bytes
+SHA1 (capybara-3.12.0.gem) = a656a3f223f6baf959108fd26aa07aa35106a554
+RMD160 (capybara-3.12.0.gem) = fb354c7471401e92fcd392b2831cc5346edde511
+SHA512 (capybara-3.12.0.gem) = a0bc868fb69343c9b037fc7bfbc998662720a212821cb78a02d6dee29d841d1fc4781c6e5e6fe1d4a356ae495ea56dc356ec734b26005215a55ca1eb8a7e2789
+Size (capybara-3.12.0.gem) = 313344 bytes



Home | Main Index | Thread Index | Old Index