pitchfork 0.18.1 → 0.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +8 -6
- data/.github/workflows/release.yml +29 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +7 -1
- data/ext/pitchfork_http/pitchfork_http.c +259 -183
- data/ext/pitchfork_http/pitchfork_http.rl +9 -10
- data/lib/pitchfork/http_parser.rb +4 -0
- data/lib/pitchfork/http_server.rb +9 -6
- data/lib/pitchfork/version.rb +1 -1
- data/lib/pitchfork.rb +2 -6
- metadata +4 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bd43c76994a5cedc86eaa1383a34998c4ba9bf0707d2aa7e781f1cb5a87ef2e5
|
|
4
|
+
data.tar.gz: b9d08adc7b7bd87d861e7643174875c3dff20ebed5f1ffdfc99192fdf5a110d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e6023eacd708fa6e3c93e2468abafdb22fc16de8d2b4d72f4a8ea190c621ec4e8c66341cb327e0029dfd008e8bd246bfcf6268b7945b22a2010b4633e23aa637
|
|
7
|
+
data.tar.gz: a98ffba0f286dff3d4a591fc258eae7e09f91bd9ab6e8e909bd827335e24c49bbf4c6979c5dc62f78a124c3a135049e61deeaf6913cf55cb3a5a5ba0940d3eba
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -16,16 +16,18 @@ jobs:
|
|
|
16
16
|
fail-fast: false
|
|
17
17
|
matrix:
|
|
18
18
|
os: ["ubuntu-latest"]
|
|
19
|
-
ruby: ["ruby-head", "3.3", "3.2", "3.1", "3.0", "2.7", "2.6"]
|
|
19
|
+
ruby: ["ruby-head", "3.4", "3.3", "3.2", "3.1", "3.0", "2.7", "2.6"]
|
|
20
20
|
rubyopt: [""]
|
|
21
|
-
rack: ["~> 3.
|
|
21
|
+
rack: ["~> 3.2"]
|
|
22
22
|
include:
|
|
23
|
-
- ruby: "3.
|
|
23
|
+
- ruby: "3.4"
|
|
24
24
|
rubyopt: "--enable-frozen-string-literal"
|
|
25
|
-
rack: "~> 3.
|
|
26
|
-
- ruby: "3.
|
|
25
|
+
rack: "~> 3.2"
|
|
26
|
+
- ruby: "3.4"
|
|
27
|
+
rack: "~> 3.1.0"
|
|
28
|
+
- ruby: "3.4"
|
|
27
29
|
rack: "~> 3.0.0"
|
|
28
|
-
- ruby: "3.
|
|
30
|
+
- ruby: "3.4"
|
|
29
31
|
rack: "~> 2.0"
|
|
30
32
|
env:
|
|
31
33
|
RACK_VERSION: "${{ matrix.rack }}"
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- v[0-9]+.[0-9]+.[0-9]+
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
release:
|
|
10
|
+
if: github.repository == 'Shopify/pitchfork'
|
|
11
|
+
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
|
|
14
|
+
permissions:
|
|
15
|
+
contents: write
|
|
16
|
+
id-token: write
|
|
17
|
+
|
|
18
|
+
environment: release
|
|
19
|
+
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v6
|
|
22
|
+
with:
|
|
23
|
+
persist-credentials: false
|
|
24
|
+
|
|
25
|
+
- uses: ruby/setup-ruby@v1
|
|
26
|
+
with:
|
|
27
|
+
bundler-cache: true
|
|
28
|
+
|
|
29
|
+
- uses: rubygems/release-gem@v1
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.4.7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Unreleased
|
|
2
2
|
|
|
3
|
+
# 0.18.2
|
|
4
|
+
|
|
5
|
+
- Fix after_request_complete getting nil env on parsing exceptions.
|
|
6
|
+
- Fix Rack 3.2 compatibility (`PATH_INFO` will now be `"*"` for `OPTIONS *`).
|
|
7
|
+
- Avoid double response on post-response exception.
|
|
8
|
+
|
|
3
9
|
# 0.18.1
|
|
4
10
|
|
|
5
11
|
- Handle potential Errno::EBADF raised by `IO#reopen` in `Pitchfork::Info.close_all_ios!`.
|
|
@@ -140,4 +146,4 @@
|
|
|
140
146
|
|
|
141
147
|
# 0.1.0
|
|
142
148
|
|
|
143
|
-
Initial release
|
|
149
|
+
Initial release
|