HornsAndHooves-slackiq 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/slackiq/version.rb +1 -1
- data/lib/slackiq.rb +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23e05e5344c4891a0825371e1d79342aedc903e109b0be8f4c79df75b2fe601e
|
4
|
+
data.tar.gz: 2d55c5017831b9041ddc6cd31d862c7a104a22c192762bf6836ba59f94be4312
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db63885b16aeaa6872dd46b35268d044be86f514432d6e97eaef6245a6987e797c8f4ea55d5648c77c288cbb342b95401a8076c6d4d7141ffcaa54b781bfb6b5
|
7
|
+
data.tar.gz: b3d3ae0dff813cd203df53c8d1d2f6902093457819e2e325885fae2a855de39d6676b0c9392ef25fc904477945a92cd8ba20e535e70f8ad4c4dec661a51c0250
|
data/lib/slackiq/version.rb
CHANGED
data/lib/slackiq.rb
CHANGED
@@ -48,6 +48,8 @@ class Slackiq
|
|
48
48
|
time_title = status.complete? ? "Completed" : "Now"
|
49
49
|
jobs_run = status.total - status.pending
|
50
50
|
|
51
|
+
return if status.total.to_f <= 0
|
52
|
+
|
51
53
|
completion_percentage = percentage(jobs_run / status.total.to_f)
|
52
54
|
failure_percentage = percentage(status.failures / status.total.to_f)
|
53
55
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: HornsAndHooves-slackiq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HornsAndHooves
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-01-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
|
-
rubygems_version: 3.0.
|
95
|
+
rubygems_version: 3.0.9
|
96
96
|
signing_key:
|
97
97
|
specification_version: 4
|
98
98
|
summary: 'HornsAndHooves: Slack and Sidekiq Pro integration'
|