Skip to content

Commit

Permalink
Merge branch 'master' into remove-ed25519-gem
Browse files Browse the repository at this point in the history
  • Loading branch information
nomadium authored Dec 2, 2024
2 parents d1eae33 + 5c42420 commit b945a96
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 10 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
## [Unreleased]

- Switch to pre-release starry version on ruby-head.
## [0.6.1] - 2024-12-02

- Add more validation checks on HTTP field component identifiers and parameters.

- Relax rack version requirements.

- Update uri dependency to the latest version.

## [0.6.0] - 2024-04-06

- Support parameters on HTTP field component identifiers.
Expand Down
11 changes: 6 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
PATH
remote: .
specs:
linzer (0.6.0)
linzer (0.6.1)
ed25519 (~> 1.3, >= 1.3.0)
openssl (~> 3.0, >= 3.0.0)
rack (~> 3.0)
rack (>= 2.2, < 4.0)
starry (~> 0.2)
uri (~> 0.12, >= 0.12.0)
uri (~> 1.0, >= 1.0.2)

GEM
remote: https://rubygems.org/
Expand All @@ -23,7 +24,7 @@ GEM
ast (~> 2.4.1)
racc
racc (1.7.3)
rack (3.0.11)
rack (3.1.8)
rainbow (3.1.1)
rake (13.2.1)
regexp_parser (2.9.0)
Expand Down Expand Up @@ -80,7 +81,7 @@ GEM
starry (0.2.0)
base64
unicode-display_width (2.5.0)
uri (0.13.0)
uri (1.0.2)

PLATFORMS
arm64-darwin-21
Expand Down
3 changes: 2 additions & 1 deletion lib/linzer/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ def build(verb, uri = "/", params = {}, headers = {})
request_method = Rack.const_get(verb.upcase)
args = {
"REQUEST_METHOD" => request_method,
"PATH_INFO" => uri.to_str
"PATH_INFO" => uri.to_str,
"rack.input" => StringIO.new
}

Rack::Request.new(build_rack_env(headers).merge(args))
Expand Down
2 changes: 1 addition & 1 deletion lib/linzer/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Linzer
VERSION = "0.6.0"
VERSION = "0.6.1"
end
4 changes: 2 additions & 2 deletions linzer.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ Gem::Specification.new do |spec|

spec.add_runtime_dependency "openssl", "~> 3.0", ">= 3.0.0"
spec.add_runtime_dependency "starry", "~> 0.2"
spec.add_runtime_dependency "rack", "~> 3.0"
spec.add_runtime_dependency "uri", "~> 0.12", ">= 0.12.0"
spec.add_runtime_dependency "rack", ">= 2.2", "< 4.0"
spec.add_runtime_dependency "uri", "~> 1.0", ">= 1.0.2"
end

0 comments on commit b945a96

Please sign in to comment.