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
@@ -39,6 +39,19 @@ Asus:
|
|
39
39
|
- regex: 'FBMD/X556UQK;'
|
40
40
|
model: 'X556UQK'
|
41
41
|
|
42
|
+
Alienware:
|
43
|
+
regex: 'FBMD/(?:Alienware [0-9]{2,3}R[0-9]{1,2}|Area-51m|R3|R4|Alienware Aurora R[0-9]+(:? [0-9]+)?);'
|
44
|
+
device: 'desktop'
|
45
|
+
models:
|
46
|
+
- regex: 'Alienware 15R3;'
|
47
|
+
model: 'Alienware 15 R3'
|
48
|
+
- regex: 'Alienware 17R4;'
|
49
|
+
model: 'Alienware 17 R4'
|
50
|
+
- regex: 'Area-51m;'
|
51
|
+
model: 'Area-51m'
|
52
|
+
- regex: 'Aurora (R[0-9]+)'
|
53
|
+
model: 'Aurora $1'
|
54
|
+
|
42
55
|
Dell:
|
43
56
|
regex: 'FBMD/(?:Latitude E4300|Inspiron 3541|XPS 15 95[35]0);'
|
44
57
|
device: 'desktop'
|
@@ -100,7 +113,7 @@ Schneider:
|
|
100
113
|
model: 'Notebook 14" Cherry Trail'
|
101
114
|
|
102
115
|
Thomson:
|
103
|
-
regex: 'FBMD/TH360R12
|
116
|
+
regex: 'FBMD/TH360R12\.32CTW;'
|
104
117
|
device: 'desktop'
|
105
118
|
model: 'Prestige TH-360R12.32CTW'
|
106
119
|
|
@@ -21,7 +21,7 @@ Apple:
|
|
21
21
|
model: 'iPod Touch 5'
|
22
22
|
- regex: '(?:Apple-)?iPod7[C,_]?1'
|
23
23
|
model: 'iPod Touch 6'
|
24
|
-
- regex: '(?:Apple-)?iPod9[C,_]?1'
|
24
|
+
- regex: '(?:Apple-)?iPod9[C,_]?1|iPodTouch7'
|
25
25
|
model: 'iPod Touch 7'
|
26
26
|
- regex: '(?:Apple-)?iPod'
|
27
27
|
model: 'iPod Touch'
|
@@ -116,3 +116,9 @@ KuGou:
|
|
116
116
|
regex: 'KuGou[_ -](P5)'
|
117
117
|
device: 'portable media player'
|
118
118
|
model: '$1'
|
119
|
+
|
120
|
+
# Surfans
|
121
|
+
Surfans:
|
122
|
+
regex: '(Y57A)(?:[);/ ]|$)'
|
123
|
+
device: 'portable media player'
|
124
|
+
model: '$1'
|
data/regexes/device/shell_tv.yml
CHANGED
@@ -127,6 +127,18 @@ TCL:
|
|
127
127
|
device: 'tv'
|
128
128
|
model: ''
|
129
129
|
|
130
|
+
# RCA Tablets (RCA) (https://www.rca.com/)
|
131
|
+
RCA Tablets:
|
132
|
+
regex: 'TCL/RCA-'
|
133
|
+
device: 'tv'
|
134
|
+
model: ''
|
135
|
+
|
136
|
+
# Thomson
|
137
|
+
Thomson:
|
138
|
+
regex: 'TCL/THOM-'
|
139
|
+
device: 'tv'
|
140
|
+
model: ''
|
141
|
+
|
130
142
|
DEXP:
|
131
143
|
regex: 'DEXP Shell'
|
132
144
|
device: 'tv'
|