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,306 +0,0 @@
|
|
1
|
-
---
|
2
|
-
-
|
3
|
-
user_agent: Audacious/3.6.2 neon/0.30.1
|
4
|
-
os: [ ]
|
5
|
-
client:
|
6
|
-
type: mediaplayer
|
7
|
-
name: Audacious
|
8
|
-
version: "3.6.2"
|
9
|
-
device:
|
10
|
-
type: ""
|
11
|
-
brand: ""
|
12
|
-
model: ""
|
13
|
-
os_family: Unknown
|
14
|
-
browser_family: Unknown
|
15
|
-
-
|
16
|
-
user_agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.28) Gecko/20130316 Songbird/1.12.1 (20140112193149)
|
17
|
-
os:
|
18
|
-
name: GNU/Linux
|
19
|
-
version: ""
|
20
|
-
platform: x86
|
21
|
-
client:
|
22
|
-
type: mediaplayer
|
23
|
-
name: Songbird
|
24
|
-
version: "1.12.1"
|
25
|
-
device:
|
26
|
-
type: desktop
|
27
|
-
brand: ""
|
28
|
-
model: ""
|
29
|
-
os_family: GNU/Linux
|
30
|
-
browser_family: Unknown
|
31
|
-
-
|
32
|
-
user_agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.28) Gecko/20130316 Nightingale/1.12.2 (20140112193149)
|
33
|
-
os:
|
34
|
-
name: GNU/Linux
|
35
|
-
version: ""
|
36
|
-
platform: x86
|
37
|
-
client:
|
38
|
-
type: mediaplayer
|
39
|
-
name: Nightingale
|
40
|
-
version: "1.12.2"
|
41
|
-
device:
|
42
|
-
type: desktop
|
43
|
-
brand: ""
|
44
|
-
model: ""
|
45
|
-
os_family: GNU/Linux
|
46
|
-
browser_family: Unknown
|
47
|
-
-
|
48
|
-
user_agent: iTunes/10.2.1 (Macintosh; Intel Mac OS X 10.7) AppleWebKit/534.20.8
|
49
|
-
os:
|
50
|
-
name: Mac
|
51
|
-
version: "10.7"
|
52
|
-
platform: ""
|
53
|
-
client:
|
54
|
-
type: mediaplayer
|
55
|
-
name: iTunes
|
56
|
-
version: "10.2.1"
|
57
|
-
device:
|
58
|
-
type: desktop
|
59
|
-
brand: Apple
|
60
|
-
model: ""
|
61
|
-
os_family: Mac
|
62
|
-
browser_family: Unknown
|
63
|
-
-
|
64
|
-
user_agent: iTunes/10.2.1 (Windows; Microsoft Windows 7 Enterprise Edition Service Pack 1 (Build 7601)) AppleWebKit/533.20.25
|
65
|
-
os:
|
66
|
-
name: Windows
|
67
|
-
version: "7"
|
68
|
-
platform: ""
|
69
|
-
client:
|
70
|
-
type: mediaplayer
|
71
|
-
name: iTunes
|
72
|
-
version: "10.2.1"
|
73
|
-
device:
|
74
|
-
type: desktop
|
75
|
-
brand: ""
|
76
|
-
model: ""
|
77
|
-
os_family: Windows
|
78
|
-
browser_family: Unknown
|
79
|
-
-
|
80
|
-
user_agent: SAMSUNG-GT-S3850/S3850CXKD1 SHP/VPP/R5 Dolfin/2.0 NexPlayer/3.0 SMM-MMS/1.2.0 profile/MIDP-2.1 configuration/CLDC-1.1 OPN-B
|
81
|
-
os:
|
82
|
-
name: Java ME
|
83
|
-
version: ""
|
84
|
-
platform: ""
|
85
|
-
client:
|
86
|
-
type: mediaplayer
|
87
|
-
name: NexPlayer
|
88
|
-
version: "3.0"
|
89
|
-
device:
|
90
|
-
type: smartphone
|
91
|
-
brand: Samsung
|
92
|
-
model: GT-S3850
|
93
|
-
os_family: Real-time OS
|
94
|
-
browser_family: Unknown
|
95
|
-
-
|
96
|
-
user_agent: Deezer/5.4.21.97 (Android; 6.0; Mobile; fr) WIKO U FEEL
|
97
|
-
os:
|
98
|
-
name: Android
|
99
|
-
version: "6.0"
|
100
|
-
platform: ""
|
101
|
-
client:
|
102
|
-
type: mediaplayer
|
103
|
-
name: Deezer
|
104
|
-
version: "5.4.21.97"
|
105
|
-
device:
|
106
|
-
type: smartphone
|
107
|
-
brand: Wiko
|
108
|
-
model: U Feel
|
109
|
-
os_family: Android
|
110
|
-
browser_family: Unknown
|
111
|
-
-
|
112
|
-
user_agent: FlyCast/1.34 (BlackBerry; 8330/4.5.0.131 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/-1)
|
113
|
-
os:
|
114
|
-
name: BlackBerry OS
|
115
|
-
version: ""
|
116
|
-
platform: ""
|
117
|
-
client:
|
118
|
-
type: mediaplayer
|
119
|
-
name: FlyCast
|
120
|
-
version: "1.34"
|
121
|
-
device:
|
122
|
-
type: smartphone
|
123
|
-
brand: RIM
|
124
|
-
model: BlackBerry
|
125
|
-
os_family: BlackBerry
|
126
|
-
browser_family: Unknown
|
127
|
-
-
|
128
|
-
user_agent: NSPlayer/10.0.0.4072 WMFSDK/10.0
|
129
|
-
os: [ ]
|
130
|
-
client:
|
131
|
-
type: mediaplayer
|
132
|
-
name: Windows Media Player
|
133
|
-
version: "10.0.0.4072"
|
134
|
-
device:
|
135
|
-
type: ""
|
136
|
-
brand: ""
|
137
|
-
model: ""
|
138
|
-
os_family: Unknown
|
139
|
-
browser_family: Unknown
|
140
|
-
-
|
141
|
-
user_agent: XBMC/9.04 r19840 (Mac OS X; Darwin 9.6.0; http://www.xbmc.org)
|
142
|
-
os:
|
143
|
-
name: Mac
|
144
|
-
version: ""
|
145
|
-
platform: ""
|
146
|
-
client:
|
147
|
-
type: mediaplayer
|
148
|
-
name: XBMC
|
149
|
-
version: "9.04"
|
150
|
-
device:
|
151
|
-
type: desktop
|
152
|
-
brand: Apple
|
153
|
-
model: ""
|
154
|
-
os_family: Mac
|
155
|
-
browser_family: Unknown
|
156
|
-
-
|
157
|
-
user_agent: SubStream/0.7 CFNetwork/485.12.30 Darwin/10.4.0
|
158
|
-
os:
|
159
|
-
name: iOS
|
160
|
-
version: "4.2"
|
161
|
-
platform: ""
|
162
|
-
client:
|
163
|
-
type: mediaplayer
|
164
|
-
name: SubStream
|
165
|
-
version: "0.7"
|
166
|
-
device:
|
167
|
-
type: ""
|
168
|
-
brand: Apple
|
169
|
-
model: ""
|
170
|
-
os_family: iOS
|
171
|
-
browser_family: Unknown
|
172
|
-
-
|
173
|
-
user_agent: Samsung GT-I9505 stagefright/1.2 (Linux;Android 4.4.2)
|
174
|
-
os:
|
175
|
-
name: Android
|
176
|
-
version: "4.4.2"
|
177
|
-
platform: ""
|
178
|
-
client:
|
179
|
-
type: mediaplayer
|
180
|
-
name: Stagefright
|
181
|
-
version: "1.2"
|
182
|
-
device:
|
183
|
-
type: smartphone
|
184
|
-
brand: Samsung
|
185
|
-
model: Galaxy S4
|
186
|
-
os_family: Android
|
187
|
-
browser_family: Unknown
|
188
|
-
-
|
189
|
-
user_agent: Kodi/14.0 (Macintosh; Intel Mac OS X 10_10_3) App_Bitness/64 Version/14.0-Git:2014-12-23-ad747d9-dirty
|
190
|
-
os:
|
191
|
-
name: Mac
|
192
|
-
version: "10.10.3"
|
193
|
-
platform: ""
|
194
|
-
client:
|
195
|
-
type: mediaplayer
|
196
|
-
name: Kodi
|
197
|
-
version: "14.0"
|
198
|
-
device:
|
199
|
-
type: desktop
|
200
|
-
brand: Apple
|
201
|
-
model: ""
|
202
|
-
os_family: Mac
|
203
|
-
browser_family: Unknown
|
204
|
-
-
|
205
|
-
user_agent: GoogleChirp/1.0.1 (Linux; Android/5.0) GOOG/7 AppleWebKit/534.30 (KHTML, like Gecko)
|
206
|
-
os:
|
207
|
-
name: Android
|
208
|
-
version: "5.0"
|
209
|
-
platform: ""
|
210
|
-
client:
|
211
|
-
type: mediaplayer
|
212
|
-
name: Google Podcasts
|
213
|
-
version: "1.0.1"
|
214
|
-
device:
|
215
|
-
type: ""
|
216
|
-
brand: ""
|
217
|
-
model: ""
|
218
|
-
os_family: Android
|
219
|
-
browser_family: Unknown
|
220
|
-
-
|
221
|
-
user_agent: Music Player Daemon 0.19.21
|
222
|
-
os: [ ]
|
223
|
-
client:
|
224
|
-
type: mediaplayer
|
225
|
-
name: Music Player Daemon
|
226
|
-
version: "0.19.21"
|
227
|
-
device:
|
228
|
-
type: ""
|
229
|
-
brand: ""
|
230
|
-
model: ""
|
231
|
-
os_family: Unknown
|
232
|
-
browser_family: Unknown
|
233
|
-
-
|
234
|
-
user_agent: mpv 0.29.1
|
235
|
-
os: [ ]
|
236
|
-
client:
|
237
|
-
type: mediaplayer
|
238
|
-
name: mpv
|
239
|
-
version: "0.29.1"
|
240
|
-
device:
|
241
|
-
type: ""
|
242
|
-
brand: ""
|
243
|
-
model: ""
|
244
|
-
os_family: Unknown
|
245
|
-
browser_family: Unknown
|
246
|
-
-
|
247
|
-
user_agent: foobar2000/1.6.1
|
248
|
-
os: [ ]
|
249
|
-
client:
|
250
|
-
type: mediaplayer
|
251
|
-
name: Foobar2000
|
252
|
-
version: 1.6.1
|
253
|
-
device:
|
254
|
-
type: ""
|
255
|
-
brand: ""
|
256
|
-
model: ""
|
257
|
-
os_family: Unknown
|
258
|
-
browser_family: Unknown
|
259
|
-
-
|
260
|
-
user_agent: Downcast/2.9.11 (Mac OS X Version 10.11.3 (Build 15D21))
|
261
|
-
os:
|
262
|
-
name: Mac
|
263
|
-
version: "10.11.3"
|
264
|
-
platform: ""
|
265
|
-
client:
|
266
|
-
type: mediaplayer
|
267
|
-
name: Downcast
|
268
|
-
version: "2.9.11"
|
269
|
-
device:
|
270
|
-
type: desktop
|
271
|
-
brand: Apple
|
272
|
-
model: ""
|
273
|
-
os_family: Mac
|
274
|
-
browser_family: Unknown
|
275
|
-
-
|
276
|
-
user_agent: 'Downcast/1241 CFNetwork/673.4 Darwin/13.3.0 (x86_64) (MacBookAir4%2C2)'
|
277
|
-
os:
|
278
|
-
name: Mac
|
279
|
-
version: 10.9.4
|
280
|
-
platform: x64
|
281
|
-
client:
|
282
|
-
type: mediaplayer
|
283
|
-
name: Downcast
|
284
|
-
version: ""
|
285
|
-
device:
|
286
|
-
type: desktop
|
287
|
-
brand: Apple
|
288
|
-
model: MacBook Air 13" (2011)
|
289
|
-
os_family: Mac
|
290
|
-
browser_family: Unknown
|
291
|
-
-
|
292
|
-
user_agent: MediaGo/3.2.0.191 (Windows NT 10.0; WOW64) PlaybackEngine/2.20.103.05220
|
293
|
-
os:
|
294
|
-
name: Windows
|
295
|
-
version: "10"
|
296
|
-
platform: x64
|
297
|
-
client:
|
298
|
-
type: mediaplayer
|
299
|
-
name: Sony Media Go
|
300
|
-
version: 3.2.0.191
|
301
|
-
device:
|
302
|
-
type: desktop
|
303
|
-
brand: ""
|
304
|
-
model: ""
|
305
|
-
os_family: Windows
|
306
|
-
browser_family: Unknown
|