Permalink
Switch branches/tags
Nothing to show
1.1.0
1.1.0-beta3
1.1.0-beta2
1.1.0-beta1
1.1.0-RC1
1.0.2
1.0.1
1.0.0
1.0.0-beta2
1.0.0-beta1
1.0.0-RC5
1.0.0-RC4
1.0.0-RC3
1.0.0-RC2
1.0.0-RC1
0.3.11
0.3.10
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.3.0-RC2
0.3.0-RC1
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.2.0-RC2
0.2.0-RC1
0.1.0
Nothing to show
Commits on Mar 19, 2012
-
Add clj-time Intervals/DateTime for :max-age and :expires (fixes #55)
- Add a test for :max-age and :expires to (wrap-cookies ...). There were no real tests to exercise the base input cases (int, string) which the comment block states. This test just makes sure it fulfils that contract. - clj-time is now a project dependency - :max-age accepts an Interval as input. Updated (write-attr-map ...) to accept an Interval (from JodaTime) as well as an int. The interface from clj-time is used. - :expires accepts a DateTime object. It converts the DateTime object in the equivalent RFC822 which the cookie spec requires. - Added pre-conditions for :max-age and :expires to make sure that they only accept Interval and DateTime, respectively.
KushalP committedMar 17, 2012
Commits on Mar 17, 2012