vidar 1.1.5 → 1.2.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: ed660da4b231ed9dfd128c739f85bbcd5635007a907016e8d5f5b981ffa98372
4
- data.tar.gz: 926998278a721071e8232acbaafd3daf742693d219a26e8db59551072770dc3e
3
+ metadata.gz: 83c8c6c6ba4f29390724e9d5b055801e1b4ba0f6c105895b50594e18531de0f4
4
+ data.tar.gz: 0ba04cc7ae67755f1e818f60bffd4777873318d82b73eeb472d2e6fd31757912
5
5
  SHA512:
6
- metadata.gz: a17be0f3854b58d0f9a040ca7314bc877a4cc697e9ae92b7f60291795a833259318cb5f59b99c324f8b88d70de27a0e55f6ef6480d32eb5e46f316337718a538
7
- data.tar.gz: '083c14b658ab0eff7425086b6736461198b84af6de2be568a9767e8c0b6aa2db09fa5ecc245162610bc3808d96d6a2b08056e2dc9c1455d4d33cf9010272bad3'
6
+ metadata.gz: 9023aacabd0553df35925014213f4448b91c787c0bbff0753689d746348b966540c04b9e78d40a0b0cf6c4928814d015ff1210875e47923520b93dc50a916974
7
+ data.tar.gz: f24b624aed6700dae5f1c9506eb0e70171b421c8108b9e3c6e372969c0f04880a1da9aaea737971b67b65b65f1bd3acaff67ed7b9ea791680e75fc7a2d6886c6
@@ -1,7 +1,7 @@
1
- # automatically approve PRs submitted by Dependabot
1
+ # automatically approve PRs submitted by Dependabot or Renofidev
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
- name: Auto approve Dependabot PRs
4
+ name: Auto approve dependency upgrades PRs
5
5
 
6
6
  on:
7
7
  pull_request
@@ -11,6 +11,6 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  steps:
13
13
  - uses: hmarr/auto-approve-action@v2.0.0
14
- if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
14
+ if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev'
15
15
  with:
16
16
  github-token: "${{ secrets.GITHUB_TOKEN }}"
@@ -0,0 +1,19 @@
1
+ name: automerge
2
+ on:
3
+ pull_request_review:
4
+ types:
5
+ - submitted
6
+ check_suite:
7
+ types:
8
+ - completed
9
+ status: {}
10
+ jobs:
11
+ automerge:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: automerge
15
+ uses: "pascalgn/automerge-action@v0.11.0"
16
+ env:
17
+ GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
18
+ MERGE_METHOD: squash
19
+ MERGE_DELETE_BRANCH: true
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vidar (1.1.5)
4
+ vidar (1.2.0)
5
5
  colorize
6
6
  faraday
7
7
  thor (~> 1.0)
@@ -14,49 +14,53 @@ GEM
14
14
  coderay (1.1.3)
15
15
  colorize (0.8.1)
16
16
  diff-lcs (1.4.4)
17
- faraday (1.0.1)
17
+ faraday (1.1.0)
18
18
  multipart-post (>= 1.2, < 3)
19
+ ruby2_keywords
19
20
  method_source (1.0.0)
20
21
  multipart-post (2.1.1)
21
22
  parallel (1.19.2)
22
- parser (2.7.1.4)
23
+ parser (2.7.2.0)
23
24
  ast (~> 2.4.1)
24
25
  pry (0.13.1)
25
26
  coderay (~> 1.1)
26
27
  method_source (~> 1.0)
27
28
  rainbow (3.0.0)
28
29
  rake (13.0.1)
29
- regexp_parser (1.7.1)
30
+ regexp_parser (1.8.2)
30
31
  rexml (3.2.4)
31
32
  rspec (3.9.0)
32
33
  rspec-core (~> 3.9.0)
33
34
  rspec-expectations (~> 3.9.0)
34
35
  rspec-mocks (~> 3.9.0)
35
- rspec-core (3.9.2)
36
+ rspec-core (3.9.3)
36
37
  rspec-support (~> 3.9.3)
37
- rspec-expectations (3.9.2)
38
+ rspec-expectations (3.9.3)
38
39
  diff-lcs (>= 1.2.0, < 2.0)
39
40
  rspec-support (~> 3.9.0)
40
41
  rspec-mocks (3.9.1)
41
42
  diff-lcs (>= 1.2.0, < 2.0)
42
43
  rspec-support (~> 3.9.0)
43
- rspec-support (3.9.3)
44
- rubocop (0.90.0)
44
+ rspec-support (3.9.4)
45
+ rubocop (0.93.1)
45
46
  parallel (~> 1.10)
46
- parser (>= 2.7.1.1)
47
+ parser (>= 2.7.1.5)
47
48
  rainbow (>= 2.2.2, < 4.0)
48
- regexp_parser (>= 1.7)
49
+ regexp_parser (>= 1.8)
49
50
  rexml
50
- rubocop-ast (>= 0.3.0, < 1.0)
51
+ rubocop-ast (>= 0.6.0)
51
52
  ruby-progressbar (~> 1.7)
52
53
  unicode-display_width (>= 1.4.0, < 2.0)
53
- rubocop-ast (0.3.0)
54
- parser (>= 2.7.1.4)
55
- rubocop-performance (1.7.1)
56
- rubocop (>= 0.82.0)
57
- rubocop-rspec (1.43.2)
54
+ rubocop-ast (1.1.0)
55
+ parser (>= 2.7.1.5)
56
+ rubocop-performance (1.8.1)
57
+ rubocop (>= 0.87.0)
58
+ rubocop-ast (>= 0.4.0)
59
+ rubocop-rspec (1.44.1)
58
60
  rubocop (~> 0.87)
61
+ rubocop-ast (>= 0.7.1)
59
62
  ruby-progressbar (1.10.1)
63
+ ruby2_keywords (0.0.2)
60
64
  thor (1.0.1)
61
65
  unicode-display_width (1.7.0)
62
66
 
@@ -53,7 +53,7 @@ module Vidar
53
53
  end
54
54
 
55
55
  def build_url
56
- value = ENV[get(:build_env).to_s]
56
+ value = ENV[get(:build_env).to_s] || get(:build_url)
57
57
  value&.empty? ? nil : value
58
58
  end
59
59
 
@@ -8,7 +8,7 @@ module Vidar
8
8
  fail ArgumentError, "getter must respond_to get." unless getter.respond_to?(:get)
9
9
 
10
10
  string.gsub(INTERPOLATION_PATTERN) do |match|
11
- getter.get($1) || match # rubocop:disable Style/PerlBackrefs
11
+ getter.get($1) || ENV[$1] || match # rubocop:disable Style/PerlBackrefs
12
12
  end
13
13
  end
14
14
  end
@@ -1,3 +1,3 @@
1
1
  module Vidar
2
- VERSION = '1.1.5'.freeze
2
+ VERSION = '1.2.0'.freeze
3
3
  end
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.1.5
4
+ version: 1.2.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: 2020-09-02 00:00:00.000000000 Z
12
+ date: 2020-10-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: colorize
@@ -180,6 +180,7 @@ files:
180
180
  - ".github/ISSUE_TEMPLATE/story.md"
181
181
  - ".github/PULL_REQUEST_TEMPLATE.md"
182
182
  - ".github/workflows/auto-approve.yml"
183
+ - ".github/workflows/auto-merge.yml"
183
184
  - ".gitignore"
184
185
  - ".rspec"
185
186
  - ".travis.yml"
@@ -224,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
225
  - !ruby/object:Gem::Version
225
226
  version: '0'
226
227
  requirements: []
227
- rubygems_version: 3.1.2
228
+ rubygems_version: 3.1.4
228
229
  signing_key:
229
230
  specification_version: 4
230
231
  summary: K8s deployment tools based on thor