vidar 1.9.4 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bundler-version +1 -1
- data/Gemfile.lock +11 -9
- data/lib/vidar/deploy_status.rb +1 -1
- data/lib/vidar/slack_notification.rb +5 -5
- data/lib/vidar/version.rb +1 -1
- data/vidar.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 837a79fe42926308748fbfeb816fdfd9b65bc4f13baefb499cbca936ac668f8f
|
4
|
+
data.tar.gz: 9bd7ba8776bb814eef39e909464ddf91027cb2c4f9b4b9caea04a247e17aa6cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 153146b937497d0d0f2496f18aa4da97d4437e244a1e68018740366539f20f6543921de10012aa8fb3774251a174be235b10b9e22e83a224cb2ca01b2942449e
|
7
|
+
data.tar.gz: 670e654205cd66abb504d3bcf6cd928a6f3fc7c7ff90f2493b865b075097c47ac5fc94f3af5fd7c4361f9cb8ebad83701dd5f5cff7c6a8d2c5ca70e130dd3802
|
data/.bundler-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.5.
|
1
|
+
2.5.6
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
vidar (1.
|
4
|
+
vidar (1.10.0)
|
5
5
|
colorize
|
6
6
|
faraday
|
7
7
|
thor (~> 1.0)
|
@@ -16,7 +16,7 @@ GEM
|
|
16
16
|
bigdecimal (3.1.6)
|
17
17
|
coderay (1.1.3)
|
18
18
|
colorize (1.1.0)
|
19
|
-
crack (0.
|
19
|
+
crack (1.0.0)
|
20
20
|
bigdecimal
|
21
21
|
rexml
|
22
22
|
diff-lcs (1.5.1)
|
@@ -34,6 +34,7 @@ GEM
|
|
34
34
|
parser (3.3.0.5)
|
35
35
|
ast (~> 2.4.1)
|
36
36
|
racc
|
37
|
+
prism (0.24.0)
|
37
38
|
pry (0.14.2)
|
38
39
|
coderay (~> 1.1)
|
39
40
|
method_source (~> 1.0)
|
@@ -55,8 +56,8 @@ GEM
|
|
55
56
|
rspec-mocks (3.13.0)
|
56
57
|
diff-lcs (>= 1.2.0, < 2.0)
|
57
58
|
rspec-support (~> 3.13.0)
|
58
|
-
rspec-support (3.13.
|
59
|
-
rubocop (1.
|
59
|
+
rspec-support (3.13.1)
|
60
|
+
rubocop (1.61.0)
|
60
61
|
json (~> 2.3)
|
61
62
|
language_server-protocol (>= 3.17.0)
|
62
63
|
parallel (~> 1.10)
|
@@ -67,8 +68,9 @@ GEM
|
|
67
68
|
rubocop-ast (>= 1.30.0, < 2.0)
|
68
69
|
ruby-progressbar (~> 1.7)
|
69
70
|
unicode-display_width (>= 2.4.0, < 3.0)
|
70
|
-
rubocop-ast (1.
|
71
|
-
parser (>= 3.
|
71
|
+
rubocop-ast (1.31.0)
|
72
|
+
parser (>= 3.3.0.4)
|
73
|
+
prism (>= 0.24.0)
|
72
74
|
rubocop-capybara (2.20.0)
|
73
75
|
rubocop (~> 1.41)
|
74
76
|
rubocop-factory_bot (2.25.1)
|
@@ -80,10 +82,10 @@ GEM
|
|
80
82
|
rubocop-capybara (~> 2.17)
|
81
83
|
rubocop-factory_bot (~> 2.22)
|
82
84
|
ruby-progressbar (1.13.0)
|
83
|
-
thor (1.3.
|
85
|
+
thor (1.3.1)
|
84
86
|
unicode-display_width (2.5.0)
|
85
87
|
uri (0.13.0)
|
86
|
-
webmock (3.
|
88
|
+
webmock (3.23.0)
|
87
89
|
addressable (>= 2.8.0)
|
88
90
|
crack (>= 0.3.2)
|
89
91
|
hashdiff (>= 0.4.0, < 2.0.0)
|
@@ -104,4 +106,4 @@ DEPENDENCIES
|
|
104
106
|
webmock
|
105
107
|
|
106
108
|
BUNDLED WITH
|
107
|
-
2.
|
109
|
+
2.5.6
|
data/lib/vidar/deploy_status.rb
CHANGED
@@ -34,7 +34,7 @@ module Vidar
|
|
34
34
|
":fire: <!channel>",
|
35
35
|
build_link
|
36
36
|
]
|
37
|
-
perform_with data(message
|
37
|
+
perform_with data(message:, color: failure_color)
|
38
38
|
end
|
39
39
|
|
40
40
|
def success
|
@@ -42,11 +42,11 @@ module Vidar
|
|
42
42
|
"Successful deploy of #{github_link} to #{deploy_link}.",
|
43
43
|
build_link
|
44
44
|
]
|
45
|
-
perform_with data(message
|
45
|
+
perform_with data(message:, color: success_color)
|
46
46
|
end
|
47
47
|
|
48
48
|
def deliver(message:, color: default_color)
|
49
|
-
perform_with data(message
|
49
|
+
perform_with data(message:, color:)
|
50
50
|
end
|
51
51
|
|
52
52
|
def perform_with(data)
|
@@ -71,8 +71,8 @@ module Vidar
|
|
71
71
|
{
|
72
72
|
title: github,
|
73
73
|
title_link: github_url,
|
74
|
-
color
|
75
|
-
text
|
74
|
+
color:,
|
75
|
+
text:,
|
76
76
|
fallback: text,
|
77
77
|
}
|
78
78
|
]
|
data/lib/vidar/version.rb
CHANGED
data/vidar.gemspec
CHANGED
@@ -17,6 +17,8 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.metadata['changelog_uri'] = 'https://github.com/RenoFi/vidar/blob/master/CHANGELOG.md'
|
18
18
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
19
19
|
|
20
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 3.1.0')
|
21
|
+
|
20
22
|
spec.files = Dir.chdir(__dir__) do
|
21
23
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin/|spec/|\.rub)}) }
|
22
24
|
end
|
@@ -24,8 +26,6 @@ Gem::Specification.new do |spec|
|
|
24
26
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
27
|
spec.require_paths = ['lib']
|
26
28
|
|
27
|
-
spec.required_ruby_version = '>= 3.0'
|
28
|
-
|
29
29
|
spec.add_dependency 'colorize'
|
30
30
|
spec.add_dependency 'faraday'
|
31
31
|
spec.add_dependency 'thor', '~> 1.0'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vidar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krzysztof Knapik
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-02-
|
12
|
+
date: 2024-02-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: colorize
|
@@ -112,14 +112,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
112
112
|
requirements:
|
113
113
|
- - ">="
|
114
114
|
- !ruby/object:Gem::Version
|
115
|
-
version:
|
115
|
+
version: 3.1.0
|
116
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
117
|
requirements:
|
118
118
|
- - ">="
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
|
-
rubygems_version: 3.5.
|
122
|
+
rubygems_version: 3.5.3
|
123
123
|
signing_key:
|
124
124
|
specification_version: 4
|
125
125
|
summary: K8s deployment tools based on thor
|