Skip to content

Commit

Permalink
Add pitchfork on Rack 3.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jun 14, 2024
1 parent a113fb8 commit 8a776af
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ jobs:
gemfile: "gems/pitchfork-head-rack-v2.rb"
server: "pitchfork -E none"
endpoint: "http://localhost:8080"
- ruby: "3.3"
name: "Pitchfork-head-Rack-v3-http"
gemfile: "gems/pitchfork-head-rack-v3.rb"
server: "pitchfork -E none"
endpoint: "http://localhost:8080"

steps:
- uses: actions/checkout@v3
Expand Down
12 changes: 12 additions & 0 deletions gems/pitchfork-head-rack-v3.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2024, by Samuel Williams.

eval_gemfile '../gems.rb'

gem "pitchfork", git: "https://github.com/Shopify/pitchfork.git"
gem "rack", "~> 3.0"

# export RACK_CONFORM_SERVER="pitchfork -E none"
# export RACK_CONFORM_ENDPOINT="http://localhost:8080"

0 comments on commit 8a776af

Please sign in to comment.