Commit graph

  • 04950f6796 Cookie#new: Reject a mixed case symbol as keyword for simplicity. Akinori MUSHA 2013-04-16 16:39:55 +0900
  • 20cb22bbb0 Increase GC threshold for shorter test time. Akinori MUSHA 2013-04-16 10:21:52 +0900
  • a3ab578671 Fix *Store#empty?. Akinori MUSHA 2013-04-16 09:57:31 +0900
  • 2bb7485460 Add tests for CookieJar#clone, #cleanup, expiration by #each and #empty?. Akinori MUSHA 2013-04-16 08:52:49 +0900
  • 5bdb8f41ae Cookie#new prefers downcased symbols for keywords. Akinori MUSHA 2013-04-16 08:44:48 +0900
  • c293005676 Bump VERSION to 1.0.0.pre12. Akinori MUSHA 2013-04-16 02:44:26 +0900
  • 8abf3483e8 Travis-CI keeps reporting SEGV in ruby 1.9.3p327, so disuse at_exit. Akinori MUSHA 2013-04-16 02:20:54 +0900
  • 18dc77af9f Replace assert_send in at_exit with a simple message output. Akinori MUSHA 2013-04-16 02:04:59 +0900
  • b8170fb7e2 Increase the chance of having a finalizer called. Akinori MUSHA 2013-04-16 01:52:59 +0900
  • 8ae076d9ea Fix the compatibility code to support Syck. Akinori MUSHA 2013-04-16 01:39:09 +0900
  • fcdaddcbe6 Emit a proper message when try_convert() fails. Akinori MUSHA 2013-04-16 01:38:05 +0900
  • b02e800dfa Comment out unused/advisory bits to gain coverage. Akinori MUSHA 2013-04-16 00:54:56 +0900
  • 10ddb688df Inhibit cloning MozillaStore. Akinori MUSHA 2013-04-16 00:38:47 +0900
  • d806955f57 Fix hand-made autoloading to allow directly referencing MozillaStore. Akinori MUSHA 2013-04-16 00:37:10 +0900
  • ded02f8327 Make MozillaStore#close actually "work" by closing open statements. Akinori MUSHA 2013-04-16 00:04:54 +0900
  • db58d2c8ab silently(): Use ensure. Akinori MUSHA 2013-04-16 00:04:15 +0900
  • e9230a00c1 Add tests for MozillaStore#upgrade_database and fix its bugs. Akinori MUSHA 2013-04-16 00:03:03 +0900
  • 25dd32219f MozillaStore#close: Do not call SQLite3::Database#close if already closed. Akinori MUSHA 2013-04-15 23:57:35 +0900
  • 8e40fc3028 Test compatibility with a YAML file saved by Mechanize::Cookie. Akinori MUSHA 2013-04-15 14:15:46 +0900
  • d44218c2e2 Cookie#acceptable? should not raise ArgumentError when it takes no argument. Akinori MUSHA 2013-04-15 10:29:07 +0900
  • ea45ee3b38 Bump the version to 1.0.0.pre11. Akinori MUSHA 2013-04-15 10:16:28 +0900
  • 03627aa42a Fix Hash.try_convert. Akinori MUSHA 2013-04-15 09:33:47 +0900
  • 94d28bdfbb Update examples again. Akinori MUSHA 2013-04-15 09:09:04 +0900
  • cd9571615a Update examples. Akinori MUSHA 2013-04-15 08:54:48 +0900
  • 28458101b6 HTTP::Cookie.set_cookie_value: Don't take an origin argument. Akinori MUSHA 2013-04-15 08:54:09 +0900
  • 88e3f28591 Directly define String#try_convert and Hash#try_convert in ruby 1.8. Akinori MUSHA 2013-04-14 18:22:30 +0900
  • 39861d2dbb Fix time value validation. Akinori MUSHA 2013-04-14 13:47:49 +0900
  • 1a05bb4dd0 Add more tests. Akinori MUSHA 2013-04-14 13:40:49 +0900
  • 9a6b18463b scan_name never returns nil because RE_NAME matches an empty string. Akinori MUSHA 2013-04-14 13:29:08 +0900
  • 028b77987c Gain more coverage. Akinori MUSHA 2013-04-14 13:02:04 +0900
  • 6ec66d11ed Restore and improve compatibility with ruby 1.8. Akinori MUSHA 2013-04-14 13:01:37 +0900
  • 655fc9eb56 Add tests for the constructor & store. Akinori MUSHA 2013-04-14 12:19:11 +0900
  • c9a8e29202 Fix a typo. Akinori MUSHA 2013-04-14 12:19:10 +0900
  • a1a130f156 CookieJar#parse: Use the block's return values to decide whether to add a cookie. Akinori MUSHA 2013-04-14 12:10:28 +0900
  • 5478f3d9c9 Improve rdoc. Akinori MUSHA 2013-04-14 11:48:54 +0900
  • 6fcc298b80 MozillaStore saves timestamps in seconds, so use a session cookie for testing. Akinori MUSHA 2013-04-13 13:35:54 +0900
  • 9fec000a29 Slightly fix the timestamp tests. Akinori MUSHA 2013-04-13 13:27:09 +0900
  • 2e8fcb4a76 yaml_initialize: Initialize @origin to reduce warnings. Akinori MUSHA 2013-04-13 13:04:54 +0900
  • 17a3cbc970 Remove an unsupported keyword: session. Akinori MUSHA 2013-04-13 12:57:13 +0900
  • 02587d67e0 Cookie.new: Deprecate un-downcased keywords. Akinori MUSHA 2013-04-13 12:56:33 +0900
  • 75267e8002 Use assert_send for comparison tests to see what is going on. Akinori MUSHA 2013-04-12 23:18:06 +0900
  • e1857d76a4 Add Cookie.cookie_value and Cookie.cookie_value_to_hash. Akinori MUSHA 2013-04-12 02:15:13 +0900
  • 82e65b4a9b Allow assigning nil to the cookie value to make an expiration cookie. Akinori MUSHA 2013-04-12 02:13:08 +0900
  • 8c30527293 Update rdoc and comments. Akinori MUSHA 2013-04-12 01:44:47 +0900
  • f1fe763007 CookieJar#cookie(): Allow call without an argument. Akinori MUSHA 2013-04-12 01:40:17 +0900
  • 53758d0a77 Omit expiration check in cookies(). Remove an unused variable. Akinori MUSHA 2013-04-12 01:26:29 +0900
  • 917adc1abb Add a test for Cookie#accessed_at. Akinori MUSHA 2013-04-12 01:25:04 +0900
  • a485e83ad9 Simply use cookie.domain instead of cookie.domain_name.hostname. Akinori MUSHA 2013-04-12 01:19:49 +0900
  • f3b8abdd8e Add CookieJar#delete(). Akinori MUSHA 2013-04-12 01:19:39 +0900
  • 2ef3e42067 Add a note about the for_domain flag in the rdoc for CookieJar#add(). Akinori MUSHA 2013-04-12 01:19:03 +0900
  • 787a0edbb9 Make use of Hash#fetch. Akinori MUSHA 2013-04-11 21:18:25 +0900
  • 8649485f53 Improve rdoc. Akinori MUSHA 2013-04-11 21:13:40 +0900
  • 57218cb858 HTTP::CookieJar#cookies: accessed_at is updated in the underlying store. Akinori MUSHA 2013-04-11 21:12:53 +0900
  • 9c7d563da5 Update README.md. Akinori MUSHA 2013-04-08 14:05:48 +0900
  • ef1f759e9d Fix an example. Akinori MUSHA 2013-04-08 13:53:20 +0900
  • f0eb5d0cd8 Improve markups. Akinori MUSHA 2013-04-08 00:03:04 +0900
  • 865ca54c20 Improve compatibility notes and overall markups. Akinori MUSHA 2013-04-07 23:47:13 +0900
  • db2a4afff1 Bump VERSION to 1.0.0.pre10. Akinori MUSHA 2013-04-07 23:10:25 +0900
  • 6689b3b7aa Drop support for obsolete attributes: version and comment. Akinori MUSHA 2013-04-07 23:09:30 +0900
  • 9e46ce0d30 Cookie#max_age= should reject malformed strings. Akinori MUSHA 2013-04-07 23:07:20 +0900
  • f5f82c0304 Fix test_parse_bad_version and test_parse_bad_max_age. Akinori MUSHA 2013-04-07 23:02:14 +0900
  • dcf7f7e7a5 Avoid a bug of ruby 1.8. Akinori MUSHA 2013-04-03 20:09:48 +0900
  • 726e2f89ea Emulate behavior of URI() of ruby >=1.9 where it raises ArgumentError. Akinori MUSHA 2013-04-03 18:41:22 +0900
  • 9b4ce19873 Bump VERSION to 1.0.0.pre9. Akinori MUSHA 2013-04-03 18:08:56 +0900
  • 7dba33bd40 Cookie#domain=: Fix handling of an empty string and let it accept nil. Akinori MUSHA 2013-04-03 17:58:41 +0900
  • ffabb614ad Perform acceptance check in CookieJar#add instead of origin=. Akinori MUSHA 2013-04-03 17:57:27 +0900
  • 90ffce9aa6 Improve rdoc. Akinori MUSHA 2013-04-03 17:29:08 +0900
  • 25630b35e7 Use case-when. Akinori MUSHA 2013-04-02 23:34:44 +0900
  • 1d9dc5754c Fix testing with simplecov. Akinori MUSHA 2013-04-02 22:59:52 +0900
  • 7ab0a15d78 Update rdoc. Akinori MUSHA 2013-03-29 15:34:27 +0900
  • 48f5783ba5 origin=: Do not raise error if the new value is the same as the stock value. Akinori MUSHA 2013-03-29 02:14:55 +0900
  • 5a78013d85 Bump the version to 1.0.0.pre8. Akinori MUSHA 2013-03-29 01:58:43 +0900
  • 1c140c035d Add a utility shorthand method HTTP::CookieJar#parse. Akinori MUSHA 2013-03-29 01:55:43 +0900
  • dc65a98907 HTTP::Cookie.parse: Change the signature again. Akinori MUSHA 2013-03-29 01:39:30 +0900
  • ef7bdeefba Cookie#cookie_value too should quote values if necessary. Akinori MUSHA 2013-03-28 22:06:19 +0900
  • 2dc17ab7dc Better indentation while test is passing. Akinori MUSHA 2013-03-28 19:24:05 +0900
  • 3131a46f14 Bump the version to 1.0.0.pre7. Akinori MUSHA 2013-03-28 03:53:21 +0900
  • 26034253b1 Elaborate on the hash storage model. Akinori MUSHA 2013-03-28 03:06:14 +0900
  • 8d7da32cc3 Fully test MozillaStore as well as HashStore. Akinori MUSHA 2013-03-27 02:49:55 +0900
  • 4f526857aa Store special cookies properly. Akinori MUSHA 2013-03-28 02:48:38 +0900
  • 91b5184d96 Hold session cookies in an internal HashStore. Akinori MUSHA 2013-03-28 02:47:46 +0900
  • 11a9df8559 Fix handling of the :for_domain option in HTTP::Cookie.new(). Akinori MUSHA 2013-03-28 01:46:42 +0900
  • add4a367fd Include MonitorMixin in store classes and make them thread-safe. Akinori MUSHA 2013-03-28 01:05:22 +0900
  • 30e2915c1e Officially add AbstractStore#delete() as an API method. Akinori MUSHA 2013-03-28 01:04:45 +0900
  • 19901a9d9c Edit rdoc. Akinori MUSHA 2013-03-28 00:37:35 +0900
  • a3a1acfee2 Even a host that equals a public suffix may not issue domain wide cookies. Akinori MUSHA 2013-03-28 00:36:01 +0900
  • c5252649c8 Add some tests that fail to spot bugs. Akinori MUSHA 2013-03-28 00:34:49 +0900
  • c787b0b9dc Bump VERSION to 1.0.0.pre6. Akinori MUSHA 2013-03-28 00:16:51 +0900
  • e72b0fdbc5 YAMLServer#load: Add backward compatibility for reading YAML in the old format. Akinori MUSHA 2013-03-28 00:13:32 +0900
  • 073d83b40c Cookie.new: Let max_age take precedence over expires. Akinori MUSHA 2013-03-28 00:12:46 +0900
  • fcb447164d Prefer __send__ to send. Akinori MUSHA 2013-03-28 00:12:29 +0900
  • 8aa9ed9e6c Bump VERSION to 1.0.0.pre5. Akinori MUSHA 2013-03-27 21:17:07 +0900
  • d76101722d Catch IndexError instead. Akinori MUSHA 2013-03-27 20:40:56 +0900
  • 94d4b8f2a7 Do not depend on sqlite3 on JRuby. Akinori MUSHA 2013-03-27 20:28:32 +0900
  • 4ebce92fad Rescue LoadError. Akinori MUSHA 2013-03-27 20:16:05 +0900
  • 64297ffebe Change sqlite3 to a development dependency, since it is optional. Akinori MUSHA 2013-03-27 20:14:23 +0900
  • 619b915a94 Fix test_yaml_expires taking care of time precisions. Akinori MUSHA 2013-03-27 20:08:27 +0900
  • c53579c231 Bump VERSION to 1.0.0.pre4. Akinori MUSHA 2013-03-27 19:52:14 +0900
  • 683141da59 Use :memory: database to save test time. Akinori MUSHA 2013-03-27 19:49:17 +0900
  • eed7e57813 Use the cookie creation time as base time for Max-Age. Akinori MUSHA 2013-03-27 19:46:44 +0900