same_site_cookie_fix 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/same_site_cookie_fix/middleware.rb +2 -2
- data/lib/same_site_cookie_fix/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20999099f8ca1e0bad71f8a9deba1e7ec2739053a1dd6ab1fbe901c98615094d
|
4
|
+
data.tar.gz: 68a6f2b0c8ecf65eb8ce1d745534471ced808f2c1f50df79ee96559f97916e50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 491ec0cef34e2a2582c5ec6cc4693a3166fe9970b42d411739313ec11ad3d023ad42dbbcdf25f16af566fdcd486428c56ba9c500c1d7885eee7b7742c1aac12b
|
7
|
+
data.tar.gz: db9891ceaf6d5bbf763442e772dae89b4ebb8554846970b2fb75c34350fa7f20b4d66cd930b100725f3728aa210ae388d35feefc051621cf64248de78709c8b3
|
@@ -41,11 +41,11 @@ module SameSiteCookieFix
|
|
41
41
|
end
|
42
42
|
|
43
43
|
def self.chromium_based?(sniffer)
|
44
|
-
sniffer.browser_name.downcase
|
44
|
+
sniffer.browser_name.downcase =~ /chrom(e|ium)/
|
45
45
|
end
|
46
46
|
|
47
47
|
def self.uc_browser?(sniffer)
|
48
|
-
sniffer.user_agent.downcase
|
48
|
+
sniffer.user_agent.downcase =~ /uc\s?browser/
|
49
49
|
end
|
50
50
|
|
51
51
|
def self.uc_browser_version_at_least?(sniffer:, major:, minor:, build:)
|