eyes_images 3.14.0 → 3.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/applitools/images/eyes_images_screenshot.rb +0 -12
- data/lib/applitools/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4fda94fdaa756c15a960dad2f745b31493a6918
|
4
|
+
data.tar.gz: 463712615617cc00196bed621ad8c9b6a6d891be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b68b4538886e61c33bffa41736329ed77bf9d312f845d939079399c20e11d3df759077e003b12520e07f6129c277127fa413b7d29cc55cf033d2d163b1220a2
|
7
|
+
data.tar.gz: 8c32668a4a98458f47b53d700123e8b295501fcf582e68b1e25fc2cac3a82801ef7a3d7077a0ae1130acfd652e8a5db0a3a4c62304469089de0dca23efd61c42
|
@@ -35,18 +35,6 @@ module Applitools::Images
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
38
|
-
def convert_region_location(region, from, to)
|
39
|
-
Applitools::ArgumentGuard.not_nil region, 'region'
|
40
|
-
return Core::Region.new(0, 0, 0, 0) if region.empty?
|
41
|
-
|
42
|
-
Applitools::ArgumentGuard.not_nil from, 'from'
|
43
|
-
Applitools::ArgumentGuard.not_nil to, 'to'
|
44
|
-
|
45
|
-
updated_location = convert_location region.location, from, to
|
46
|
-
|
47
|
-
Applitools::Region.new updated_location.x, updated_location.y, region.width, region.height
|
48
|
-
end
|
49
|
-
|
50
38
|
def intersected_region(region, from, to = CONTEXT_RELATIVE)
|
51
39
|
Applitools::ArgumentGuard.not_nil region, 'region'
|
52
40
|
Applitools::ArgumentGuard.not_nil from, 'coordinates Type (from)'
|
data/lib/applitools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyes_images
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.14.
|
4
|
+
version: 3.14.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Applitools Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eyes_core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.14.
|
19
|
+
version: 3.14.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.14.
|
26
|
+
version: 3.14.1
|
27
27
|
description: Applitools Ruby Images SDK
|
28
28
|
email:
|
29
29
|
- team@applitools.com
|