Tuesday, July 31, 2018

Update ruby-capybara 2.13.0 -> 3.4.2

This updates ruby-capybara and related ports:

ruby-capybara: 2.13.0 -> 3.4.2
ruby-capybara-webkit: 1.14.0 -> 1.15.0
ruby-xpath: 2.0.0 -> 3.1.0
import ruby-mini_mime 1.0.0

Changelogs:

capybara: https://github.com/teamcapybara/capybara/blob/master/History.md
capybara-webkit
: https://github.com/thoughtbot/capybara-webkit/blob/master/NEWS.md
xpath: https://github.com/teamcapybara/xpath/blob/master/CHANGELOG.md

Portswise, this drops a now unnecessary patch for capybara, and adds a
patch to capybara-webkit to avoid deprecation warnings.

Can another developer please review the ruby-mini_mime port and OK the
import?

Thanks,
Jeremy

Index: www/ruby-capybara/Makefile
===================================================================
RCS file: /cvs/ports/www/ruby-capybara/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- www/ruby-capybara/Makefile 4 Nov 2017 15:51:42 -0000 1.6
+++ www/ruby-capybara/Makefile 31 Jul 2018 16:02:36 -0000
@@ -2,7 +2,7 @@

COMMENT = integration testing tool for rack based web applications

-DISTNAME = capybara-2.13.0
+DISTNAME = capybara-3.4.2
CATEGORIES = www

HOMEPAGE= https://github.com/jnicklas/capybara
@@ -14,12 +14,12 @@ MODULES = lang/ruby
CONFIGURE_STYLE = ruby gem

BUILD_DEPENDS = ${RUN_DEPENDS}
-RUN_DEPENDS = mail/ruby-mime-types,${MODRUBY_FLAVOR}>=1.16 \
- textproc/ruby-nokogiri,${MODRUBY_FLAVOR}>=1.3.3 \
+RUN_DEPENDS = mail/ruby-mini_mime,${MODRUBY_FLAVOR}>=0.1.3 \
+ textproc/ruby-nokogiri,${MODRUBY_FLAVOR}>=1.8,<2 \
www/ruby-addressable,${MODRUBY_FLAVOR} \
- www/ruby-rack,${MODRUBY_FLAVOR}>=1.0.0 \
- www/ruby-rack-test,${MODRUBY_FLAVOR}>=0.5.4 \
- www/ruby-xpath,${MODRUBY_FLAVOR}>=2.0,<3
+ www/ruby-rack,${MODRUBY_FLAVOR}>=1.6.0 \
+ www/ruby-rack-test,${MODRUBY_FLAVOR}>=0.6.3 \
+ www/ruby-xpath,${MODRUBY_FLAVOR}>=3.1,<4

# Tests require dependencies not in ports

Index: www/ruby-capybara/distinfo
===================================================================
RCS file: /cvs/ports/www/ruby-capybara/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- www/ruby-capybara/distinfo 4 Nov 2017 15:51:42 -0000 1.4
+++ www/ruby-capybara/distinfo 31 Jul 2018 16:24:10 -0000
@@ -1,2 +1,2 @@
-SHA256 (capybara-2.13.0.gem) = CdV04XC4BCkUwIYwOC7XhGlMGyvRwEr0gvv9cc1WmU0=
-SIZE (capybara-2.13.0.gem) = 257024
+SHA256 (capybara-3.4.2.gem) = +jH1a6nXZeyJvDG7wab2AVhj2RktwxDz3cJg6Lkd7lk=
+SIZE (capybara-3.4.2.gem) = 292864
Index: www/ruby-capybara/patches/patch-_metadata
===================================================================
RCS file: www/ruby-capybara/patches/patch-_metadata
diff -N www/ruby-capybara/patches/patch-_metadata
--- www/ruby-capybara/patches/patch-_metadata 20 Dec 2012 16:21:24 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,17 +0,0 @@
-$OpenBSD: patch-_metadata,v 1.1.1.1 2012/12/20 16:21:24 jeremy Exp $
-
-Remove the selenium-webdriver dependency, since it is really an
-optional dependency and selenium-webdriver hasn't been ported
-yet.
-
---- .metadata.orig Mon Jan 30 11:50:54 2012
-+++ .metadata Mon Jan 30 11:51:21 2012
-@@ -41,7 +41,7 @@ dependencies:
- - - ~>
- - !ruby/object:Gem::Version
- version: '2.0'
-- type: :runtime
-+ type: :development
- prerelease: false
- version_requirements: *2152397660
- - !ruby/object:Gem::Dependency
Index: www/ruby-capybara/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/ruby-capybara/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- www/ruby-capybara/pkg/PLIST 4 Nov 2017 15:51:42 -0000 1.4
+++ www/ruby-capybara/pkg/PLIST 31 Jul 2018 16:24:50 -0000
@@ -1,21 +1,13 @@
@comment $OpenBSD: PLIST,v 1.4 2017/11/04 15:51:42 jeremy Exp $
${GEM_LIB}/cache/${DISTNAME}.gem
${GEM_LIB}/gems/${DISTNAME}/
-${GEM_LIB}/gems/${DISTNAME}/.yard/
-${GEM_LIB}/gems/${DISTNAME}/.yard/templates_custom/
-${GEM_LIB}/gems/${DISTNAME}/.yard/templates_custom/default/
-${GEM_LIB}/gems/${DISTNAME}/.yard/templates_custom/default/class/
-${GEM_LIB}/gems/${DISTNAME}/.yard/templates_custom/default/class/html/
-${GEM_LIB}/gems/${DISTNAME}/.yard/templates_custom/default/class/html/selectors.erb
-${GEM_LIB}/gems/${DISTNAME}/.yard/templates_custom/default/class/html/setup.rb
-${GEM_LIB}/gems/${DISTNAME}/.yard/yard_extensions.rb
-${GEM_LIB}/gems/${DISTNAME}/.yardopts
${GEM_LIB}/gems/${DISTNAME}/History.md
${GEM_LIB}/gems/${DISTNAME}/License.txt
${GEM_LIB}/gems/${DISTNAME}/README.md
${GEM_LIB}/gems/${DISTNAME}/lib/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/config.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/cucumber.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/driver/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/driver/base.rb
@@ -35,13 +27,15 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/capybara
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/node/matchers.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/node/simple.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/queries/
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/queries/ancestor_query.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/queries/base_query.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/queries/current_path_query.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/queries/match_query.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/queries/selector_query.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/queries/sibling_query.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/queries/style_query.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/queries/text_query.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/queries/title_query.rb
-${GEM_LIB}/gems/${DISTNAME}/lib/capybara/query.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rack_test/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rack_test/browser.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rack_test/css_handlers.rb
@@ -52,25 +46,43 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/capybara
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/result.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rspec/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rspec.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rspec/compound.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rspec/features.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rspec/matcher_proxies.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rspec/matchers.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selector/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selector.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selector/css.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selector/filter.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selector/filter_set.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selector/filters/
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selector/filters/base.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selector/filters/expression_filter.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selector/filters/node_filter.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selector/selector.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selenium/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selenium/driver.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selenium/driver_specializations/
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selenium/driver_specializations/chrome_driver.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selenium/driver_specializations/marionette_driver.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selenium/node.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selenium/nodes/
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selenium/nodes/chrome_node.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selenium/nodes/marionette_node.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/server/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/server.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/server/animation_disabler.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/server/checker.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/server/middleware.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/session/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/session.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/session/config.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/session/matchers.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/fixtures/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/fixtures/another_test_file.txt
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/fixtures/capybara.jpg
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/fixtures/no_extension
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/fixtures/test_file.txt
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/public/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/public/jquery-ui.js
@@ -81,11 +93,13 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/capybara
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/accept_confirm_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/accept_prompt_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/all_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/ancestor_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/assert_all_of_selectors_spec.rb
-${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/assert_current_path.rb
-${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/assert_selector.rb
-${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/assert_text.rb
-${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/assert_title.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/assert_current_path_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/assert_selector_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/assert_style_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/assert_text_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/assert_title_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/attach_file_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/body_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/check_spec.rb
@@ -98,10 +112,11 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/capybara
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/dismiss_confirm_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/dismiss_prompt_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/element/
-${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/element/assert_match_selector.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/element/assert_match_selector_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/element/match_css_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/element/match_xpath_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/element/matches_selector_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/evaluate_async_script_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/evaluate_script_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/execute_script_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/fill_in_spec.rb
@@ -112,26 +127,33 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/capybara
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/find_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/first_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/frame/
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/frame/frame_title_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/frame/frame_url_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/frame/switch_to_frame_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/frame/within_frame_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/go_back_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/go_forward_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_all_selectors_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_button_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_css_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_current_path_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_field_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_link_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_none_selectors_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_select_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_selector_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_style_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_table_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_text_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_title_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_xpath_spec.rb
-${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/headers.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/headers_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/html_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/node_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/node_wrapper_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/refresh_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/reset_session_spec.rb
-${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/response_code.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/response_code_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/save_and_open_page_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/save_and_open_screenshot_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/save_page_spec.rb
@@ -139,6 +161,7 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/capybara
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/screenshot_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/select_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/selectors_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/sibling_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/source_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/text_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/title_spec.rb
@@ -167,17 +190,21 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/capybara
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/frame_two.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/header_links.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/host_links.erb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/initial_alert.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/path.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/popup_one.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/popup_two.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/postback.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/tables.erb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/with_animation.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/with_base_tag.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/with_count.erb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/with_fixed_header_footer.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/with_hover.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/with_html.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/with_html_entities.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/with_js.erb
+${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/with_namespace.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/with_scope.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/with_simple_html.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/with_slow_unload.erb
@@ -190,13 +217,18 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/capybara
${GEM_LIB}/gems/${DISTNAME}/spec/
${GEM_LIB}/gems/${DISTNAME}/spec/basic_node_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/capybara_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/spec/css_splitter_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/dsl_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/spec/filter_set_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/fixtures/
${GEM_LIB}/gems/${DISTNAME}/spec/fixtures/capybara.csv
+${GEM_LIB}/gems/${DISTNAME}/spec/fixtures/certificate.pem
+${GEM_LIB}/gems/${DISTNAME}/spec/fixtures/key.pem
${GEM_LIB}/gems/${DISTNAME}/spec/fixtures/selenium_driver_rspec_failure.rb
${GEM_LIB}/gems/${DISTNAME}/spec/fixtures/selenium_driver_rspec_success.rb
${GEM_LIB}/gems/${DISTNAME}/spec/minitest_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/minitest_spec_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/spec/per_session_config_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/rack_test_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/result_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/rspec/
@@ -204,10 +236,14 @@ ${GEM_LIB}/gems/${DISTNAME}/spec/rspec/f
${GEM_LIB}/gems/${DISTNAME}/spec/rspec/scenarios_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/rspec/shared_spec_matchers.rb
${GEM_LIB}/gems/${DISTNAME}/spec/rspec/views_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/spec/rspec_matchers_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/rspec_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/selector_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/selenium_spec_chrome.rb
-${GEM_LIB}/gems/${DISTNAME}/spec/selenium_spec_firefox.rb
+${GEM_LIB}/gems/${DISTNAME}/spec/selenium_spec_chrome_remote.rb
+${GEM_LIB}/gems/${DISTNAME}/spec/selenium_spec_edge.rb
+${GEM_LIB}/gems/${DISTNAME}/spec/selenium_spec_firefox_remote.rb
+${GEM_LIB}/gems/${DISTNAME}/spec/selenium_spec_ie.rb
${GEM_LIB}/gems/${DISTNAME}/spec/selenium_spec_marionette.rb
${GEM_LIB}/gems/${DISTNAME}/spec/server_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/session_spec.rb
Index: www/ruby-capybara-webkit/Makefile
===================================================================
RCS file: /cvs/ports/www/ruby-capybara-webkit/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- www/ruby-capybara-webkit/Makefile 13 Jun 2018 22:26:53 -0000 1.23
+++ www/ruby-capybara-webkit/Makefile 31 Jul 2018 16:51:37 -0000
@@ -2,8 +2,7 @@

COMMENT = capybara driver that uses WebKit

-DISTNAME = capybara-webkit-1.14.0
-REVISION = 0
+DISTNAME = capybara-webkit-1.15.0
CATEGORIES = www

HOMEPAGE= https://github.com/thoughtbot/capybara-webkit
@@ -20,8 +19,11 @@ WANTLIB += GL Qt5Core Qt5Gui Qt5Network
WANTLIB += Qt5Widgets ${COMPILER_LIBCXX}

BUILD_DEPENDS = ${RUN_DEPENDS}
-RUN_DEPENDS = www/ruby-capybara,${MODRUBY_FLAVOR}>=2.3.0,<2.14.0
+RUN_DEPENDS = www/ruby-capybara,${MODRUBY_FLAVOR}>=2.3.0,<4.0

LIB_DEPENDS = x11/qt5/qtwebkit
+
+post-build:
+ mv ${GEM_BASE_LIB}/gems/${DISTNAME}/{src,bin}/webkit_server

.include <bsd.port.mk>
Index: www/ruby-capybara-webkit/distinfo
===================================================================
RCS file: /cvs/ports/www/ruby-capybara-webkit/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- www/ruby-capybara-webkit/distinfo 4 Nov 2017 15:51:12 -0000 1.5
+++ www/ruby-capybara-webkit/distinfo 31 Jul 2018 16:26:32 -0000
@@ -1,2 +1,2 @@
-SHA256 (capybara-webkit-1.14.0.gem) = gtrDDUQeWIraAnfAP1DVhJ9lXAftFnzOhxFUmjVZ/Eg=
-SIZE (capybara-webkit-1.14.0.gem) = 95744
+SHA256 (capybara-webkit-1.15.0.gem) = ezvJuyzgFHCqjY5jp8hXzeiK2HAz05lZNCj1BCBJoxg=
+SIZE (capybara-webkit-1.15.0.gem) = 99840
Index: www/ruby-capybara-webkit/patches/patch-lib_capybara_webkit_node_rb
===================================================================
RCS file: www/ruby-capybara-webkit/patches/patch-lib_capybara_webkit_node_rb
diff -N www/ruby-capybara-webkit/patches/patch-lib_capybara_webkit_node_rb
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ www/ruby-capybara-webkit/patches/patch-lib_capybara_webkit_node_rb 31 Jul 2018 18:21:51 -0000
@@ -0,0 +1,41 @@
+$OpenBSD$
+
+Backport patch to remove deprecation warning from upstream commit
+778ec7f43cd1e8de272c2fc7023ce9d52fa74f9d.
+
+Index: lib/capybara/webkit/node.rb
+--- lib/capybara/webkit/node.rb.orig
++++ lib/capybara/webkit/node.rb
+@@ -6,12 +6,30 @@ module Capybara::Webkit
+ end
+
+ def visible_text
+- Capybara::Helpers.normalize_whitespace(invoke("text"))
++ text = invoke(:text).to_s
++ if Capybara::VERSION.to_f < 3.0
++ Capybara::Helpers.normalize_whitespace(text)
++ else
++ text.gsub(/\ +/, ' ')
++ .gsub(/[\ \n]*\n[\ \n]*/, "\n")
++ .gsub(/\A[[:space:]&&[^\u00a0]]+/, "")
++ .gsub(/[[:space:]&&[^\u00a0]]+\z/, "")
++ .tr("\u00a0", ' ')
++ end
+ end
+ alias_method :text, :visible_text
+
+ def all_text
+- Capybara::Helpers.normalize_whitespace(invoke("allText"))
++ text = invoke(:allText)
++ if Capybara::VERSION.to_f < 3.0
++ Capybara::Helpers.normalize_whitespace(text)
++ else
++ text.gsub(/[\u200b\u200e\u200f]/, '')
++ .gsub(/[\ \n\f\t\v\u2028\u2029]+/, ' ')
++ .gsub(/\A[[:space:]&&[^\u00a0]]+/, "")
++ .gsub(/[[:space:]&&[^\u00a0]]+\z/, "")
++ .tr("\u00a0", ' ')
++ end
+ end
+
+ def [](name)
Index: www/ruby-capybara-webkit/patches/patch-src_webkit_server_pro
===================================================================
RCS file: /cvs/ports/www/ruby-capybara-webkit/patches/patch-src_webkit_server_pro,v
retrieving revision 1.3
diff -u -p -r1.3 patch-src_webkit_server_pro
--- www/ruby-capybara-webkit/patches/patch-src_webkit_server_pro 4 Nov 2017 15:51:12 -0000 1.3
+++ www/ruby-capybara-webkit/patches/patch-src_webkit_server_pro 31 Jul 2018 18:21:08 -0000
@@ -2,7 +2,7 @@ $OpenBSD: patch-src_webkit_server_pro,v
Index: src/webkit_server.pro
--- src/webkit_server.pro.orig
+++ src/webkit_server.pro
-@@ -192,7 +192,7 @@ lessThan(QT_MAJOR_VERSION, 5) {
+@@ -196,7 +196,7 @@ lessThan(QT_MAJOR_VERSION, 5) {
error(At least Qt 4.8.0 is required to run capybara-webkit.)
}
}
Index: www/ruby-capybara-webkit/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/ruby-capybara-webkit/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- www/ruby-capybara-webkit/pkg/PLIST 4 Nov 2017 15:51:12 -0000 1.6
+++ www/ruby-capybara-webkit/pkg/PLIST 31 Jul 2018 16:56:59 -0000
@@ -21,8 +21,7 @@ ${GEM_LIB}/gems/${DISTNAME}/bin/Info.pli
${GEM_LIB}/gems/${DISTNAME}/capybara-webkit.gemspec
${GEM_LIB}/gems/${DISTNAME}/extconf.rb
${GEM_LIB}/gems/${DISTNAME}/gemfiles/
-${GEM_LIB}/gems/${DISTNAME}/gemfiles/2.13.gemfile
-${GEM_LIB}/gems/${DISTNAME}/gemfiles/2.7.gemfile
+${GEM_LIB}/gems/${DISTNAME}/gemfiles/2.15.gemfile
${GEM_LIB}/gems/${DISTNAME}/gemfiles/master.gemfile
${GEM_LIB}/gems/${DISTNAME}/lib/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/
@@ -51,9 +50,11 @@ ${GEM_LIB}/gems/${DISTNAME}/spec/driver_
${GEM_LIB}/gems/${DISTNAME}/spec/driver_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/errors_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/fixtures/
+${GEM_LIB}/gems/${DISTNAME}/spec/fixtures/exit_text.rb
${GEM_LIB}/gems/${DISTNAME}/spec/fixtures/fake_server.sh
${GEM_LIB}/gems/${DISTNAME}/spec/integration/
${GEM_LIB}/gems/${DISTNAME}/spec/integration/session_spec.rb
+${GEM_LIB}/gems/${DISTNAME}/spec/node_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/selenium_compatibility_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/self_signed_ssl_cert.rb
${GEM_LIB}/gems/${DISTNAME}/spec/server_spec.rb
Index: www/ruby-xpath/Makefile
===================================================================
RCS file: /cvs/ports/www/ruby-xpath/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- www/ruby-xpath/Makefile 1 Apr 2015 20:52:37 -0000 1.4
+++ www/ruby-xpath/Makefile 31 Jul 2018 16:05:52 -0000
@@ -2,7 +2,7 @@

COMMENT = ruby DSL around a subset of XPath 1.0

-DISTNAME = xpath-2.0.0
+DISTNAME = xpath-3.1.0
CATEGORIES = www

HOMEPAGE= https://github.com/jnicklas/xpath
@@ -14,11 +14,8 @@ MODULES = lang/ruby
CONFIGURE_STYLE = ruby gem

BUILD_DEPENDS = ${RUN_DEPENDS}
-RUN_DEPENDS = textproc/ruby-nokogiri,${MODRUBY_FLAVOR}>=1.3,<2.0
+RUN_DEPENDS = textproc/ruby-nokogiri,${MODRUBY_FLAVOR}>=1.8,<2

-TEST_DEPENDS = devel/ruby-bundler,${MODRUBY_FLAVOR}
-MODRUBY_TEST = rspec
-MODRUBY_TEST_DIR = ${WRKDIST}/spec
-MODRUBY_TEST_TARGET = *_spec.rb
+# Tests require gems not in ports

.include <bsd.port.mk>
Index: www/ruby-xpath/distinfo
===================================================================
RCS file: /cvs/ports/www/ruby-xpath/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- www/ruby-xpath/distinfo 1 Apr 2015 20:52:37 -0000 1.2
+++ www/ruby-xpath/distinfo 31 Jul 2018 16:03:37 -0000
@@ -1,2 +1,2 @@
-SHA256 (xpath-2.0.0.gem) = nKShzIjZqxbFkUaMzntdAO4GqKdrhB+EOJcMekTIbBI=
-SIZE (xpath-2.0.0.gem) = 18944
+SHA256 (xpath-3.1.0.gem) = 8UsgeiG3jDZ5yo+jQ0xknbnTevEXaQGQenwRsLeMwfg=
+SIZE (xpath-3.1.0.gem) = 13824
Index: www/ruby-xpath/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/ruby-xpath/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- www/ruby-xpath/pkg/PLIST 1 Apr 2015 20:52:37 -0000 1.2
+++ www/ruby-xpath/pkg/PLIST 31 Jul 2018 16:04:04 -0000
@@ -7,7 +7,6 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/xpath/
${GEM_LIB}/gems/${DISTNAME}/lib/xpath.rb
${GEM_LIB}/gems/${DISTNAME}/lib/xpath/dsl.rb
${GEM_LIB}/gems/${DISTNAME}/lib/xpath/expression.rb
-${GEM_LIB}/gems/${DISTNAME}/lib/xpath/html.rb
${GEM_LIB}/gems/${DISTNAME}/lib/xpath/literal.rb
${GEM_LIB}/gems/${DISTNAME}/lib/xpath/renderer.rb
${GEM_LIB}/gems/${DISTNAME}/lib/xpath/union.rb
@@ -17,7 +16,6 @@ ${GEM_LIB}/gems/${DISTNAME}/spec/fixture
${GEM_LIB}/gems/${DISTNAME}/spec/fixtures/form.html
${GEM_LIB}/gems/${DISTNAME}/spec/fixtures/simple.html
${GEM_LIB}/gems/${DISTNAME}/spec/fixtures/stuff.html
-${GEM_LIB}/gems/${DISTNAME}/spec/html_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/spec_helper.rb
${GEM_LIB}/gems/${DISTNAME}/spec/union_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/xpath_spec.rb

No comments:

Post a Comment