Set SameSite Attributes for Cookies

Hi,
can anyone recommend a method or gem to help me set the SameSite attribute for cookies on my Middleman sites? Chrome is changing how these are dealt with, see https://www.chromestatus.com/feature/5633521622188032
Thanks