tp2 0.20.0 → 0.20.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f50f04dad197bd317793e48f2f46e90f87c0ddf0f65c98d99c57cc8e29a24f66
4
- data.tar.gz: 287838481d4b0e8150c021368cf709543331b5d4b0e87bb37b335c750c8ae267
3
+ metadata.gz: c88d50b4ab47a0bb6e542b7379073b1737a5381e96ce8af3215f3139da94d835
4
+ data.tar.gz: a7711bcaebf0c541422df516f0d073e54e801ddecda97d4999b64e07d6e645b9
5
5
  SHA512:
6
- metadata.gz: 1597b8856cdb6adf327652d5e161d7f8b9965358b9898ebbf2f8a5eeb5af994e3d9110b09093867ae651c9237dd4f3f31b10d7bb2a8d6e0854cb5379980d8e7d
7
- data.tar.gz: 9f85ecb5c04107b8db550a7996429d39e39baab2efbcf3a355cfcb756ba6be45fb009a9da63ab2cf44fbda4bd2bec15b5187a65e867c97ac6d8b6aeeb7479832
6
+ metadata.gz: bfa5f47fe999f3b5f7a4cede0fb29e54cb06e12f33019b1183cef25b71181e7dea195b172ecd0fc768138fc054d463c8b60d7b96c692158e1969c826de4090ff
7
+ data.tar.gz: 48668a79a09651f12ff722ca853459a3e33d0e95875a5dd76ce9448b7e88fd01899803afc3398c733fb576afb9b80d10c80dbe2103fc0f8c5340b652eaafa279
@@ -2,6 +2,10 @@ name: Tests
2
2
 
3
3
  on: [push, pull_request]
4
4
 
5
+ concurrency:
6
+ group: tests-${{ format('{0}-{1}', github.head_ref || github.run_number, github.job) }}
7
+ cancel-in-progress: true
8
+
5
9
  jobs:
6
10
  build:
7
11
  strategy:
@@ -10,15 +14,20 @@ jobs:
10
14
  os: [ubuntu-latest]
11
15
  ruby: ['4.0', 'head']
12
16
 
13
- name: >-
14
- ${{matrix.os}}, ${{matrix.ruby}}
17
+ name: ${{matrix.os}}, ${{matrix.ruby}}
18
+
19
+ if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
15
20
 
16
21
  runs-on: ${{matrix.os}}
17
22
  steps:
18
- - uses: actions/checkout@v3
23
+ - uses: actions/checkout@v4
24
+ with:
25
+ submodules: recursive
26
+
19
27
  - uses: ruby/setup-ruby@v1
20
28
  with:
21
29
  ruby-version: ${{matrix.ruby}}
22
- bundler-cache: true
30
+ bundler-cache: true # 'bundle install' and cache
23
31
  - name: Run tests
24
- run: bundle exec rake test
32
+ # run: bundle exec ruby test/test_um.rb --name test_read_each_raising_2
33
+ run: bundle exec rake test
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.20.1 2026-01-28
2
+
3
+ - Fix non-sendv version of `#respond` method
4
+
1
5
  # 0.20.0 2026-01-28
2
6
 
3
7
  - Update Qeweney
@@ -190,7 +190,7 @@ module TP2
190
190
  chunk_prelude = "#{body.bytesize.to_s(16)}\r\n"
191
191
  buf = +''
192
192
  buf << formatted_headers << chunk_prelude << body << CHUNKED_ENCODING_POSTLUDE
193
- @machine.send(@fd, buf, SEND_FLAGS)
193
+ @machine.send(@fd, buf, buf.bytesize, SEND_FLAGS)
194
194
  else
195
195
  @machine.send(@fd, formatted_headers, formatted_headers.bytesize, SEND_FLAGS)
196
196
  end
data/lib/tp2/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module TP2
2
- VERSION = '0.20.0'
2
+ VERSION = '0.20.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tp2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sharon Rosner