eyes_universal 1.0.9 → 2.5.7
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: 9c6f5e222413eb0954fd48d15c2c05a5ceba3050
|
4
|
+
data.tar.gz: e6179f646b265864207667bb1b1fe73dfa664a26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 526bf430c2810c9101df45247b9960759f0dab9ada7c26295fda927b12496e4663932ee4e29085ba663fc3ced4217804d4793c5df21b9e8004f989d24cb1bdac
|
7
|
+
data.tar.gz: 0b7a4256f7358a7b3dd12788595c7f57e30a9dd1489d6159941d4f2c85bd6a9e737ef52493309cb031d6f8adfac638f9914899fc4af69b9a9947ad0a2bffa963
|
@@ -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
|
-
full_url.open {|cloud| File.
|
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.7/'
|
31
31
|
end
|
32
32
|
|
33
33
|
def full_url
|
@@ -35,14 +35,14 @@ module Applitools
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def expected_binary_sha
|
38
|
-
return '
|
38
|
+
return '59a50389a2dc2ca9b22f0ae625e273107b2f6275f1b9d70bb65127994d672599' if Gem.win_platform?
|
39
39
|
case RUBY_PLATFORM
|
40
40
|
when /mswin|windows/i
|
41
|
-
'
|
41
|
+
'59a50389a2dc2ca9b22f0ae625e273107b2f6275f1b9d70bb65127994d672599'
|
42
42
|
when /linux|arch/i
|
43
|
-
'
|
43
|
+
'b056b26fef5084e6543df47a66cdf5c331e9c7ff538239f305ffade4af5207ab'
|
44
44
|
when /darwin/i
|
45
|
-
'
|
45
|
+
'fef31b99bfe1312281b75d8eb78f5f41e8075c0bfa4b686a3bbbe50bbf19c91f'
|
46
46
|
else
|
47
47
|
raise 'Unsupported platform'
|
48
48
|
end
|
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.7
|
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-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: open-uri
|