systemd_mon_mod 0.1.2 → 0.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f391f7a4ee6cd35a772ae1615cb0dee9ab726cb284314f546561047500bbd19
4
- data.tar.gz: 20487d3ee6f7b8c8c4208cb022578ab37bf966fa0d2012a87a0ae3d3bce059b0
3
+ metadata.gz: ae04005cfd484f39a51e1c6e270870f34c419070e9f5939b7d1a6c50e6bc63eb
4
+ data.tar.gz: c86ac408f1cbc072c27458748cfd59a2786e0fab8fa090970a6d32c3d969f76a
5
5
  SHA512:
6
- metadata.gz: 61348cdf89d2b3f33bf5d1313e51e51ffde7f20d6153776b5cba188d5052f38a3858cb005767cb0e4ba2c55a8fdf87a846a8cea9f38885d5175ec2c41442312f
7
- data.tar.gz: efcfdea8748228244b0dd49421a61f6e6364100c9695d3b4fe625f367cff70daec2f4fdd5fde1ffecc469d2598f03104309ae6bc0c2f54d5c02eb05566c91860
6
+ metadata.gz: eebf5567a019f50183f09122fdac9d1d40aca1f2b006704ad3577a7f5049c894aa9092adb0a06dff0e4484fd6d15d9db3ec53974532193a66cd8eddb5bfbcb04
7
+ data.tar.gz: 91e9ee911d32c8261bbde4c98f848ac18c5234724a395cc826e680eb14ac2db345b4f2c96f734c8058089be5d6a7909c83d3280a200359c54a5891792ee3ca25
@@ -47,9 +47,11 @@ module SystemdMon::Notifiers
47
47
  unit = notification.unit
48
48
  message = "@channel #{notification.type_text}: systemd unit #{unit.name} on #{notification.hostname} #{unit.state_change.status_text}"
49
49
 
50
- if notification.type == :info
51
- message = "#{notification.type_text}: systemd unit #{unit.name} on #{notification.hostname} #{unit.state_change.status_text}"
52
- end
50
+ return if notification.type == :info
51
+
52
+ # if notification.type == :info
53
+ # message = "#{notification.type_text}: systemd unit #{unit.name} on #{notification.hostname} #{unit.state_change.status_text}"
54
+ # end
53
55
 
54
56
  attach = {
55
57
  fallback: "@channel #{message}: #{unit.state.active} (#{unit.state.sub})",
@@ -1,3 +1,3 @@
1
1
  module SystemdMon
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: systemd_mon_mod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Cairns
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-12-18 00:00:00.000000000 Z
12
+ date: 2021-02-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ruby-dbus