Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require Ruby 3.0 + release 2.0 version of this plugin #492

Merged
merged 1 commit into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
default: true
MD013: false
MD024: false
Expand Down
3 changes: 2 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
require:
- chefstyle

AllCops:
TargetRubyVersion: 3.1
TargetRubyVersion: 3.0
Include:
- "**/*.rb"
Exclude:
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Change Log

## [1.14.2](https://github.com/test-kitchen/kitchen-vagrant/compare/v1.14.1...v1.14.2) (2023-11-27)
## [2.0.0](https://github.com/test-kitchen/kitchen-vagrant/compare/v1.14.2...v2.0.0) (2024-02-14)

- Require Vagrant 2.4 or later
- Drop support for EOL Ruby 2.7 release
- Add a new `box_arch` configuration option for defining the architecture to use
- Eliminate the need for the vagrant-winrm plugin on Windows boxes

## [1.14.2](https://github.com/test-kitchen/kitchen-vagrant/compare/v1.14.1...v1.14.2) (2023-11-27)

### Bug Fixes

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Gem Version](https://badge.fury.io/rb/kitchen-vagrant.svg)](http://badge.fury.io/rb/kitchen-vagrant)
[![CI](https://github.com/test-kitchen/kitchen-vagrant/actions/workflows/lint.yml/badge.svg)](https://github.com/test-kitchen/kitchen-vagrant/actions/workflows/lint.yml)

A Test Kitchen Driver for Vagrant.
A Test Kitchen Driver for HashiCorp Vagrant.

This driver works by generating a single Vagrantfile for each instance in a
sandboxed directory. Since the Vagrantfile is written out on disk, Vagrant
Expand All @@ -14,11 +14,11 @@ required.

### Vagrant

A Vagrant version of 2.4 or later.
Vagrant version of 2.4 or later.

## Installation

The kitchen-vagrant driver ships as part of Chef Workstation. The easiest way to use this driver is to [Download Chef Workstation](https://www.chef.io/downloads/tools/workstation).
The kitchen-vagrant driver ships as part of Chef Workstation. The easiest way to use this driver is to use it with Chef Workstation.

If you want to install the driver directly into a Ruby installation:

Expand Down
4 changes: 2 additions & 2 deletions kitchen-vagrant.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ Gem::Specification.new do |gem|
gem.license = "Apache-2.0"
gem.authors = ["Fletcher Nichol"]
gem.email = ["[email protected]"]
gem.description = "Kitchen::Driver::Vagrant - A Vagrant Driver for Test Kitchen."
gem.description = "Kitchen::Driver::Vagrant - A HashiCorp Vagrant Driver for Test Kitchen."
gem.summary = gem.description
gem.homepage = "https://github.com/test-kitchen/kitchen-vagrant/"

gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR).grep(/LICENSE|^lib|^support|^templates/)
gem.require_paths = ["lib"]

gem.required_ruby_version = ">= 2.7"
gem.required_ruby_version = ">= 3.0"

gem.add_dependency "test-kitchen", ">= 1.4", "< 4"
end
2 changes: 1 addition & 1 deletion lib/kitchen/driver/vagrant_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ module Kitchen
module Driver

# Version string for Vagrant Kitchen driver
VAGRANT_VERSION = "1.14.2".freeze
VAGRANT_VERSION = "2.0.0".freeze
end
end