stealth_browser_automation 1.1.24 → 1.1.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/browserfactory.rb +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c879082432aa4d0f8d5b7bc4e60e3a93548c5f4b
4
- data.tar.gz: 9657fb021d8774812cb9d830e3357d0e796ba68c
3
+ metadata.gz: 2f38926d28e0432ca3b7cc915917f61c4c3cb195
4
+ data.tar.gz: 85bf072c269c336be834287110b33adb0a51742b
5
5
  SHA512:
6
- metadata.gz: 5ab0df016b16596f6bc89e1fc69a6362d444ec0924e68c8ca5a611effe37ed597e2f3fd4537a1a8e7a3d807179c418a7610015134c3fc7da65790697bb194fad
7
- data.tar.gz: 65915ce2a390929fe26c992305a07b24908c3223b8309ac0c824f28e341527ffe7f4658629c508cb6a905b2eb2cabfcf62ca04670c4ec654e8069eeb17ce1887
6
+ metadata.gz: e8797630080f9de87c4e5dd0041e0410cb3d1c0c2d4df626912c961bb56edcc3dbb2e5ead9457aed27184a9d3fd564d0e4247e5bee649c26dddbc90201c193fc
7
+ data.tar.gz: 9db19bed23e1798d3462bcf9608d600beaab60bb72f7918f5a7508fbee709673626eeb30b6b72f8d4dc7e5a2f0e2df04412a9d188c667f53621a134fc6520b61
@@ -570,14 +570,14 @@ module BlackStack
570
570
  #@@browser.close if !@@browser.nil?
571
571
  rescue
572
572
  end
573
-
573
+ =begin
574
574
  begin
575
575
  # TODO: entender porque debo hacer esta llamada a start para que el perfil se cierre cuando ya estaba iniciado
576
576
  BlackStack::BrowserFactory.mimic(@@profile_name) if !@@profile_name.nil?
577
577
  rescue
578
578
  # nothing here
579
579
  end
580
-
580
+ =end
581
581
  i = 0
582
582
  max = 3
583
583
  success = false
@@ -589,7 +589,7 @@ module BlackStack
589
589
  res = JSON.parse(body)
590
590
  success = true if res['status'].to_s == 'OK'
591
591
  end # while i<max
592
- raise 'Error requesting Mimic to stop (tried #{i.to_s} times)' if !success
592
+ raise "Error requesting Mimic to stop (tried #{i.to_s} times)" if !success
593
593
 
594
594
  else
595
595
  raise 'Cannot destroy browser due unknown browser type'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stealth_browser_automation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.24
4
+ version: 1.1.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-03 00:00:00.000000000 Z
11
+ date: 2020-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mini_magick