user_agent_parser 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/vendor/ua-parser/regexes.yaml +57 -10
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 066f29cb9f46c928c8dbca73076bdf2e6da63b2c
|
|
4
|
+
data.tar.gz: 0a171a4c0efa6c0601a4844a68f49bf1316f18d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2636ff74bef1fcef2c8be5070d97fdd0a70c969faafc76106531bf8986fa8336ca744cabe0babf5d6198d1455a3b25e04246abac9a1afb77b16dc5d79890d9dc
|
|
7
|
+
data.tar.gz: 06836d83ae49433ffdace34ebcf8f838768e7f533228ba4f48e662e5968744f7a0c29c4c9c64b60e7c9c196fd286f649e9ff577b25dc096065368235666b5059
|
|
@@ -88,7 +88,7 @@ user_agent_parsers:
|
|
|
88
88
|
|
|
89
89
|
# Lightning (for Thunderbird)
|
|
90
90
|
# http://www.mozilla.org/projects/calendar/lightning/
|
|
91
|
-
- regex: '(Lightning)/(\d+)\.(\d+)([ab]?\d+[a-z]*)'
|
|
91
|
+
- regex: '(Lightning)/(\d+)\.(\d+)\.?((?:[ab]?\d+[a-z]*)|(?:\d*))'
|
|
92
92
|
|
|
93
93
|
# Swiftfox
|
|
94
94
|
- regex: '(Firefox)/(\d+)\.(\d+)\.(\d+(?:pre)?) \(Swiftfox\)'
|
|
@@ -164,6 +164,10 @@ user_agent_parsers:
|
|
|
164
164
|
- regex: '(facebookexternalhit)/(\d+)\.(\d+)'
|
|
165
165
|
family_replacement: 'FacebookBot'
|
|
166
166
|
|
|
167
|
+
# LinkedIn
|
|
168
|
+
- regex: '(LinkedInBot)/(\d+)\.(\d+)'
|
|
169
|
+
family_replacement: 'LinkedInBot'
|
|
170
|
+
|
|
167
171
|
# Twitterbot
|
|
168
172
|
- regex: '(Twitterbot)/(\d+)\.(\d+)'
|
|
169
173
|
family_replacement: 'TwitterBot'
|
|
@@ -186,6 +190,9 @@ user_agent_parsers:
|
|
|
186
190
|
# AOL Browser (IE-based)
|
|
187
191
|
- regex: '(AOL) (\d+)\.(\d+); AOLBuild (\d+)'
|
|
188
192
|
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
189
196
|
#### END SPECIAL CASES TOP ####
|
|
190
197
|
|
|
191
198
|
#### MAIN CASES - this catches > 50% of all browsers ####
|
|
@@ -193,11 +200,33 @@ user_agent_parsers:
|
|
|
193
200
|
# Browser/major_version.minor_version.beta_version
|
|
194
201
|
- regex: '(AdobeAIR|FireWeb|Jasmine|ANTGalio|Midori|Fresco|Lobo|PaleMoon|Maxthon|Lynx|OmniWeb|Dillo|Camino|Demeter|Fluid|Fennec|Epiphany|Shiira|Sunrise|Flock|Netscape|Lunascape|WebPilot|Vodafone|NetFront|Netfront|Konqueror|SeaMonkey|Kazehakase|Vienna|Iceape|Iceweasel|IceWeasel|Iron|K-Meleon|Sleipnir|Galeon|GranParadiso|Opera Mini|iCab|NetNewsWire|ThunderBrowse|Iris|UP\.Browser|Bunjalloo|Google Earth|Raven for Mac|Openwave)/(\d+)\.(\d+)\.(\d+)'
|
|
195
202
|
|
|
203
|
+
# Outlook 2007
|
|
204
|
+
- regex: 'MSOffice 12'
|
|
205
|
+
family_replacement: 'Outlook'
|
|
206
|
+
v1_replacement: '2007'
|
|
207
|
+
|
|
208
|
+
# Outlook 2010
|
|
209
|
+
- regex: 'MSOffice 14'
|
|
210
|
+
family_replacement: 'Outlook'
|
|
211
|
+
v1_replacement: '2010'
|
|
212
|
+
|
|
213
|
+
# Outlook 2013
|
|
214
|
+
- regex: 'Microsoft Outlook 15\.\d+\.\d+'
|
|
215
|
+
family_replacement: 'Outlook'
|
|
216
|
+
v1_replacement: '2013'
|
|
217
|
+
|
|
218
|
+
# Apple Air Mail
|
|
219
|
+
- regex: '(Airmail) (\d+)\.(\d+)(?:\.(\d+))?'
|
|
220
|
+
|
|
221
|
+
# Thunderbird
|
|
222
|
+
- regex: '(Thunderbird)/(\d+)\.(\d+)\.(\d+(?:pre)?)'
|
|
223
|
+
family_replacement: 'Thunderbird'
|
|
224
|
+
|
|
196
225
|
# Chrome/Chromium/major_version.minor_version.beta_version
|
|
197
226
|
- regex: '(Chromium|Chrome)/(\d+)\.(\d+)\.(\d+)'
|
|
198
227
|
|
|
199
228
|
# Browser/major_version.minor_version
|
|
200
|
-
- regex: '(Bolt|Jasmine|IceCat|Skyfire|Midori|Maxthon|Lynx|Arora|IBrowse|Dillo|Camino|Shiira|Fennec|Phoenix|Chrome|Flock|Netscape|Lunascape|Epiphany|WebPilot|Opera Mini|Opera|Vodafone|NetFront|Netfront|Konqueror|Googlebot|SeaMonkey|Kazehakase|Vienna|Iceape|Iceweasel|IceWeasel|Iron|K-Meleon|Sleipnir|Galeon|GranParadiso|iCab|NetNewsWire|Space Bison|Stainless|Orca|Dolfin|BOLT|Minimo|Tizen Browser|Polaris|Abrowser|Planetweb|ICE Browser)/(\d+)\.(\d+)'
|
|
229
|
+
- regex: '(bingbot|Bolt|Jasmine|IceCat|Skyfire|Midori|Maxthon|Lynx|Arora|IBrowse|Dillo|Camino|Shiira|Fennec|Phoenix|Chrome|Flock|Netscape|Lunascape|Epiphany|WebPilot|Opera Mini|Opera|Vodafone|NetFront|Netfront|Konqueror|Googlebot|SeaMonkey|Kazehakase|Vienna|Iceape|Iceweasel|IceWeasel|Iron|K-Meleon|Sleipnir|Galeon|GranParadiso|iCab|NetNewsWire|Space Bison|Stainless|Orca|Dolfin|BOLT|Minimo|Tizen Browser|Polaris|Abrowser|Planetweb|ICE Browser)/(\d+)\.(\d+)'
|
|
201
230
|
|
|
202
231
|
# Chrome/Chromium/major_version.minor_version
|
|
203
232
|
- regex: '(Chromium|Chrome)/(\d+)\.(\d+)'
|
|
@@ -238,10 +267,6 @@ user_agent_parsers:
|
|
|
238
267
|
- regex: '(MSIE) (\d+)\.(\d+).*XBLWP7'
|
|
239
268
|
family_replacement: 'IE Large Screen'
|
|
240
269
|
|
|
241
|
-
# AFTER THE EDGE CASES ABOVE!
|
|
242
|
-
- regex: '(Firefox)/(\d+)\.(\d+)\.(\d+)'
|
|
243
|
-
- regex: '(Firefox)/(\d+)\.(\d+)(pre|[ab]\d+[a-z]*)?'
|
|
244
|
-
|
|
245
270
|
#### END MAIN CASES ####
|
|
246
271
|
|
|
247
272
|
#### SPECIAL CASES ####
|
|
@@ -397,10 +422,22 @@ user_agent_parsers:
|
|
|
397
422
|
- regex: '(Phantom)/V(\d+)\.(\d+)'
|
|
398
423
|
family_replacement: 'Phantom Browser'
|
|
399
424
|
|
|
400
|
-
- regex: '(
|
|
425
|
+
- regex: 'Trident(.*)rv.(\d+)\.(\d+)'
|
|
401
426
|
family_replacement: 'IE'
|
|
402
427
|
|
|
403
|
-
|
|
428
|
+
# Apple Mail
|
|
429
|
+
|
|
430
|
+
# apple mail - not directly detectable, have it after Safari stuff
|
|
431
|
+
- regex: '(AppleWebKit)/(\d+)\.(\d+)\.(\d+)'
|
|
432
|
+
family_replacement: 'AppleMail'
|
|
433
|
+
|
|
434
|
+
# AFTER THE EDGE CASES ABOVE!
|
|
435
|
+
# AFTER IE11
|
|
436
|
+
# BEFORE all other IE
|
|
437
|
+
- regex: '(Firefox)/(\d+)\.(\d+)\.(\d+)'
|
|
438
|
+
- regex: '(Firefox)/(\d+)\.(\d+)(pre|[ab]\d+[a-z]*)?'
|
|
439
|
+
|
|
440
|
+
- regex: '([MS]?IE) (\d+)\.(\d+)'
|
|
404
441
|
family_replacement: 'IE'
|
|
405
442
|
|
|
406
443
|
- regex: '(python-requests)/(\d+)\.(\d+)'
|
|
@@ -641,7 +678,7 @@ os_parsers:
|
|
|
641
678
|
##########
|
|
642
679
|
# Firefox OS
|
|
643
680
|
##########
|
|
644
|
-
- regex: '\(Mobile;.+Firefox/\d+\.\d+'
|
|
681
|
+
- regex: '\((?:Mobile|Tablet);.+Firefox/\d+\.\d+'
|
|
645
682
|
os_replacement: 'Firefox OS'
|
|
646
683
|
|
|
647
684
|
##########
|
|
@@ -763,6 +800,16 @@ device_parsers:
|
|
|
763
800
|
device_replacement: 'Kindle Fire HD 8.9" WiFi'
|
|
764
801
|
- regex: '(KFJWA Build)'
|
|
765
802
|
device_replacement: 'Kindle Fire HD 8.9" 4G'
|
|
803
|
+
- regex: '(KFSOWI Build)'
|
|
804
|
+
device_replacement: 'Kindle Fire HD 7" WiFi'
|
|
805
|
+
- regex: '(KFTHWI Build)'
|
|
806
|
+
device_replacement: 'Kindle Fire HDX 7" WiFi'
|
|
807
|
+
- regex: '(KFTHWA Build)'
|
|
808
|
+
device_replacement: 'Kindle Fire HDX 7" 4G'
|
|
809
|
+
- regex: '(KFAPWI Build)'
|
|
810
|
+
device_replacement: 'Kindle Fire HDX 8.9" WiFi'
|
|
811
|
+
- regex: '(KFAPWA Build)'
|
|
812
|
+
device_replacement: 'Kindle Fire HDX 8.9" 4G'
|
|
766
813
|
- regex: '(Kindle Fire)'
|
|
767
814
|
- regex: '(Kindle)'
|
|
768
815
|
- regex: '(Silk)/(\d+)\.(\d+)(?:\.([0-9\-]+))?'
|
|
@@ -1068,6 +1115,6 @@ device_parsers:
|
|
|
1068
1115
|
##########
|
|
1069
1116
|
# Spiders (this is hack...)
|
|
1070
1117
|
##########
|
|
1071
|
-
- regex: '(bot|borg|google(^tv)|yahoo|slurp|msnbot|msrbot|openbot|archiver|netresearch|lycos|scooter|altavista|teoma|gigabot|baiduspider|blitzbot|oegp|charlotte|furlbot|http%20client|polybot|htdig|ichiro|mogimogi|larbin|pompos|scrubby|searchsight|seekbot|semanticdiscovery|silk|snappy|speedy|spider|voila|vortex|voyager|zao|zeal|fast\-webcrawler|converacrawler|dataparksearch|findlinks|crawler)'
|
|
1118
|
+
- regex: '(bingbot|bot|borg|google(^tv)|yahoo|slurp|msnbot|msrbot|openbot|archiver|netresearch|lycos|scooter|altavista|teoma|gigabot|baiduspider|blitzbot|oegp|charlotte|furlbot|http%20client|polybot|htdig|ichiro|mogimogi|larbin|pompos|scrubby|searchsight|seekbot|semanticdiscovery|silk|snappy|speedy|spider|voila|vortex|voyager|zao|zeal|fast\-webcrawler|converacrawler|dataparksearch|findlinks|crawler)'
|
|
1072
1119
|
device_replacement: 'Spider'
|
|
1073
1120
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: user_agent_parser
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tim Lucas
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2014-01-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A simple, comprehensive Ruby gem for parsing user agent strings with
|
|
14
14
|
the help of BrowserScope's UA database
|
|
@@ -46,7 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
46
46
|
version: '0'
|
|
47
47
|
requirements: []
|
|
48
48
|
rubyforge_project:
|
|
49
|
-
rubygems_version: 2.1
|
|
49
|
+
rubygems_version: 2.2.1
|
|
50
50
|
signing_key:
|
|
51
51
|
specification_version: 4
|
|
52
52
|
summary: A simple, comprehensive Ruby gem for parsing user agent strings with the
|