eyes_calabash 3.16.5 → 3.16.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/applitools/calabash/eyes.rb +13 -1
- data/lib/applitools/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 715e209376c6cc999baf6b0883ffd84ac01c2ba9f9d5053d8f25eae5b0e6fc9d
|
4
|
+
data.tar.gz: b933cdd357ccbc59b9d0a2204d49c54855bb59e9c0afc1edbbefbb22c7a0c32a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f6519b23e77ec92e4c7ef09e27f519c0208e75824cec8032961e7a3d13d520c6ddf52b4c8c3bfa46febf25d3316489901fe253d7b78779b4122d06c0aa52c7f
|
7
|
+
data.tar.gz: d0bf824c3b16bfd2881e4d04f2c7534451f44fa97984d436b4bcb8074be1f29cbec41a40ebb7693543ebb637e85419ceb8c551f538b71fde96e46191876ec723
|
@@ -22,7 +22,19 @@ module Applitools
|
|
22
22
|
open_base options
|
23
23
|
end
|
24
24
|
|
25
|
-
def check(
|
25
|
+
def check(*args)
|
26
|
+
args.compact!
|
27
|
+
case (first_arg = args.shift)
|
28
|
+
when String
|
29
|
+
name = first_arg
|
30
|
+
target = args.shift
|
31
|
+
when Applitools::Selenium::Target
|
32
|
+
target = first_arg
|
33
|
+
when Hash
|
34
|
+
target = first_arg[:target]
|
35
|
+
name = first_arg[:name] || first_arg[:tag]
|
36
|
+
end
|
37
|
+
|
26
38
|
self.tag_for_debug = get_tag_for_debug(name)
|
27
39
|
check_it(name, target, Applitools::MatchWindowData.new(default_match_settings))
|
28
40
|
end
|
data/lib/applitools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyes_calabash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.16.
|
4
|
+
version: 3.16.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Applitools Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 3.16.
|
61
|
+
version: 3.16.6
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 3.16.
|
68
|
+
version: 3.16.6
|
69
69
|
description: Provides SDK for writing Applitools Calabash tests.
|
70
70
|
email:
|
71
71
|
- team@applitools.com
|