Skip to content

Commit

Permalink
Merge pull request #230 from mvz/support-ruby-3-and-up
Browse files Browse the repository at this point in the history
Support Rubies 3.0 through 3.3
  • Loading branch information
mvz authored Dec 27, 2023
2 parents 139961f + 4f4117a commit 9f81b02
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2", "jruby-9.4"]
ruby: ["3.0", "3.1", "3.2", "3.3", "jruby-9.4"]

steps:
- uses: actions/checkout@v4
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
ruby-version: "3.3"
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop -P
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require:

AllCops:
NewCops: enable
TargetRubyVersion: 2.7
TargetRubyVersion: 3.0

# Put development dependencies in the gemspec so rubygems.org knows about them
Gemspec/DevelopmentDependencies:
Expand Down
2 changes: 1 addition & 1 deletion nokogiri-happymapper.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
" (fork from John Nunemaker's Happymapper)"
spec.homepage = "http://github.com/mvz/happymapper"
spec.license = "MIT"
spec.required_ruby_version = ">= 2.7.0"
spec.required_ruby_version = ">= 3.0.0"

spec.metadata["rubygems_mfa_required"] = "true"

Expand Down

0 comments on commit 9f81b02

Please sign in to comment.