wildcard_finders 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 08e9bfbc82ce9fecd8da133569bf329caba7730d
4
- data.tar.gz: c6b99935e3fd5842737e3b54f10bb17513b946e6
3
+ metadata.gz: ed29d090ae1f3af132e01c6f25a40b0510365e42
4
+ data.tar.gz: ef106df94815078b473ba54162859594da248640
5
5
  SHA512:
6
- metadata.gz: 92a1eb85521d0b6e6781cbcd6cff8c3ff188821c0c982312ef0c452382bbfdbb4213344f83080a743b1d32337053505d70edc3e758339f7660f96ffc8790023d
7
- data.tar.gz: 1cdf1dc1497902fbf05432fd4f88f64bb5f6d1e15254ccb41406594e5f8797d8898f94caaeeb76cb42c357191f8ae2a1c3194ee2f9bce5c626c6dc3fc2747e0f
6
+ metadata.gz: f2bbd11eebc82111c4a97bb3f0ebbab5eb6822a22d364544e99bd626b3617e411da0f7211f258d0a790c8f02fafc2f3fb558715a172d0231afba94be6ba0e306
7
+ data.tar.gz: cb9d374607994c4b3a2d1d931b9fbe813c8e3d121b8891d745fe5bedca5d8aff739526d0f139d24b4af54c94955c7f04dcc3fb1022fe7e4777c8ef080c6df27e
@@ -1,3 +1,7 @@
1
+ # 0.2.1
2
+ * FIX
3
+ * bug of wait
4
+
1
5
  # 0.2.0
2
6
  * CHANGE
3
7
  * find_xxx_like raise errors when element not found
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -23,14 +23,12 @@ module WildcardFinders
23
23
  WildcardMatchers.wildcard_match?(element, block || matcher)
24
24
  end
25
25
  end
26
- end
27
26
 
28
- if results.empty?
29
- raise Capybara::ElementNotFound, "no <#{tag}> to match #{matcher}"
30
- else
31
- # not compatible for capybara 2.0
32
- results.first
27
+ raise Capybara::ElementNotFound, "no <#{tag}> to match #{matcher}" if results.empty?
33
28
  end
29
+
30
+ # not compatible for capybara 2.0
31
+ results.first
34
32
  end
35
33
  end
36
34
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wildcard_finders
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - okitan