pschinis / rails_same_site_cookie

Manages the new SameSite=None behavior for Rails apps that use cookie-based authentication for cross-domain requests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Ruby < 2.3

sshaw opened this issue Β· comments

Hi, your gem supports Rails >= 4.1 (πŸŽ‰) but since you use the safe navigation operator (&.) one must have Ruby >= 2.3.

I understand that 2.3 is EOL'd but unfortunately that does not mean systems will stop using these versions.

I can put together a PR for this is you're interested. I see no downside.

Though actually User Agent Parser requires 2.4. You'd have to change gem requirement to 2.4.1 to support Ruby <= 2.3.