Skip to content

Commit a553a82

Browse files
committed
Make sure cookies are looked up by string not symbol
1 parent 5cc7fc5 commit a553a82

File tree

4 files changed

+22
-10
lines changed

4 files changed

+22
-10
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1-
## [0.0.22] - 2025-04-22
1+
## [0.0.24] - 2025-04-28
2+
3+
- Make sure cookies are looked up by string not symbol
4+
5+
## [0.0.23] - 2025-04-22
26

37
- Separate out #applicable? behavior in some mutators
48

9+
## [0.0.22] - 2025-04-22
10+
11+
- Make use of NotFoundError.for
12+
513
## [0.0.21] - 2025-04-15
614

715
- Fix incorrect content-type for help action

Gemfile.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
foobara-http-command-connector (0.0.23)
4+
foobara-http-command-connector (0.0.24)
55
foobara (~> 0.0.88)
66

77
GEM
@@ -21,7 +21,7 @@ GEM
2121
diff-lcs (1.6.1)
2222
docile (1.4.1)
2323
dotenv (3.1.8)
24-
extract-repo (0.0.10)
24+
extract-repo (0.0.11)
2525
foobara (~> 0.0.102)
2626
foobara-sh-cli-connector (~> 0.0.1)
2727
ffi (1.17.2)
@@ -55,7 +55,7 @@ GEM
5555
foobara-type-generator (~> 0.0.1)
5656
foobara-typescript-react-command-form-generator (~> 0.0.1)
5757
foobara-typescript-remote-command-generator (~> 0.0.1)
58-
foobara (0.0.108)
58+
foobara (0.0.113)
5959
bigdecimal
6060
foobara-lru-cache (~> 0.0.2)
6161
foobara-util (~> 0.0.11)
@@ -71,7 +71,7 @@ GEM
7171
foobara-files-generator
7272
foobara-dotenv-loader (0.0.3)
7373
dotenv
74-
foobara-empty-ruby-project-generator (0.0.17)
74+
foobara-empty-ruby-project-generator (0.0.18)
7575
extract-repo (~> 0.0.1)
7676
foobara (~> 0.0.94)
7777
foobara-files-generator (~> 0.0.1)
@@ -106,7 +106,7 @@ GEM
106106
foobara-rubocop-rules (0.0.8)
107107
rubocop
108108
rubocop-rspec
109-
foobara-sh-cli-connector (0.0.15)
109+
foobara-sh-cli-connector (0.0.16)
110110
foobara (~> 0.0.88)
111111
foobara-sh-cli-connector-generator (0.0.4)
112112
foobara-files-generator (~> 0.0.1)
@@ -117,7 +117,7 @@ GEM
117117
foobara-files-generator
118118
foobara-typescript-react-command-form-generator (0.0.12)
119119
foobara-typescript-remote-command-generator (~> 0.0.1)
120-
foobara-typescript-remote-command-generator (0.0.18)
120+
foobara-typescript-remote-command-generator (0.0.19)
121121
foobara-files-generator (~> 0.0.1)
122122
foobara-util (0.0.11)
123123
formatador (1.1.0)
@@ -144,7 +144,7 @@ GEM
144144
pp (>= 0.6.0)
145145
rdoc (>= 4.0.0)
146146
reline (>= 0.4.2)
147-
json (2.10.2)
147+
json (2.11.3)
148148
language_server-protocol (3.17.0.4)
149149
lint_roller (1.1.0)
150150
listen (3.9.0)
@@ -204,7 +204,7 @@ GEM
204204
diff-lcs (>= 1.2.0, < 2.0)
205205
rspec-support (~> 3.13.0)
206206
rspec-support (3.13.2)
207-
rubocop (1.75.3)
207+
rubocop (1.75.4)
208208
json (~> 2.3)
209209
language_server-protocol (~> 3.17.0.2)
210210
lint_roller (~> 1.1.0)

src/http/request.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ def initialize(
3030
remote_ip: nil,
3131
prefix: nil
3232
)
33+
if cookies
34+
cookies = cookies.transform_keys(&:to_s)
35+
end
36+
3337
self.path = path
3438
self.method = method
3539
self.headers = headers

version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Foobara
22
module HttpCommandConnector
3-
VERSION = "0.0.23".freeze
3+
VERSION = "0.0.24".freeze
44

55
local_ruby_version = File.read("#{__dir__}/.ruby-version").chomp
66
local_ruby_version_minor = local_ruby_version[/\A(\d+\.\d+)\.\d+\z/, 1]

0 commit comments

Comments
 (0)