Commit graph

336 commits

Author SHA1 Message Date
Mike Dalessio
61fec67ab3
Add #to_h to cookie.rb (#55) 2025-07-26 09:30:19 -04:00
Mike Dalessio
2301380cec
Fix up Cookie#to_h and the test 2025-07-26 09:25:58 -04:00
Luke Hill
2ac1692e41
Add #to_h to cookie.rb 2025-07-26 09:15:26 -04:00
Mike Dalessio
467b84fedf
version bump to v1.0.8 2024-12-05 17:30:16 -05:00
Mike Dalessio
e4e66bdf0a
Update cookie.rb to handle situations when expires is a DateTime object (#52) 2024-12-05 17:27:11 -05:00
Mike Dalessio
fc422f2378
test: passing DateTime to Cookie#expires= 2024-12-05 16:46:09 -05:00
Luke Hill
d2890896e7
Update cookie.rb to handle situations when expires is a DateTime object
The standard Selenium WebDriver response is to return an object which has an expiry in datetime format.

In order to most effectively work with Selenium, and to provide the smallest barrier possible, co-erce the DateTime object into a Time object and then store it as a HTTP Cookie
2024-12-02 17:41:53 +00:00
Mike Dalessio
9efa5792ba
version bump to v1.0.7 2024-06-06 15:33:41 -04:00
Mike Dalessio
2561ccbd2b
fix: explicitly require CGI (#50) 2024-06-06 15:30:14 -04:00
Mike Dalessio
69b240bc01
fix: explicitly require CGI
Closes #49
2024-06-06 11:11:17 -04:00
Akinori MUSHA
7e79d3c69a Update CHANGELOG.md 2024-06-01 12:00:17 +09:00
Akinori MUSHA
b2019f9c10 Bump VERSION to 1.0.6 2024-06-01 11:51:42 +09:00
Mike Dalessio
6b2ffb6fc4
Merge pull request #47 from sparklemotion/flavorjones-ruby-3.4-warnings
quash ruby 3.4 warnings
2024-04-07 21:43:59 -04:00
Mike Dalessio
ecc69e2ee2
Merge pull request #22 from perlun/patch-1
README.md: Added Rubygems badge
2024-03-24 10:10:59 -04:00
Mike Dalessio
a7060c70cc
Merge pull request #30 from sergioro9/improve_README
add link to domain_name gem in README.md
2024-03-24 10:09:29 -04:00
Mike Dalessio
22ea7af086
fix: be explicit about frozen string literals to quash warnings 2024-03-24 10:02:56 -04:00
Mike Dalessio
6bb554dbe9
Merge pull request #46 from sparklemotion/flavorjones-update-ci
ci: maintenance
2024-03-23 22:23:31 -04:00
Mike Dalessio
cffe3247ef
test: update uri tests with better names
so we can clearly tell which entry fails
2024-03-23 21:56:40 -04:00
Mike Dalessio
554d38a863
test: get to passing on JRuby
- update error message
- avoid race condition on cookie expiration
2024-03-23 17:25:14 -04:00
Mike Dalessio
195f5ebb9f
ci: add coverage for ruby 3.2 and 3.3 2024-03-23 17:08:22 -04:00
Mike Dalessio
f1415469c6
ci: update actions/checkout fromv v2 to v4 2024-03-23 17:08:03 -04:00
Akinori Musha
94e2b85861
Merge pull request #42 from andrelaszlo/abstract_store_fix_error_formatting_bug
Fix error formatting bug in HTTP::CookieJar::AbstractStore
2023-11-13 23:02:13 +09:00
Akinori MUSHA
043d653d01 Merge branch 'lax-uri-2' 2023-11-02 01:51:16 +09:00
Akinori MUSHA
8930674adf Change the custom URI parser to be a bit more conservative
First try the default URI(), and if it fails relax the restrictions on
the path component as a fallback.
2023-11-02 01:48:31 +09:00
Christian Schmidt
27cc46c1d7 URI.for is not supported on old rubies 2023-10-13 07:19:11 +02:00
Christian Schmidt
052479536c Allow non-RFC 3986-compliant URLs 2023-10-12 18:34:07 +02:00
Akinori MUSHA
e76b7add4a Set @knu as the code owner 2023-02-15 16:32:15 +09:00
André Laszlo
e7f2eb26e1 Add unit test 2023-02-13 18:53:02 +01:00
André Laszlo
44374a7517 Fix an error formatting bug 2023-02-13 18:24:47 +01:00
Akinori MUSHA
b1202f959e Bump VERSION to 1.0.5 2022-05-25 17:14:50 +09:00
Akinori MUSHA
060eb44497 Avoid use of numeric indexing on SQLite3::ResultSet::HashWithTypesAndFields 2022-05-25 15:37:48 +09:00
Akinori MUSHA
d12449a983 Fix tests in the same way as the YAMLSaver implementation 2022-05-25 15:26:53 +09:00
Akinori MUSHA
e8b7de0c54 Update the ruby versions to test this gem with 2022-05-25 11:23:16 +09:00
Akinori MUSHA
c4b73bfa4f Relax the version constraints on sqlite3 2022-05-25 11:21:26 +09:00
Akinori MUSHA
b4b240b31a
Merge pull request #35 from ShockwaveNN/patch-1
Add 1.0.4 version to CHANGELOG
2022-05-25 09:32:52 +09:00
Pavel Lobashov
be89614f46
Add 1.0.4 version to CHANGELOG
I've received update of `http-cookie` to 1.0.4 via dependabot, but seem there is no CHANGELOG entry for this release

Judging by changes between tag - unreleased changes is actually v1.0.4
2021-06-08 09:38:24 +03:00
Akinori MUSHA
2578ebb536 Add a missing branches key 2021-06-07 17:11:23 +09:00
Akinori MUSHA
47acf91edf Migrate from Travis CI to GitHub Actions 2021-06-07 17:05:24 +09:00
Akinori MUSHA
28a7478d83 Improve tests with $LOADED_FEATURES 2021-06-07 16:05:23 +09:00
Akinori MUSHA
11b9108daa
Merge pull request #34 from sparklemotion/safe_yaml
Use safe_load when using Psych >=3.1
2021-06-07 15:35:10 +09:00
Akinori MUSHA
2c220f44dd Allow aliases because YAML.dump generates aliases when it sees multiple occurrences of an object 2021-06-07 14:45:58 +09:00
Akinori MUSHA
7a1bf4fbb3 Use safe_load when using Psych >=3.1 2021-06-07 13:41:45 +09:00
sergioro
a6c6d4a082 add link to domain_name gem in README.md 2020-10-01 15:13:14 -06:00
Per Lundberg
9d635c127c README.md: Added Rubygems badge 2017-07-17 10:24:16 +03:00
Akinori MUSHA
9eb68dcce5 Merge pull request #14 from wrzasa/master
More informative error message when cannot load a store (rebased on current master)
2016-12-09 21:52:51 +09:00
Akinori MUSHA
24b5d407d9 Merge pull request #10 from marxarelli/fix/host-only-cookie-domain-comparison
Fix host-only cookies for unqualified hostnames
2016-12-09 21:48:59 +09:00
Akinori MUSHA
8091569f55 Add a change log 2016-12-09 21:45:52 +09:00
Akinori MUSHA
80e855fdf2 Merge branch 'fix_time_representation' 2016-12-09 21:43:47 +09:00
Akinori MUSHA
56e0fd5175 Add 1.8 compatibility 2016-12-09 21:38:35 +09:00
Akinori MUSHA
96b9edd7c8 Merge branch 'github0013-microseconds' into fix_time_representation 2016-12-09 21:17:46 +09:00