device_detector 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +4 -4
- data/Rakefile +1 -0
- data/lib/device_detector/device.rb +5 -2
- data/lib/device_detector/version.rb +1 -1
- data/regexes/bots.yml +57 -3
- data/regexes/client/browsers.yml +22 -3
- data/regexes/client/libraries.yml +5 -0
- data/regexes/client/mobile_apps.yml +46 -0
- data/regexes/device/mobiles.yml +3414 -875
- data/regexes/device/notebooks.yml +114 -0
- data/regexes/device/televisions.yml +15 -1
- data/regexes/oss.yml +23 -28
- data/spec/device_detector/detector_fixtures_spec.rb +30 -35
- data/spec/fixtures/client/browser.yml +67 -40
- data/spec/fixtures/client/library.yml +6 -0
- data/spec/fixtures/client/mobile_app.yml +34 -1
- data/spec/fixtures/detector/bots.yml +88 -1
- data/spec/fixtures/detector/desktop.yml +1341 -347
- data/spec/fixtures/detector/mobile_apps.yml +85 -0
- data/spec/fixtures/detector/phablet.yml +1282 -122
- data/spec/fixtures/detector/portable_media_player.yml +40 -0
- data/spec/fixtures/detector/smartphone-1.yml +3512 -3533
- data/spec/fixtures/detector/smartphone-10.yml +3959 -3963
- data/spec/fixtures/detector/smartphone-11.yml +4089 -3965
- data/spec/fixtures/detector/smartphone-12.yml +4029 -4038
- data/spec/fixtures/detector/smartphone-13.yml +3792 -3800
- data/spec/fixtures/detector/smartphone-14.yml +8236 -963
- data/spec/fixtures/detector/smartphone-15.yml +6595 -0
- data/spec/fixtures/detector/smartphone-16.yml +10021 -0
- data/spec/fixtures/detector/smartphone-17.yml +9408 -0
- data/spec/fixtures/detector/smartphone-2.yml +3454 -3457
- data/spec/fixtures/detector/smartphone-3.yml +3873 -3869
- data/spec/fixtures/detector/smartphone-4.yml +4276 -4260
- data/spec/fixtures/detector/smartphone-5.yml +3581 -3558
- data/spec/fixtures/detector/smartphone-6.yml +3938 -3786
- data/spec/fixtures/detector/smartphone-7.yml +4044 -3968
- data/spec/fixtures/detector/smartphone-8.yml +4901 -4935
- data/spec/fixtures/detector/smartphone-9.yml +4255 -4274
- data/spec/fixtures/detector/smartphone.yml +3431 -3424
- data/spec/fixtures/detector/tablet-1.yml +3815 -3815
- data/spec/fixtures/detector/tablet-2.yml +3742 -3736
- data/spec/fixtures/detector/tablet-3.yml +3836 -3827
- data/spec/fixtures/detector/tablet-4.yml +2592 -7
- data/spec/fixtures/detector/tablet.yml +466 -466
- data/spec/fixtures/detector/tv.yml +401 -1
- data/spec/fixtures/detector/unknown.yml +17 -21
- data/spec/fixtures/device/notebook.yml +7 -0
- data/spec/fixtures/parser/oss.yml +7 -0
- metadata +11 -2
@@ -202,7 +202,7 @@
|
|
202
202
|
short_name: FE
|
203
203
|
version: "10.0"
|
204
204
|
engine: Gecko
|
205
|
-
engine_version: ""
|
205
|
+
engine_version: "10.0"
|
206
206
|
device:
|
207
207
|
type: ""
|
208
208
|
brand: ""
|
@@ -889,26 +889,6 @@
|
|
889
889
|
model: ""
|
890
890
|
os_family: Android
|
891
891
|
browser_family: Android Browser
|
892
|
-
-
|
893
|
-
user_agent: Mozilla/5.0 (Linux; U; Android 4.0.3; id-id; IMO TAB X9 Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
|
894
|
-
os:
|
895
|
-
name: Android
|
896
|
-
short_name: AND
|
897
|
-
version: "4.0.3"
|
898
|
-
platform: ""
|
899
|
-
client:
|
900
|
-
type: browser
|
901
|
-
name: Android Browser
|
902
|
-
short_name: AN
|
903
|
-
version: ""
|
904
|
-
engine: WebKit
|
905
|
-
engine_version: "534.30"
|
906
|
-
device:
|
907
|
-
type: ""
|
908
|
-
brand: ""
|
909
|
-
model: ""
|
910
|
-
os_family: Android
|
911
|
-
browser_family: Android Browser
|
912
892
|
-
|
913
893
|
user_agent: Mozilla/5.0 (Linux; U; Android 4.0.3; id-id; SpeedUp S3 Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
|
914
894
|
os:
|
@@ -3234,3 +3214,19 @@
|
|
3234
3214
|
model: ""
|
3235
3215
|
os_family: iOS
|
3236
3216
|
browser_family: Unknown
|
3217
|
+
-
|
3218
|
+
user_agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/80.0.3987.117 Mobile Safari/537.36
|
3219
|
+
os: []
|
3220
|
+
client:
|
3221
|
+
type: browser
|
3222
|
+
name: Chrome Webview
|
3223
|
+
short_name: CV
|
3224
|
+
version: 80.0.3987.117
|
3225
|
+
engine: Blink
|
3226
|
+
engine_version:
|
3227
|
+
device:
|
3228
|
+
type:
|
3229
|
+
brand:
|
3230
|
+
model:
|
3231
|
+
os_family: Unknown
|
3232
|
+
browser_family: Chrome
|
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
-
|
3
|
+
user_agent: Mozilla/5.0 (Windows NT 10.0.16299.125; osmeta 10.3.3308) AppleWebKit/602.1.1 (KHTML, like Gecko) Version/9.0 Safari/602.1.1 osmeta/10.3.3308 Build/3308 [FBAN/FBW;FBAV/140.0.0.232.179;FBBV/83145113;FBDV/WindowsDevice;FBMD/80VR;FBSN/Windows;FBSV/10.0.16299.371;FBSS/1;FBCR/;FBID/desktop;FBLC/ru_RU;FBOP/45;FBRV/0]
|
4
|
+
device:
|
5
|
+
type: 0
|
6
|
+
brand: LE
|
7
|
+
model: Legion Y720
|
@@ -679,6 +679,13 @@
|
|
679
679
|
short_name: PSP
|
680
680
|
version: "Vita"
|
681
681
|
platform:
|
682
|
+
-
|
683
|
+
user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.2.1 Chrome/38.0.2125.122 Safari/537.36 WebAppManager
|
684
|
+
os:
|
685
|
+
name: webOS
|
686
|
+
short_name: WOS
|
687
|
+
version: ""
|
688
|
+
platform: ""
|
682
689
|
-
|
683
690
|
user_agent: Mozilla/5.0 (webOS/1.4.5; U; ru-RU) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pixi/1.0
|
684
691
|
os:
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: device_detector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mati Sójka
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-10-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
@@ -109,6 +109,7 @@ files:
|
|
109
109
|
- regexes/device/car_browsers.yml
|
110
110
|
- regexes/device/consoles.yml
|
111
111
|
- regexes/device/mobiles.yml
|
112
|
+
- regexes/device/notebooks.yml
|
112
113
|
- regexes/device/portable_media_player.yml
|
113
114
|
- regexes/device/televisions.yml
|
114
115
|
- regexes/oss.yml
|
@@ -149,6 +150,9 @@ files:
|
|
149
150
|
- spec/fixtures/detector/smartphone-12.yml
|
150
151
|
- spec/fixtures/detector/smartphone-13.yml
|
151
152
|
- spec/fixtures/detector/smartphone-14.yml
|
153
|
+
- spec/fixtures/detector/smartphone-15.yml
|
154
|
+
- spec/fixtures/detector/smartphone-16.yml
|
155
|
+
- spec/fixtures/detector/smartphone-17.yml
|
152
156
|
- spec/fixtures/detector/smartphone-2.yml
|
153
157
|
- spec/fixtures/detector/smartphone-3.yml
|
154
158
|
- spec/fixtures/detector/smartphone-4.yml
|
@@ -169,6 +173,7 @@ files:
|
|
169
173
|
- spec/fixtures/device/camera.yml
|
170
174
|
- spec/fixtures/device/car_browser.yml
|
171
175
|
- spec/fixtures/device/console.yml
|
176
|
+
- spec/fixtures/device/notebook.yml
|
172
177
|
- spec/fixtures/parser/oss.yml
|
173
178
|
- spec/fixtures/parser/vendorfragments.yml
|
174
179
|
- spec/spec_helper.rb
|
@@ -232,6 +237,9 @@ test_files:
|
|
232
237
|
- spec/fixtures/detector/smartphone-12.yml
|
233
238
|
- spec/fixtures/detector/smartphone-13.yml
|
234
239
|
- spec/fixtures/detector/smartphone-14.yml
|
240
|
+
- spec/fixtures/detector/smartphone-15.yml
|
241
|
+
- spec/fixtures/detector/smartphone-16.yml
|
242
|
+
- spec/fixtures/detector/smartphone-17.yml
|
235
243
|
- spec/fixtures/detector/smartphone-2.yml
|
236
244
|
- spec/fixtures/detector/smartphone-3.yml
|
237
245
|
- spec/fixtures/detector/smartphone-4.yml
|
@@ -252,6 +260,7 @@ test_files:
|
|
252
260
|
- spec/fixtures/device/camera.yml
|
253
261
|
- spec/fixtures/device/car_browser.yml
|
254
262
|
- spec/fixtures/device/console.yml
|
263
|
+
- spec/fixtures/device/notebook.yml
|
255
264
|
- spec/fixtures/parser/oss.yml
|
256
265
|
- spec/fixtures/parser/vendorfragments.yml
|
257
266
|
- spec/spec_helper.rb
|