Skip to content

Commit

Permalink
Merge pull request #4 from ydah/change_drop_ruby_2_6_support
Browse files Browse the repository at this point in the history
Drop Ruby 2.6 runtime support
  • Loading branch information
ydah authored May 18, 2023
2 parents c707f2c + 9d7552e commit fa724cd
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
- ubuntu-latest
- macos-latest
ruby:
- "2.6"
- "2.7"
- "3.0"
- "3.1"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
- name: Mdformat
uses: ydah/mdformat-action@main
with:
file_or_dir:
CODE_OF_CONDUCT.md CHANGELOG.md README.md .github/PULL_REQUEST_TEMPLATE.md .github/CONTRIBUTING.md .github/ISSUE_TEMPLATE/feature_request.md .github/ISSUE_TEMPLATE/bug_report.md MIT-LICENSE.md
number: true
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require:

AllCops:
NewCops: enable
TargetRubyVersion: 2.6
TargetRubyVersion: 2.7
SuggestExtensions: false

Layout/LineLength:
Expand Down
1 change: 1 addition & 0 deletions changelog/change_drop_ruby_2_6_runtime_support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- [#4](https://github.com/rubocop/rubocop-committee/pull/4): Drop Ruby 2.6 runtime support. ([@ydah])
2 changes: 1 addition & 1 deletion rubocop-committee.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
DESCRIPTION
spec.homepage = "https://github.com/ydah/rubocop-committee"
spec.license = "MIT"
spec.required_ruby_version = ">= 2.6.0"
spec.required_ruby_version = ">= 2.7.0"

spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
Expand Down
4 changes: 2 additions & 2 deletions spec/project/changelog_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@

describe "link to related issue on github" do
let(:issues) do
entries.map do |entry|
entries.filter_map do |entry|
entry.match(/\[(?<number>[#\d]+)\]\((?<url>[^)]+)\)/)
end.compact
end
end

it "has an issue number prefixed with #" do
Expand Down

0 comments on commit fa724cd

Please sign in to comment.