browser_sniffer 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/browser_sniffer/patterns.rb +1 -1
- data/lib/browser_sniffer/version.rb +1 -1
- data/test/browser_sniffer_test.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7127f6382030de8e90415d15e0dd502705a1165
|
4
|
+
data.tar.gz: cdf4c0462a662f2f79b9af8db0c2b52be4919de6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c402ca3ae9b0982dd209d06a1e9de7f821814d09f2e0615ef9091ec605702602f111e3b4fea7044441df7c3b8846bd1f2bf3ba4f0a77c41741781c60984e53d
|
7
|
+
data.tar.gz: 98a5d36a3e34a590c4c6f8b356294ffe6212a5accd75e590397b8b96f31329a6d81a12bf073a709dafec126c26304db8ed2040cab8d275d1aa21e199e2b2ce95
|
@@ -85,7 +85,7 @@ class BrowserSniffer
|
|
85
85
|
/((?:android.+)crmo|crios)\/((\d+)?[\w\.]+)/i # Chrome for Android/iOS
|
86
86
|
], [[:name, 'Chrome'], :version, :major, [:type, :chrome]], [
|
87
87
|
/(FxiOS)\/((\d+)?[\w\.]+)/i # Firefox for iOS
|
88
|
-
], [[:name, 'Mobile Firefox'], :version, :major, [:type, :
|
88
|
+
], [[:name, 'Mobile Firefox'], :version, :major, [:type, :firefoxios]], [
|
89
89
|
/version\/((\d+)?[\w\.]+).+?mobile\/\w+\s(safari)/i # Mobile Safari
|
90
90
|
], [:version, :major, [:name, 'Mobile Safari'], [:type, :safari]], [
|
91
91
|
/Mozilla\/5.0 \((?:iPhone|iPad|iPod(?: Touch)?);(.*)AppleWebKit\/((\d+)?[\w\.]+).+?(mobile)\/\w?/i # ios webview
|
@@ -431,7 +431,7 @@ class BrowserSnifferTest < MiniTest::Unit::TestCase
|
|
431
431
|
:major_engine_version => 602,
|
432
432
|
:os => :ios,
|
433
433
|
:os_version => '10.2.1',
|
434
|
-
:browser => :
|
434
|
+
:browser => :firefoxios,
|
435
435
|
:browser_name => 'Mobile Firefox',
|
436
436
|
:major_browser_version => 6
|
437
437
|
},
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: browser_sniffer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|