upstreamstatus 0.3.0 → 0.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/upstreamstatus.rb +3 -1
- data/lib/upstreamstatus/version.rb +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: a07d7b9030584178c66bf0c8a32216e1c9b59aab
|
4
|
+
data.tar.gz: 6c8b6334190be4e8b156cce734de64a264add30b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 09491e9f56e96c9681961a16b23397ada3e1a21e0d1f72e764bd2212eb04aa0af716da00c768af70f7c2d960ac8b650897f0e03a2c4f34ea4b3de3b724961ea2
|
7
|
+
data.tar.gz: 1fe28e22508894a9a4f9b358d6373aa64313e0840fce9ad89f3a6b14bf8d55d65e69fcc3e59b7a724c0404bc2c62411c00ca2ca192402db90b6f6b16678d7381
|
data/lib/upstreamstatus.rb
CHANGED
@@ -126,7 +126,9 @@ class Upstreamstatus
|
|
126
126
|
end
|
127
127
|
|
128
128
|
def active_alerts
|
129
|
-
@active_alerts ||= active_alerts_paged
|
129
|
+
@active_alerts ||= active_alerts_paged.select do |a|
|
130
|
+
a['incident_key'] =~ /^upstreamstatus #{Socket.gethostname} .*/
|
131
|
+
end
|
130
132
|
end
|
131
133
|
|
132
134
|
def active_alerts_paged(offset = 0)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: upstreamstatus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Herot
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unirest
|