vidar 1.4.3 → 1.5.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/.github/workflows/auto-approve.yml +1 -3
- data/.github/workflows/ci.yml +2 -2
- data/CHANGELOG.md +2 -3
- data/Gemfile.lock +24 -24
- 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 +1 -1
- 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: 67ea48d5694ee975aac8c0122b35891a07663da7f6ed897b5da4af401fec0b25
|
4
|
+
data.tar.gz: 7d3e3876268d1a1b455dbf3e126cb41b5ecb54beaa2ae72adb8aa8e803d4e713
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df9143590421ea15f86ea20e783178b018f9c8a7c6abffc5bfa7b91223c270ed519bbd29caf0be154776d03eb2de6b9caa6c409d55bcf803b07138de4e139133
|
7
|
+
data.tar.gz: 8754dae3249c781998ed949c3d13243938aa2845aba2c117aceb9f951b7af76867c593ea7e09d8558cf9536a45921bce7355204bd8d1aea93c18099a1dfade72
|
data/.bundler-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.3.
|
1
|
+
2.3.11
|
@@ -2,9 +2,7 @@
|
|
2
2
|
# this will allow Dependabot to automatically merge dependency update PRs where CI passes
|
3
3
|
# from: https://github.com/hmarr/auto-approve-action
|
4
4
|
name: Auto approve dependency upgrades PRs
|
5
|
-
|
6
|
-
on:
|
7
|
-
pull_request
|
5
|
+
on: pull_request_target
|
8
6
|
|
9
7
|
jobs:
|
10
8
|
auto-approve:
|
data/.github/workflows/ci.yml
CHANGED
@@ -11,7 +11,7 @@ jobs:
|
|
11
11
|
runs-on: ubuntu-latest
|
12
12
|
strategy:
|
13
13
|
matrix:
|
14
|
-
ruby-version: ['3.0']
|
14
|
+
ruby-version: ['3.0', 3.1]
|
15
15
|
|
16
16
|
steps:
|
17
17
|
- uses: actions/checkout@v2
|
@@ -19,7 +19,7 @@ jobs:
|
|
19
19
|
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
20
20
|
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
21
21
|
# uses: ruby/setup-ruby@v1
|
22
|
-
uses: ruby/setup-ruby@
|
22
|
+
uses: ruby/setup-ruby@bd94d6a504586da892a5753afdd1480096ed30df
|
23
23
|
with:
|
24
24
|
ruby-version: ${{ matrix.ruby-version }}
|
25
25
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
-
## 1.
|
3
|
+
## 1.5.0 - 2022-04-20
|
4
4
|
|
5
|
-
-
|
6
|
-
from `main` and `master`, so it works with [the new github convention]) https://github.blog/changelog/2020-10-01-the-default-branch-for-newly-created-repositories-is-now-main)
|
5
|
+
- Drop ruby 2.7 support and test against ruby 3.1
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
vidar (1.
|
4
|
+
vidar (1.5.0)
|
5
5
|
colorize
|
6
6
|
faraday
|
7
7
|
thor (~> 1.0)
|
@@ -18,50 +18,50 @@ GEM
|
|
18
18
|
crack (0.4.5)
|
19
19
|
rexml
|
20
20
|
diff-lcs (1.5.0)
|
21
|
-
faraday (2.
|
21
|
+
faraday (2.2.0)
|
22
22
|
faraday-net_http (~> 2.0)
|
23
23
|
ruby2_keywords (>= 0.0.4)
|
24
|
-
faraday-net_http (2.0.
|
24
|
+
faraday-net_http (2.0.2)
|
25
25
|
hashdiff (1.0.1)
|
26
26
|
method_source (1.0.0)
|
27
|
-
parallel (1.
|
28
|
-
parser (3.1.
|
27
|
+
parallel (1.22.1)
|
28
|
+
parser (3.1.2.0)
|
29
29
|
ast (~> 2.4.1)
|
30
30
|
pry (0.14.1)
|
31
31
|
coderay (~> 1.1)
|
32
32
|
method_source (~> 1.0)
|
33
|
-
public_suffix (4.0.
|
33
|
+
public_suffix (4.0.7)
|
34
34
|
rainbow (3.1.1)
|
35
35
|
rake (13.0.6)
|
36
|
-
regexp_parser (2.
|
36
|
+
regexp_parser (2.3.0)
|
37
37
|
rexml (3.2.5)
|
38
|
-
rspec (3.
|
39
|
-
rspec-core (~> 3.
|
40
|
-
rspec-expectations (~> 3.
|
41
|
-
rspec-mocks (~> 3.
|
42
|
-
rspec-core (3.
|
43
|
-
rspec-support (~> 3.
|
44
|
-
rspec-expectations (3.
|
38
|
+
rspec (3.11.0)
|
39
|
+
rspec-core (~> 3.11.0)
|
40
|
+
rspec-expectations (~> 3.11.0)
|
41
|
+
rspec-mocks (~> 3.11.0)
|
42
|
+
rspec-core (3.11.0)
|
43
|
+
rspec-support (~> 3.11.0)
|
44
|
+
rspec-expectations (3.11.0)
|
45
45
|
diff-lcs (>= 1.2.0, < 2.0)
|
46
|
-
rspec-support (~> 3.
|
47
|
-
rspec-mocks (3.
|
46
|
+
rspec-support (~> 3.11.0)
|
47
|
+
rspec-mocks (3.11.1)
|
48
48
|
diff-lcs (>= 1.2.0, < 2.0)
|
49
|
-
rspec-support (~> 3.
|
50
|
-
rspec-support (3.
|
51
|
-
rubocop (1.
|
49
|
+
rspec-support (~> 3.11.0)
|
50
|
+
rspec-support (3.11.0)
|
51
|
+
rubocop (1.27.0)
|
52
52
|
parallel (~> 1.10)
|
53
53
|
parser (>= 3.1.0.0)
|
54
54
|
rainbow (>= 2.2.2, < 4.0)
|
55
55
|
regexp_parser (>= 1.8, < 3.0)
|
56
56
|
rexml
|
57
|
-
rubocop-ast (>= 1.
|
57
|
+
rubocop-ast (>= 1.16.0, < 2.0)
|
58
58
|
ruby-progressbar (~> 1.7)
|
59
59
|
unicode-display_width (>= 1.4.0, < 3.0)
|
60
|
-
rubocop-ast (1.
|
61
|
-
parser (>= 3.
|
60
|
+
rubocop-ast (1.17.0)
|
61
|
+
parser (>= 3.1.1.0)
|
62
62
|
rubocop-rake (0.6.0)
|
63
63
|
rubocop (~> 1.0)
|
64
|
-
rubocop-rspec (2.
|
64
|
+
rubocop-rspec (2.10.0)
|
65
65
|
rubocop (~> 1.19)
|
66
66
|
ruby-progressbar (1.11.0)
|
67
67
|
ruby2_keywords (0.0.5)
|
@@ -93,4 +93,4 @@ DEPENDENCIES
|
|
93
93
|
webmock
|
94
94
|
|
95
95
|
BUNDLED WITH
|
96
|
-
2.3.
|
96
|
+
2.3.11
|
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:, 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:, 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:, 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:,
|
65
|
+
text:,
|
66
66
|
fallback: text,
|
67
67
|
}
|
68
68
|
]
|
data/lib/vidar/version.rb
CHANGED
data/vidar.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
25
|
spec.require_paths = ['lib']
|
26
26
|
|
27
|
-
spec.required_ruby_version = '>=
|
27
|
+
spec.required_ruby_version = '>= 3.0'
|
28
28
|
|
29
29
|
spec.add_dependency 'colorize'
|
30
30
|
spec.add_dependency 'faraday'
|
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.5.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: 2022-
|
12
|
+
date: 2022-04-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: colorize
|
@@ -236,14 +236,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
236
236
|
requirements:
|
237
237
|
- - ">="
|
238
238
|
- !ruby/object:Gem::Version
|
239
|
-
version: '
|
239
|
+
version: '3.0'
|
240
240
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
241
241
|
requirements:
|
242
242
|
- - ">="
|
243
243
|
- !ruby/object:Gem::Version
|
244
244
|
version: '0'
|
245
245
|
requirements: []
|
246
|
-
rubygems_version: 3.
|
246
|
+
rubygems_version: 3.3.11
|
247
247
|
signing_key:
|
248
248
|
specification_version: 4
|
249
249
|
summary: K8s deployment tools based on thor
|