nextbot 1.1.17 → 1.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/localcommand.rb +4 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5de1e000e5a6824f2b819996080e2a024607c8a2
4
- data.tar.gz: b559f10e15f0e9f4376a5606640ab773b9491382
3
+ metadata.gz: 96941f86c5dda29b97a4a1c51ec691561d36c8cf
4
+ data.tar.gz: b608640208041f371ac87f6bf6ff313d4e8cb2ae
5
5
  SHA512:
6
- metadata.gz: 871e0c579683c63a0ed95635fffa838c0d7220149ad767372039eb5506822b0a5557bee3b8f9cb47270b6c7562ec7a5e33f005d22e008d8ef100f222a94995a1
7
- data.tar.gz: d693c0abd851905eb72facecce65146751b395a798c153d8cb3ee35cdea5a82759dbe4ff145b79ef6a8273c72b4b2f55e2408ce36509d1dd182f2b89a9837e50
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 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_error_description.nil?
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.17
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-30 00:00:00.000000000 Z
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