nextbot 1.1.17 → 1.1.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/localcommand.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96941f86c5dda29b97a4a1c51ec691561d36c8cf
|
4
|
+
data.tar.gz: b608640208041f371ac87f6bf6ff313d4e8cb2ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ddbfd2cfbfa8905e4b3e4400b5225d99c7fd2fc39197c78ed4d69dccbc5d3e52ba9276cea16065291ab0e49daf04e4349f7ef4cabac2a9c35f81004c10509d7
|
7
|
+
data.tar.gz: 5efe16e41125bf556078f887359b37a19eedc3512fa7f6c3d199314426f00f1dfac031813e1e4dfd3b91fcbe0cb6363935c6ceaea5e4662840cae4b0633f672d
|
data/lib/localcommand.rb
CHANGED
@@ -14,11 +14,11 @@ module BlackStack
|
|
14
14
|
def status()
|
15
15
|
com = self
|
16
16
|
commandstatus = nil
|
17
|
-
commandstatus = BlackStack::NextBot::BaseCommand::STATUS_PENDING
|
18
|
-
commandstatus = BlackStack::NextBot::BaseCommand::STATUS_ONGOING
|
19
|
-
commandstatus = BlackStack::NextBot::BaseCommand::STATUS_FAILURE
|
17
|
+
commandstatus = BlackStack::NextBot::BaseCommand::STATUS_PENDING if com.run_start_time.nil?
|
18
|
+
commandstatus = BlackStack::NextBot::BaseCommand::STATUS_ONGOING if !com.run_start_time.nil? && com.run_end_time.nil? #&& com.run_error_description.nil?
|
19
|
+
commandstatus = BlackStack::NextBot::BaseCommand::STATUS_FAILURE if !com.run_start_time.nil? && !com.run_end_time.nil? && !com.run_success
|
20
|
+
commandstatus = BlackStack::NextBot::BaseCommand::STATUS_SUCCESS if !com.run_start_time.nil? && !com.run_end_time.nil? && com.run_success
|
20
21
|
commandstatus = BlackStack::NextBot::BaseCommand::STATUS_CANCELED if !com.run_start_time.nil? && !com.run_end_time.nil? && com.run_success.nil?
|
21
|
-
commandstatus = BlackStack::NextBot::BaseCommand::STATUS_SUCCESS if !com.run_start_time.nil? && !com.run_end_time.nil? && !com.run_success.nil?
|
22
22
|
commandstatus
|
23
23
|
end
|
24
24
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nextbot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.18
|
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-03-
|
11
|
+
date: 2020-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: stealth_browser_automation
|