Skip to content

Commit

Permalink
Drop support for Ruby 3.0, update README
Browse files Browse the repository at this point in the history
  • Loading branch information
cllns committed Jul 3, 2024
1 parent 97f75b8 commit 02552d1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 24 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ci

"on":
on:
push:
paths:
- ".github/workflows/ci.yml"
Expand Down Expand Up @@ -28,15 +28,7 @@ jobs:
- "3.3"
- "3.2"
- "3.1"
- "3.0"
steps:
- uses: ravsamhq/notify-slack-action@v1
if: always()
with:
status: ${{ job.status }}
notify_when: "failure"
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
- uses: actions/checkout@v4
- name: Install package dependencies
run: "[ -e $APT_DEPS ] || sudo apt-get install -y --no-install-recommends $APT_DEPS"
Expand Down
20 changes: 6 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,27 @@
# Hanami::Router

Rack compatible, lightweight and fast HTTP Router for Ruby and [Hanami](http://hanamirb.org).

## Version

**This branch contains the code for `hanami-router` 2.x.**
Rack compatible, lightweight, and fast HTTP Router for Ruby and [Hanami](http://hanamirb.org).

## Status

[![Gem Version](https://badge.fury.io/rb/hanami-router.svg)](https://badge.fury.io/rb/hanami-router)
[![CI](https://github.com/hanami/router/workflows/ci/badge.svg?branch=main)](https://github.com/hanami/router/actions?query=workflow%3Aci+branch%3Amain)
[![CI](https://github.com/hanami/router/actions/workflows/ci.yml/badge.svg)](https://github.com/hanami/router/actions?query=workflow%3Aci+branch%3Amain)
[![Test Coverage](https://codecov.io/gh/hanami/router/branch/main/graph/badge.svg)](https://codecov.io/gh/hanami/router)
[![Depfu](https://badges.depfu.com/badges/5f6b8e8fa3b0d082539f0b0f84d55960/overview.svg)](https://depfu.com/github/hanami/router?project=Bundler)
[![Inline Docs](http://inch-ci.org/github/hanami/router.svg)](http://inch-ci.org/github/hanami/router)

## Contact

* Home page: http://hanamirb.org
* Mailing List: http://hanamirb.org/mailing-list
* API Doc: http://rdoc.info/gems/hanami-router
* API Doc: http://rubydoc.info/gems/hanami-router
* Bugs/Issues: https://github.com/hanami/router/issues
* Support: http://stackoverflow.com/questions/tagged/hanami
* Chat: http://chat.hanamirb.org

## Rubies

__Hanami::Router__ supports Ruby (MRI) 3.0+


## Installation

__Hanami::Router__ supports Ruby (MRI) 3.1.+

Add this line to your application's Gemfile:

```ruby
Expand Down Expand Up @@ -365,4 +357,4 @@ __Hanami::Router__ uses [Semantic Versioning 2.0.0](http://semver.org)

## Copyright

Copyright © 2014 Hanami Team – Released under MIT License
Copyright © 2014–2024 Hanami Team – Released under MIT License
2 changes: 1 addition & 1 deletion hanami-router.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
spec.executables = []
spec.require_paths = ["lib"]
spec.metadata["rubygems_mfa_required"] = "true"
spec.required_ruby_version = ">= 3.0"
spec.required_ruby_version = ">= 3.1"

spec.add_dependency "rack", "~> 2.0"
spec.add_dependency "mustermann", "~> 3.0"
Expand Down

0 comments on commit 02552d1

Please sign in to comment.