device_detector 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -1
- data/README.md +19 -5
- data/lib/device_detector/browser.rb +141 -7
- data/lib/device_detector/client_hint.rb +100 -32
- data/lib/device_detector/device.rb +188 -1
- data/lib/device_detector/os.rb +109 -7
- data/lib/device_detector/parser.rb +6 -5
- data/lib/device_detector/version.rb +1 -1
- data/lib/device_detector.rb +56 -23
- data/regexes/bots.yml +1242 -213
- data/regexes/client/browser_engine.yml +11 -2
- data/regexes/client/browsers.yml +543 -102
- data/regexes/client/feed_readers.yml +1 -1
- data/regexes/client/hints/apps.yml +29 -3
- data/regexes/client/hints/browsers.yml +87 -5
- data/regexes/client/libraries.yml +107 -1
- data/regexes/client/mediaplayers.yml +15 -1
- data/regexes/client/mobile_apps.yml +413 -117
- data/regexes/client/pim.yml +36 -2
- data/regexes/device/car_browsers.yml +16 -0
- data/regexes/device/consoles.yml +18 -5
- data/regexes/device/mobiles.yml +4180 -1210
- data/regexes/device/notebooks.yml +14 -1
- data/regexes/device/portable_media_player.yml +7 -1
- data/regexes/device/shell_tv.yml +12 -0
- data/regexes/device/televisions.yml +409 -47
- data/regexes/oss.yml +661 -238
- metadata +3 -3
data/regexes/client/pim.yml
CHANGED
@@ -27,6 +27,11 @@
|
|
27
27
|
name: 'Thunderbird'
|
28
28
|
version: '$1'
|
29
29
|
|
30
|
+
# Spicebird (http://www.spicebird.org/)
|
31
|
+
- regex: 'Spicebird/(\d+\.[\.\d]+)'
|
32
|
+
name: 'Spicebird'
|
33
|
+
version: '$1'
|
34
|
+
|
30
35
|
- regex: 'Airmail(?: (\d+[\.\d]+))?'
|
31
36
|
name: 'Airmail'
|
32
37
|
version: '$1'
|
@@ -74,7 +79,7 @@
|
|
74
79
|
version: ''
|
75
80
|
|
76
81
|
# Raindrop.io (https://raindrop.io/)
|
77
|
-
- regex: 'Raindrop
|
82
|
+
- regex: 'Raindrop\.io/(\d+[\.\d]+)'
|
78
83
|
name: 'Raindrop.io'
|
79
84
|
version: '$1'
|
80
85
|
|
@@ -118,8 +123,13 @@
|
|
118
123
|
name: 'Yahoo Mail'
|
119
124
|
version: ''
|
120
125
|
|
126
|
+
# Yahoo! Mail (https://play.google.com/store/apps/details?id=jp.co.yahoo.android.ymail | https://apps.apple.com/jp/app/yahoo-%E3%83%A1%E3%83%BC%E3%83%AB/id669931877)
|
127
|
+
- regex: 'jp.co.yahoo.ymail/([\d\.]+)'
|
128
|
+
name: 'Yahoo! Mail'
|
129
|
+
version: '$1'
|
130
|
+
|
121
131
|
# eM Client (https://emclient.com/)
|
122
|
-
- regex: 'eM Client/(\d+\.[\.\d]+)'
|
132
|
+
- regex: 'eM ?Client/(\d+\.[\.\d]+)'
|
123
133
|
name: 'eM Client'
|
124
134
|
version: '$1'
|
125
135
|
|
@@ -131,3 +141,27 @@
|
|
131
141
|
- regex: '^Mail/([\d\.]+)'
|
132
142
|
name: 'Apple Mail'
|
133
143
|
version: '$1'
|
144
|
+
|
145
|
+
# Foxmail (https://www.foxmail.com/)
|
146
|
+
- regex: 'Foxmail/(\d+[\.\d]+)'
|
147
|
+
name: 'Foxmail'
|
148
|
+
version: '$1'
|
149
|
+
|
150
|
+
# Mail Master (https://apps.apple.com/mw/app/mail-master-by-netease/id897003024)
|
151
|
+
- regex: 'MailMaster(?:PC)?/(\d+[\.\d]+)'
|
152
|
+
name: 'Mail Master'
|
153
|
+
version: '$1'
|
154
|
+
|
155
|
+
# BlueMail (https://bluemail.me/)
|
156
|
+
- regex: 'BlueMail/(\d+[\.\d]+)'
|
157
|
+
name: 'BlueMail'
|
158
|
+
version: '$1'
|
159
|
+
|
160
|
+
- regex: 'mailapp/(\d+\.[\.\d]+)'
|
161
|
+
name: 'mailapp'
|
162
|
+
version: '$1'
|
163
|
+
|
164
|
+
# Gmail
|
165
|
+
- regex: 'Android-Gmail'
|
166
|
+
name: 'Gmail'
|
167
|
+
version: ''
|
@@ -5,6 +5,22 @@
|
|
5
5
|
# @license http://www.gnu.org/licenses/lgpl.html LGPL v3 or later
|
6
6
|
###############
|
7
7
|
|
8
|
+
# BMW (https://www.bmw.com/)
|
9
|
+
BMW:
|
10
|
+
regex: 'AFTLBT962E2(?:[);/ ]|$)'
|
11
|
+
device: 'car browser'
|
12
|
+
models:
|
13
|
+
- regex: 'AFTLBT962E2(?:[);/ ]|$)'
|
14
|
+
model: 'Car (2022)'
|
15
|
+
|
16
|
+
# Jeep (https://www.jeep.com/)
|
17
|
+
Jeep:
|
18
|
+
regex: 'AFTLFT962X3(?:[);/ ]|$)'
|
19
|
+
device: 'car browser'
|
20
|
+
models:
|
21
|
+
- regex: 'AFTLFT962X3(?:[);/ ]|$)'
|
22
|
+
model: 'Wagoneer'
|
23
|
+
|
8
24
|
# Tesla Model S
|
9
25
|
Tesla:
|
10
26
|
regex: '(?:Tesla/(?:(?:develop|feature|terminal-das-fsd-eap)-)?[0-9.]+|QtCarBrowser)'
|
data/regexes/device/consoles.yml
CHANGED
@@ -35,10 +35,19 @@ OUYA:
|
|
35
35
|
device: 'console'
|
36
36
|
model: 'OUYA'
|
37
37
|
|
38
|
+
Sanyo:
|
39
|
+
regex: 'Aplix_SANYO'
|
40
|
+
device: 'console'
|
41
|
+
model: '3DO TRY'
|
42
|
+
|
38
43
|
Sega:
|
39
|
-
regex: 'Dreamcast'
|
44
|
+
regex: 'Dreamcast|Aplix_SEGASATURN'
|
40
45
|
device: 'console'
|
41
|
-
|
46
|
+
models:
|
47
|
+
- regex: 'Dreamcast'
|
48
|
+
model: 'Dreamcast'
|
49
|
+
- regex: 'Aplix_SEGASATURN'
|
50
|
+
model: 'Saturn'
|
42
51
|
|
43
52
|
JXD:
|
44
53
|
regex: 'JXD_S601WIFI'
|
@@ -46,13 +55,17 @@ JXD:
|
|
46
55
|
model: 'S601 WiFi'
|
47
56
|
|
48
57
|
Sony:
|
49
|
-
regex: '(?:PlayStation ?(
|
58
|
+
regex: '(?:PlayStation ?(4 Pro|[2-5]|Portable|Vita)|sony_tv;ps5;|\(PS3\))'
|
50
59
|
device: 'console'
|
51
60
|
models:
|
52
|
-
- regex: 'PlayStation ?(2|3|4 Pro|4|5|Portable|Vita)'
|
53
|
-
model: 'PlayStation $1'
|
54
61
|
- regex: 'sony_tv;ps5;'
|
55
62
|
model: 'PlayStation 5'
|
63
|
+
- regex: 'PlayStation 4 PRO'
|
64
|
+
model: 'PlayStation 4 Pro'
|
65
|
+
- regex: '\(PS3\)'
|
66
|
+
model: 'PlayStation 3'
|
67
|
+
- regex: 'PlayStation ?(4 Pro|[2-5]|Portable|Vita)'
|
68
|
+
model: 'PlayStation $1'
|
56
69
|
|
57
70
|
# Retroid Pocket (www.goretroid.com)
|
58
71
|
Retroid Pocket:
|