Skip to content

Commit

Permalink
TargetRubyVersion 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Dec 14, 2023
1 parent f8079a7 commit 47970e6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Expand Up @@ -6,7 +6,7 @@ require:
- rubocop-rspec

AllCops:
TargetRubyVersion: 2.6
TargetRubyVersion: 3.0
Exclude:
# Exclude .gemspec files because they are generally auto-generated
- '*.gemspec'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -33,7 +33,7 @@ This repository contains the core whois library, that includes the WHOIS client,

## Requirements

- Ruby >= 2.4
- Ruby >= 3.0

For older versions of Ruby, see the [CHANGELOG](CHANGELOG.md).

Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Expand Up @@ -12,7 +12,7 @@

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[File.join(SPEC_ROOT, "support/**/*.rb")].sort.each { |f| require f }
Dir[File.join(SPEC_ROOT, "support/**/*.rb")].each { |f| require f }

RSpec.configure do |config|
config.mock_with :rspec
Expand Down
2 changes: 1 addition & 1 deletion whois.gemspec
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |s|
s.description = "Whois is an intelligent WHOIS client and parser written in pure Ruby. It can query registry data for IPv4, IPv6 and top level domains, and parse the responses into easy-to-use Ruby objects via the whois-parser library."
s.license = "MIT"

s.required_ruby_version = ">= 2.4"
s.required_ruby_version = ">= 3.0"

s.require_paths = %w( lib )
s.executables =%w( whoisrb )
Expand Down

0 comments on commit 47970e6

Please sign in to comment.