Skip to content

Commit

Permalink
Ignore vendor folder
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Webb <dan.webb@damacus.io>
  • Loading branch information
damacus committed Nov 30, 2023
1 parent 7d1870c commit 37835a8
Show file tree
Hide file tree
Showing 11 changed files with 57 additions and 23 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: release-please

"on":
push:
branches: [main]

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: ruby
package-name: busser-bats
version-file: lib/busser/bats/version.rb
token: ${{ secrets.PORTER_GITHUB_TOKEN }}

- name: Checkout
uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}

- name: Build and publish to GitHub Package
uses: actionshub/publish-gem-to-github@main
if: ${{ steps.release.outputs.release_created }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
owner: ${{ secrets.OWNER }}

- name: Build and publish to RubyGems
uses: actionshub/publish-gem-to-rubygems@main
if: ${{ steps.release.outputs.release_created }}
with:
token: ${{ secrets.RUBYGEMS_API_KEY }}
7 changes: 7 additions & 0 deletions .markdownlint-cli2.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"fix": false,
"globs": ["**/*.md", "!vendor"],
// "ignores": ["ignore*.md"],
"noProgress": false,
"showFound": true
}
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# busser-bats Changelog

## 0.3.0 / 2014-10-14

### New features
Expand All @@ -22,4 +24,4 @@
* Initial release

<!--- The following link definition list is generated by PimpMyChangelog --->
[@fnichol]: https://github.com/fnichol
[@fnichol]: https://github.com/fnichol
12 changes: 4 additions & 8 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,12 @@ end
group :development do
gem "aruba"
gem "countloc"
# gem "rake"
gem "simplecov"

# style and complexity libraries are tightly version pinned as newer releases
# may introduce new and undesireable style choices which would be immediately
# enforced in CI
gem "finstyle", "1.2.0"
# gem "finstyle", "1.2.0"
gem "cane", "2.6.2"
end

# group :chefstyle do
# gem "chefstyle", "2.2.3"
# end
group :chefstyle do
gem "chefstyle", "2.2.3"
end
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <a name="title"></a> Busser::RunnerPlugin::Bats
# Busser::RunnerPlugin::Bats

[![Gem Version](https://badge.fury.io/rb/busser-bats.png)](http://badge.fury.io/rb/busser-bats)
[![Build Status](https://travis-ci.org/test-kitchen/busser-bats.png?branch=master)](https://travis-ci.org/test-kitchen/busser-bats)
Expand All @@ -10,15 +10,15 @@ A Busser runner plugin for [Bats][bats_site]

This software project is no longer under active development as it has no active maintainers. The software may continue to work for some or all use cases, but issues filed in GitHub will most likely not be triaged. If a new maintainer is interested in working on this project please come chat with us in #test-kitchen on Chef Community Slack.

## <a name="installation"></a> Installation and Setup
## Installation and Setup

Until proper reference documentation is complete, the [Writing a Test](http://kitchen.ci/docs/getting-started/writing-test) section of the Test Kitchen's [Getting Started Guide](http://kitchen.ci/docs/getting-started/) gives a working example of creating a bats test.

## <a name="usage"></a> Usage
## Usage

**TODO:** Write documentation explaining the structure/format of testing files.

## <a name="development"></a> Development
## Development

* Source hosted at [GitHub][repo]
* Report issues/questions/feature requests on [GitHub Issues][issues]
Expand All @@ -33,11 +33,11 @@ example:
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

## <a name="authors"></a> Authors
## Authors

Created and maintained by [Fletcher Nichol][author] (<fnichol@nichol.ca>)

## <a name="license"></a> License
## License

Apache 2.0 (see [LICENSE][license])

Expand All @@ -48,6 +48,5 @@ Apache 2.0 (see [LICENSE][license])
[issues]: https://github.com/fnichol/busser-bats/issues
[license]: https://github.com/fnichol/busser-bats/blob/master/LICENSE
[repo]: https://github.com/fnichol/busser-bats
[plugin_usage]: http://docs.kitchen-ci.org/busser/plugin-usage

[bats_site]: https://github.com/sstephenson/bats
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 1 addition & 5 deletions lib/busser/bats/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<fnichol@nichol.ca>)
#
Expand All @@ -17,10 +16,7 @@
# limitations under the License.

module Busser

module Bats

# Version string for the Bats Busser runner plugin
VERSION = "0.3.1.dev"
VERSION = "0.3.1.dev".freeze
end
end
3 changes: 1 addition & 2 deletions lib/busser/runner_plugin/bats.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<fnichol@nichol.ca>)
#
Expand All @@ -16,7 +15,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

require "pathname"
require "pathname" unless defined?(Pathname)

require "busser/runner_plugin"

Expand Down

0 comments on commit 37835a8

Please sign in to comment.