workflow-testing 0.0.1 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/lint.yaml +9 -0
- data/.github/workflows/publish.yaml +2 -6
- data/.release-please-manifest.json +3 -0
- data/.rubocop.yaml +0 -1
- data/CHANGELOG.md +67 -0
- data/Gemfile +7 -1
- data/README.md +4 -0
- data/Rakefile +16 -0
- data/lib/kitchen/driver/version.rb +1 -1
- data/release-please-config.json +12 -0
- data/spec/spec_helper.rb +17 -0
- data/spec/version_spec.rb +31 -0
- metadata +9 -4
- data/.github/workflows/ci.yaml +0 -30
- data/Gemfile.lock +0 -43
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb3be77b0e289fb20cfbff0d77e12c4fe5e2ad425c4ea2ffff3f3ab9f7a58a32
|
4
|
+
data.tar.gz: 529518e80e30bc9f195e8fa7b827853c32893f37659fc1083ccb768a32f14a22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3abd9a714b5969dd597007c533fe38f169d809e80e06f5544af56838313b45189e793db6b10d0ea2bab628bfd00cafa36c32c680bf8699b414c0f2a5a669224
|
7
|
+
data.tar.gz: 6b6fcb78901e650a0296050c96af0f56c59d05223e6dc7ec71abc8b27e04aded768d6742ca83a8f74989cfddd8cb23cd1aed5188c82effce5e0cc704ca8f92ef
|
@@ -9,12 +9,9 @@ jobs:
|
|
9
9
|
release-please:
|
10
10
|
runs-on: ubuntu-latest
|
11
11
|
steps:
|
12
|
-
- uses: google-github-actions/release-please-action@
|
12
|
+
- uses: google-github-actions/release-please-action@v4
|
13
13
|
id: release
|
14
14
|
with:
|
15
|
-
release-type: ruby
|
16
|
-
package-name: workflow-testing-gem
|
17
|
-
version-file: lib/kitchen/driver/version.rb
|
18
15
|
token: ${{ secrets.PORTER_GITHUB_TOKEN }}
|
19
16
|
|
20
17
|
- name: Checkout
|
@@ -32,5 +29,4 @@ jobs:
|
|
32
29
|
uses: actionshub/publish-gem-to-rubygems@main
|
33
30
|
if: ${{ steps.release.outputs.release_created }}
|
34
31
|
with:
|
35
|
-
token: ${{ secrets.
|
36
|
-
owner: ${{ secrets.OWNER }}
|
32
|
+
token: ${{ secrets.RUBYGEMS_API_KEY }}
|
data/.rubocop.yaml
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [1.0.8](https://github.com/test-kitchen/workflow-testing-gem/compare/v1.0.7...v1.0.8) (2024-06-18)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* release please ([#24](https://github.com/test-kitchen/workflow-testing-gem/issues/24)) ([5e1f39e](https://github.com/test-kitchen/workflow-testing-gem/commit/5e1f39efdb827328fa5bf299916ba5c8ae2c13fe))
|
9
|
+
|
10
|
+
## [1.0.7](https://github.com/test-kitchen/workflow-testing-gem/compare/v1.0.6...v1.0.7) (2023-11-23)
|
11
|
+
|
12
|
+
|
13
|
+
### Bug Fixes
|
14
|
+
|
15
|
+
* RUBYGEMS_API_KEY ([#21](https://github.com/test-kitchen/workflow-testing-gem/issues/21)) ([ee56fb7](https://github.com/test-kitchen/workflow-testing-gem/commit/ee56fb7c40863b62cda495ee8a6aa99f1a827add))
|
16
|
+
|
17
|
+
## [1.0.6](https://github.com/test-kitchen/workflow-testing-gem/compare/v1.0.5...v1.0.6) (2023-11-23)
|
18
|
+
|
19
|
+
|
20
|
+
### Bug Fixes
|
21
|
+
|
22
|
+
* yolo yoyo ([#19](https://github.com/test-kitchen/workflow-testing-gem/issues/19)) ([232e6c5](https://github.com/test-kitchen/workflow-testing-gem/commit/232e6c5641e3ae472945b8eafbcd42f6fdf0731c))
|
23
|
+
|
24
|
+
## [1.0.5](https://github.com/test-kitchen/workflow-testing-gem/compare/v1.0.4...v1.0.5) (2023-11-23)
|
25
|
+
|
26
|
+
|
27
|
+
### Bug Fixes
|
28
|
+
|
29
|
+
* yoyo ([#17](https://github.com/test-kitchen/workflow-testing-gem/issues/17)) ([40e710c](https://github.com/test-kitchen/workflow-testing-gem/commit/40e710c1ed528266f703aad966e61c76eddd3683))
|
30
|
+
|
31
|
+
## [1.0.4](https://github.com/test-kitchen/workflow-testing-gem/compare/v1.0.3...v1.0.4) (2023-11-23)
|
32
|
+
|
33
|
+
|
34
|
+
### Bug Fixes
|
35
|
+
|
36
|
+
* README ([#15](https://github.com/test-kitchen/workflow-testing-gem/issues/15)) ([ef77c7d](https://github.com/test-kitchen/workflow-testing-gem/commit/ef77c7dc0da7ae5f4a2bc429b8586368e8c2f21d))
|
37
|
+
* target ruby version ([508d77b](https://github.com/test-kitchen/workflow-testing-gem/commit/508d77bf47d433ff38a3aff3765a92b94c651631))
|
38
|
+
|
39
|
+
## [1.0.3](https://github.com/test-kitchen/workflow-testing-gem/compare/v1.0.2...v1.0.3) (2023-11-23)
|
40
|
+
|
41
|
+
|
42
|
+
### Bug Fixes
|
43
|
+
|
44
|
+
* Change release-please to trigger release ([#13](https://github.com/test-kitchen/workflow-testing-gem/issues/13)) ([f5aa5f9](https://github.com/test-kitchen/workflow-testing-gem/commit/f5aa5f9ae271c5d96c98b988c8251fdb029aa344))
|
45
|
+
|
46
|
+
## [1.0.2](https://github.com/test-kitchen/workflow-testing-gem/compare/v1.0.1...v1.0.2) (2023-11-22)
|
47
|
+
|
48
|
+
|
49
|
+
### Bug Fixes
|
50
|
+
|
51
|
+
* Remove incorrect input from RubyGems publish ([#11](https://github.com/test-kitchen/workflow-testing-gem/issues/11)) ([2790737](https://github.com/test-kitchen/workflow-testing-gem/commit/2790737dc5dceb1e3d50ba05a85b70bf0b6e922a))
|
52
|
+
|
53
|
+
## [1.0.1](https://github.com/test-kitchen/workflow-testing-gem/compare/v1.0.0...v1.0.1) (2023-11-22)
|
54
|
+
|
55
|
+
|
56
|
+
### Bug Fixes
|
57
|
+
|
58
|
+
* Update workflows ([#9](https://github.com/test-kitchen/workflow-testing-gem/issues/9)) ([6469db9](https://github.com/test-kitchen/workflow-testing-gem/commit/6469db938bfcd29f0b61aaa23c0cd435b63c7111))
|
59
|
+
|
60
|
+
## 1.0.0 (2023-11-21)
|
61
|
+
|
62
|
+
|
63
|
+
### Bug Fixes
|
64
|
+
|
65
|
+
* Add initial files for testing GitHub Actions ([#2](https://github.com/test-kitchen/workflow-testing-gem/issues/2)) ([5c4d6a2](https://github.com/test-kitchen/workflow-testing-gem/commit/5c4d6a2402f24cdf37839e19530fbaec0779d582))
|
66
|
+
* branch target from master to main ([#5](https://github.com/test-kitchen/workflow-testing-gem/issues/5)) ([3d59b01](https://github.com/test-kitchen/workflow-testing-gem/commit/3d59b016654ab1b345991dbd22f723a31c8bdb7d))
|
67
|
+
* Update TOKEN ([#7](https://github.com/test-kitchen/workflow-testing-gem/issues/7)) ([630560b](https://github.com/test-kitchen/workflow-testing-gem/commit/630560b51e0995b141f88fbf7f78d3914cf8fb0e))
|
data/Gemfile
CHANGED
data/README.md
CHANGED
data/Rakefile
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
require "rspec/core/rake_task"
|
3
|
+
|
4
|
+
begin
|
5
|
+
require "chefstyle"
|
6
|
+
require "rubocop/rake_task"
|
7
|
+
RuboCop::RakeTask.new(:style) do |task|
|
8
|
+
task.options += ["--display-cop-names", "--no-color"]
|
9
|
+
end
|
10
|
+
rescue LoadError
|
11
|
+
puts "chefstyle is not available. (sudo) gem install chefstyle to do style checking."
|
12
|
+
end
|
13
|
+
|
14
|
+
RSpec::Core::RakeTask.new(:test)
|
15
|
+
|
16
|
+
task default: %i{test style}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"packages": {
|
3
|
+
".": {
|
4
|
+
"package-name": "workflow-testing-gem",
|
5
|
+
"changelog-path": "CHANGELOG.md",
|
6
|
+
"release-type": "ruby",
|
7
|
+
"include-component-in-tag": false,
|
8
|
+
"version-file": "lib/kitchen/driver/version.rb"
|
9
|
+
}
|
10
|
+
},
|
11
|
+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
|
12
|
+
}
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
#
|
2
|
+
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
3
|
+
# Copyright:: Copyright (c) 2015 Chef Software, Inc.
|
4
|
+
# License:: Apache License, Version 2.0
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
@@ -0,0 +1,31 @@
|
|
1
|
+
#
|
2
|
+
# Authors:: Chef Partner Engineering (<partnereng@chef.io>)
|
3
|
+
# Copyright:: Copyright (c) 2015 Chef Software, Inc.
|
4
|
+
# License:: Apache License, Version 2.0
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
|
18
|
+
require "spec_helper"
|
19
|
+
require "kitchen/driver/version"
|
20
|
+
|
21
|
+
describe Kitchen::Driver::WORKFLOW_TESTING_VERSION do
|
22
|
+
it "exists" do
|
23
|
+
expect(defined?(Kitchen::Driver::WORKFLOW_TESTING_VERSION)).to be_truthy
|
24
|
+
end
|
25
|
+
|
26
|
+
it "compares versions correctly" do
|
27
|
+
version_1 = Kitchen::Driver::WORKFLOW_TESTING_VERSION
|
28
|
+
version_2 = Kitchen::Driver::WORKFLOW_TESTING_VERSION
|
29
|
+
expect(version_1).to eq(version_2)
|
30
|
+
end
|
31
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workflow-testing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Webb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A stub gem to test workflows
|
14
14
|
email:
|
@@ -17,17 +17,22 @@ executables: []
|
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
|
-
- ".github/workflows/
|
20
|
+
- ".github/workflows/lint.yaml"
|
21
21
|
- ".github/workflows/publish.yaml"
|
22
22
|
- ".gitignore"
|
23
23
|
- ".markdownlint.yaml"
|
24
|
+
- ".release-please-manifest.json"
|
24
25
|
- ".rubocop.yaml"
|
26
|
+
- CHANGELOG.md
|
25
27
|
- Gemfile
|
26
|
-
- Gemfile.lock
|
27
28
|
- LICENSE
|
28
29
|
- README.md
|
30
|
+
- Rakefile
|
29
31
|
- lib/kitchen/driver/version.rb
|
32
|
+
- release-please-config.json
|
30
33
|
- renovate.json
|
34
|
+
- spec/spec_helper.rb
|
35
|
+
- spec/version_spec.rb
|
31
36
|
- workflow-testing.gemspec
|
32
37
|
homepage: https://github.com/test-kitchen/workflow-testing-gem
|
33
38
|
licenses:
|
data/.github/workflows/ci.yaml
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Lint & Unit
|
3
|
-
|
4
|
-
"on":
|
5
|
-
pull_request:
|
6
|
-
|
7
|
-
jobs:
|
8
|
-
yamllint:
|
9
|
-
runs-on: ubuntu-latest
|
10
|
-
steps:
|
11
|
-
- name: Check out code
|
12
|
-
uses: actions/checkout@v4
|
13
|
-
- name: Run yaml Lint
|
14
|
-
uses: actionshub/yamllint@main
|
15
|
-
|
16
|
-
chefstyle:
|
17
|
-
runs-on: ubuntu-latest
|
18
|
-
continue-on-error: true
|
19
|
-
strategy:
|
20
|
-
matrix:
|
21
|
-
ruby: ["3.1"]
|
22
|
-
name: Chefstyle on Ruby ${{ matrix.ruby }}
|
23
|
-
steps:
|
24
|
-
- uses: actions/checkout@v4
|
25
|
-
- uses: ruby/setup-ruby@v1
|
26
|
-
with:
|
27
|
-
ruby-version: ${{ matrix.ruby }}
|
28
|
-
bundler-cache: true
|
29
|
-
- uses: r7kamura/rubocop-problem-matchers-action@v1
|
30
|
-
- run: bundle exec chefstyle
|
data/Gemfile.lock
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
workflow-testing (0.0.1)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
ast (2.4.2)
|
10
|
-
chefstyle (2.2.2)
|
11
|
-
rubocop (= 1.25.1)
|
12
|
-
parallel (1.23.0)
|
13
|
-
parser (3.2.2.4)
|
14
|
-
ast (~> 2.4.1)
|
15
|
-
racc
|
16
|
-
racc (1.7.3)
|
17
|
-
rainbow (3.1.1)
|
18
|
-
regexp_parser (2.8.2)
|
19
|
-
rexml (3.2.6)
|
20
|
-
rubocop (1.25.1)
|
21
|
-
parallel (~> 1.10)
|
22
|
-
parser (>= 3.1.0.0)
|
23
|
-
rainbow (>= 2.2.2, < 4.0)
|
24
|
-
regexp_parser (>= 1.8, < 3.0)
|
25
|
-
rexml
|
26
|
-
rubocop-ast (>= 1.15.1, < 2.0)
|
27
|
-
ruby-progressbar (~> 1.7)
|
28
|
-
unicode-display_width (>= 1.4.0, < 3.0)
|
29
|
-
rubocop-ast (1.30.0)
|
30
|
-
parser (>= 3.2.1.0)
|
31
|
-
ruby-progressbar (1.13.0)
|
32
|
-
unicode-display_width (2.5.0)
|
33
|
-
|
34
|
-
PLATFORMS
|
35
|
-
arm64-darwin-22
|
36
|
-
x86_64-linux
|
37
|
-
|
38
|
-
DEPENDENCIES
|
39
|
-
chefstyle (= 2.2.2)
|
40
|
-
workflow-testing!
|
41
|
-
|
42
|
-
BUNDLED WITH
|
43
|
-
2.4.10
|