Skip to content

Commit e93feaf

Browse files
committed
Add pitchfork on Rack 3.
1 parent ecb5ce0 commit e93feaf

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.github/workflows/test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ jobs:
9999
gemfile: "gems/pitchfork-head-rack-v2.rb"
100100
server: "pitchfork -E none"
101101
endpoint: "http://localhost:8080"
102+
- ruby: "3.3"
103+
name: "Pitchfork-head-Rack-v3-http"
104+
gemfile: "gems/pitchfork-head-rack-v3.rb"
105+
server: "pitchfork -E none"
106+
endpoint: "http://localhost:8080"
102107

103108
steps:
104109
- uses: actions/checkout@v3

gems/pitchfork-head-rack-v3.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, 2024, by Samuel Williams.
5+
6+
eval_gemfile '../gems.rb'
7+
8+
gem "pitchfork", git: "https://github.com/Shopify/pitchfork.git"
9+
gem "rack", "~> 3.0"
10+
11+
# export RACK_CONFORM_SERVER="pitchfork -E none"
12+
# export RACK_CONFORM_ENDPOINT="http://localhost:8080"

0 commit comments

Comments
 (0)