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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c96932c5bdac22862d271b35effda1c137b8217ca1d6f1a5d50f6038afe652c
4
- data.tar.gz: dc2c8c2fda51a8c4aa0f923ba68d7c245e7e83c19058fd36b729f439e45ab1c2
3
+ metadata.gz: 67ea48d5694ee975aac8c0122b35891a07663da7f6ed897b5da4af401fec0b25
4
+ data.tar.gz: 7d3e3876268d1a1b455dbf3e126cb41b5ecb54beaa2ae72adb8aa8e803d4e713
5
5
  SHA512:
6
- metadata.gz: e8d5aaf9e293eafdd64325658dd01a9031da0bf9c61ff6926d4ccb1d8119fb96d84ba8274275f1471a69e9f7472e5510e55995a6aa80c996812af229db77b905
7
- data.tar.gz: c9cd0b962a3a6bfea0073ba3b6bd80bf4801227d3cc0d5acf0a221cc3f3fbaa7f9f5efc84a6741c169c50b12dc7fdfc6a3c126bb15b5dc6bf0bbc7971b483cfc
6
+ metadata.gz: df9143590421ea15f86ea20e783178b018f9c8a7c6abffc5bfa7b91223c270ed519bbd29caf0be154776d03eb2de6b9caa6c409d55bcf803b07138de4e139133
7
+ data.tar.gz: 8754dae3249c781998ed949c3d13243938aa2845aba2c117aceb9f951b7af76867c593ea7e09d8558cf9536a45921bce7355204bd8d1aea93c18099a1dfade72
data/.bundler-version CHANGED
@@ -1 +1 @@
1
- 2.3.5
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:
@@ -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@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
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.4.0 - 2020-12-14
3
+ ## 1.5.0 - 2022-04-20
4
4
 
5
- - make `default_branch` to be auto-detected
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.3)
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.1.0)
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.1)
24
+ faraday-net_http (2.0.2)
25
25
  hashdiff (1.0.1)
26
26
  method_source (1.0.0)
27
- parallel (1.21.0)
28
- parser (3.1.0.0)
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.6)
33
+ public_suffix (4.0.7)
34
34
  rainbow (3.1.1)
35
35
  rake (13.0.6)
36
- regexp_parser (2.2.0)
36
+ regexp_parser (2.3.0)
37
37
  rexml (3.2.5)
38
- rspec (3.10.0)
39
- rspec-core (~> 3.10.0)
40
- rspec-expectations (~> 3.10.0)
41
- rspec-mocks (~> 3.10.0)
42
- rspec-core (3.10.2)
43
- rspec-support (~> 3.10.0)
44
- rspec-expectations (3.10.2)
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.10.0)
47
- rspec-mocks (3.10.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.10.0)
50
- rspec-support (3.10.3)
51
- rubocop (1.25.0)
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.15.1, < 2.0)
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.15.1)
61
- parser (>= 3.0.1.1)
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.8.0)
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.6
96
+ 2.3.11
@@ -51,7 +51,7 @@ module Vidar
51
51
  end
52
52
 
53
53
  def pod_set
54
- @pod_set = K8s::PodSet.new(namespace: namespace, filter: filter)
54
+ @pod_set = K8s::PodSet.new(namespace:, filter:)
55
55
  end
56
56
  end
57
57
  end
@@ -24,7 +24,7 @@ module Vidar
24
24
  ":fire: <!channel>",
25
25
  build_link
26
26
  ]
27
- perform_with data(message: message, color: failure_color)
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: message, color: success_color)
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: message, color: color)
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: color,
65
- text: text,
64
+ color:,
65
+ text:,
66
66
  fallback: text,
67
67
  }
68
68
  ]
data/lib/vidar/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vidar
2
- VERSION = '1.4.3'.freeze
2
+ VERSION = '1.5.0'.freeze
3
3
  end
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 = '>= 2.6'
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.3
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-02-02 00:00:00.000000000 Z
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: '2.6'
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.2.32
246
+ rubygems_version: 3.3.11
247
247
  signing_key:
248
248
  specification_version: 4
249
249
  summary: K8s deployment tools based on thor