eyes_selenium 1.30.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eyes_selenium/eyes/batch_info.rb +5 -0
- data/lib/eyes_selenium/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e46fefae1e6f68c570bdbd364081913634b5b3b2
|
4
|
+
data.tar.gz: 15e0d19b565e7471ffa35465fefb97591e47fb42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d84e2ccaf119d17cf5ecc9dde0a4c26f3f95ba5a528245a7ddfaff3133fd8ddb819138831a5bf8cb30640d8cd7f8a47945ab336fc86c21beee2b90485ec9d27
|
7
|
+
data.tar.gz: fad376ecf23ef4f11eb346d2c5abc25dc8083af2c460a724dbb4954e7624bc9c858e1e3c0ebb4aca83d276942f282e721990ab2cc72571358c9c0900b578fc67
|
@@ -1,13 +1,18 @@
|
|
1
|
+
require 'securerandom'
|
2
|
+
|
1
3
|
class Applitools::BatchInfo
|
4
|
+
attr_accessor :id
|
2
5
|
attr_reader :name, :started_at
|
3
6
|
def initialize(name=nil, started_at = Time.now)
|
4
7
|
@name = name
|
5
8
|
@started_at = started_at
|
9
|
+
@id = SecureRandom.uuid
|
6
10
|
end
|
7
11
|
|
8
12
|
def to_hash
|
9
13
|
{
|
10
14
|
name: name,
|
15
|
+
id: id,
|
11
16
|
startedAt: started_at.iso8601
|
12
17
|
}
|
13
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyes_selenium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Applitools team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: selenium-webdriver
|