Skip to content

Commit e2382a1

Browse files
authored
Add Puma head and Rack 2. (#14)
* Rename Actions workflows.
1 parent 8b5625a commit e2382a1

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

.github/workflows/benchmark-node.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test
1+
name: Bench Node
22

33
on: [push, pull_request]
44

.github/workflows/test-passenger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test
1+
name: Test Passenger
22

33
on: [push, pull_request]
44

.github/workflows/test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ jobs:
7474
gemfile: "gems/puma-v6-rack-v3.rb"
7575
server: "puma"
7676
endpoint: "http://localhost:9292"
77+
- ruby: "3.1"
78+
name: "Puma-head-Rack-v2-http"
79+
gemfile: "gems/puma-head-rack-v2.rb"
80+
server: "puma"
81+
endpoint: "http://localhost:9292"
7782
- ruby: "3.1"
7883
name: "Puma-head-Rack-v3-http"
7984
gemfile: "gems/puma-head-rack-v3.rb"

gems/puma-head-rack-v2.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# frozen_string_literal: true
2+
3+
# Released under the MIT License.
4+
# Copyright, 2022, by Samuel Williams.
5+
6+
eval_gemfile '../gems.rb'
7+
8+
gem "puma", git: "https://github.com/puma/puma.git"
9+
gem "rack", "~> 2.0"
10+
11+
# export RACK_CONFORM_SERVER="puma"
12+
# export RACK_CONFORM_ENDPOINT="http://localhost:9292"

0 commit comments

Comments
 (0)