kennel 1.18.0 → 1.18.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
  SHA256:
3
- metadata.gz: b5952c7eabf30d4dc1b95028cfd9b213f682300692d6309f5e341bd8b84b0e30
4
- data.tar.gz: c4259d4d165d411e9f2b4f42ace8c25a7189d616e9bc1e8a79fef6c6ba2a7fb9
3
+ metadata.gz: a0f12ddf33a79e3990fa9c0c3acd35ed93da8c2e6c8474d7ef99fd27a5038f50
4
+ data.tar.gz: 7e37bccbab376f4f13befdd33505b908c274099fc8ad42d2301260f10b8e80dc
5
5
  SHA512:
6
- metadata.gz: e5f3312421018e6321d5197939f0fc2479dbebeacdd00793bcc67ff4c88ed23e7bf08a068ba7b5cd4155df74134108ebc9317ee8d6f9006fd183dc70f2c3aeca
7
- data.tar.gz: fb556c8a290c9f4322226dfd2a2bfa34a75e3067994b9ed3e4f98270a761bf3a391ac00b838686ae423c7f8164568d6d82a90a4234a8bbee953e21613f2e613c
6
+ metadata.gz: 5f9ed0231f26e3b848cdbcde6806016be2294fe03c3dcd1829c699dfb82bf5083d3d71aa93eb1acec541007ce581de9847a37aca6ba896b2b658b6a90f9aa0d8
7
+ data.tar.gz: f11bf2f9c7a0118e9d4181cee88025aed13c5d06800b2dc855301c13fb069c3c4e73085a1559efcdf30feec5c857af26dc3b476d8e6795abe42ed4e910b5fa93
@@ -44,13 +44,11 @@ module Kennel
44
44
  end
45
45
 
46
46
  def filtered_monitors(api, tag)
47
- # Download all monitors
47
+ # Download all monitors with given tag
48
48
  monitors = Progress.progress("Downloading") do
49
- api.list("monitor")
49
+ api.list("monitor", monitor_tags: tag)
50
50
  end
51
51
 
52
- # only keep monitors from selected tag
53
- monitors.select! { |m| m[:tags].include? tag }
54
52
  raise "No monitors for #{tag} found, check your spelling" if monitors.empty?
55
53
 
56
54
  # only keep monitors that are not completely silenced
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Kennel
3
- VERSION = "1.18.0"
3
+ VERSION = "1.18.1"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kennel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser