Skip to content

Commit

Permalink
Update and cleanup dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
noteflakes committed Jan 7, 2025
1 parent cc1917f commit 8fbd19f
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 16 deletions.
17 changes: 8 additions & 9 deletions qeweney.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/test_request_info.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions test/test_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require_relative 'helper'

class RedirectTest < MiniTest::Test
class RedirectTest < Minitest::Test
def test_redirect
r = Qeweney.mock
r.redirect('/foo')
Expand All @@ -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)
Expand Down Expand Up @@ -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')
Expand Down Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion test/test_routing.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
Expand Down
2 changes: 1 addition & 1 deletion test/test_test_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8fbd19f

Please sign in to comment.