stealth_browser_automation 1.1.11 → 1.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/browserfactory.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca6b6dc6d6fa749e0d48098444dc942ce6cfb2df
|
4
|
+
data.tar.gz: c8f2dc6d11121e4be74b25d09050c7af2a278e85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e68ec154515d350f9f4380c34bafa7ea7597ddcf5f8e46bb70012812f9878df549fede41dc7a8d186e6c318a008260bf2d9827d028a2ff3621634f15c37f7492
|
7
|
+
data.tar.gz: 974e8ebc3337b6e1be6a9f03271f7542050345cec44e7ca54e0bcdf4244c1cbab26302f5e2b462e4ae8b0ad44cbeae2fa6e8021f3fbe7343ca9a69b3595f0c07
|
data/lib/browserfactory.rb
CHANGED
@@ -435,7 +435,7 @@ module BlackStack
|
|
435
435
|
# valido que my_pid no tenga mas caracteres que al ancho fijo
|
436
436
|
raise 'Cannot work browser profile lockfile because the lenght if the id of this process is larger than the max number of chars allowed (#{line_chars.to_s})' if line_chars < my_pid.size
|
437
437
|
# obtengo el id del proceso que se reservo este perfil
|
438
|
-
@@fd_profile_lock.seek(-line_chars, IO::SEEK_CUR)
|
438
|
+
@@fd_profile_lock.seek(-line_chars, IO::SEEK_CUR) if !@@fd_profile_lock.nil?
|
439
439
|
lock_pid = @@fd_profile_lock.read.to_s
|
440
440
|
# libero el archivo de este perfil
|
441
441
|
@@fd_profile_lock.flock(File::LOCK_UN) if !@@fd_profile_lock.nil?
|