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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/browserfactory.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8586dbc4ea3bf6e14db68e2cabe4e77faa96b688
4
- data.tar.gz: ed5f2e3b7e3998c18556bbb4ce76e59e4a8f472d
3
+ metadata.gz: ca6b6dc6d6fa749e0d48098444dc942ce6cfb2df
4
+ data.tar.gz: c8f2dc6d11121e4be74b25d09050c7af2a278e85
5
5
  SHA512:
6
- metadata.gz: c32fb22acd5f3d5ee97aa85e3e5d998867822dc75db77defb6f5a897bc06a147a836f7245d8e0847fa2c352e3275be846f0a31e9c7f284cff6d14c2b87e3d4cd
7
- data.tar.gz: d9d3df1df6aed8c1920d89434ed54031cdd23e7322757665a233f9d529abdbc399cbb1304ab5797c7d7b6e3106d1ef6faec421755267db90f740f081198fdbde
6
+ metadata.gz: e68ec154515d350f9f4380c34bafa7ea7597ddcf5f8e46bb70012812f9878df549fede41dc7a8d186e6c318a008260bf2d9827d028a2ff3621634f15c37f7492
7
+ data.tar.gz: 974e8ebc3337b6e1be6a9f03271f7542050345cec44e7ca54e0bcdf4244c1cbab26302f5e2b462e4ae8b0ad44cbeae2fa6e8021f3fbe7343ca9a69b3595f0c07
@@ -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?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stealth_browser_automation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.11
4
+ version: 1.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi