pampa_workers 1.1.40 → 1.1.43

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: b76ec0b8c9345d4b2f8fcd41e69f77bac24a8358
4
- data.tar.gz: 7ab23816c131a8ddc9ed61c3c481bb744468de06
3
+ metadata.gz: d19ca08337b8f2e67da24309ee03d8c5ca51e225
4
+ data.tar.gz: dfe9da1c8344dd31fefdb3e7fd1e2f5cec915e91
5
5
  SHA512:
6
- metadata.gz: 9276baefe7c485cf999f663debfd3085ba1565e81160b19104be1fc78238aee8d08b0ee0571899704a42538f593569e53264d23afad81f8edd90fc4a5650dc40
7
- data.tar.gz: 2255c7d576291513336d4b6e36e8642b9a23b4c0170cef1a63a08c9bbb5542715447ef0ec38ffef48d81634d844b5cfc43124801d03287065e7745ac6d5d57bb
6
+ metadata.gz: f50a5c6058349d911ee65fbfe3fbfe97b4a08859023ddf6e0339dc1001ad41f205ba499eee3c5d21604f063a3fb10d66615b61849a25a6ce99b6d7ee106ad6c8
7
+ data.tar.gz: dcfac31baa35e1ee8d8d3785562771f0f7c7bb7e79f536b908d5e0b275e67f2716cf3a2a47410b9a2bbeae2504690cd0083f463f635c7d83a56ef5cba1fbf8bd
@@ -28,11 +28,6 @@ module BlackStack
28
28
  end
29
29
  end
30
30
 
31
- def notifyError(uid, description, oid=nil, screenshot_file=nil, url=nil, assigned_process=nil)
32
- url = "#{CS_HOME_PAGE_PROTOCOL}://#{self.division.home.app_url}:#{self.division.home.app_port}/api1.3/bots/boterror.json" if url.nil?
33
- super(uid, description, oid, screenshot_file, url, assigned_process)
34
- end
35
-
36
31
  def worker()
37
32
  BlackStack::Worker.where(:name=>self.fullWorkerName).first
38
33
  end
@@ -115,7 +110,7 @@ module BlackStack
115
110
  GC.start
116
111
  DB.disconnect
117
112
  logger.done
118
- raise 'lalala'
113
+
119
114
  # cargo el objeto worker
120
115
  logger.logs "Load the worker... "
121
116
  the_worker = self.worker
data/lib/pampa-local.rb CHANGED
@@ -18,7 +18,7 @@ def now()
18
18
  # La llamada a GETDATE() desde ODBC no retorna precision de milisegundos, que es necesaria para los registros de log.
19
19
  # La llamada a SYSDATETIME() retorna un valor de alta precision que no es compatible para pegar en los campos del tipo DATATIME.
20
20
  # La linea de abajo obtiene la hora en formato de SYSDATE y le trunca los ultimos digitos para hacer que el valor sea compatible con los campos DATETIME.
21
- (DB['SELECT SYSDATETIME() AS [now]'].map(:now)[0]).to_s[0..22]
21
+ (DB['SELECT SYSDATETIME() AS [now]'].map(:now)[0]).to_s[0..18]
22
22
  end
23
23
 
24
24
  def diff(unit, t0, t1)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pampa_workers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.40
4
+ version: 1.1.43
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: 2022-05-04 00:00:00.000000000 Z
11
+ date: 2022-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: websocket