device_detector 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +5 -5
- data/lib/device_detector/device.rb +82 -3
- data/lib/device_detector/os.rb +4 -2
- data/lib/device_detector/parser.rb +1 -1
- data/lib/device_detector/version.rb +1 -1
- data/lib/device_detector/version_extractor.rb +20 -1
- data/regexes/bots.yml +49 -6
- data/regexes/client/browsers.yml +170 -16
- data/regexes/client/libraries.yml +20 -1
- data/regexes/client/mediaplayers.yml +2 -2
- data/regexes/client/mobile_apps.yml +447 -13
- data/regexes/client/pim.yml +16 -1
- data/regexes/device/consoles.yml +7 -1
- data/regexes/device/mobiles.yml +3169 -912
- data/regexes/device/portable_media_player.yml +16 -6
- data/regexes/oss.yml +380 -467
- metadata +3 -164
- data/.gitignore +0 -14
- data/.rubocop.yml +0 -49
- data/.ruby-version +0 -1
- data/.travis.yml +0 -14
- data/Gemfile +0 -8
- data/Rakefile +0 -86
- data/device_detector.gemspec +0 -27
- data/spec/device_detector/bot_fixtures_spec.rb +0 -30
- data/spec/device_detector/client_fixtures_spec.rb +0 -31
- data/spec/device_detector/concrete_user_agent_spec.rb +0 -123
- data/spec/device_detector/detector_fixtures_spec.rb +0 -99
- data/spec/device_detector/device_fixtures_spec.rb +0 -36
- data/spec/device_detector/device_spec.rb +0 -147
- data/spec/device_detector/memory_cache_spec.rb +0 -148
- data/spec/device_detector/model_extractor_spec.rb +0 -63
- data/spec/device_detector/os_fixtures_spec.rb +0 -26
- data/spec/device_detector/version_extractor_spec.rb +0 -79
- data/spec/device_detector_spec.rb +0 -189
- data/spec/fixtures/client/browser.yml +0 -3935
- data/spec/fixtures/client/feed_reader.yml +0 -187
- data/spec/fixtures/client/library.yml +0 -253
- data/spec/fixtures/client/mediaplayer.yml +0 -193
- data/spec/fixtures/client/mobile_app.yml +0 -703
- data/spec/fixtures/client/pim.yml +0 -175
- data/spec/fixtures/detector/bots.yml +0 -4434
- data/spec/fixtures/detector/camera.yml +0 -127
- data/spec/fixtures/detector/car_browser.yml +0 -217
- data/spec/fixtures/detector/console.yml +0 -343
- data/spec/fixtures/detector/desktop.yml +0 -7580
- data/spec/fixtures/detector/feature_phone.yml +0 -1597
- data/spec/fixtures/detector/feed_reader.yml +0 -524
- data/spec/fixtures/detector/mediaplayer.yml +0 -306
- data/spec/fixtures/detector/mobile_apps.yml +0 -1233
- data/spec/fixtures/detector/peripheral.yml +0 -271
- data/spec/fixtures/detector/phablet.yml +0 -7366
- data/spec/fixtures/detector/portable_media_player.yml +0 -527
- data/spec/fixtures/detector/smart_display.yml +0 -235
- data/spec/fixtures/detector/smart_speaker.yml +0 -60
- data/spec/fixtures/detector/smartphone-1.yml +0 -9622
- data/spec/fixtures/detector/smartphone-10.yml +0 -8981
- data/spec/fixtures/detector/smartphone-11.yml +0 -8938
- data/spec/fixtures/detector/smartphone-12.yml +0 -8989
- data/spec/fixtures/detector/smartphone-13.yml +0 -9412
- data/spec/fixtures/detector/smartphone-14.yml +0 -9477
- data/spec/fixtures/detector/smartphone-15.yml +0 -9281
- data/spec/fixtures/detector/smartphone-16.yml +0 -9678
- data/spec/fixtures/detector/smartphone-17.yml +0 -9965
- data/spec/fixtures/detector/smartphone-18.yml +0 -9806
- data/spec/fixtures/detector/smartphone-19.yml +0 -9965
- data/spec/fixtures/detector/smartphone-2.yml +0 -12242
- data/spec/fixtures/detector/smartphone-20.yml +0 -9710
- data/spec/fixtures/detector/smartphone-21.yml +0 -8693
- data/spec/fixtures/detector/smartphone-22.yml +0 -10178
- data/spec/fixtures/detector/smartphone-23.yml +0 -9453
- data/spec/fixtures/detector/smartphone-24.yml +0 -9843
- data/spec/fixtures/detector/smartphone-25.yml +0 -9703
- data/spec/fixtures/detector/smartphone-26.yml +0 -10007
- data/spec/fixtures/detector/smartphone-27.yml +0 -4927
- data/spec/fixtures/detector/smartphone-3.yml +0 -9909
- data/spec/fixtures/detector/smartphone-4.yml +0 -8954
- data/spec/fixtures/detector/smartphone-5.yml +0 -8981
- data/spec/fixtures/detector/smartphone-6.yml +0 -8948
- data/spec/fixtures/detector/smartphone-7.yml +0 -8975
- data/spec/fixtures/detector/smartphone-8.yml +0 -9810
- data/spec/fixtures/detector/smartphone-9.yml +0 -8925
- data/spec/fixtures/detector/smartphone.yml +0 -9001
- data/spec/fixtures/detector/tablet-1.yml +0 -10155
- data/spec/fixtures/detector/tablet-2.yml +0 -9064
- data/spec/fixtures/detector/tablet-3.yml +0 -9035
- data/spec/fixtures/detector/tablet-4.yml +0 -9062
- data/spec/fixtures/detector/tablet-5.yml +0 -9273
- data/spec/fixtures/detector/tablet-6.yml +0 -4588
- data/spec/fixtures/detector/tablet.yml +0 -8979
- data/spec/fixtures/detector/tv-1.yml +0 -2501
- data/spec/fixtures/detector/tv.yml +0 -10045
- data/spec/fixtures/detector/unknown.yml +0 -3071
- data/spec/fixtures/detector/wearable.yml +0 -915
- data/spec/fixtures/device/camera.yml +0 -19
- data/spec/fixtures/device/car_browser.yml +0 -13
- data/spec/fixtures/device/console.yml +0 -79
- data/spec/fixtures/device/notebook.yml +0 -7
- data/spec/fixtures/parser/oss.yml +0 -2418
- data/spec/fixtures/parser/vendorfragments.yml +0 -168
- data/spec/spec_helper.rb +0 -9
@@ -1,235 +0,0 @@
|
|
1
|
-
---
|
2
|
-
-
|
3
|
-
user_agent: Mozilla/5.0 (Linux; U; Android 4.0.4; fr-be; DA220HQL Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
|
4
|
-
os:
|
5
|
-
name: Android
|
6
|
-
version: "4.0.4"
|
7
|
-
platform: ""
|
8
|
-
client:
|
9
|
-
type: browser
|
10
|
-
name: Android Browser
|
11
|
-
version: ""
|
12
|
-
engine: WebKit
|
13
|
-
engine_version: "534.30"
|
14
|
-
device:
|
15
|
-
type: smart display
|
16
|
-
brand: Acer
|
17
|
-
model: DA220HQL
|
18
|
-
os_family: Android
|
19
|
-
browser_family: Android Browser
|
20
|
-
-
|
21
|
-
user_agent: Mozilla/5.0 (Linux; Android 4.2.1; DA241HL Build/JOP40D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.114 Safari/537.36
|
22
|
-
os:
|
23
|
-
name: Android
|
24
|
-
version: "4.2.1"
|
25
|
-
platform: ""
|
26
|
-
client:
|
27
|
-
type: browser
|
28
|
-
name: Chrome
|
29
|
-
version: "34.0.1847.114"
|
30
|
-
engine: Blink
|
31
|
-
engine_version: ""
|
32
|
-
device:
|
33
|
-
type: smart display
|
34
|
-
brand: Acer
|
35
|
-
model: DA241HL
|
36
|
-
os_family: Android
|
37
|
-
browser_family: Chrome
|
38
|
-
-
|
39
|
-
user_agent: Mozilla/5.0 (Linux; U; Android 4.0.4; de-de; VSD220 Build/IMM76D.UI23ED12_VSC) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
|
40
|
-
os:
|
41
|
-
name: Android
|
42
|
-
version: "4.0.4"
|
43
|
-
platform: ""
|
44
|
-
client:
|
45
|
-
type: browser
|
46
|
-
name: Android Browser
|
47
|
-
version: ""
|
48
|
-
engine: WebKit
|
49
|
-
engine_version: "534.30"
|
50
|
-
device:
|
51
|
-
type: smart display
|
52
|
-
brand: ViewSonic
|
53
|
-
model: VSD220
|
54
|
-
os_family: Android
|
55
|
-
browser_family: Android Browser
|
56
|
-
-
|
57
|
-
user_agent: Mozilla/5.0 (Linux; Android 8.0.0; IFP7550-3 Build/OPR5.170623.014) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Safari/537.36
|
58
|
-
os:
|
59
|
-
name: Android
|
60
|
-
version: 8.0.0
|
61
|
-
platform: ""
|
62
|
-
client:
|
63
|
-
type: browser
|
64
|
-
name: Chrome Webview
|
65
|
-
version: 61.0.3163.98
|
66
|
-
engine: Blink
|
67
|
-
engine_version: ""
|
68
|
-
device:
|
69
|
-
type: smart display
|
70
|
-
brand: ViewSonic
|
71
|
-
model: ViewBoard IFP7550-3 75" 4K
|
72
|
-
os_family: Android
|
73
|
-
browser_family: Chrome
|
74
|
-
-
|
75
|
-
user_agent: Mozilla/5.0 (Linux; Android 8.0.0; IFP9850-3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3739.0 Safari/537.36
|
76
|
-
os:
|
77
|
-
name: Android
|
78
|
-
version: 8.0.0
|
79
|
-
platform: ""
|
80
|
-
client:
|
81
|
-
type: browser
|
82
|
-
name: Chrome
|
83
|
-
version: 75.0.3739.0
|
84
|
-
engine: Blink
|
85
|
-
engine_version: ""
|
86
|
-
device:
|
87
|
-
type: smart display
|
88
|
-
brand: ViewSonic
|
89
|
-
model: ViewBoard IFP9850-3 98" 4K
|
90
|
-
os_family: Android
|
91
|
-
browser_family: Chrome
|
92
|
-
-
|
93
|
-
user_agent: Mozilla/5.0 (Linux; Android 8.0.0; IFP8650-3 Build/OPR5.170623.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Safari/537.36
|
94
|
-
os:
|
95
|
-
name: Android
|
96
|
-
version: 8.0.0
|
97
|
-
platform: ""
|
98
|
-
client:
|
99
|
-
type: browser
|
100
|
-
name: Chrome Webview
|
101
|
-
version: 61.0.3163.98
|
102
|
-
engine: Blink
|
103
|
-
engine_version: ""
|
104
|
-
device:
|
105
|
-
type: smart display
|
106
|
-
brand: ViewSonic
|
107
|
-
model: ViewBoard IFP8650-3 86" 4K
|
108
|
-
os_family: Android
|
109
|
-
browser_family: Chrome
|
110
|
-
-
|
111
|
-
user_agent: Mozilla/5.0 (Linux; Android 8.0.0; IFP6550-3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.85 Safari/537.36
|
112
|
-
os:
|
113
|
-
name: Android
|
114
|
-
version: 8.0.0
|
115
|
-
platform: ""
|
116
|
-
client:
|
117
|
-
type: browser
|
118
|
-
name: Chrome
|
119
|
-
version: 76.0.3809.85
|
120
|
-
engine: Blink
|
121
|
-
engine_version: ""
|
122
|
-
device:
|
123
|
-
type: smart display
|
124
|
-
brand: ViewSonic
|
125
|
-
model: ViewBoard IFP6550-3 65" 4K
|
126
|
-
os_family: Android
|
127
|
-
browser_family: Chrome
|
128
|
-
-
|
129
|
-
user_agent: Mozilla/5.0 (Linux; Android 8.0.0; IFP7550-3 Build/OPR5.170623.014) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Safari/537.36
|
130
|
-
os:
|
131
|
-
name: Android
|
132
|
-
version: 8.0.0
|
133
|
-
platform: ""
|
134
|
-
client:
|
135
|
-
type: browser
|
136
|
-
name: Chrome Webview
|
137
|
-
version: 61.0.3163.98
|
138
|
-
engine: Blink
|
139
|
-
engine_version: ""
|
140
|
-
device:
|
141
|
-
type: smart display
|
142
|
-
brand: ViewSonic
|
143
|
-
model: ViewBoard IFP7550-3 75" 4K
|
144
|
-
os_family: Android
|
145
|
-
browser_family: Chrome
|
146
|
-
-
|
147
|
-
user_agent: Mozilla/5.0 (Linux; Android 8.0.0; IFP9850-3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3739.0 Safari/537.36
|
148
|
-
os:
|
149
|
-
name: Android
|
150
|
-
version: 8.0.0
|
151
|
-
platform: ""
|
152
|
-
client:
|
153
|
-
type: browser
|
154
|
-
name: Chrome
|
155
|
-
version: 75.0.3739.0
|
156
|
-
engine: Blink
|
157
|
-
engine_version: ""
|
158
|
-
device:
|
159
|
-
type: smart display
|
160
|
-
brand: ViewSonic
|
161
|
-
model: ViewBoard IFP9850-3 98" 4K
|
162
|
-
os_family: Android
|
163
|
-
browser_family: Chrome
|
164
|
-
-
|
165
|
-
user_agent: Mozilla/5.0 (Linux; Android 8.0.0; IFP8650-3 Build/OPR5.170623.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Safari/537.36
|
166
|
-
os:
|
167
|
-
name: Android
|
168
|
-
version: 8.0.0
|
169
|
-
platform: ""
|
170
|
-
client:
|
171
|
-
type: browser
|
172
|
-
name: Chrome Webview
|
173
|
-
version: 61.0.3163.98
|
174
|
-
engine: Blink
|
175
|
-
engine_version: ""
|
176
|
-
device:
|
177
|
-
type: smart display
|
178
|
-
brand: ViewSonic
|
179
|
-
model: ViewBoard IFP8650-3 86" 4K
|
180
|
-
os_family: Android
|
181
|
-
browser_family: Chrome
|
182
|
-
-
|
183
|
-
user_agent: Mozilla/5.0 (Linux; Android 8.0.0; IFP6550-3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.85 Safari/537.36
|
184
|
-
os:
|
185
|
-
name: Android
|
186
|
-
version: 8.0.0
|
187
|
-
platform: ""
|
188
|
-
client:
|
189
|
-
type: browser
|
190
|
-
name: Chrome
|
191
|
-
version: 76.0.3809.85
|
192
|
-
engine: Blink
|
193
|
-
engine_version: ""
|
194
|
-
device:
|
195
|
-
type: smart display
|
196
|
-
brand: ViewSonic
|
197
|
-
model: ViewBoard IFP6550-3 65" 4K
|
198
|
-
os_family: Android
|
199
|
-
browser_family: Chrome
|
200
|
-
-
|
201
|
-
user_agent: Dalvik/1.6.0 (Linux; U; Android 4.4.4; WT22M-FI Build/KTU84Q)
|
202
|
-
os:
|
203
|
-
name: Android
|
204
|
-
version: 4.4.4
|
205
|
-
platform: ""
|
206
|
-
client:
|
207
|
-
type: browser
|
208
|
-
name: Android Browser
|
209
|
-
version: ""
|
210
|
-
engine: WebKit
|
211
|
-
engine_version: ""
|
212
|
-
device:
|
213
|
-
type: smart display
|
214
|
-
brand: AOpen
|
215
|
-
model: eTILE WT22M-FI
|
216
|
-
os_family: Android
|
217
|
-
browser_family: Android Browser
|
218
|
-
-
|
219
|
-
user_agent: Dalvik/1.6.0 (Linux; U; Android 4.3.1; WT19M-FI Build/JLS36I)
|
220
|
-
os:
|
221
|
-
name: Android
|
222
|
-
version: 4.3.1
|
223
|
-
platform: ""
|
224
|
-
client:
|
225
|
-
type: browser
|
226
|
-
name: Android Browser
|
227
|
-
version: ""
|
228
|
-
engine: WebKit
|
229
|
-
engine_version: ""
|
230
|
-
device:
|
231
|
-
type: smart display
|
232
|
-
brand: AOpen
|
233
|
-
model: eTILE WT19M-FI
|
234
|
-
os_family: Android
|
235
|
-
browser_family: Android Browser
|
@@ -1,60 +0,0 @@
|
|
1
|
-
---
|
2
|
-
-
|
3
|
-
user_agent: AppleCoreMedia/1.0.0.15F80 (HomePod; U; CPU OS 11_4 like Mac OS X; fr_fr)
|
4
|
-
os:
|
5
|
-
name: iOS
|
6
|
-
version: "11.4"
|
7
|
-
platform: ""
|
8
|
-
client: null
|
9
|
-
device:
|
10
|
-
type: smart speaker
|
11
|
-
brand: Apple
|
12
|
-
model: HomePod
|
13
|
-
os_family: iOS
|
14
|
-
browser_family: Unknown
|
15
|
-
-
|
16
|
-
user_agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; AEOBC Build/LVY48F)
|
17
|
-
os:
|
18
|
-
name: Android
|
19
|
-
version: "5.1.1"
|
20
|
-
platform: ""
|
21
|
-
client:
|
22
|
-
type: browser
|
23
|
-
name: Android Browser
|
24
|
-
version: ""
|
25
|
-
engine: WebKit
|
26
|
-
engine_version: ""
|
27
|
-
device:
|
28
|
-
type: smart speaker
|
29
|
-
brand: Amazon
|
30
|
-
model: Echo
|
31
|
-
os_family: Android
|
32
|
-
browser_family: Android Browser
|
33
|
-
-
|
34
|
-
user_agent: Mozilla/5.0 (Linux; Android 5.1.1; AEOKN Build/LVY48F; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/59.0.3071.125 Safari/537.36
|
35
|
-
os:
|
36
|
-
name: Android
|
37
|
-
version: "5.1.1"
|
38
|
-
platform: ""
|
39
|
-
client:
|
40
|
-
type: browser
|
41
|
-
name: Chrome Webview
|
42
|
-
version: "59.0.3071.125"
|
43
|
-
engine: Blink
|
44
|
-
engine_version: ""
|
45
|
-
device:
|
46
|
-
type: smart speaker
|
47
|
-
brand: Amazon
|
48
|
-
model: Echo
|
49
|
-
os_family: Android
|
50
|
-
browser_family: Chrome
|
51
|
-
-
|
52
|
-
user_agent: Echo/1.0(APNG)
|
53
|
-
os: [ ]
|
54
|
-
client: null
|
55
|
-
device:
|
56
|
-
type: smart speaker
|
57
|
-
brand: Amazon
|
58
|
-
model: Echo
|
59
|
-
os_family: Unknown
|
60
|
-
browser_family: Unknown
|