lita-server_status 1.0.0 → 1.0.1
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.
- checksums.yaml +4 -4
- data/lib/lita/handlers/server_status.rb +2 -2
- data/lita-server_status.gemspec +1 -1
- 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: bb3ede99d4ce007b85879a5d23cdfe0e4f6d09de
|
|
4
|
+
data.tar.gz: 4e4f1c9c07799daa0526242c84cdd5d633302a70
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da17b2854ff729424b8131c025d3b4e46474fd01ed61727bca6d96c8ddf49875343d8d405cf1546639c34042b60e1df27ea33b0fd5104abd4ee4af92bad649cf
|
|
7
|
+
data.tar.gz: 4effeb6fabb84a4dfeccdc630add17da3eb44f22719746bc9c0644501e558170527602a8d17df56e4071858e26cc7f5f1341296fbe99a6df569c3e3beff5d275
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module Lita
|
|
2
2
|
module Handlers
|
|
3
3
|
class ServerStatus < Handler
|
|
4
|
-
MESSAGE_REGEX = %r/(?::eyes
|
|
4
|
+
MESSAGE_REGEX = %r/(?::eyes:\s)*(.+) is deploying (.+)\/(.+) to (.+)/i
|
|
5
5
|
route(MESSAGE_REGEX, :save_status)
|
|
6
6
|
|
|
7
7
|
route(/server status/i, :list_statuses, command: true, help: {
|
|
@@ -24,7 +24,7 @@ module Lita
|
|
|
24
24
|
def status_message
|
|
25
25
|
messages = redis.keys('server_status*').sort.map { |key| redis.get(key) }
|
|
26
26
|
messages << 'I don\'t know what state the servers are in.' if messages.empty?
|
|
27
|
-
messages.join(
|
|
27
|
+
messages.join("\n")
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
def formatted_time
|
data/lita-server_status.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lita-server_status
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael van den Beuken
|
|
@@ -16,7 +16,7 @@ authors:
|
|
|
16
16
|
autorequire:
|
|
17
17
|
bindir: bin
|
|
18
18
|
cert_chain: []
|
|
19
|
-
date: 2018-09-
|
|
19
|
+
date: 2018-09-26 00:00:00.000000000 Z
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
22
22
|
name: lita
|