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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be012039c123a6c9e3c941345a1d7fa923c6de19df187aa3fff0ccc065b1fefd
4
- data.tar.gz: 02a876f0e92a5b06d7cddfe1156f116dd1304751214cd6db75d7046cfd02e063
3
+ metadata.gz: 20999099f8ca1e0bad71f8a9deba1e7ec2739053a1dd6ab1fbe901c98615094d
4
+ data.tar.gz: 68a6f2b0c8ecf65eb8ce1d745534471ced808f2c1f50df79ee96559f97916e50
5
5
  SHA512:
6
- metadata.gz: ae106227703478774276db58fe5d23d46445aafc99d635a3d1ed3670f8d6c3f7fbbf0c75cf6a398365bb9ad627e4787f56a557c92a719c5b3c30422277f18344
7
- data.tar.gz: 2bdaef832c38b39714a99382ae5c0cca2762cac5f8696fded23f5a7fc0f99820371aa80275c59765bfb8eb826be19046b8b53fbd958c7d3f190e23b1cb615039
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.match?(/chrom(e|ium)/)
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.match?(/uc\s?browser/)
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:)
@@ -1,5 +1,5 @@
1
1
  module SameSiteCookieFix
2
2
 
3
- VERSION = '0.1.0'.freeze
3
+ VERSION = '0.1.1'.freeze
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: same_site_cookie_fix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Ballard