workflow-testing 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/lint.yaml +9 -0
- data/.github/workflows/publish.yaml +1 -4
- data/.release-please-manifest.json +3 -0
- data/.rubocop.yaml +0 -1
- data/CHANGELOG.md +7 -0
- data/Gemfile +7 -1
- 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 +8 -3
- data/.github/workflows/ci.yaml +0 -30
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
|
data/.rubocop.yaml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
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
|
+
|
|
3
10
|
## [1.0.7](https://github.com/test-kitchen/workflow-testing-gem/compare/v1.0.6...v1.0.7) (2023-11-23)
|
|
4
11
|
|
|
5
12
|
|
data/Gemfile
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: 1.0.
|
|
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"
|
|
25
26
|
- CHANGELOG.md
|
|
26
27
|
- Gemfile
|
|
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
|