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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '0836c9c1cfb9fd0e8ff1f2e448aec9ec87b102d5'
4
- data.tar.gz: 86f435ee0378f0ff9611c5442b0353ed3d6d10c0
3
+ metadata.gz: f7127f6382030de8e90415d15e0dd502705a1165
4
+ data.tar.gz: cdf4c0462a662f2f79b9af8db0c2b52be4919de6
5
5
  SHA512:
6
- metadata.gz: 4f88970f87c677ec7fd35211c6737510f2c6c3e1c723c60c777240af943cc5fe9dc7e6c70cb37bfd95d935bd595939c29e84cd08b4bb79b6fc0920266b0f2e6c
7
- data.tar.gz: 98cf4890a875df3be1faf91e2edc8822ba1d7531c4b20966e9c0dcb6f048e5549224c600fb4e20a31a37799219d3f1e42f8ab878235c35cd35bf45e7e8ac25f9
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, :firefox]], [
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
@@ -1,3 +1,3 @@
1
1
  class BrowserSniffer
2
- VERSION = "1.0.11"
2
+ VERSION = "1.0.12"
3
3
  end
@@ -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 => :firefox,
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.11
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-27 00:00:00.000000000 Z
11
+ date: 2017-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler