pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ruby-capybara Update ruby-capybara to 2.3.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/34d4ff387cdc
branches:  trunk
changeset: 361515:34d4ff387cdc
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Apr 22 16:57:01 2017 +0000

description:
Update ruby-capybara to 2.3.0.

#Version 2.13.0
Release date: 2017-03-16

### Added

* Selenium driver supports returning element(s) from evaluate_script [Thomas Walpole]
* rack_test driver supports click on checkboxes and radio buttons to change their states [Thomas Walpole]
* Support RSpec equivalent assertions and expectations for MiniTest [Thomas Walpole]

### Foxed
* Editing of content editable children with selenium

#Version 2.12.1
Release date: 2017-02-16

### Fixed
*  Disable lazy Capybara::Results evaluation for JRuby due to ongoing issues

#Version 2.12.0
Release date: 2017-01-22

### Added

* Session#switch_to_frame for manually handling frame switching - Issue #1365 [Thomas Walpole]
* Session#within_frame now accepts a selector type (defaults to :frame) and locator [Thomas Walpole]
* Session#execute_script and Session#evaluate_script now accept optional arguments that will be passed to the JS function.  This may not be supported
  by all drivers, and the types of arguments that may be passed is limited.  If drivers opt to support this feature they should support passing page elements. [Thomas Walpole]
* :exact option for text and title matchers - Issue #1256 [Thomas Walpole]
* :exact_text option for selector finders/minders - Issue #1256 [Thomas Walpole]
* Capybara.exact_text setting that affects the text matchers and :text options passed to selector finders/matchers. Issue #1256 [Thomas Walpole]
* :make_visible option for #attach_file that allows for convenient changing of the CSS style of a file input element before attaching the file to it.  Requires driver
  support for passing page elements to Session#execute_script [Thomas Walpole]
* assert_all_selectors/assert_none_of_selectors assertions added
* :link selector (used by find_link/click_link) now supports finding hyperlink placeholders (no href attribute) when href: nil option is specified [Thomas Walpole]
* `within_element` as an alias of `within` due to RSpec collision

### Fixed
*  Fields inside a disabled fieldset are now correctly considered disabled - Issue #1816 [Thomas Walpole]
*  Lazy Capybara::Results evaluation enabled for JRuby 9.1.6.0+
*  A driver returning nil for #current_url won't raise an exception when calling #current_path [Dylan Reichstadt]
*  Support Ruby 2.4.0 unified Integer [Koichi ITO]
*  RackTest driver no longer modifies the text content of textarea elements in order to behave more like a real browser [Thomas Walpole]
*  TextQuery (assert_text/have_text/etc) now ignores errors when trying to generate more helpful errors messages so the original error isn't hidden [Thomas Walpole]

#2.11.0
Release date: 2016-12-05

### Added
* Options for clearing session/local storage on reset added to the Selenium driver
* Window size changes wait for the size to stabilize
* Defined return value for most actions
* Ignore specific error when qutting selenium driver instance - Issue #1773 [Dylan Reichstadt, Thomas Walpole]
* Warn on selenium unknown errors rather than raising when quitting driver [Adam Pohorecki, Thomas Walpole]
* Capybara::Result#each now returns an `Enumerator` when called without a block - Issue #1777 [Thomas Walpole]

### Fixed
* Selenium driver with Chrome should support multiple file upload [Thomas Walpole]
* Fix visible: :hidden with :text option behavior [Thomas Walpole]

#2.10.2
Release date: 2016-11-30

### Fixed
* App exceptions with multiple parameter initializers now re-raised correctly - Issue #1785 [Michael Lutsiuk]
* Use Addressable::URI when parsing current_path since it's more lenient of technically invalid URLs - Issue #1801 [Marcos Duque, Thomas Walpole]

diffstat:

 www/ruby-capybara/Makefile |   4 ++--
 www/ruby-capybara/PLIST    |  16 ++++++++++++----
 www/ruby-capybara/distinfo |  10 +++++-----
 3 files changed, 19 insertions(+), 11 deletions(-)

diffs (94 lines):

diff -r 5c760195d1f9 -r 34d4ff387cdc www/ruby-capybara/Makefile
--- a/www/ruby-capybara/Makefile        Sat Apr 22 16:48:32 2017 +0000
+++ b/www/ruby-capybara/Makefile        Sat Apr 22 16:57:01 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2016/10/18 15:42:12 taca Exp $
+# $NetBSD: Makefile,v 1.8 2017/04/22 16:57:01 taca Exp $
 
-DISTNAME=      capybara-2.10.1
+DISTNAME=      capybara-2.13.0
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel ruby www
 
diff -r 5c760195d1f9 -r 34d4ff387cdc www/ruby-capybara/PLIST
--- a/www/ruby-capybara/PLIST   Sat Apr 22 16:48:32 2017 +0000
+++ b/www/ruby-capybara/PLIST   Sat Apr 22 16:57:01 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2016/10/18 15:42:12 taca Exp $
+@comment $NetBSD: PLIST,v 1.5 2017/04/22 16:57:01 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
@@ -13,6 +13,8 @@
 ${GEM_LIBDIR}/lib/capybara/driver/node.rb
 ${GEM_LIBDIR}/lib/capybara/dsl.rb
 ${GEM_LIBDIR}/lib/capybara/helpers.rb
+${GEM_LIBDIR}/lib/capybara/minitest.rb
+${GEM_LIBDIR}/lib/capybara/minitest/spec.rb
 ${GEM_LIBDIR}/lib/capybara/node/actions.rb
 ${GEM_LIBDIR}/lib/capybara/node/base.rb
 ${GEM_LIBDIR}/lib/capybara/node/document.rb
@@ -58,6 +60,7 @@
 ${GEM_LIBDIR}/lib/capybara/spec/session/accept_confirm_spec.rb
 ${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/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
@@ -86,6 +89,8 @@
 ${GEM_LIBDIR}/lib/capybara/spec/session/find_link_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/session/find_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/session/first_spec.rb
+${GEM_LIBDIR}/lib/capybara/spec/session/frame/switch_to_frame_spec.rb
+${GEM_LIBDIR}/lib/capybara/spec/session/frame/within_frame_spec.rb
 ${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_button_spec.rb
@@ -125,7 +130,6 @@
 ${GEM_LIBDIR}/lib/capybara/spec/session/window/window_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/session/window/windows_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/session/window/within_window_spec.rb
-${GEM_LIBDIR}/lib/capybara/spec/session/within_frame_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/session/within_spec.rb
 ${GEM_LIBDIR}/lib/capybara/spec/spec_helper.rb
 ${GEM_LIBDIR}/lib/capybara/spec/test_app.rb
@@ -164,17 +168,21 @@
 ${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/minitest_spec.rb
+${GEM_LIBDIR}/spec/minitest_spec_spec.rb
 ${GEM_LIBDIR}/spec/rack_test_spec.rb
 ${GEM_LIBDIR}/spec/result_spec.rb
 ${GEM_LIBDIR}/spec/rspec/features_spec.rb
-${GEM_LIBDIR}/spec/rspec/matchers_spec.rb
 ${GEM_LIBDIR}/spec/rspec/scenarios_spec.rb
+${GEM_LIBDIR}/spec/rspec/shared_spec_matchers.rb
 ${GEM_LIBDIR}/spec/rspec/views_spec.rb
 ${GEM_LIBDIR}/spec/rspec_spec.rb
 ${GEM_LIBDIR}/spec/selector_spec.rb
-${GEM_LIBDIR}/spec/selenium_firefox_spec.rb
 ${GEM_LIBDIR}/spec/selenium_spec_chrome.rb
+${GEM_LIBDIR}/spec/selenium_spec_firefox.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_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 5c760195d1f9 -r 34d4ff387cdc www/ruby-capybara/distinfo
--- a/www/ruby-capybara/distinfo        Sat Apr 22 16:48:32 2017 +0000
+++ b/www/ruby-capybara/distinfo        Sat Apr 22 16:57:01 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2016/10/18 15:42:12 taca Exp $
+$NetBSD: distinfo,v 1.7 2017/04/22 16:57:01 taca Exp $
 
-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
+SHA1 (capybara-2.13.0.gem) = 92669ddc277e8e306d9dad67ff095ffac7b05a24
+RMD160 (capybara-2.13.0.gem) = bfad5012d15fc242c60a0abdc83c5763c09cd279
+SHA512 (capybara-2.13.0.gem) = 35e096fa4aed8fea1456d3271bb0dbeb14215ab856a52071243e76d27aaa25f34b256edf8e391cfe024368555aeb2b68dafc896269d231c01e58c247e7a10ac2
+Size (capybara-2.13.0.gem) = 257024 bytes



Home | Main Index | Thread Index | Old Index