workflow-testing 1.0.7 → 1.0.8

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: 59f69111c5ac199f29c338c0575d95684404c1de3b20c7965d4c32c9110ea2dd
4
- data.tar.gz: 743f8da5b06640db1792a5cb302e4d4ef25c84966cd920cb901d90266862ad1f
3
+ metadata.gz: bb3be77b0e289fb20cfbff0d77e12c4fe5e2ad425c4ea2ffff3f3ab9f7a58a32
4
+ data.tar.gz: 529518e80e30bc9f195e8fa7b827853c32893f37659fc1083ccb768a32f14a22
5
5
  SHA512:
6
- metadata.gz: b2d9a870bf0d08b3d328a8559f279424360bc1788584413aa307260dd669dc92dfb8caae64c56ba4540c130206bf8a6002988c29e510dda824e39e1abbd1b57d
7
- data.tar.gz: a9bb30a5a9962d2a96f6164705bf3c95f16f4cdd5c8b79e73a038dd31d899c0802375b93d1c84e00e8a45786d10bdcdff1c68aac549b5e5aebcf026ca3f27d24
6
+ metadata.gz: e3abd9a714b5969dd597007c533fe38f169d809e80e06f5544af56838313b45189e793db6b10d0ea2bab628bfd00cafa36c32c680bf8699b414c0f2a5a669224
7
+ data.tar.gz: 6b6fcb78901e650a0296050c96af0f56c59d05223e6dc7ec71abc8b27e04aded768d6742ca83a8f74989cfddd8cb23cd1aed5188c82effce5e0cc704ca8f92ef
@@ -0,0 +1,9 @@
1
+ ---
2
+ name: Lint & Unit
3
+
4
+ "on":
5
+ pull_request:
6
+
7
+ jobs:
8
+ lint-unit:
9
+ uses: test-kitchen/.github/.github/workflows/lint-unit.yml@main
@@ -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@v3.7.13
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
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "1.0.8"
3
+ }
data/.rubocop.yaml CHANGED
@@ -2,7 +2,6 @@
2
2
  require: [chefstyle]
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 3.2
6
5
  Include:
7
6
  - "**/*.rb"
8
7
  Exclude:
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
@@ -4,6 +4,12 @@ source "https://rubygems.org"
4
4
 
5
5
  gemspec
6
6
 
7
+ group :test do
8
+ gem "bundler"
9
+ gem "rake"
10
+ gem "rspec", ">= 3.2"
11
+ end
12
+
7
13
  group :chefstyle do
8
- gem "chefstyle", "2.2.3"
14
+ gem "chefstyle", ">= 2.2.3"
9
15
  end
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}
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Kitchen
4
4
  module Driver
5
- WORKFLOW_TESTING_VERSION = "1.0.7"
5
+ WORKFLOW_TESTING_VERSION = "1.0.8"
6
6
  end
7
7
  end
@@ -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
+ }
@@ -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.7
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: 2023-11-23 00:00:00.000000000 Z
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/ci.yaml"
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:
@@ -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