test-unit-capybara 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6eaf21df287fa1ff9257f14b4181d9f2a95341e0aa5cd7466eee01ab41da9b21
4
- data.tar.gz: 1aca5c36f7fb08c0f01f6fadd9acfc86b75539c112e104e429c8fefbbcd0473c
3
+ metadata.gz: a18d5ed8212ca5ff31ce77c43a2787b9d3bd94d153d87fdfccfb398ff29c07ec
4
+ data.tar.gz: a0f40dedfab5904694c52d12494a019d1c8c6829e3a4e051107682bd10b49f6e
5
5
  SHA512:
6
- metadata.gz: b2c9baefb0b289a55fa146d7d5880d1d6e0561a4690a5740558696c36e08f21f305bcf1301e9c001341492f8bd3c35637b0e8b330cf5afafb7e3cef0423af078
7
- data.tar.gz: cb8924383d5653b150241c29a01e766a00772f1eb693a7681d39a954f2a6db16bc830b037d879ee9ab4bb50976b92e3f199e0ec9651417e875606809ee675bb3
6
+ metadata.gz: e3e09b4efbdf3aef89e7b5aeec1528fb0ab572e5c172c05d18b044c5c625e52138414de61459e6099c3a90a940f434c408c481f238119af311ff03fa653d93f9
7
+ data.tar.gz: 5a6023f0d362820612a7e0ecefe577072b146a0f00e26e8e9dd5e0ccf4a1cedfe813261bd1545552d0955cde6e185a16961b25f01a87b19cfc571ca78d9dbd83
data/doc/text/news.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # News
2
2
 
3
+ ## 1.1.1 - 2021-03-15
4
+
5
+ ### Improvements
6
+
7
+ * Added support for Ruby 3.0.0.
8
+
3
9
  ## 1.1.0 - 2021-03-15
4
10
 
5
11
  ### Improvements
@@ -383,9 +383,11 @@ EOT
383
383
  args = normalize_page_finder_arguments(args)
384
384
  begin
385
385
  if node
386
- element = node.first(*args[:finder_arguments])
386
+ element = node.first(*args[:finder_arguments],
387
+ **args[:finder_options])
387
388
  else
388
- element = first(*args[:finder_arguments])
389
+ element = first(*args[:finder_arguments],
390
+ **args[:finder_options])
389
391
  end
390
392
  rescue ::Capybara::ExpectationNotMet
391
393
  element = nil
@@ -470,13 +472,13 @@ EOT
470
472
  else
471
473
  kind, locator, = args
472
474
  end
473
- args << options
474
475
 
475
476
  {
476
477
  :kind => kind,
477
478
  :locator => locator,
478
479
  :message => options.delete(:message),
479
480
  :finder_arguments => args,
481
+ :finder_options => options,
480
482
  }
481
483
  end
482
484
 
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2011-2019 Sutou Kouhei <kou@clear-code.com>
1
+ # Copyright (C) 2011-2021 Sutou Kouhei <kou@clear-code.com>
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -17,7 +17,7 @@
17
17
  module Test
18
18
  module Unit
19
19
  module Capybara
20
- VERSION = "1.1.0"
20
+ VERSION = "1.1.1"
21
21
  end
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-unit-capybara
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou