Skip to content

Commit

Permalink
Remove support for old Ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Apr 11, 2024
1 parent a5e32cc commit 3496a44
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 60 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/psl-update.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
ruby-version: "3.3"
bundler-cache: true

- name: Update PSL
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/tests.yml
Expand Up @@ -10,8 +10,6 @@ jobs:
strategy:
matrix:
ruby-version:
- "2.6"
- "2.7"
- "3.0"
- "3.1"
- "3.2"
Expand Down
52 changes: 0 additions & 52 deletions 2.0-Upgrade.md

This file was deleted.

9 changes: 8 additions & 1 deletion CHANGELOG.md
Expand Up @@ -2,6 +2,14 @@

This project uses [Semantic Versioning 2.0.0](https://semver.org/).

## main

### Changed

- Updated definitions.
- Minimum Ruby version is 3.0


## 5.0.5

### Changed
Expand Down Expand Up @@ -39,7 +47,6 @@ This project uses [Semantic Versioning 2.0.0](https://semver.org/).
### Changed

- Minimum Ruby version is 2.6

- Updated definitions.


Expand Down
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -16,7 +16,7 @@

## Requirements

<tt>PublicSuffix</tt> requires **Ruby >= 2.6**. For an older versions of Ruby use a previous release.
<tt>PublicSuffix</tt> requires **Ruby >= 3.0**. For an older versions of Ruby use a previous release.


## Installation
Expand All @@ -33,8 +33,6 @@ Or use Bundler and define it as a dependency in your `Gemfile`:
gem 'public_suffix'
```

If you are upgrading to 2.0, see [2.0-Upgrade.md](2.0-Upgrade.md).

## Usage

Extract the domain out from a name:
Expand Down
2 changes: 1 addition & 1 deletion public_suffix.gemspec
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |s|
s.description = "PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains."
s.homepage = "https://simonecarletti.com/code/publicsuffix-ruby"
s.licenses = ["MIT"]
s.required_ruby_version = ">= 2.6"
s.required_ruby_version = ">= 3.0"

s.metadata = {
"bug_tracker_uri" => "https://github.com/weppos/publicsuffix-ruby/issues",
Expand Down

0 comments on commit 3496a44

Please sign in to comment.