busser-bats 0.4.0 → 0.6.0
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/ci.yml +32 -0
- data/.github/workflows/pr-title.yml +28 -0
- data/.github/workflows/publish.yml +45 -0
- data/.release-please-manifest.json +3 -0
- data/.rubocop.yml +2 -4
- data/.tool-versions +1 -1
- data/.yamllint +6 -0
- data/CHANGELOG.md +20 -1
- data/Gemfile +5 -14
- data/README.md +2 -4
- data/Rakefile +9 -23
- data/busser-bats.gemspec +24 -17
- data/features/plugin_install_command.feature +14 -0
- data/features/plugin_list_command.feature +8 -0
- data/features/support/env.rb +21 -0
- data/features/test_command.feature +44 -0
- data/lib/busser/bats/version.rb +1 -1
- data/release-please-config.json +15 -0
- data/renovate.json +2 -2
- metadata +23 -12
- data/.github/dependabot.yml +0 -8
- data/.github/workflows/lint.yaml +0 -9
- data/.github/workflows/publish.yaml +0 -35
- data/Guardfile +0 -26
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b09420f04af698ba3b08210baee66053b30fb8ca42be2a96c2d6d0fa0b0af957
|
|
4
|
+
data.tar.gz: a997d8bec61c2d19360bc02474299d05145d0cabcc6719ddb51fb15b6e22751b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3ec7470327ddb5a43d1901b04ada64ff762c3a818e03fed8bf2d51dd539114c5311d8e3e72e3a94b967929daba61aca7251f49fbca0fbd041ff7d52b0a4ec18c
|
|
7
|
+
data.tar.gz: f803cb57196ba7cb19c386d080ef54cae9573227c8c34f834f1d1d6b2bfd9a8ff8754db592a4be907b24a83a5f36ab14ef309f7bc76bfe285731cd35e2ff932b
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "Test"
|
|
3
|
+
|
|
4
|
+
"on":
|
|
5
|
+
push:
|
|
6
|
+
branches: [main]
|
|
7
|
+
pull_request:
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
|
|
10
|
+
# The default token is granted write access to most of the repository.
|
|
11
|
+
# Nothing here needs more than the checkout.
|
|
12
|
+
permissions:
|
|
13
|
+
contents: read
|
|
14
|
+
|
|
15
|
+
# Supersede in-flight runs for a branch. Pull requests cancel freely, but
|
|
16
|
+
# pushes to main do not: every commit on main should keep a build of its own.
|
|
17
|
+
concurrency:
|
|
18
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
19
|
+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
20
|
+
|
|
21
|
+
jobs:
|
|
22
|
+
lint-unit:
|
|
23
|
+
# Pinned to a commit rather than @main so an upstream edit cannot reach
|
|
24
|
+
# this repository's CI without a reviewed pull request. The trailing
|
|
25
|
+
# comment names the release the commit belongs to, which is what lets
|
|
26
|
+
# Renovate track the pin by version and keep both in step.
|
|
27
|
+
uses: test-kitchen/.github/.github/workflows/lint-unit.yml@95ef7803cf23aae5ee68593de5b7e0a731c1a929 # v0.4.0
|
|
28
|
+
with:
|
|
29
|
+
# This gem requires Ruby 3.2, and so do busser 0.9 and cucumber 11.
|
|
30
|
+
# Without this the shared workflow would still start a Ruby 3.1 job and
|
|
31
|
+
# bundler would refuse to resolve there.
|
|
32
|
+
ruby_versions: '["3.2", "3.3", "3.4", "4.0"]'
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "PR Title"
|
|
3
|
+
|
|
4
|
+
"on":
|
|
5
|
+
pull_request_target:
|
|
6
|
+
types: [opened, edited, reopened, synchronize]
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
conventional-title:
|
|
13
|
+
name: "Conventional commit title"
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
permissions:
|
|
16
|
+
pull-requests: read
|
|
17
|
+
steps:
|
|
18
|
+
# Pull requests here are squash merged, so the pull request title becomes
|
|
19
|
+
# the commit subject on main. That makes the title the one place worth
|
|
20
|
+
# checking: release-please reads those subjects to decide the next
|
|
21
|
+
# version and to build the changelog.
|
|
22
|
+
#
|
|
23
|
+
# pull_request_target is used so the check also runs for pull requests
|
|
24
|
+
# from forks. No repository code is checked out in this job, so none of
|
|
25
|
+
# the usual pull_request_target risk applies.
|
|
26
|
+
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
|
|
27
|
+
env:
|
|
28
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "Release"
|
|
3
|
+
|
|
4
|
+
"on":
|
|
5
|
+
push:
|
|
6
|
+
branches: [main]
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
release-please:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
permissions:
|
|
15
|
+
contents: write # tag the release and commit the version bump
|
|
16
|
+
pull-requests: write # open and update the release pull request
|
|
17
|
+
packages: write # push the gem to GitHub Packages
|
|
18
|
+
steps:
|
|
19
|
+
# Opens and maintains a release pull request. Merging that pull request
|
|
20
|
+
# is what actually cuts a release, so every step below is skipped until
|
|
21
|
+
# release_created is set.
|
|
22
|
+
- uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
|
|
23
|
+
id: release
|
|
24
|
+
with:
|
|
25
|
+
token: ${{ secrets.PORTER_GITHUB_TOKEN }}
|
|
26
|
+
|
|
27
|
+
- name: Checkout code
|
|
28
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
29
|
+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
30
|
+
|
|
31
|
+
# These two steps are handed publishing credentials, so they are pinned
|
|
32
|
+
# to a commit rather than a branch. A floating ref would let whoever
|
|
33
|
+
# controls that branch run code with a token that can push this gem.
|
|
34
|
+
- name: Publish to GitHub Packages
|
|
35
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
36
|
+
uses: actionshub/publish-gem-to-github@86eb0ce1ced1072298bf68776a32a5c9703ad9aa # v1.0.13
|
|
37
|
+
with:
|
|
38
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
39
|
+
owner: ${{ github.repository_owner }}
|
|
40
|
+
|
|
41
|
+
- name: Publish to RubyGems
|
|
42
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
43
|
+
uses: actionshub/publish-gem-to-rubygems@f9126f7a2d36a4fd31a13e78fde5fbdcc4b7b251 # v2.0.6
|
|
44
|
+
with:
|
|
45
|
+
token: ${{ secrets.RUBYGEMS_API_KEY }}
|
data/.rubocop.yml
CHANGED
data/.tool-versions
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ruby
|
|
1
|
+
ruby 3.3.3
|
data/.yamllint
ADDED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# busser-bats Changelog
|
|
2
2
|
|
|
3
|
+
## [0.6.0](https://github.com/test-kitchen/busser-bats/compare/v0.5.0...v0.6.0) (2026-08-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* Ruby 3.1 and busser releases older than 0.9.0 are no longer supported.
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* require Ruby 3.2 and busser 0.9, adopt release-please ([#44](https://github.com/test-kitchen/busser-bats/issues/44)) ([3aa285e](https://github.com/test-kitchen/busser-bats/commit/3aa285e63f0b2f0b79666525022308eb14eee1c3))
|
|
13
|
+
|
|
14
|
+
## [0.5.0](https://github.com/test-kitchen/busser-bats/compare/v0.4.0...v0.5.0) (2023-11-30)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* Bump Ruby version to 3.1 ([#30](https://github.com/test-kitchen/busser-bats/issues/30)) ([948f626](https://github.com/test-kitchen/busser-bats/commit/948f6265ca4a5aa187bf7e76f93dd275b1568b0d))
|
|
20
|
+
* Remove cane ([#32](https://github.com/test-kitchen/busser-bats/issues/32)) ([1bf1bda](https://github.com/test-kitchen/busser-bats/commit/1bf1bda3235445455cec19ee47af3cf3dda667b0))
|
|
21
|
+
|
|
3
22
|
## [0.4.0](https://github.com/test-kitchen/busser-bats/compare/v0.3.0...v0.4.0) (2023-11-30)
|
|
4
23
|
|
|
5
24
|
|
|
@@ -20,7 +39,7 @@
|
|
|
20
39
|
|
|
21
40
|
* Upgrade vendored bats version to 0.4.0. ([@fnichol][])
|
|
22
41
|
|
|
23
|
-
###
|
|
42
|
+
### Improvements
|
|
24
43
|
|
|
25
44
|
* Update testing dependencies, upgrade to RSpec 3.x, freshen TravisCI build matrix, add style and complexity support. ([@fnichol][])
|
|
26
45
|
* Allow Aruba tests to wait 20 seconds (vs. 10). ([@fnichol][])
|
data/Gemfile
CHANGED
|
@@ -2,26 +2,17 @@ source "https://rubygems.org"
|
|
|
2
2
|
|
|
3
3
|
gemspec
|
|
4
4
|
|
|
5
|
-
group :
|
|
6
|
-
gem "
|
|
7
|
-
gem "guard-cane"
|
|
8
|
-
gem "guard-rubocop"
|
|
5
|
+
group :cookstyle do
|
|
6
|
+
gem "cookstyle", ">= 9.0.0"
|
|
9
7
|
end
|
|
10
8
|
|
|
11
9
|
group :test do
|
|
10
|
+
gem "aruba", ">= 2.0"
|
|
11
|
+
gem "base64" # cucumber needs it; not a default gem on Ruby 4.0
|
|
12
|
+
gem "cucumber", ">= 11.1"
|
|
12
13
|
gem "rake", ">= 11.0"
|
|
13
|
-
gem "rspec", "~> 3.2"
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
group :development do
|
|
17
|
-
gem "aruba"
|
|
18
|
-
gem "countloc"
|
|
19
17
|
gem "simplecov"
|
|
20
|
-
|
|
21
|
-
# gem "finstyle", "1.2.0"
|
|
22
|
-
gem "cane", "2.6.2"
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
group :chefstyle do
|
|
26
|
-
gem "chefstyle", "2.2.3"
|
|
27
18
|
end
|
data/README.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# Busser::RunnerPlugin::Bats
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.org/test-kitchen/busser-bats)
|
|
5
|
-
[](https://codeclimate.com/github/test-kitchen/busser-bats)
|
|
3
|
+
[](http://badge.fury.io/rb/busser-bats)
|
|
6
4
|
|
|
7
5
|
A Busser runner plugin for [Bats][bats_site]
|
|
8
6
|
|
|
@@ -12,7 +10,7 @@ This software project is no longer under active development as it has no active
|
|
|
12
10
|
|
|
13
11
|
## Installation and Setup
|
|
14
12
|
|
|
15
|
-
Until proper reference documentation is complete, the [Writing a Test](
|
|
13
|
+
Until proper reference documentation is complete, the [Writing a Test](https://kitchen.ci/docs/writing-test) section of the Test Kitchen's [Getting Started Guide](https://kitchen.ci/docs/) gives a working example of creating a bats test.
|
|
16
14
|
|
|
17
15
|
## Usage
|
|
18
16
|
|
data/Rakefile
CHANGED
|
@@ -2,27 +2,24 @@ require "bundler/gem_tasks"
|
|
|
2
2
|
require "open-uri"
|
|
3
3
|
|
|
4
4
|
namespace :bats do
|
|
5
|
-
|
|
6
5
|
version = ENV.fetch("BATS_VERSION", "v0.4.0")
|
|
7
6
|
url = "https://github.com/sstephenson/bats/archive/#{version}.tar.gz"
|
|
8
7
|
tarball = "tmp/bats-#{version}.tar.gz"
|
|
9
8
|
vendor = "vendor/bats"
|
|
10
9
|
|
|
11
10
|
desc "Vendors bats #{version} source code into gem codebase"
|
|
12
|
-
task :
|
|
11
|
+
task vendor: "#{vendor}/VERSION.txt"
|
|
13
12
|
|
|
14
13
|
directory File.dirname(tarball)
|
|
15
14
|
directory vendor
|
|
16
15
|
|
|
17
16
|
file tarball => File.dirname(tarball) do |t|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
dst.close
|
|
25
|
-
end
|
|
17
|
+
src = open(url).binmode
|
|
18
|
+
dst = open(t.name, "wb")
|
|
19
|
+
IO.copy_stream(src, dst)
|
|
20
|
+
ensure
|
|
21
|
+
src.close
|
|
22
|
+
dst.close
|
|
26
23
|
end
|
|
27
24
|
|
|
28
25
|
file "#{vendor}/VERSION.txt" => [vendor, tarball] do |t|
|
|
@@ -44,17 +41,6 @@ Cucumber::Rake::Task.new(:features) do |t|
|
|
|
44
41
|
end
|
|
45
42
|
|
|
46
43
|
desc "Run all test suites"
|
|
47
|
-
task :
|
|
48
|
-
|
|
49
|
-
desc "Display LOC stats"
|
|
50
|
-
task :stats do
|
|
51
|
-
puts "\n## Production Code Stats"
|
|
52
|
-
sh "countloc -r lib"
|
|
53
|
-
puts "\n## Test Code Stats"
|
|
54
|
-
sh "countloc -r features"
|
|
55
|
-
end
|
|
56
|
-
|
|
57
|
-
desc "Run all quality tasks"
|
|
58
|
-
# task :quality => [:cane, :style, :stats]
|
|
44
|
+
task test: [:features]
|
|
59
45
|
|
|
60
|
-
task :
|
|
46
|
+
task default: %i{test}
|
data/busser-bats.gemspec
CHANGED
|
@@ -1,23 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
lib = File.expand_path("../lib", __FILE__)
|
|
1
|
+
lib = File.expand_path("lib", __dir__)
|
|
3
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
3
|
require "busser/bats/version"
|
|
5
|
-
require "English"
|
|
6
4
|
|
|
7
|
-
Gem::Specification.new do |
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
5
|
+
Gem::Specification.new do |spec|
|
|
6
|
+
spec.name = "busser-bats"
|
|
7
|
+
spec.version = Busser::Bats::VERSION
|
|
8
|
+
spec.authors = ["Fletcher Nichol"]
|
|
9
|
+
spec.email = ["fnichol@nichol.ca"]
|
|
10
|
+
spec.description = "A Busser runner plugin for Bats"
|
|
11
|
+
spec.summary = spec.description
|
|
12
|
+
spec.homepage = "https://github.com/test-kitchen/busser-bats"
|
|
13
|
+
spec.license = "Apache-2.0"
|
|
16
14
|
|
|
17
|
-
|
|
18
|
-
gem.executables = []
|
|
19
|
-
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
20
|
-
gem.require_paths = ["lib"]
|
|
15
|
+
spec.required_ruby_version = ">= 3.2"
|
|
21
16
|
|
|
22
|
-
|
|
17
|
+
spec.files = `git ls-files -z`.split("\x0")
|
|
18
|
+
spec.executables = []
|
|
19
|
+
spec.require_paths = ["lib"]
|
|
20
|
+
|
|
21
|
+
spec.metadata = {
|
|
22
|
+
"bug_tracker_uri" => "#{spec.homepage}/issues",
|
|
23
|
+
"changelog_uri" => "#{spec.homepage}/blob/main/CHANGELOG.md",
|
|
24
|
+
"documentation_uri" => "#{spec.homepage}/blob/main/README.md",
|
|
25
|
+
"homepage_uri" => spec.homepage,
|
|
26
|
+
"source_code_uri" => spec.homepage,
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
spec.add_dependency "busser", ">= 0.9.0"
|
|
23
30
|
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Feature: Plugin install command
|
|
2
|
+
In order to use this plugin
|
|
3
|
+
As a user of Busser
|
|
4
|
+
I want to run the postinstall for this plugin
|
|
5
|
+
|
|
6
|
+
Background:
|
|
7
|
+
Given a test BUSSER_ROOT directory named "busser-bats-install"
|
|
8
|
+
|
|
9
|
+
Scenario: Running the postinstall generator
|
|
10
|
+
When I run `busser plugin install busser-bats --force-postinstall`
|
|
11
|
+
# Then the vendor directory named "bats" should exist
|
|
12
|
+
# Then the vendor file "bats/bin/bats" should contain "BATS_PREFIX="
|
|
13
|
+
And the output should contain "Installed Bats"
|
|
14
|
+
And the exit status should be 0
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Feature: Plugin list command
|
|
2
|
+
In order to use this plugin
|
|
3
|
+
As a user of Busser
|
|
4
|
+
I want to see this plugin in the 'busser plugin list' command
|
|
5
|
+
|
|
6
|
+
Scenario: Plugin appears in plugin list command
|
|
7
|
+
When I successfully run `busser plugin list`
|
|
8
|
+
Then the output should match /^bats\b/
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
require "aruba/cucumber"
|
|
2
|
+
require "busser/cucumber"
|
|
3
|
+
|
|
4
|
+
if ENV["COVERAGE"]
|
|
5
|
+
require "simplecov"
|
|
6
|
+
SimpleCov.command_name "features"
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
# aruba 2 dropped @aruba_timeout_seconds; setting it in a Before hook is a
|
|
10
|
+
# no-op, which quietly left these commands on aruba's 15 second default.
|
|
11
|
+
# Installing a plugin and its gems into a cold sandbox does not always fit.
|
|
12
|
+
Aruba.configure do |config|
|
|
13
|
+
config.exit_timeout = 60
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
After do |s|
|
|
17
|
+
# Tell Cucumber to quit after this scenario is done - if it failed.
|
|
18
|
+
# This is useful to inspect the 'tmp/aruba' directory before any other
|
|
19
|
+
# steps are executed and clear it out.
|
|
20
|
+
Cucumber.wants_to_quit = true if s.failed?
|
|
21
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
Feature: Test command
|
|
2
|
+
In order to run tests written with bats
|
|
3
|
+
As a user of Busser
|
|
4
|
+
I want my tests to run when the bats runner plugin is installed
|
|
5
|
+
|
|
6
|
+
Background:
|
|
7
|
+
Given a test BUSSER_ROOT directory named "busser-bats-test"
|
|
8
|
+
When I successfully run `busser plugin install busser-bats --force-postinstall`
|
|
9
|
+
Given a suite directory named "bats"
|
|
10
|
+
|
|
11
|
+
# Scenario: A passing test suite
|
|
12
|
+
# Given a file in suite "bats" named "default.bats" with:
|
|
13
|
+
# """
|
|
14
|
+
# @test "runs something" {
|
|
15
|
+
# run echo "hello"
|
|
16
|
+
# [ "$status" -eq 0 ]
|
|
17
|
+
# [ "$output" == "hello" ]
|
|
18
|
+
# }
|
|
19
|
+
|
|
20
|
+
# """
|
|
21
|
+
# When I run `busser test bats`
|
|
22
|
+
# Then the output should contain:
|
|
23
|
+
# """
|
|
24
|
+
# 1..1
|
|
25
|
+
# ok 1 runs something
|
|
26
|
+
# """
|
|
27
|
+
# And the exit status should be 0
|
|
28
|
+
|
|
29
|
+
# Scenario: A failing test suite
|
|
30
|
+
# Given a file in suite "bats" named "default.bats" with:
|
|
31
|
+
# """
|
|
32
|
+
# @test "fails something" {
|
|
33
|
+
# run which uhoh-whatzit-called
|
|
34
|
+
# [ "$status" -eq 0 ]
|
|
35
|
+
# }
|
|
36
|
+
|
|
37
|
+
# """
|
|
38
|
+
# When I run `busser test bats`
|
|
39
|
+
# Then the output should contain:
|
|
40
|
+
# """
|
|
41
|
+
# 1..1
|
|
42
|
+
# not ok 1 fails something
|
|
43
|
+
# """
|
|
44
|
+
# And the exit status should not be 0
|
data/lib/busser/bats/version.rb
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
|
|
3
|
+
"bootstrap-sha": "d68705e017a260ede830b50e5f66fd37d9f6e58a",
|
|
4
|
+
"packages": {
|
|
5
|
+
".": {
|
|
6
|
+
"package-name": "busser-bats",
|
|
7
|
+
"changelog-path": "CHANGELOG.md",
|
|
8
|
+
"release-type": "ruby",
|
|
9
|
+
"include-component-in-tag": false,
|
|
10
|
+
"version-file": "lib/busser/bats/version.rb",
|
|
11
|
+
"bump-minor-pre-major": true,
|
|
12
|
+
"bump-patch-for-minor-pre-major": true
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
data/renovate.json
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: busser-bats
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fletcher Nichol
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-08-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: busser
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 0.9.0
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
26
|
+
version: 0.9.0
|
|
27
27
|
description: A Busser runner plugin for Bats
|
|
28
28
|
email:
|
|
29
29
|
- fnichol@nichol.ca
|
|
@@ -31,17 +31,18 @@ executables: []
|
|
|
31
31
|
extensions: []
|
|
32
32
|
extra_rdoc_files: []
|
|
33
33
|
files:
|
|
34
|
-
- ".github/
|
|
35
|
-
- ".github/workflows/
|
|
36
|
-
- ".github/workflows/publish.
|
|
34
|
+
- ".github/workflows/ci.yml"
|
|
35
|
+
- ".github/workflows/pr-title.yml"
|
|
36
|
+
- ".github/workflows/publish.yml"
|
|
37
37
|
- ".gitignore"
|
|
38
38
|
- ".markdownlint-cli2.jsonc"
|
|
39
39
|
- ".markdownlint.yaml"
|
|
40
|
+
- ".release-please-manifest.json"
|
|
40
41
|
- ".rubocop.yml"
|
|
41
42
|
- ".tool-versions"
|
|
43
|
+
- ".yamllint"
|
|
42
44
|
- CHANGELOG.md
|
|
43
45
|
- Gemfile
|
|
44
|
-
- Guardfile
|
|
45
46
|
- LICENSE
|
|
46
47
|
- README.md
|
|
47
48
|
- Rakefile
|
|
@@ -51,8 +52,13 @@ files:
|
|
|
51
52
|
- config/features/plugin_list_command.feature
|
|
52
53
|
- config/features/support/env.rb
|
|
53
54
|
- config/features/test_command.feature
|
|
55
|
+
- features/plugin_install_command.feature
|
|
56
|
+
- features/plugin_list_command.feature
|
|
57
|
+
- features/support/env.rb
|
|
58
|
+
- features/test_command.feature
|
|
54
59
|
- lib/busser/bats/version.rb
|
|
55
60
|
- lib/busser/runner_plugin/bats.rb
|
|
61
|
+
- release-please-config.json
|
|
56
62
|
- renovate.json
|
|
57
63
|
- vendor/bats/.gitattributes
|
|
58
64
|
- vendor/bats/.travis.yml
|
|
@@ -75,8 +81,13 @@ files:
|
|
|
75
81
|
- vendor/bats/package.json
|
|
76
82
|
homepage: https://github.com/test-kitchen/busser-bats
|
|
77
83
|
licenses:
|
|
78
|
-
- Apache
|
|
79
|
-
metadata:
|
|
84
|
+
- Apache-2.0
|
|
85
|
+
metadata:
|
|
86
|
+
bug_tracker_uri: https://github.com/test-kitchen/busser-bats/issues
|
|
87
|
+
changelog_uri: https://github.com/test-kitchen/busser-bats/blob/main/CHANGELOG.md
|
|
88
|
+
documentation_uri: https://github.com/test-kitchen/busser-bats/blob/main/README.md
|
|
89
|
+
homepage_uri: https://github.com/test-kitchen/busser-bats
|
|
90
|
+
source_code_uri: https://github.com/test-kitchen/busser-bats
|
|
80
91
|
post_install_message:
|
|
81
92
|
rdoc_options: []
|
|
82
93
|
require_paths:
|
|
@@ -85,14 +96,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
85
96
|
requirements:
|
|
86
97
|
- - ">="
|
|
87
98
|
- !ruby/object:Gem::Version
|
|
88
|
-
version: '
|
|
99
|
+
version: '3.2'
|
|
89
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
101
|
requirements:
|
|
91
102
|
- - ">="
|
|
92
103
|
- !ruby/object:Gem::Version
|
|
93
104
|
version: '0'
|
|
94
105
|
requirements: []
|
|
95
|
-
rubygems_version: 3.
|
|
106
|
+
rubygems_version: 3.5.9
|
|
96
107
|
signing_key:
|
|
97
108
|
specification_version: 4
|
|
98
109
|
summary: A Busser runner plugin for Bats
|
data/.github/dependabot.yml
DELETED
data/.github/workflows/lint.yaml
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: release-please
|
|
3
|
-
|
|
4
|
-
"on":
|
|
5
|
-
push:
|
|
6
|
-
branches: [main]
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
release-please:
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
steps:
|
|
12
|
-
- uses: google-github-actions/release-please-action@v3
|
|
13
|
-
id: release
|
|
14
|
-
with:
|
|
15
|
-
release-type: ruby
|
|
16
|
-
package-name: busser-bats
|
|
17
|
-
version-file: lib/busser/bats/version.rb
|
|
18
|
-
token: ${{ secrets.PORTER_GITHUB_TOKEN }}
|
|
19
|
-
|
|
20
|
-
- name: Checkout
|
|
21
|
-
uses: actions/checkout@v4
|
|
22
|
-
if: ${{ steps.release.outputs.release_created }}
|
|
23
|
-
|
|
24
|
-
- name: Build and publish to GitHub Package
|
|
25
|
-
uses: actionshub/publish-gem-to-github@main
|
|
26
|
-
if: ${{ steps.release.outputs.release_created }}
|
|
27
|
-
with:
|
|
28
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
|
29
|
-
owner: ${{ secrets.OWNER }}
|
|
30
|
-
|
|
31
|
-
- name: Build and publish to RubyGems
|
|
32
|
-
uses: actionshub/publish-gem-to-rubygems@main
|
|
33
|
-
if: ${{ steps.release.outputs.release_created }}
|
|
34
|
-
with:
|
|
35
|
-
token: ${{ secrets.RUBYGEMS_API_KEY }}
|
data/Guardfile
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
|
2
|
-
ignore %r{^\.gem/}
|
|
3
|
-
|
|
4
|
-
def rubocop_opts
|
|
5
|
-
{ :all_on_start => false, :keep_failed => false, :cli => "-r finstyle -D" }
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
group :red_green_refactor, :halt_on_fail => true do
|
|
9
|
-
guard :cucumber do
|
|
10
|
-
watch(%r{^features/.+\.feature$})
|
|
11
|
-
watch(%r{^features/support/.+$}) { "features" }
|
|
12
|
-
watch(%r{^features/step_definitions/(.+)_steps\.rb$}) do |m|
|
|
13
|
-
Dir[File.join("**/#{m[1]}.feature")][0] || "features"
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
guard :rubocop, rubocop_opts do
|
|
18
|
-
watch(%r{.+\.rb$})
|
|
19
|
-
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
guard :cane do
|
|
23
|
-
watch(%r{.*\.rb})
|
|
24
|
-
watch(".cane")
|
|
25
|
-
end
|
|
26
|
-
end
|