Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Drop Ruby 2.7 #508

Merged
merged 2 commits into from
Mar 15, 2023
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
7 changes: 1 addition & 6 deletions .github/workflows/delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
fail-fast: false
matrix:
include:
- operating-system: ubuntu
ruby-version: '2.7'
- operating-system: ubuntu
ruby-version: '3.0'
- operating-system: ubuntu
Expand Down Expand Up @@ -69,9 +67,6 @@ jobs:
fail-fast: false
matrix:
include:
- code-coverage: false
operating-system: ubuntu
ruby-version: '2.7'
- code-coverage: false
operating-system: ubuntu
ruby-version: '3.0'
Expand Down Expand Up @@ -156,7 +151,7 @@ jobs:
terraform_wrapper: false
- name: Setup Terragrunt
if: ${{ matrix.operating-system == 'macos' }}
uses: autero1/action-terragrunt@v1.2.0
uses: autero1/action-terragrunt@v1.3.1
with:
terragrunt_version: ${{ matrix.terragrunt-version }}
- name: Mirror Terraform Providers
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ and this project adheres to
- `command_timeout`
- `root_module_directory`
- Dropped support for Inspec < 4.25.1
- Dropped support for Ruby 2.6 which reach end of life on 2022-04-12.
- Dropped support for Ruby 2.6 which reached end of life on 2022-04-12.
- Dropped support for Ruby 2.7 which reached end of life on 2023-03-31.

## [6.1.0] - 2022-01-22

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/amazon_provider_ec2.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ <h1 class="display-3">
<div class="highlight"><pre class="syntax-highlight shell"><code>vim Gemfile
</code></pre></div> Add in the Kitchen-Terraform gem like below (substituting your Ruby version if necessary):
<br><br>
<div class="highlight"><pre class="syntax-highlight ruby"><code><span class="n">ruby</span> <span class="s1">'2.7.1'</span>
<div class="highlight"><pre class="syntax-highlight ruby"><code><span class="n">ruby</span> <span class="s1">'&gt;= 3.0'</span>

<span class="n">source</span> <span class="s1">'https://rubygems.org/'</span> <span class="k">do</span>
<span class="n">gem</span> <span class="s1">'kitchen-terraform'</span><span class="p">,</span> <span class="s1">'~&gt; 6.1'</span>
Expand Down
2 changes: 1 addition & 1 deletion gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

source "https://rubygems.org/"

ruby ">= 2.7"
ruby ">= 3.0"

gemspec

Expand Down
2 changes: 1 addition & 1 deletion kitchen-terraform.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ require "rubygems"
specification.add_runtime_dependency "test-kitchen", ">= 2.1", "< 4.0"
specification.add_runtime_dependency "tty-which", "~> 0.5.0"
specification.cert_chain = ["certs/gem-public_cert.pem"]
specification.required_ruby_version = [">= 2.7", "< 4.0"]
specification.required_ruby_version = [">= 3.0", "< 4.0"]
specification.requirements = ["Terraform >= v0.11.4, < v2.0.0"]
specification.signing_key = "certs/gem-private_key.pem" if $PROGRAM_NAME =~ /gem\z/
end
2 changes: 1 addition & 1 deletion source/tutorials/amazon_provider_ec2.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ vim Gemfile
Add in the Kitchen-Terraform gem like below (substituting your Ruby version if necessary):
<br><br>
<% code("ruby") do %>
ruby '2.7.1'
ruby '>= 3.0'

source 'https://rubygems.org/' do
gem 'kitchen-terraform', '~> 6.1'
Expand Down