Skip to content

Commit 3472a90

Browse files
authored
Support Ruby 3.2 (#330)
1 parent a615833 commit 3472a90

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
ruby-version: ['2.6', '2.7', '3.0', '3.1']
16+
ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2']
1717

1818
steps:
1919
- uses: actions/checkout@v2

.rspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
--color
22
--format progress
3+
--require spec_helper

puffing-billy.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
1616
gem.license = 'MIT'
1717

1818
gem.add_development_dependency 'rspec'
19-
gem.add_development_dependency 'thin'
19+
gem.add_development_dependency 'thin', '~> 1.8.1'
2020
gem.add_development_dependency 'faraday', '>= 0.9.0'
2121
gem.add_development_dependency 'apparition'
2222
gem.add_development_dependency 'capybara'

spec/lib/proxy_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
require 'spec_helper'
21
require 'resolv'
32

43
shared_examples_for 'a proxy server' do
@@ -255,7 +254,7 @@
255254

256255
it 'should raise error when disabled' do
257256
# TODO: Suppress stderr output: https://gist.github.com/adamstegman/926858
258-
expect { http.get('/foo') }.to raise_error(Faraday::ConnectionFailed, 'end of file reached')
257+
expect { http.get('http://non-whitelisted.test') }.to raise_error(Faraday::ConnectionFailed, 'end of file reached')
259258
end
260259
end
261260

0 commit comments

Comments
 (0)