pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/ruby-capybara



Module Name:    pkgsrc
Committed By:   taca
Date:           Tue Oct 18 15:42:12 UTC 2016

Modified Files:
        pkgsrc/www/ruby-capybara: Makefile PLIST distinfo

Log Message:
Update ruby-capybara to 2.10.1.

#2.10.1
Release date: 2016-10-08

### Fixed
* App errors are now correctly raised with the explanatory cause in JRuby [Thomas Walpole]
* Capybara::Result optimization disabled in JRuby due to issue with lazy enumerator evaluation [Thomas Walpole]
  See: https://github.com/jruby/jruby/issues/4212

#2.10.0
Release date: 2016-10-05

### Added
* Select `<button>` elements with descendant images with `alt` attributes matching the locator [Ian Lesperance]
* Locator string is optional in selector based matchers [Thomas Walpole]
* Selectors can specify their default visible setting [Thomas Walpole]
* Selector based finders and matchers can be passed a block to filter the results within the retry behavior [Thomas Walpole]

#Version 2.9.2
Release date: 2016-09-29

### Fixed
* :label built-in selector finds nested label/control by control id if the label has no 'for' attribute [Thomas Walpole]
* Warning issued if an unknown selector type is specified

#Version 2.9.1
Release date: 2016-09-23

### Fixed
* allow_label_click option did not work in some cases with Poltergeist - Issue #1762 [Thomas Walpole]
* matches_selector? should have access to all of a selectors options except the count options [Thomas Walpole]

#Version 2.9.0
Release date: 2016-09-19

### Fixed
* Issue with rack-test driver and obselete mime-types when using `#attach_file` - Issue #1756 [Thomas Walpole]

### Added
* `:class` option to many of the built-in selectors [Thomas Walpole]
* Removed need to specify value when creating `:boolean` filter type in custom selectors [Thomas Walpole]
* Filters can now be implemented through the XPath/CSS expressions in custom selectors [Thomas Walpole]
* `Element#matches_xpath?` and `Element#matches_css?` [Thomas Walpole]

#Version 2.8.1
Release data: 2016-08-25

###Fixed
* Fixed error message from have_text when text is not found but contains regex special characters [Ryunosuke Sato]
* Warn when :exact option is passed that has no effect [Thomas Walpole]

# Version 2.8.0
Release date: 2016-08-16

### Fixed
* Issue with modals present when closing the page using selenium - Issue #1696 [Jonas Nicklas, Thomas Walpole]
* Server errors raised in test code have the cause set to an explanatory exception
  in rubies that support Exception#cause rather than a confusing ExpectationNotMet - Issue #1719 [Thomas Walpole]
* background/given/given! RSoec aliases will work if RSpec config.shared_context_metadata_behavior == :apply_to_host_groups [Thomas Walpole]
* Fixed setting of unexpectedAlertError now that Selenium will be freezing the Capabilities::DEFAULTS [Thomas Walpole]

### Added
* 'check', 'uncheck', and 'choose' can now optionally click the associated label if the checkbox/radio button is not visible [Thomas Walpole]
* Raise error if Capybara.app_host/default_host are specified incorrectly [Thomas Walpole]
* Capybara::Selector::FilterSet allows for sharing filter definitions between selectors [Thomas Walpole]
* Remove need to pass nil locator in most node actions when locator is not needed [Thomas Walpole]
* New frames API for drivers - Issue #1365 [Thomas Walpole]
* Deprecated Element#parent in favor of Element#query_scope to better indicate what it is [Thomas Walpole]
* Improved error messages for have_text matcher [Alex Chaffee, Thomas Walpole]
* The `:with` option for the field selector now accepts a regular expression for matching the field value [Uwe Kubosch]
* Support matching on aria-label attribute when finding fields/links/buttons - Issue #1528 [Thomas Walpole]
* Optimize Capybara::Result to only apply fields as necessary in common use-case of `.all[idx]` [Thomas Walpole]

#Version 2.7.1
Release date: 2016-05-01

### Fixed
* Issue where within_Frame would fail with Selenium if the frame is removed from within itself [Thomas Walpole]
* Reset sessions in reverse order so sessions with active servers are reset last - Issue #1692 [Jonas Nicklas, Thomas Walpole]

# Version 2.7.0
Release date: 2016-04-07

### Fixed
* Element#visible?/checked?/disabled?/selected? Now return boolean
  as expected when using the rack_test driver [Thomas Walpole]
* The rack_test driver now considers \<input type="hidden"> elements as non-visible [Thomas Walpole]
* A nil locator passed to the built-in html type selectors now behaves consistently, and finds elements of the expected types [Thomas Walpole]
* Capybara::Server now searches for available ports on the same interface it binds to [Aaron Stone]
* Selenium Driver handles system modals that appear when page is unloading [Thomas Walpole]
* Warning output if unused parameters are passed to a selector query [Thomas Walpole]

### Added
* Capybara now waits for requests to Capybaras server to complete while restting the session [John Hawthorn, Thomas Walpole]
* Capybara.reuse_server option to allow disabling of sharing server instance between sessions [Thomas Walpole]
* :multiple filter added to relevant selectors [Thomas Walpole]
* Provided server registrations for :webrick and :puma. Capybara.server = :puma for testing with Rails 5 [Thomas Walpole]
* Deprecate passing a block to Capybara::server user Capybara::register_server instead [Thomas Walpole]
* :option selector supports :selected and :disabled filters [Thomas Walpole]
* Element#matches_selector? and associated matchers (match_selector, match_css, etc) for comparing an element to a selector [Thomas Walpole]
* Deprecated Driver#browser_initialized? - Driver#reset! is required to be synchronous [Jonas Nicklas, Thomas Walpole]
* Deprecated Capybara.save_and_open_page_path in favor of Capybara.save_path with slightly different behavior when using relative paths with
  save_page/save_screenshot [Thomas Walpole]
* :label selector [Thomas Walpole]


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/ruby-capybara/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/ruby-capybara/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/ruby-capybara/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/ruby-capybara/Makefile
diff -u pkgsrc/www/ruby-capybara/Makefile:1.6 pkgsrc/www/ruby-capybara/Makefile:1.7
--- pkgsrc/www/ruby-capybara/Makefile:1.6       Tue Mar 15 16:02:46 2016
+++ pkgsrc/www/ruby-capybara/Makefile   Tue Oct 18 15:42:12 2016
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2016/03/15 16:02:46 taca Exp $
+# $NetBSD: Makefile,v 1.7 2016/10/18 15:42:12 taca Exp $
 
-DISTNAME=      capybara-2.6.2
+DISTNAME=      capybara-2.10.1
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel ruby www
 

Index: pkgsrc/www/ruby-capybara/PLIST
diff -u pkgsrc/www/ruby-capybara/PLIST:1.3 pkgsrc/www/ruby-capybara/PLIST:1.4
--- pkgsrc/www/ruby-capybara/PLIST:1.3  Tue Mar 15 16:02:46 2016
+++ pkgsrc/www/ruby-capybara/PLIST      Tue Oct 18 15:42:12 2016
@@ -1,5 +1,9 @@
-@comment $NetBSD: PLIST,v 1.3 2016/03/15 16:02:46 taca Exp $
+@comment $NetBSD: PLIST,v 1.4 2016/10/18 15:42:12 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
@@ -19,6 +23,8 @@ ${GEM_LIBDIR}/lib/capybara/node/matchers
 ${GEM_LIBDIR}/lib/capybara/node/simple.rb
 ${GEM_LIBDIR}/lib/capybara/queries/base_query.rb
 ${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/text_query.rb
 ${GEM_LIBDIR}/lib/capybara/queries/title_query.rb
 ${GEM_LIBDIR}/lib/capybara/query.rb
@@ -33,6 +39,10 @@ ${GEM_LIBDIR}/lib/capybara/rspec.rb
 ${GEM_LIBDIR}/lib/capybara/rspec/features.rb
 ${GEM_LIBDIR}/lib/capybara/rspec/matchers.rb
 ${GEM_LIBDIR}/lib/capybara/selector.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/selector.rb
 ${GEM_LIBDIR}/lib/capybara/selenium/driver.rb
 ${GEM_LIBDIR}/lib/capybara/selenium/node.rb
 ${GEM_LIBDIR}/lib/capybara/server.rb
@@ -63,6 +73,10 @@ ${GEM_LIBDIR}/lib/capybara/spec/session/
 ${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/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
 ${GEM_LIBDIR}/lib/capybara/spec/session/evaluate_script_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/session/execute_script_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/session/fill_in_spec.rb
@@ -96,6 +110,7 @@ ${GEM_LIBDIR}/lib/capybara/spec/session/
 ${GEM_LIBDIR}/lib/capybara/spec/session/save_screenshot_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/session/screenshot_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/session/select_spec.rb
+${GEM_LIBDIR}/lib/capybara/spec/session/selectors_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/session/source_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/session/text_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/session/title_spec.rb
@@ -136,7 +151,9 @@ ${GEM_LIBDIR}/lib/capybara/spec/views/wi
 ${GEM_LIBDIR}/lib/capybara/spec/views/with_js.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
 ${GEM_LIBDIR}/lib/capybara/spec/views/with_title.erb
+${GEM_LIBDIR}/lib/capybara/spec/views/with_unload_alert.erb
 ${GEM_LIBDIR}/lib/capybara/spec/views/with_windows.erb
 ${GEM_LIBDIR}/lib/capybara/spec/views/within_frames.erb
 ${GEM_LIBDIR}/lib/capybara/version.rb
@@ -144,6 +161,7 @@ ${GEM_LIBDIR}/lib/capybara/window.rb
 ${GEM_LIBDIR}/spec/basic_node_spec.rb
 ${GEM_LIBDIR}/spec/capybara_spec.rb
 ${GEM_LIBDIR}/spec/dsl_spec.rb
+${GEM_LIBDIR}/spec/fixtures/capybara.csv
 ${GEM_LIBDIR}/spec/fixtures/selenium_driver_rspec_failure.rb
 ${GEM_LIBDIR}/spec/fixtures/selenium_driver_rspec_success.rb
 ${GEM_LIBDIR}/spec/rack_test_spec.rb
@@ -154,9 +172,10 @@ ${GEM_LIBDIR}/spec/rspec/scenarios_spec.
 ${GEM_LIBDIR}/spec/rspec/views_spec.rb
 ${GEM_LIBDIR}/spec/rspec_spec.rb
 ${GEM_LIBDIR}/spec/selector_spec.rb
-${GEM_LIBDIR}/spec/selenium_spec.rb
+${GEM_LIBDIR}/spec/selenium_firefox_spec.rb
 ${GEM_LIBDIR}/spec/selenium_spec_chrome.rb
 ${GEM_LIBDIR}/spec/server_spec.rb
+${GEM_LIBDIR}/spec/shared_selenium_session.rb
 ${GEM_LIBDIR}/spec/spec_helper.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
 

Index: pkgsrc/www/ruby-capybara/distinfo
diff -u pkgsrc/www/ruby-capybara/distinfo:1.5 pkgsrc/www/ruby-capybara/distinfo:1.6
--- pkgsrc/www/ruby-capybara/distinfo:1.5       Tue Mar 15 16:02:46 2016
+++ pkgsrc/www/ruby-capybara/distinfo   Tue Oct 18 15:42:12 2016
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2016/03/15 16:02:46 taca Exp $
+$NetBSD: distinfo,v 1.6 2016/10/18 15:42:12 taca Exp $
 
-SHA1 (capybara-2.6.2.gem) = 9544b4fefaff42cfd3bb0b7cc614e53ad6411fd1
-RMD160 (capybara-2.6.2.gem) = 0f1a3620f516ae96900946e5f36049e29a6e5df8
-SHA512 (capybara-2.6.2.gem) = a50de9bf3e09270a8ad4739326ecb938901e098caa7610cb5daa3df7d79753dcbe77beca60237d3a0536e0e6518af517dc6d96e9fea37d19ceb89a6f6905969d
-Size (capybara-2.6.2.gem) = 220160 bytes
+SHA1 (capybara-2.10.1.gem) = db3c7e3c3f26a14d8340d07f342ac4d4645d3671
+RMD160 (capybara-2.10.1.gem) = 715641efa301ac8d44db00bedde2e5a62b5dd19d
+SHA512 (capybara-2.10.1.gem) = dcb38b7350dfcee0a6d38711eb80e661fe783c0d04adc41e8b156029189e8a9e12beac0b874886209399c1fb12a70a1f0e1be413715d73b908502cfbbd16c758
+Size (capybara-2.10.1.gem) = 242688 bytes



Home | Main Index | Thread Index | Old Index