Compare commits

..

2 Commits

Author SHA1 Message Date
HoneyryderChuck
15ccf27eb2 fix google-protobuf constraints 2023-02-27 22:43:31 +00:00
HoneyryderChuck
b803da48e1 updated datee for cookies test, as it's overdue 2023-02-27 19:18:01 +00:00
2 changed files with 6 additions and 2 deletions

View File

@ -36,7 +36,11 @@ group :test do
platform :mri do platform :mri do
if RUBY_VERSION >= "2.3.0" if RUBY_VERSION >= "2.3.0"
gem "google-protobuf", "< 3.19.2" if RUBY_VERSION < "2.5.0" if RUBY_VERSION < "2.5.0"
gem "google-protobuf", "< 3.19.2"
elsif RUBY_VERSION < "2.7.0"
gem "google-protobuf", "< 3.22.0"
end
if RUBY_VERSION <= "2.6.0" if RUBY_VERSION <= "2.6.0"
gem "grpc", "< 1.49.0" gem "grpc", "< 1.49.0"
else else

View File

@ -144,7 +144,7 @@ module Requests
# regression test # regression test
rfc2616_expires_jar = HTTPX::Plugins::Cookies::Jar.new rfc2616_expires_jar = HTTPX::Plugins::Cookies::Jar.new
rfc2616_expires_jar.parse(%(a=b; Path=/; Expires=Fri, 17-Feb-2023 12:43:41 GMT)) rfc2616_expires_jar.parse(%(a=b; Path=/; Expires=Fri, 17-Feb-2033 12:43:41 GMT))
assert !rfc2616_expires_jar[jar_cookies_uri].empty? assert !rfc2616_expires_jar[jar_cookies_uri].empty?
# Test domain # Test domain