eyes_selenium 1.16.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/eyes_selenium/eyes/region.rb +3 -3
- data/lib/eyes_selenium/version.rb +1 -1
- metadata +7 -1
@@ -1,11 +1,11 @@
|
|
1
1
|
class Applitools::Region
|
2
|
-
attr_accessor :left, :top, :
|
2
|
+
attr_accessor :left, :top, :width, :height
|
3
3
|
|
4
|
-
def initialize(left, top,
|
4
|
+
def initialize(left, top, width, height)
|
5
5
|
@left = left.round
|
6
6
|
@top = top.round
|
7
|
-
@height = height.round
|
8
7
|
@width = width.round
|
8
|
+
@height = height.round
|
9
9
|
end
|
10
10
|
|
11
11
|
def middle_offset
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyes_selenium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.17.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -196,12 +196,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
196
196
|
- - ! '>='
|
197
197
|
- !ruby/object:Gem::Version
|
198
198
|
version: '0'
|
199
|
+
segments:
|
200
|
+
- 0
|
201
|
+
hash: -3490962404448018884
|
199
202
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
200
203
|
none: false
|
201
204
|
requirements:
|
202
205
|
- - ! '>='
|
203
206
|
- !ruby/object:Gem::Version
|
204
207
|
version: '0'
|
208
|
+
segments:
|
209
|
+
- 0
|
210
|
+
hash: -3490962404448018884
|
205
211
|
requirements: []
|
206
212
|
rubyforge_project:
|
207
213
|
rubygems_version: 1.8.25
|