vidar 1.5.0 → 1.5.1
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/vidar/deploy_status.rb +1 -1
- data/lib/vidar/slack_notification.rb +5 -5
- data/lib/vidar/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 240f3c0df388e9422b6d760a2e1928cd171c0d30975d412adfed4552d7a0d0f7
|
|
4
|
+
data.tar.gz: 326488628ef5fbfd0a05e0ae5404dd9259208ec2a5657a5d00add05a433a2a85
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f34ff012aa568b177d01ed3c4a9c2ad1d6c676742ed753c27bc2080b6cab0394fb36a74e5b02a3976a772806e00cabb4d8547ad2bd97422dd1e072f614036078
|
|
7
|
+
data.tar.gz: ae7ae56cad2aa1afe8d4e22ec2bce11c4dd5868cbd7acc41571094e16226e37f4b8539a32558c5ec8ab4aa7008920e2ed03d6959e5bd2c2bb803233003b36e04
|
data/Gemfile.lock
CHANGED
data/lib/vidar/deploy_status.rb
CHANGED
|
@@ -24,7 +24,7 @@ module Vidar
|
|
|
24
24
|
":fire: <!channel>",
|
|
25
25
|
build_link
|
|
26
26
|
]
|
|
27
|
-
perform_with data(message
|
|
27
|
+
perform_with data(message: message, color: failure_color)
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
def success
|
|
@@ -32,11 +32,11 @@ module Vidar
|
|
|
32
32
|
"Successful deploy of #{github_link} to #{deploy_link}.",
|
|
33
33
|
build_link
|
|
34
34
|
]
|
|
35
|
-
perform_with data(message
|
|
35
|
+
perform_with data(message: message, color: success_color)
|
|
36
36
|
end
|
|
37
37
|
|
|
38
38
|
def deliver(message:, color: default_color)
|
|
39
|
-
perform_with data(message
|
|
39
|
+
perform_with data(message: message, color: color)
|
|
40
40
|
end
|
|
41
41
|
|
|
42
42
|
def perform_with(data)
|
|
@@ -61,8 +61,8 @@ module Vidar
|
|
|
61
61
|
{
|
|
62
62
|
title: github,
|
|
63
63
|
title_link: github_url,
|
|
64
|
-
color
|
|
65
|
-
text
|
|
64
|
+
color: color,
|
|
65
|
+
text: text,
|
|
66
66
|
fallback: text,
|
|
67
67
|
}
|
|
68
68
|
]
|
data/lib/vidar/version.rb
CHANGED