diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml new file mode 100644 index 00000000..81f3c655 --- /dev/null +++ b/.github/workflows/coverage.yaml @@ -0,0 +1,57 @@ +name: Coverage + +on: [push, pull_request] + +permissions: + contents: read + +env: + CONSOLE_OUTPUT: XTerm + COVERAGE: PartialSummary + +jobs: + test: + name: ${{matrix.ruby}} on ${{matrix.os}} + runs-on: ${{matrix.os}}-latest + + strategy: + matrix: + os: + - ubuntu + - macos + + ruby: + - "3.2" + + steps: + - uses: actions/checkout@v3 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{matrix.ruby}} + bundler-cache: true + + - name: Run tests + timeout-minutes: 5 + run: bundle exec bake test + + - uses: actions/upload-artifact@v2 + with: + name: coverage-${{matrix.os}}-${{matrix.ruby}} + path: .covered.db + + validate: + needs: test + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.2" + bundler-cache: true + + - uses: actions/download-artifact@v3 + + - name: Validate coverage + timeout-minutes: 5 + run: bundle exec bake covered:validate --paths */.covered.db \; diff --git a/.github/workflows/test-async-head.yaml b/.github/workflows/test-async-head.yaml deleted file mode 100644 index a6da4873..00000000 --- a/.github/workflows/test-async-head.yaml +++ /dev/null @@ -1,33 +0,0 @@ -name: Test Async HEAD - -on: [push, pull_request] - -permissions: - contents: read - -env: - CONSOLE_OUTPUT: XTerm - BUNDLE_GEMFILE: gems/async-head.rb - -jobs: - test: - runs-on: ${{matrix.os}}-latest - - strategy: - matrix: - os: - - ubuntu - - ruby: - - head - - steps: - - uses: actions/checkout@v3 - - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{matrix.ruby}} - bundler-cache: true - - - name: Run tests - timeout-minutes: 10 - run: bundle exec bake test diff --git a/.github/workflows/test-async-v1.yaml b/.github/workflows/test-async-v1.yaml deleted file mode 100644 index 9d83bd0b..00000000 --- a/.github/workflows/test-async-v1.yaml +++ /dev/null @@ -1,33 +0,0 @@ -name: Test Async v1 - -on: [push, pull_request] - -permissions: - contents: read - -env: - CONSOLE_OUTPUT: XTerm - BUNDLE_GEMFILE: gems/async-v1.rb - -jobs: - test: - runs-on: ${{matrix.os}}-latest - - strategy: - matrix: - os: - - ubuntu - - ruby: - - 2.7 - - steps: - - uses: actions/checkout@v3 - - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{matrix.ruby}} - bundler-cache: true - - - name: Run tests - timeout-minutes: 10 - run: bundle exec bake test diff --git a/.github/workflows/test-external.yaml b/.github/workflows/test-external.yaml index 214149c4..cbff6759 100644 --- a/.github/workflows/test-external.yaml +++ b/.github/workflows/test-external.yaml @@ -20,7 +20,6 @@ jobs: - macos ruby: - - "2.7" - "3.0" - "3.1" - "3.2" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 1a6b57f1..942ede73 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -21,7 +21,6 @@ jobs: - macos ruby: - - "2.7" - "3.0" - "3.1" - "3.2" @@ -46,10 +45,6 @@ jobs: ruby-version: ${{matrix.ruby}} bundler-cache: true - - name: Installing packages (ubuntu) - if: matrix.os == 'ubuntu' - run: sudo apt-get install apache2-utils - - name: Run tests timeout-minutes: 10 run: bundle exec bake test diff --git a/.gitignore b/.gitignore index 4da16e76..09a72e06 100644 --- a/.gitignore +++ b/.gitignore @@ -1,15 +1,5 @@ -.tags - /.bundle/ -/.yardoc -/gems.locked -/_yardoc/ -/coverage/ -/doc/ /pkg/ -/spec/reports/ -/tmp/ - -.rspec_status -.covered.db -/h2spec +/gems.locked +/.covered.db +/external diff --git a/.rspec_status b/.rspec_status new file mode 100644 index 00000000..4e8c50e8 --- /dev/null +++ b/.rspec_status @@ -0,0 +1,202 @@ +example_id | status | run_time | +------------------------------------------------------ | ------ | --------------- | +./spec/async/http/body/hijack_spec.rb[1:1:1] | passed | 0.01608 seconds | +./spec/async/http/body/hijack_spec.rb[1:1:2] | passed | 0.01184 seconds | +./spec/async/http/body/pipe_spec.rb[1:1:1:1] | passed | 0.02183 seconds | +./spec/async/http/body/pipe_spec.rb[1:1:2:1] | passed | 0.01143 seconds | +./spec/async/http/body/pipe_spec.rb[1:2:1:1] | passed | 0.00014 seconds | +./spec/async/http/body/pipe_spec.rb[1:2:2:1] | passed | 0.00011 seconds | +./spec/async/http/body/slowloris_spec.rb[1:1:1] | passed | 0.01125 seconds | +./spec/async/http/body/slowloris_spec.rb[1:1:2] | passed | 0.01119 seconds | +./spec/async/http/body/slowloris_spec.rb[1:1:3:1] | passed | 0.01121 seconds | +./spec/async/http/body/slowloris_spec.rb[1:1:4:1] | passed | 0.01142 seconds | +./spec/async/http/body/slowloris_spec.rb[1:1:4:2] | passed | 0.01109 seconds | +./spec/async/http/body/slowloris_spec.rb[1:1:4:3] | passed | 0.01111 seconds | +./spec/async/http/body/slowloris_spec.rb[1:1:4:4] | passed | 0.01112 seconds | +./spec/async/http/body/slowloris_spec.rb[1:2] | passed | 0.11263 seconds | +./spec/async/http/body/slowloris_spec.rb[1:3] | passed | 0.01134 seconds | +./spec/async/http/body/writable_spec.rb[1:1:1] | passed | 0.01112 seconds | +./spec/async/http/body/writable_spec.rb[1:1:2] | passed | 0.01095 seconds | +./spec/async/http/body/writable_spec.rb[1:1:3:1] | passed | 0.01113 seconds | +./spec/async/http/body/writable_spec.rb[1:1:4:1] | passed | 0.01105 seconds | +./spec/async/http/body/writable_spec.rb[1:1:4:2] | passed | 0.01111 seconds | +./spec/async/http/body/writable_spec.rb[1:1:4:3] | passed | 0.01109 seconds | +./spec/async/http/body/writable_spec.rb[1:1:4:4] | passed | 0.01103 seconds | +./spec/async/http/body_spec.rb[1:1:1] | passed | 0.01176 seconds | +./spec/async/http/body_spec.rb[1:1:2] | passed | 0.01165 seconds | +./spec/async/http/body_spec.rb[2:1:1] | passed | 0.16983 seconds | +./spec/async/http/body_spec.rb[2:1:2] | passed | 0.07835 seconds | +./spec/async/http/client/google_spec.rb[1:1] | passed | 0.55517 seconds | +./spec/async/http/client_spec.rb[1:1:1] | passed | 0.01671 seconds | +./spec/async/http/client_spec.rb[1:2:1] | passed | 0.0268 seconds | +./spec/async/http/client_spec.rb[1:3:1] | passed | 0.01327 seconds | +./spec/async/http/client_spec.rb[1:3:2] | passed | 1.44 seconds | +./spec/async/http/client_spec.rb[1:3:3] | passed | 1.08 seconds | +./spec/async/http/endpoint_spec.rb[1:1] | passed | 0.00008 seconds | +./spec/async/http/endpoint_spec.rb[1:2:1] | passed | 0.00004 seconds | +./spec/async/http/endpoint_spec.rb[1:2:2] | passed | 0.00003 seconds | +./spec/async/http/endpoint_spec.rb[1:3:1:1] | passed | 0.00079 seconds | +./spec/async/http/endpoint_spec.rb[1:3:1:2] | passed | 0.00019 seconds | +./spec/async/http/endpoint_spec.rb[1:3:2:1] | passed | 0.00005 seconds | +./spec/async/http/endpoint_spec.rb[1:3:2:2] | passed | 0.00004 seconds | +./spec/async/http/endpoint_spec.rb[1:3:2:3] | passed | 0.00014 seconds | +./spec/async/http/endpoint_spec.rb[1:4:1:1] | passed | 0.00007 seconds | +./spec/async/http/endpoint_spec.rb[1:4:1:2] | passed | 0.00003 seconds | +./spec/async/http/endpoint_spec.rb[1:4:2:1] | passed | 0.00006 seconds | +./spec/async/http/endpoint_spec.rb[1:5:1:1] | passed | 0.00005 seconds | +./spec/async/http/endpoint_spec.rb[1:5:2:1] | passed | 0.00004 seconds | +./spec/async/http/endpoint_spec.rb[1:5:3:1] | passed | 0.00004 seconds | +./spec/async/http/endpoint_spec.rb[1:6:1:1] | passed | 0.00004 seconds | +./spec/async/http/endpoint_spec.rb[1:6:2:1] | passed | 0.00003 seconds | +./spec/async/http/endpoint_spec.rb[1:6:3:1] | passed | 0.00003 seconds | +./spec/async/http/endpoint_spec.rb[1:6:4:1] | passed | 0.00003 seconds | +./spec/async/http/endpoint_spec.rb[1:6:5:1] | passed | 0.00003 seconds | +./spec/async/http/endpoint_spec.rb[1:7:1] | passed | 0.00004 seconds | +./spec/async/http/endpoint_spec.rb[1:7:2] | passed | 0.00003 seconds | +./spec/async/http/endpoint_spec.rb[2:1] | passed | 0.00003 seconds | +./spec/async/http/endpoint_spec.rb[2:2] | passed | 0.00022 seconds | +./spec/async/http/endpoint_spec.rb[2:3] | passed | 0.00004 seconds | +./spec/async/http/endpoint_spec.rb[2:4] | passed | 0.00005 seconds | +./spec/async/http/internet/instance_spec.rb[1:1:1] | passed | 0.00003 seconds | +./spec/async/http/internet_spec.rb[1:1] | passed | 1.08 seconds | +./spec/async/http/internet_spec.rb[1:2] | passed | 1.22 seconds | +./spec/async/http/performance_spec.rb[1:1:1] | passed | 0.04966 seconds | +./spec/async/http/performance_spec.rb[1:2:1] | passed | 0.04596 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:1] | passed | 0.0231 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:2:1] | passed | 0.01434 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:3:1] | passed | 0.43318 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:4:1] | passed | 0.01564 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:5:1] | passed | 0.01386 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:6:1] | passed | 0.01293 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:6:2] | passed | 1.02 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:7:1] | passed | 0.01514 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:7:2] | passed | 1.02 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:7:3:1] | passed | 0.14361 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:7:3:2:1] | passed | 0.01789 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:7:3:2:2] | passed | 0.01502 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:7:3:2:3] | passed | 0.01514 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:7:3:2:4] | passed | 0.01436 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:7:3:2:5] | passed | 0.01428 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:7:3:2:6] | passed | 0.01469 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:7:4:1] | passed | 0.01485 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:7:5:1] | passed | 0.01469 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:7:5:2] | passed | 0.01472 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:7:5:3] | passed | 0.01573 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:7:5:4] | passed | 0.01485 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:8:1] | passed | 0.01395 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:9:1] | passed | 0.01565 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:10:1] | passed | 0.01424 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:11:1] | passed | 0.01361 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:12:1] | passed | 0.01405 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:13:1] | passed | 0.01366 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:14:1] | passed | 0.01363 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:15:1] | passed | 0.11588 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:16:1] | passed | 0.23731 seconds | +./spec/async/http/protocol/http10_spec.rb[1:1:17:1] | passed | 0.23891 seconds | +./spec/async/http/protocol/http11/desync_spec.rb[1:1] | passed | 3.39 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:1] | passed | 0.01789 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:2:1] | passed | 0.01501 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:3:1] | passed | 0.41109 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:4:1] | passed | 0.01665 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:5:1] | passed | 0.0155 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:6:1] | passed | 0.02588 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:6:2] | passed | 0.02548 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:7:1] | passed | 0.0148 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:7:2] | passed | 1.02 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:7:3:1] | passed | 0.09381 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:7:3:2:1] | passed | 0.01818 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:7:3:2:2] | passed | 0.01732 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:7:3:2:3] | passed | 0.01566 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:7:3:2:4] | passed | 0.01533 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:7:3:2:5] | passed | 0.01522 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:7:3:2:6] | passed | 0.01497 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:7:4:1] | passed | 0.01502 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:7:5:1] | passed | 0.01535 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:7:5:2] | passed | 0.01506 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:7:5:3] | passed | 0.01473 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:7:5:4] | passed | 0.01475 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:8:1] | passed | 0.01481 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:9:1] | passed | 0.01477 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:10:1] | passed | 0.01535 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:11:1] | passed | 0.01514 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:12:1] | passed | 0.01478 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:13:1] | passed | 0.01462 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:14:1] | passed | 0.01575 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:15:1] | passed | 0.11794 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:16:1] | passed | 0.62467 seconds | +./spec/async/http/protocol/http11_spec.rb[1:1:17:1] | passed | 0.24901 seconds | +./spec/async/http/protocol/http11_spec.rb[1:2:1] | passed | 0.01756 seconds | +./spec/async/http/protocol/http11_spec.rb[1:3:1] | passed | 0.01517 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:1] | passed | 0.01722 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:2:1] | passed | 0.01595 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:3:1] | passed | 3.49 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:4:1] | passed | 0.01817 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:5:1] | passed | 0.01483 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:6:1] | passed | 0.02516 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:6:2] | passed | 0.0253 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:7:1] | passed | 0.01426 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:7:2] | passed | 1.02 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:7:3:1] | passed | 0.19562 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:7:3:2:1] | passed | 0.01771 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:7:3:2:2] | passed | 0.01559 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:7:3:2:3] | passed | 0.01516 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:7:3:2:4] | passed | 0.01512 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:7:3:2:5] | passed | 0.01476 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:7:3:2:6] | passed | 0.01483 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:7:4:1] | passed | 0.01444 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:7:5:1] | passed | 0.0146 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:7:5:2] | passed | 0.01455 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:7:5:3] | passed | 0.01473 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:7:5:4] | passed | 0.01497 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:8:1] | passed | 0.01522 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:9:1] | passed | 0.0145 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:10:1] | passed | 0.01435 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:11:1] | passed | 0.01489 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:12:1] | passed | 0.01453 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:13:1] | passed | 0.01439 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:14:1] | passed | 0.01443 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:15:1] | passed | 0.1152 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:16:1] | passed | 0.62365 seconds | +./spec/async/http/protocol/http2_spec.rb[1:1:17:1] | passed | 0.23778 seconds | +./spec/async/http/protocol/http2_spec.rb[1:2:1] | passed | 0.01744 seconds | +./spec/async/http/protocol/http2_spec.rb[1:3:1] | passed | 0.01594 seconds | +./spec/async/http/protocol/http2_spec.rb[1:4:1] | passed | 0.01527 seconds | +./spec/async/http/protocol/http2_spec.rb[1:5:1] | passed | 0.03528 seconds | +./spec/async/http/proxy_spec.rb[1:1:1:1] | passed | 0.01431 seconds | +./spec/async/http/proxy_spec.rb[1:1:2:1] | passed | 0.01419 seconds | +./spec/async/http/proxy_spec.rb[1:1:3:1] | passed | 0.0147 seconds | +./spec/async/http/proxy_spec.rb[1:1:4:1] | passed | 0.01478 seconds | +./spec/async/http/proxy_spec.rb[1:1:4:2] | passed | 0.01475 seconds | +./spec/async/http/proxy_spec.rb[1:1:5:1] | passed | 0.46421 seconds | +./spec/async/http/proxy_spec.rb[1:1:5:2] | passed | 0.65114 seconds | +./spec/async/http/proxy_spec.rb[1:1:5:3:1:1] | passed | 0.6387 seconds | +./spec/async/http/proxy_spec.rb[1:1:5:3:2:1] | passed | 0.02658 seconds | +./spec/async/http/proxy_spec.rb[2:1:1:1] | passed | 0.01853 seconds | +./spec/async/http/proxy_spec.rb[2:1:2:1] | passed | 0.01437 seconds | +./spec/async/http/proxy_spec.rb[2:1:3:1] | passed | 0.01446 seconds | +./spec/async/http/proxy_spec.rb[2:1:4:1] | passed | 0.01431 seconds | +./spec/async/http/proxy_spec.rb[2:1:4:2] | passed | 0.01418 seconds | +./spec/async/http/proxy_spec.rb[2:1:5:1] | passed | 0.46969 seconds | +./spec/async/http/proxy_spec.rb[2:1:5:2] | passed | 0.63947 seconds | +./spec/async/http/proxy_spec.rb[2:1:5:3:1:1] | passed | 0.65739 seconds | +./spec/async/http/proxy_spec.rb[2:1:5:3:2:1] | passed | 0.02528 seconds | +./spec/async/http/proxy_spec.rb[3:1:1:1] | passed | 0.0165 seconds | +./spec/async/http/proxy_spec.rb[3:1:2:1] | passed | 0.01401 seconds | +./spec/async/http/proxy_spec.rb[3:1:3:1] | passed | 0.01474 seconds | +./spec/async/http/proxy_spec.rb[3:1:4:1] | passed | 0.01485 seconds | +./spec/async/http/proxy_spec.rb[3:1:4:2] | passed | 0.01475 seconds | +./spec/async/http/proxy_spec.rb[3:1:5:1] | passed | 0.47084 seconds | +./spec/async/http/proxy_spec.rb[3:1:5:2] | passed | 0.66425 seconds | +./spec/async/http/proxy_spec.rb[3:1:5:3:1:1] | passed | 0.66628 seconds | +./spec/async/http/proxy_spec.rb[3:1:5:3:2:1] | passed | 0.0256 seconds | +./spec/async/http/relative_location_spec.rb[1:1:1:1] | passed | 0.01881 seconds | +./spec/async/http/relative_location_spec.rb[1:1:1:2:1] | passed | 0.01429 seconds | +./spec/async/http/relative_location_spec.rb[1:1:1:2:2] | passed | 0.01463 seconds | +./spec/async/http/relative_location_spec.rb[1:1:2:1] | passed | 0.01435 seconds | +./spec/async/http/relative_location_spec.rb[1:1:3:1] | passed | 0.01423 seconds | +./spec/async/http/relative_location_spec.rb[1:1:4:1] | passed | 0.01419 seconds | +./spec/async/http/retry_spec.rb[1:1] | passed | 0.16652 seconds | +./spec/async/http/retry_spec.rb[1:2] | passed | 0.1711 seconds | +./spec/async/http/ssl_spec.rb[1:1:1] | passed | 0.24282 seconds | +./spec/async/http/statistics_spec.rb[1:1] | passed | 0.01526 seconds | +./spec/rack/test_spec.rb[1:1] | passed | 0.42049 seconds | diff --git a/async-http.gemspec b/async-http.gemspec index d1c579f5..0323abee 100644 --- a/async-http.gemspec +++ b/async-http.gemspec @@ -7,7 +7,7 @@ Gem::Specification.new do |spec| spec.version = Async::HTTP::VERSION spec.summary = "A HTTP client and server library." - spec.authors = ["Samuel Williams", "Brian Morearty", "Bruno Sutic", "Janko Marohnić", "Adam Daniels", "Cyril Roelandt", "Denis Talakevich", "Ian Ker-Seymer", "Igor Sidorov", "Marco Concetto Rudilosso", "Olle Jonsson", "Orgad Shaneh", "Sam Shadwell", "Stefan Wrobel", "Tim Meusel", "Trevor Turk", "Viacheslav Koval"] + spec.authors = ["Samuel Williams", "Brian Morearty", "Bruno Sutic", "Janko Marohnić", "Adam Daniels", "Thomas Morgan", "Cyril Roelandt", "Denis Talakevich", "Ian Ker-Seymer", "Igor Sidorov", "Marco Concetto Rudilosso", "Olle Jonsson", "Orgad Shaneh", "Sam Shadwell", "Stefan Wrobel", "Tim Meusel", "Trevor Turk", "Viacheslav Koval"] spec.license = "MIT" spec.cert_chain = ['release.cert'] @@ -17,6 +17,8 @@ Gem::Specification.new do |spec| spec.files = Dir.glob(['{bake,lib}/**/*', '*.md'], File::FNM_DOTMATCH, base: __dir__) + spec.required_ruby_version = ">= 3.0" + spec.add_dependency "async", ">= 1.25" spec.add_dependency "async-io", ">= 1.28" spec.add_dependency "async-pool", ">= 0.2" @@ -24,11 +26,4 @@ Gem::Specification.new do |spec| spec.add_dependency "protocol-http1", "~> 0.15.0" spec.add_dependency "protocol-http2", "~> 0.15.0" spec.add_dependency "traces", ">= 0.10.0" - - spec.add_development_dependency "async-container", "~> 0.14" - spec.add_development_dependency "async-rspec", "~> 1.10" - spec.add_development_dependency "covered" - spec.add_development_dependency "localhost" - spec.add_development_dependency "rack-test" - spec.add_development_dependency "rspec", "~> 3.6" end diff --git a/config/external.yaml b/config/external.yaml index 663e3e16..d94b9192 100644 --- a/config/external.yaml +++ b/config/external.yaml @@ -1,6 +1,6 @@ falcon: url: https://github.com/socketry/falcon.git - command: bundle exec rspec + command: bundle exec bake test async-rest: url: https://github.com/socketry/async-rest.git command: bundle exec rspec diff --git a/config/sus.rb b/config/sus.rb new file mode 100644 index 00000000..ee30cfcf --- /dev/null +++ b/config/sus.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +# Released under the MIT License. +# Copyright, 2017-2023, by Samuel Williams. +# Copyright, 2018, by Janko Marohnić. + +ENV['CONSOLE_LEVEL'] ||= 'fatal' + +require 'covered/sus' +include Covered::Sus + +require 'traces' +ENV['TRACES_BACKEND'] ||= 'traces/backend/test' diff --git a/examples/google/about.html b/examples/google/about.html new file mode 100644 index 00000000..4bf91836 --- /dev/null +++ b/examples/google/about.html @@ -0,0 +1,16 @@ +