lita-sensu2 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lita-sensu2.gemspec +1 -1
- data/templates/silences.erb +6 -13
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6e9b2263db15f9b750fd473e47103a6844c9431
|
4
|
+
data.tar.gz: c99e1a876686585d8a831234f130f6372a473fab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3c41fdf3d06ada91866839a02926a0a2e97775a22cc925087f6cc1cf57cb699c487a3d89e24bec38d23998914e3946bdf06f40070c5dfb9c6cc2e8271c37d83
|
7
|
+
data.tar.gz: 89e1728059c3bacf556b4bbe6bb9090fc9bf7a982c08bb1ea2c849b118457b8ecf1c3c3ca492aca4060fd1a97f7b285dbc52713a8ae99feed03bc7b57034bfac
|
data/lita-sensu2.gemspec
CHANGED
data/templates/silences.erb
CHANGED
@@ -1,15 +1,8 @@
|
|
1
1
|
<% @silences.each do |silence| %>
|
2
|
-
<%= silence[:id] %>
|
3
|
-
<% if silence[:creator] %>
|
4
|
-
|
5
|
-
<% end %>
|
6
|
-
<% if silence[:
|
7
|
-
|
8
|
-
<% end %>
|
9
|
-
<% if silence[:expire_on_resolve] %>
|
10
|
-
, expiring automatically on resolution
|
11
|
-
<% end %>
|
12
|
-
<% if silence[:reason] %>
|
13
|
-
, with reason '<%= silence[:reason] %>'
|
14
|
-
<% end %>
|
2
|
+
(<%= silence[:id] %>)
|
3
|
+
<% if silence[:creator] %> added by <%= silence[:creator] %><% end %>
|
4
|
+
<% if silence[:expire] != -1 %>, expiring in <%= silence[:expire] %> seconds<% end %>
|
5
|
+
<% if silence[:expire_on_resolve] %>, expiring automatically on resolution<% end %>
|
6
|
+
<% if silence[:reason] %>, with reason '<%= silence[:reason] %>'<% end %>
|
7
|
+
|
15
8
|
<% end %>
|