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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 551dd8502211ecb555bed1af238fdbb134bb822e
4
- data.tar.gz: 6f898adcff62a5ea936973848173d6dd12ebbefc
3
+ metadata.gz: a07d7b9030584178c66bf0c8a32216e1c9b59aab
4
+ data.tar.gz: 6c8b6334190be4e8b156cce734de64a264add30b
5
5
  SHA512:
6
- metadata.gz: 68d220a9b70a101755492030c8b001fb1aee2fbb0b5f3b9258b3a08a2484b7f04f1cbf30b84f09783c0c17c685d8d9f9188a72d39de0edf401b2286f467d953e
7
- data.tar.gz: f46a8d49bfbc90aa324036894b3cc0a9b75bbb291407da17e6fbb0f10f22e023983e2e11ad685b4e8ea29fb10105200d99a2ac67589cd9efe951a5345531ab06
6
+ metadata.gz: 09491e9f56e96c9681961a16b23397ada3e1a21e0d1f72e764bd2212eb04aa0af716da00c768af70f7c2d960ac8b650897f0e03a2c4f34ea4b3de3b724961ea2
7
+ data.tar.gz: 1fe28e22508894a9a4f9b358d6373aa64313e0840fce9ad89f3a6b14bf8d55d65e69fcc3e59b7a724c0404bc2c62411c00ca2ca192402db90b6f6b16678d7381
@@ -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)
@@ -1,3 +1,3 @@
1
1
  class Upstreamstatus
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
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.0
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-09-27 00:00:00.000000000 Z
11
+ date: 2016-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unirest