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: 9092c5a4bb75d02c9764395eb157057a7fd86a62
4
- data.tar.gz: 283f7008d961b750ebbe1b9f0674a57f9985c5ec
3
+ metadata.gz: 9c6f5e222413eb0954fd48d15c2c05a5ceba3050
4
+ data.tar.gz: e6179f646b265864207667bb1b1fe73dfa664a26
5
5
  SHA512:
6
- metadata.gz: c843205ee11cd3d902837cd60811ac8ad1bebb7ccea92db91117867914dec788affe7bee2087a7619ec37fbb9677206a4b2b2e64006debe66669ae25e7d06e21
7
- data.tar.gz: c01918351af246d338c81b5be01b88090456c300f69c544bf1de99958ae0aae851a307a6f8006686404e6912d10eebc587fa5adc727bba1a7bd7b402af5bd9e5
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.write(where, cloud.read) }
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%401.0.9/'
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 '8eb9d98d14480ae9ec5e2ca18b9c6e1b4e3a5427cdd6dfe5cb61cf1f53562b20' if Gem.win_platform?
38
+ return '59a50389a2dc2ca9b22f0ae625e273107b2f6275f1b9d70bb65127994d672599' if Gem.win_platform?
39
39
  case RUBY_PLATFORM
40
40
  when /mswin|windows/i
41
- '8eb9d98d14480ae9ec5e2ca18b9c6e1b4e3a5427cdd6dfe5cb61cf1f53562b20'
41
+ '59a50389a2dc2ca9b22f0ae625e273107b2f6275f1b9d70bb65127994d672599'
42
42
  when /linux|arch/i
43
- 'c89d850c984ed39142974391809e645c18e8037259f9cc4f09937d73315c3c94'
43
+ 'b056b26fef5084e6543df47a66cdf5c331e9c7ff538239f305ffade4af5207ab'
44
44
  when /darwin/i
45
- '2bf73d118f81b33379fa5527ed8fb5508966d88299315121b44f47570923f8e8'
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: 1.0.9
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-02-17 00:00:00.000000000 Z
11
+ date: 2022-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: open-uri