Skip to content
This repository was archived by the owner on Oct 27, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,27 @@ name: tests
on:
[push, pull_request]

permissions:
contents: read

jobs:
test:

runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 10

strategy:
fail-fast: false
matrix:
ruby-version: ['2.6', '2.7', '3.0']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v7
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler: '2.4.22'
bundler-cache: true
- name: Run tests
run: bundle exec rspec
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

source 'https://rubygems.org'

gem 'support', git: 'https://github.com/sinatra/mustermann.git'
# Mustermann main now requires Ruby 3.3; keep legacy test helpers reproducible.
gem 'support', git: 'https://github.com/sinatra/mustermann.git', tag: 'v3.0.4'

gemspec

Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

This gem implements the `grape` pattern type for Mustermann.

## Retirement notice

**This adapter is retired; no further development is planned in this repository.** Starting with [Grape 3.3.0](https://rubygems.org/gems/grape/versions/3.3.0), released June 20, 2026, Grape maintains its path-pattern grammar internally as `Grape::Router::MustermannPattern` and depends on `mustermann` directly instead of `mustermann-grape` ([grape#2755](https://github.com/ruby-grape/grape/pull/2755)). Current Grape applications do not need this adapter; normal Grape routing requires no migration.

Existing [RubyGems releases](https://rubygems.org/gems/mustermann-grape) remain available for older Grape versions that depend on this gem and for applications using the adapter directly. Retiring this repository does not remove those releases.

If your application calls `Mustermann.new(pattern, type: :grape)`, keep an explicit `gem 'mustermann-grape'` dependency and `require 'mustermann/grape'`. Grape's internal pattern class does not register `type: :grape` and is not a public replacement for that standalone API. Report routing issues affecting current Grape in the [Grape repository](https://github.com/ruby-grape/grape/issues).

[![tests](https://github.com/ruby-grape/mustermann-grape/workflows/tests/badge.svg)](https://github.com/ruby-grape/mustermann-grape/actions?query=workflow%3Atests)

## Overview
Expand Down