diff --git a/qeweney.gemspec b/qeweney.gemspec index 3d6e108..1b15a8b 100644 --- a/qeweney.gemspec +++ b/qeweney.gemspec @@ -10,17 +10,16 @@ Gem::Specification.new do |s| s.files = `git ls-files`.split s.homepage = 'https://github.com/digital-fabric/qeweney' s.metadata = { - "source_code_uri" => "https://github.com/digital-fabric/qeweney" + 'source_code_uri' => 'https://github.com/digital-fabric/qeweney' } - s.rdoc_options = ["--title", "Qeweney", "--main", "README.md"] - s.extra_rdoc_files = ["README.md"] - s.require_paths = ["lib"] + s.rdoc_options = ['--title', 'Qeweney', '--main', 'README.md'] + s.extra_rdoc_files = ['README.md'] + s.require_paths = ['lib'] s.required_ruby_version = '>= 2.6' - s.add_runtime_dependency 'escape_utils', '~>1.3.0' + s.add_runtime_dependency 'escape_utils', '1.3.0' - s.add_development_dependency 'rake', '~>12.3.3' - s.add_development_dependency 'minitest', '~>5.11.3' - s.add_development_dependency 'minitest-reporters', '~>1.4.2' - s.add_development_dependency 'benchmark-ips', '~>2.8.3' + s.add_development_dependency 'benchmark-ips', '2.14.0' + s.add_development_dependency 'minitest', '5.25.4' + s.add_development_dependency 'rake', '13.2.1' end diff --git a/test/test_request_info.rb b/test/test_request_info.rb index ef920e3..54b2fb4 100644 --- a/test/test_request_info.rb +++ b/test/test_request_info.rb @@ -2,7 +2,7 @@ require_relative 'helper' -class RequestInfoTest < MiniTest::Test +class RequestInfoTest < Minitest::Test def test_uri r = Qeweney.mock(':path' => '/test/path') assert_equal '/test/path', r.path diff --git a/test/test_response.rb b/test/test_response.rb index 2f9e6c1..14630e6 100644 --- a/test/test_response.rb +++ b/test/test_response.rb @@ -2,7 +2,7 @@ require_relative 'helper' -class RedirectTest < MiniTest::Test +class RedirectTest < Minitest::Test def test_redirect r = Qeweney.mock r.redirect('/foo') @@ -22,7 +22,7 @@ def test_redirect_wirth_status end end -class StaticFileResponeTest < MiniTest::Test +class StaticFileResponeTest < Minitest::Test def setup @path = File.join(__dir__, 'helper.rb') @stat = File.stat(@path) @@ -114,7 +114,7 @@ def test_serve_file_non_existent end end -class UpgradeTest < MiniTest::Test +class UpgradeTest < Minitest::Test def test_upgrade r = Qeweney.mock r.upgrade('df') @@ -167,7 +167,7 @@ def test_websocket_upgrade end end -class ServeRackTest < MiniTest::Test +class ServeRackTest < Minitest::Test def test_serve_rack r = Qeweney.mock( ':method' => 'get', diff --git a/test/test_routing.rb b/test/test_routing.rb index 01ac636..701ba6f 100644 --- a/test/test_routing.rb +++ b/test/test_routing.rb @@ -2,7 +2,7 @@ require_relative 'helper' -class RoutingTest < MiniTest::Test +class RoutingTest < Minitest::Test App1 = ->(r) do r.route do r.on_root { r.redirect '/hello' } diff --git a/test/test_test_adapter.rb b/test/test_test_adapter.rb index d9bccb9..f998d0f 100644 --- a/test/test_test_adapter.rb +++ b/test/test_test_adapter.rb @@ -3,7 +3,7 @@ require_relative 'helper' require 'qeweney/test_adapter' -class TestAdapterTest < MiniTest::Test +class TestAdapterTest < Minitest::Test def test_test_adapter adapter = Qeweney::TestAdapter.new req = Qeweney::Request.new({ ':path' => '/foo' }, adapter)