stokito / grails-cookie

Makes dealing with cookies easy. Provides an injectable service and tag to easily get, set, and delete cookies with one line
http://grails.org/plugin/cookie
16 stars 12 forks source link

My proposition of 0.5 release #4

Closed stokito closed 11 years ago

stokito commented 11 years ago

Hi Dale!

Please take a look on this changes that I would like to propose.

  1. < cooke:get /> tag is marked as deprecated becouse we can use < g: cookie/> instead
  2. Service methods get() set() and delete() are renamed to same names as the exposed to response: getCookie(), setCookie(), deleteCookie().
  3. New methods findCookie(), setCookie() and deleteCookie() that takes Cookie class as param (used in my work project).

I try to keep backward capability. Also there is an error https://github.com/dalew75/grails-cookie/issues/3