device_detector 1.0.7 → 1.1.1
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/CHANGELOG.md +11 -0
- data/README.md +25 -4
- data/lib/device_detector/browser.rb +184 -5
- data/lib/device_detector/client_hint.rb +181 -0
- data/lib/device_detector/device.rb +522 -3
- data/lib/device_detector/os.rb +33 -3
- data/lib/device_detector/parser.rb +25 -3
- data/lib/device_detector/vendor_fragment.rb +25 -0
- data/lib/device_detector/version.rb +1 -1
- data/lib/device_detector.rb +82 -16
- data/regexes/bots.yml +757 -17
- data/regexes/client/browsers.yml +365 -54
- data/regexes/client/hints/apps.yml +102 -0
- data/regexes/client/hints/browsers.yml +195 -0
- data/regexes/client/libraries.yml +200 -3
- data/regexes/client/mobile_apps.yml +396 -14
- data/regexes/client/pim.yml +15 -0
- data/regexes/device/car_browsers.yml +1 -1
- data/regexes/device/consoles.yml +8 -3
- data/regexes/device/mobiles.yml +12126 -2425
- data/regexes/device/portable_media_player.yml +24 -2
- data/regexes/device/shell_tv.yml +16 -0
- data/regexes/device/televisions.yml +26 -4
- data/regexes/oss.yml +381 -50
- metadata +11 -7
|
@@ -36,8 +36,10 @@ FiiO:
|
|
|
36
36
|
regex: 'FiiO'
|
|
37
37
|
device: 'portable media player'
|
|
38
38
|
models:
|
|
39
|
-
- regex: '
|
|
40
|
-
model: '
|
|
39
|
+
- regex: 'M11 Plus LTD'
|
|
40
|
+
model: 'M11 Plus LTD'
|
|
41
|
+
- regex: 'FiiO M(1[157]|6)'
|
|
42
|
+
model: 'M$1'
|
|
41
43
|
|
|
42
44
|
Microsoft:
|
|
43
45
|
regex: 'Microsoft ZuneHD'
|
|
@@ -84,3 +86,23 @@ SONOS:
|
|
|
84
86
|
model: 'Play:5'
|
|
85
87
|
- regex: 'Sonos;One;'
|
|
86
88
|
model: 'One'
|
|
89
|
+
|
|
90
|
+
# Shanling
|
|
91
|
+
Shanling:
|
|
92
|
+
regex: 'Shanling M6'
|
|
93
|
+
device: 'portable media player'
|
|
94
|
+
models:
|
|
95
|
+
- regex: 'Shanling (M6\(21\))'
|
|
96
|
+
model: '$1'
|
|
97
|
+
|
|
98
|
+
# Sylvania
|
|
99
|
+
Sylvania:
|
|
100
|
+
regex: '(SLTDVD102[34])'
|
|
101
|
+
device: 'portable media player'
|
|
102
|
+
model: '$1'
|
|
103
|
+
|
|
104
|
+
# KuGou
|
|
105
|
+
KuGou:
|
|
106
|
+
regex: 'KuGou[_ -](P5)'
|
|
107
|
+
device: 'portable media player'
|
|
108
|
+
model: '$1'
|
data/regexes/device/shell_tv.yml
CHANGED
|
@@ -110,8 +110,24 @@ Loview:
|
|
|
110
110
|
device: 'tv'
|
|
111
111
|
model: ''
|
|
112
112
|
|
|
113
|
+
# Supra
|
|
114
|
+
Supra:
|
|
115
|
+
regex: 'Supra Shell'
|
|
116
|
+
device: 'tv'
|
|
117
|
+
model: ''
|
|
118
|
+
|
|
113
119
|
# Yuno (yuno.bbk.ru)
|
|
114
120
|
Yuno:
|
|
115
121
|
regex: 'Yuno Shell'
|
|
116
122
|
device: 'tv'
|
|
117
123
|
model: ''
|
|
124
|
+
|
|
125
|
+
TCL:
|
|
126
|
+
regex: 'TCL/TCL-'
|
|
127
|
+
device: 'tv'
|
|
128
|
+
model: ''
|
|
129
|
+
|
|
130
|
+
DEXP:
|
|
131
|
+
regex: 'DEXP Shell'
|
|
132
|
+
device: 'tv'
|
|
133
|
+
model: ''
|
|
@@ -26,7 +26,9 @@ Airties:
|
|
|
26
26
|
'ALDI SÜD':
|
|
27
27
|
regex: 'ALDISUED[;,]'
|
|
28
28
|
device: 'tv'
|
|
29
|
-
|
|
29
|
+
models:
|
|
30
|
+
- regex: 'ALDISUED, ([a-z0-9_ \-]+), (?:wired|wireless)'
|
|
31
|
+
model: ''
|
|
30
32
|
|
|
31
33
|
# Altech UEC
|
|
32
34
|
'Altech UEC':
|
|
@@ -152,7 +154,9 @@ GoGEN:
|
|
|
152
154
|
Grundig:
|
|
153
155
|
regex: '(OWB|Grundig|Arcelik)'
|
|
154
156
|
device: 'tv'
|
|
155
|
-
|
|
157
|
+
models:
|
|
158
|
+
- regex: 'G7'
|
|
159
|
+
model: 'G7'
|
|
156
160
|
|
|
157
161
|
# Haier
|
|
158
162
|
Haier:
|
|
@@ -212,13 +216,21 @@ Hotel:
|
|
|
212
216
|
|
|
213
217
|
# Humax
|
|
214
218
|
Humax:
|
|
215
|
-
regex: 'Humax'
|
|
219
|
+
regex: 'Humax|hdr1000s'
|
|
216
220
|
device: 'tv'
|
|
217
221
|
models:
|
|
218
222
|
- regex: '(HD-FOX C|HD (FOX\+|NANO)|iCord (HD\+|MINI|Cable)|(CX|IR)HD-5100(C|S)|HM9503HD)'
|
|
219
223
|
model: '$1'
|
|
220
224
|
- regex: 'HMS1000S'
|
|
221
225
|
model: 'HMS-1000S'
|
|
226
|
+
- regex: 'FVP4000T'
|
|
227
|
+
model: 'FVP-4000T'
|
|
228
|
+
- regex: 'HGS1000S'
|
|
229
|
+
model: 'HGS-1000S'
|
|
230
|
+
- regex: 'HDR1000S'
|
|
231
|
+
model: 'HDR-1000S'
|
|
232
|
+
- regex: 'HDR4000T'
|
|
233
|
+
model: 'HDR-4000T'
|
|
222
234
|
- regex: 'Humax; ([^);/]+)'
|
|
223
235
|
model: '$1'
|
|
224
236
|
|
|
@@ -364,7 +376,9 @@ MediaTek:
|
|
|
364
376
|
Medion:
|
|
365
377
|
regex: 'Medion'
|
|
366
378
|
device: 'tv'
|
|
367
|
-
|
|
379
|
+
models:
|
|
380
|
+
- regex: 'MEDION, ([a-z0-9_ \-]+), (?:wired|wireless)'
|
|
381
|
+
model: ''
|
|
368
382
|
|
|
369
383
|
# Miray
|
|
370
384
|
Miray:
|
|
@@ -517,6 +531,8 @@ Sharp:
|
|
|
517
531
|
regex: '(?:UMC-)?Sharp'
|
|
518
532
|
device: 'tv'
|
|
519
533
|
models:
|
|
534
|
+
- regex: 'SHARP, ([a-z0-9_ \-]+), (?:wired|wireless)'
|
|
535
|
+
model: ''
|
|
520
536
|
- regex: 'Sharp[,;] ?((?! |HbbTV)[^),;/]+)'
|
|
521
537
|
model: '$1'
|
|
522
538
|
- regex: '(LE[0-9]{3}[A-Z]{0,3})'
|
|
@@ -699,3 +715,9 @@ Vestel:
|
|
|
699
715
|
regex: '(?:Vestel.+VESTEL|VESTEL;)'
|
|
700
716
|
device: 'tv'
|
|
701
717
|
model: ''
|
|
718
|
+
|
|
719
|
+
# Unknown
|
|
720
|
+
Unknown:
|
|
721
|
+
regex: 'OEM, ([a-z0-9_ \-]+), (?:wired|wireless)'
|
|
722
|
+
device: 'tv'
|
|
723
|
+
model: ''
|