eyes_universal 1.0.9 → 2.5.13

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
- SHA1:
3
- metadata.gz: 9092c5a4bb75d02c9764395eb157057a7fd86a62
4
- data.tar.gz: 283f7008d961b750ebbe1b9f0674a57f9985c5ec
2
+ SHA256:
3
+ metadata.gz: 9371a3744361fbf3157c99498a61018287e3f426a893b57f651e6db4197796d6
4
+ data.tar.gz: 67b16bee7866a920b4f9baaba26a70704a00b0f5a4a8288e075b0c5f2c9ef694
5
5
  SHA512:
6
- metadata.gz: c843205ee11cd3d902837cd60811ac8ad1bebb7ccea92db91117867914dec788affe7bee2087a7619ec37fbb9677206a4b2b2e64006debe66669ae25e7d06e21
7
- data.tar.gz: c01918351af246d338c81b5be01b88090456c300f69c544bf1de99958ae0aae851a307a6f8006686404e6912d10eebc587fa5adc727bba1a7bd7b402af5bd9e5
6
+ metadata.gz: 4dde5010050d0aa2725e91f192933fe826a746725b64c23a824d1987edf0506d779e60953b8b049787e863dd027a32405637ad006d60df38fbe8d49d8738d61d
7
+ data.tar.gz: 512060b13ce5059331701129962706e498e9154ad2abab0c557cdcc6da0dc39149df0fc55ba52dbc81bb28e92fb9c485ad038eb6119a04fa2172baaf1690f280
@@ -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.13/'
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 '80e5263d481ea605fa7864de4aff71c46ac9d537eec889f7c1d96d4af2b3065c' if Gem.win_platform?
39
39
  case RUBY_PLATFORM
40
- when /mswin|windows/i
41
- '8eb9d98d14480ae9ec5e2ca18b9c6e1b4e3a5427cdd6dfe5cb61cf1f53562b20'
40
+ when /mswin|windows|mingw/i
41
+ '80e5263d481ea605fa7864de4aff71c46ac9d537eec889f7c1d96d4af2b3065c'
42
42
  when /linux|arch/i
43
- 'c89d850c984ed39142974391809e645c18e8037259f9cc4f09937d73315c3c94'
43
+ 'a1b6627c5407149815973a0992ec4f79456f07eeec9d0da21203b8e3463c632b'
44
44
  when /darwin/i
45
- '2bf73d118f81b33379fa5527ed8fb5508966d88299315121b44f47570923f8e8'
45
+ 'f176b3b4ed6874844b4c37829adc094aab0dd3a071a9ea9018fbabd5d178bec2'
46
46
  else
47
47
  raise 'Unsupported platform'
48
48
  end
@@ -51,7 +51,7 @@ module Applitools
51
51
  def filename
52
52
  return 'eyes-universal-win.exe' if Gem.win_platform?
53
53
  case RUBY_PLATFORM
54
- when /mswin|windows/i
54
+ when /mswin|windows|mingw/i
55
55
  'eyes-universal-win.exe'
56
56
  when /linux|arch/i
57
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: 1.0.9
4
+ version: 2.5.13
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-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: open-uri
@@ -53,8 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  requirements: []
56
- rubyforge_project:
57
- rubygems_version: 2.6.14.3
56
+ rubygems_version: 3.3.14
58
57
  signing_key:
59
58
  specification_version: 4
60
59
  summary: Applitools Ruby Universal binaries for SDK