eyes_universal 1.0.6 → 2.5.11
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a814555af8190967a980522537577fc71a9d2bee
|
4
|
+
data.tar.gz: f4f66554eab6ee4fea9d52a6acd2fed4b054188e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2126ca993fcae019f1ce7f721bc5d03077cc7c981a180800687767102f8363fa135c44cec232642300656d95e62a1ab42e7004b1a5515957310a330ef08037be
|
7
|
+
data.tar.gz: cd983f7e5e3c9332a26eda947086ca463f91995ec13edc29d6ac5cacc8e7c7bf2dca8d395a51c637d804516ba7ddd79271171f185fcd50f6db5fbf30fbf6a9f9
|
@@ -11,7 +11,7 @@ module Applitools
|
|
11
11
|
def download(to)
|
12
12
|
puts "[eyes-universal] Downloading Eyes universal server from #{full_url}"
|
13
13
|
where = filepath(to)
|
14
|
-
open
|
14
|
+
full_url.open {|cloud| File.binwrite(where, cloud.read) }
|
15
15
|
if Digest::SHA256.file(where).to_s == expected_binary_sha
|
16
16
|
FileUtils.chmod('+x', where)
|
17
17
|
puts "[eyes-universal] Download complete. Server placed in #{where}"
|
@@ -27,7 +27,7 @@ module Applitools
|
|
27
27
|
private
|
28
28
|
|
29
29
|
def base_url
|
30
|
-
'https://github.com/applitools/eyes.sdk.javascript1/releases/download/%40applitools/eyes-universal%
|
30
|
+
'https://github.com/applitools/eyes.sdk.javascript1/releases/download/%40applitools/eyes-universal%402.5.11/'
|
31
31
|
end
|
32
32
|
|
33
33
|
def full_url
|
@@ -35,21 +35,23 @@ module Applitools
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def expected_binary_sha
|
38
|
+
return 'dc8dd79855c0e7b2280afad9807be14ef03bf404c5f9610b51f10b319b92f11b' if Gem.win_platform?
|
38
39
|
case RUBY_PLATFORM
|
39
|
-
when /mswin|windows/i
|
40
|
-
'
|
40
|
+
when /mswin|windows|mingw/i
|
41
|
+
'dc8dd79855c0e7b2280afad9807be14ef03bf404c5f9610b51f10b319b92f11b'
|
41
42
|
when /linux|arch/i
|
42
|
-
'
|
43
|
+
'7a85935ebd3b29c198152e18a36b64abe10604f6c987dd4b2bc92e9dc5d2e2b0'
|
43
44
|
when /darwin/i
|
44
|
-
'
|
45
|
+
'b7867db41b2ed333856da9115f1ae062979e492a34ef2ea2d7ba3f705816bf48'
|
45
46
|
else
|
46
47
|
raise 'Unsupported platform'
|
47
48
|
end
|
48
49
|
end
|
49
50
|
|
50
51
|
def filename
|
52
|
+
return 'eyes-universal-win.exe' if Gem.win_platform?
|
51
53
|
case RUBY_PLATFORM
|
52
|
-
when /mswin|windows/i
|
54
|
+
when /mswin|windows|mingw/i
|
53
55
|
'eyes-universal-win.exe'
|
54
56
|
when /linux|arch/i
|
55
57
|
'eyes-universal-linux'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyes_universal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.5.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Applitools Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: open-uri
|