device_detector 1.0.1 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.rubocop.yml +49 -0
- data/.ruby-version +1 -0
- data/.travis.yml +5 -10
- data/CHANGELOG.md +14 -1
- data/README.md +6 -6
- data/Rakefile +20 -13
- data/device_detector.gemspec +1 -0
- data/lib/device_detector.rb +30 -26
- data/lib/device_detector/bot.rb +2 -2
- data/lib/device_detector/client.rb +3 -2
- data/lib/device_detector/device.rb +46 -20
- data/lib/device_detector/memory_cache.rb +26 -19
- data/lib/device_detector/metadata_extractor.rb +7 -8
- data/lib/device_detector/model_extractor.rb +3 -3
- data/lib/device_detector/name_extractor.rb +2 -2
- data/lib/device_detector/os.rb +121 -111
- data/lib/device_detector/parser.rb +22 -9
- data/lib/device_detector/version.rb +3 -1
- data/lib/device_detector/version_extractor.rb +2 -3
- data/regexes/bots.yml +442 -19
- data/regexes/client/browser_engine.yml +7 -1
- data/regexes/client/browsers.yml +773 -103
- data/regexes/client/feed_readers.yml +14 -8
- data/regexes/client/libraries.yml +43 -2
- data/regexes/client/mediaplayers.yml +21 -5
- data/regexes/client/mobile_apps.yml +131 -1
- data/regexes/client/pim.yml +6 -1
- data/regexes/device/cameras.yml +1 -1
- data/regexes/device/car_browsers.yml +7 -3
- data/regexes/device/consoles.yml +3 -3
- data/regexes/device/mobiles.yml +11365 -791
- data/regexes/device/notebooks.yml +114 -0
- data/regexes/device/portable_media_player.yml +2 -2
- data/regexes/device/televisions.yml +17 -3
- data/regexes/oss.yml +115 -47
- data/regexes/vendorfragments.yml +6 -2
- data/spec/device_detector/concrete_user_agent_spec.rb +16 -17
- data/spec/device_detector/detector_fixtures_spec.rb +30 -35
- data/spec/device_detector/device_spec.rb +28 -48
- data/spec/device_detector/memory_cache_spec.rb +60 -28
- data/spec/device_detector/model_extractor_spec.rb +3 -3
- data/spec/device_detector/version_extractor_spec.rb +5 -6
- data/spec/device_detector_spec.rb +49 -78
- data/spec/fixtures/client/browser.yml +1521 -406
- data/spec/fixtures/client/feed_reader.yml +39 -51
- data/spec/fixtures/client/library.yml +72 -11
- data/spec/fixtures/client/mediaplayer.yml +29 -40
- data/spec/fixtures/client/mobile_app.yml +172 -32
- data/spec/fixtures/client/pim.yml +32 -19
- data/spec/fixtures/detector/bots.yml +854 -19
- data/spec/fixtures/detector/camera.yml +22 -2
- data/spec/fixtures/detector/car_browser.yml +60 -0
- data/spec/fixtures/detector/console.yml +43 -3
- data/spec/fixtures/detector/desktop.yml +2860 -1527
- data/spec/fixtures/detector/feature_phone.yml +69 -1
- data/spec/fixtures/detector/feed_reader.yml +158 -130
- data/spec/fixtures/detector/mediaplayer.yml +113 -39
- data/spec/fixtures/detector/mobile_apps.yml +262 -89
- data/spec/fixtures/detector/phablet.yml +3444 -663
- data/spec/fixtures/detector/portable_media_player.yml +57 -0
- data/spec/fixtures/detector/smart_speaker.yml +55 -0
- data/spec/fixtures/detector/smartphone-1.yml +4739 -4765
- data/spec/fixtures/detector/smartphone-10.yml +9973 -0
- data/spec/fixtures/detector/smartphone-11.yml +10015 -0
- data/spec/fixtures/detector/smartphone-12.yml +9897 -0
- data/spec/fixtures/detector/smartphone-13.yml +9912 -0
- data/spec/fixtures/detector/smartphone-14.yml +9935 -0
- 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 +4265 -4238
- data/spec/fixtures/detector/smartphone-3.yml +4487 -4391
- data/spec/fixtures/detector/smartphone-4.yml +4210 -4179
- data/spec/fixtures/detector/smartphone-5.yml +5794 -2901
- data/spec/fixtures/detector/smartphone-6.yml +10114 -0
- data/spec/fixtures/detector/smartphone-7.yml +9975 -0
- data/spec/fixtures/detector/smartphone-8.yml +9897 -0
- data/spec/fixtures/detector/smartphone-9.yml +9880 -0
- data/spec/fixtures/detector/smartphone.yml +4152 -4048
- data/spec/fixtures/detector/tablet-1.yml +3997 -3991
- data/spec/fixtures/detector/tablet-2.yml +6820 -1935
- data/spec/fixtures/detector/tablet-3.yml +9968 -0
- data/spec/fixtures/detector/tablet-4.yml +7113 -0
- data/spec/fixtures/detector/tablet.yml +3789 -3804
- data/spec/fixtures/detector/tv.yml +3889 -1495
- data/spec/fixtures/detector/unknown.yml +45 -179
- data/spec/fixtures/detector/wearable.yml +61 -0
- data/spec/fixtures/device/camera.yml +4 -3
- data/spec/fixtures/device/car_browser.yml +9 -2
- data/spec/fixtures/device/console.yml +15 -14
- data/spec/fixtures/device/notebook.yml +7 -0
- data/spec/fixtures/parser/oss.yml +177 -0
- data/spec/fixtures/parser/vendorfragments.yml +6 -0
- metadata +57 -7
@@ -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
|
@@ -55,6 +55,13 @@
|
|
55
55
|
short_name: FED
|
56
56
|
version: "1.9.0.8"
|
57
57
|
platform: x86
|
58
|
+
-
|
59
|
+
user_agent: Fire OS/5.3.6.2 stagefright/1.2 (Linux;Android 5.1.1)
|
60
|
+
os:
|
61
|
+
name: Fire OS
|
62
|
+
short_name: FIR
|
63
|
+
version: 5.3.6.2
|
64
|
+
platform: ""
|
58
65
|
-
|
59
66
|
user_agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:25.0) Gecko/20100101 Firefox/25.0
|
60
67
|
os:
|
@@ -97,6 +104,13 @@
|
|
97
104
|
short_name: HAI
|
98
105
|
version:
|
99
106
|
platform:
|
107
|
+
-
|
108
|
+
user_agent: Mozilla/5.0 (Macintosh; Intel Haiku R1 x86) AppleWebKit/605.1.17 (KHTML, like Gecko) WebPositive/1.2 Version/11.1 Safari/605.1.17
|
109
|
+
os:
|
110
|
+
name: Haiku OS
|
111
|
+
short_name: HAI
|
112
|
+
version: ""
|
113
|
+
platform: ""
|
100
114
|
-
|
101
115
|
user_agent: Mozilla/4.08 (Charon; Inferno)
|
102
116
|
os:
|
@@ -125,6 +139,13 @@
|
|
125
139
|
short_name: KBT
|
126
140
|
version:
|
127
141
|
platform:
|
142
|
+
-
|
143
|
+
user_agent: Mozilla/5.0 (Mobile; LYF/F30C/LYF_F30C-000-09-10-140318; Android; rv:48.0) Gecko/48.0 Firefox/48.0 KAIOS/2.0
|
144
|
+
os:
|
145
|
+
name: KaiOS
|
146
|
+
short_name: KOS
|
147
|
+
version: "2.0"
|
148
|
+
platform: ""
|
128
149
|
-
|
129
150
|
user_agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.1) Gecko/2008072820 Kubuntu/8.04 (hardy) Firefox/3.0.1
|
130
151
|
os:
|
@@ -434,6 +455,13 @@
|
|
434
455
|
short_name: AND
|
435
456
|
version: "2.2.2"
|
436
457
|
platform:
|
458
|
+
-
|
459
|
+
user_agent: Mozilla/5.0 (Linux; Android 9; Pixel XL Build/PPR1.180610.009) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.91 Mobile Safari/537.36
|
460
|
+
os:
|
461
|
+
name: Android
|
462
|
+
short_name: AND
|
463
|
+
version: "9"
|
464
|
+
platform: ""
|
437
465
|
-
|
438
466
|
user_agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 8.12; MSIEMobile 6.0) acer_F900
|
439
467
|
os:
|
@@ -483,6 +511,55 @@
|
|
483
511
|
short_name: IOS
|
484
512
|
version: "9.3.2"
|
485
513
|
platform:
|
514
|
+
-
|
515
|
+
user_agent: Interflora/22 CFNetwork/808.0.1 Darwin/16.0.0
|
516
|
+
os:
|
517
|
+
name: iOS
|
518
|
+
short_name: IOS
|
519
|
+
version: "10.0"
|
520
|
+
platform: ""
|
521
|
+
-
|
522
|
+
user_agent: MobileSafari/602.1 CFNetwork/808.1.3 Darwin/16.1.0
|
523
|
+
os:
|
524
|
+
name: iOS
|
525
|
+
short_name: IOS
|
526
|
+
version: "10.1"
|
527
|
+
platform: ""
|
528
|
+
-
|
529
|
+
user_agent: MobileSafari/602.1 CFNetwork/808.2.16 Darwin/16.3.0
|
530
|
+
os:
|
531
|
+
name: iOS
|
532
|
+
short_name: IOS
|
533
|
+
version: "10.2"
|
534
|
+
platform: ""
|
535
|
+
-
|
536
|
+
user_agent: MobileSafari/602.1 CFNetwork/811.5.4 Darwin/16.6.0
|
537
|
+
os:
|
538
|
+
name: iOS
|
539
|
+
short_name: IOS
|
540
|
+
version: "10.3"
|
541
|
+
platform: ""
|
542
|
+
-
|
543
|
+
user_agent: MobileSafari/602.1 CFNetwork/808.3 Darwin/16.3.0
|
544
|
+
os:
|
545
|
+
name: iOS
|
546
|
+
short_name: IOS
|
547
|
+
version: "10.3"
|
548
|
+
platform: ""
|
549
|
+
-
|
550
|
+
user_agent: MobileSafari/604.1 CFNetwork/887 Darwin/17.0.0
|
551
|
+
os:
|
552
|
+
name: iOS
|
553
|
+
short_name: IOS
|
554
|
+
version: "11.0"
|
555
|
+
platform: ""
|
556
|
+
-
|
557
|
+
user_agent: MobileSafari/604.1 CFNetwork/889.9 Darwin/17.2.0
|
558
|
+
os:
|
559
|
+
name: iOS
|
560
|
+
short_name: IOS
|
561
|
+
version: "11.1"
|
562
|
+
platform: ""
|
486
563
|
-
|
487
564
|
user_agent: NokiaN73-2/3.0-630.0.2 Series60/3.0 Profile/MIDP-2.0 Configuration/CLDC-1.1
|
488
565
|
os:
|
@@ -602,6 +679,13 @@
|
|
602
679
|
short_name: PSP
|
603
680
|
version: "Vita"
|
604
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: ""
|
605
689
|
-
|
606
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
|
607
691
|
os:
|
@@ -833,6 +917,27 @@
|
|
833
917
|
short_name: MAC
|
834
918
|
version: "10.9"
|
835
919
|
platform: "x64"
|
920
|
+
-
|
921
|
+
user_agent: Safari/12602.3.12.0.1 CFNetwork/807.2.14 Darwin/16.3.0 (x86_64)
|
922
|
+
os:
|
923
|
+
name: Mac
|
924
|
+
short_name: MAC
|
925
|
+
version: "10.12"
|
926
|
+
platform: "x64"
|
927
|
+
-
|
928
|
+
user_agent: Safari/12603.3.8 CFNetwork/811.5.4 Darwin/16.7.0 (x86_64)
|
929
|
+
os:
|
930
|
+
name: Mac
|
931
|
+
short_name: MAC
|
932
|
+
version: "10.12"
|
933
|
+
platform: "x64"
|
934
|
+
-
|
935
|
+
user_agent: Safari/13604.1.38.1.6 CFNetwork/887 Darwin/17.0.0 (x86_64)
|
936
|
+
os:
|
937
|
+
name: Mac
|
938
|
+
short_name: MAC
|
939
|
+
version: "10.13"
|
940
|
+
platform: x64
|
836
941
|
-
|
837
942
|
user_agent: Podcasts/2.1.2
|
838
943
|
os:
|
@@ -910,3 +1015,75 @@
|
|
910
1015
|
short_name: IOS
|
911
1016
|
version:
|
912
1017
|
platform:
|
1018
|
+
|
1019
|
+
-
|
1020
|
+
user_agent: TwitterAndroid/7.73.0-release.17 (8900198-r-17) HUAWEI VNS-L53/7.0 (HUAWEI;HUAWEI VNS-L53;HUAWEI;VNS-L53;0;;1;2013)
|
1021
|
+
os:
|
1022
|
+
name: Android
|
1023
|
+
short_name: AND
|
1024
|
+
version: "7.0"
|
1025
|
+
platform:
|
1026
|
+
|
1027
|
+
-
|
1028
|
+
user_agent: TwitterAndroid/7.71.1-release.15 (8900196-r-15) TA-1028/8.0.0 (HMD Global;TA-1028;Nokia;TA-1028_00WW;0;;1;2013)
|
1029
|
+
os:
|
1030
|
+
name: Android
|
1031
|
+
short_name: AND
|
1032
|
+
version: "8.0.0"
|
1033
|
+
platform:
|
1034
|
+
-
|
1035
|
+
user_agent: RSSRadio/9220 (iPad;iOS;12.3.1)
|
1036
|
+
os:
|
1037
|
+
name: iOS
|
1038
|
+
short_name: IOS
|
1039
|
+
version: ""
|
1040
|
+
platform:
|
1041
|
+
-
|
1042
|
+
user_agent: RSSRadio/9252
|
1043
|
+
os:
|
1044
|
+
name: iOS
|
1045
|
+
short_name: IOS
|
1046
|
+
version: ""
|
1047
|
+
platform:
|
1048
|
+
-
|
1049
|
+
user_agent: RSSRadio/
|
1050
|
+
os:
|
1051
|
+
name: iOS
|
1052
|
+
short_name: IOS
|
1053
|
+
version: ""
|
1054
|
+
platform:
|
1055
|
+
-
|
1056
|
+
user_agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0 Ordissimo/3.8.6.6+svn37147
|
1057
|
+
os:
|
1058
|
+
name: Ordissimo
|
1059
|
+
short_name: ORD
|
1060
|
+
version: ""
|
1061
|
+
platform: x86
|
1062
|
+
-
|
1063
|
+
user_agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Ordissimo/3.8.20+svn37598
|
1064
|
+
os:
|
1065
|
+
name: Ordissimo
|
1066
|
+
short_name: ORD
|
1067
|
+
version: ""
|
1068
|
+
platform: x64
|
1069
|
+
-
|
1070
|
+
user_agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0 webissimo3/3.7.30+svn32090
|
1071
|
+
os:
|
1072
|
+
name: Ordissimo
|
1073
|
+
short_name: ORD
|
1074
|
+
version: ""
|
1075
|
+
platform: x86
|
1076
|
+
-
|
1077
|
+
user_agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 webissimo3/3.7.22+svn30377
|
1078
|
+
os:
|
1079
|
+
name: Ordissimo
|
1080
|
+
short_name: ORD
|
1081
|
+
version: ""
|
1082
|
+
platform: x64
|
1083
|
+
-
|
1084
|
+
user_agent: Mozilla/5.0 (X11 TOS; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 ToGate/72.0.3626.109 Safari/537.36
|
1085
|
+
os:
|
1086
|
+
name: TmaxOS
|
1087
|
+
short_name: TOS
|
1088
|
+
version: ""
|
1089
|
+
platform: x64
|
@@ -160,3 +160,9 @@
|
|
160
160
|
-
|
161
161
|
useragent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; Trident/7.0; Touch; TAJB; rv:11.0) like Gecko
|
162
162
|
vendor: TS
|
163
|
+
-
|
164
|
+
useragent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0 Ordissimo/3.8.6.6+svn37147
|
165
|
+
vendor: OS
|
166
|
+
-
|
167
|
+
useragent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0 webissimo3/3.7.30+svn32090
|
168
|
+
vendor: OS
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
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
|
8
8
|
- Ben Zimmer
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-10-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
@@ -53,6 +53,20 @@ dependencies:
|
|
53
53
|
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '0.10'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rubocop
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - '='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 0.85.1
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - '='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.85.1
|
56
70
|
description: Precise and fast user agent parser and device detector, backed by the
|
57
71
|
largest and most up-to-date agent and device database
|
58
72
|
email:
|
@@ -62,6 +76,8 @@ extensions: []
|
|
62
76
|
extra_rdoc_files: []
|
63
77
|
files:
|
64
78
|
- ".gitignore"
|
79
|
+
- ".rubocop.yml"
|
80
|
+
- ".ruby-version"
|
65
81
|
- ".travis.yml"
|
66
82
|
- CHANGELOG.md
|
67
83
|
- Gemfile
|
@@ -93,6 +109,7 @@ files:
|
|
93
109
|
- regexes/device/car_browsers.yml
|
94
110
|
- regexes/device/consoles.yml
|
95
111
|
- regexes/device/mobiles.yml
|
112
|
+
- regexes/device/notebooks.yml
|
96
113
|
- regexes/device/portable_media_player.yml
|
97
114
|
- regexes/device/televisions.yml
|
98
115
|
- regexes/oss.yml
|
@@ -126,20 +143,37 @@ files:
|
|
126
143
|
- spec/fixtures/detector/phablet.yml
|
127
144
|
- spec/fixtures/detector/portable_media_player.yml
|
128
145
|
- spec/fixtures/detector/smart_display.yml
|
146
|
+
- spec/fixtures/detector/smart_speaker.yml
|
129
147
|
- spec/fixtures/detector/smartphone-1.yml
|
148
|
+
- spec/fixtures/detector/smartphone-10.yml
|
149
|
+
- spec/fixtures/detector/smartphone-11.yml
|
150
|
+
- spec/fixtures/detector/smartphone-12.yml
|
151
|
+
- spec/fixtures/detector/smartphone-13.yml
|
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
|
130
156
|
- spec/fixtures/detector/smartphone-2.yml
|
131
157
|
- spec/fixtures/detector/smartphone-3.yml
|
132
158
|
- spec/fixtures/detector/smartphone-4.yml
|
133
159
|
- spec/fixtures/detector/smartphone-5.yml
|
160
|
+
- spec/fixtures/detector/smartphone-6.yml
|
161
|
+
- spec/fixtures/detector/smartphone-7.yml
|
162
|
+
- spec/fixtures/detector/smartphone-8.yml
|
163
|
+
- spec/fixtures/detector/smartphone-9.yml
|
134
164
|
- spec/fixtures/detector/smartphone.yml
|
135
165
|
- spec/fixtures/detector/tablet-1.yml
|
136
166
|
- spec/fixtures/detector/tablet-2.yml
|
167
|
+
- spec/fixtures/detector/tablet-3.yml
|
168
|
+
- spec/fixtures/detector/tablet-4.yml
|
137
169
|
- spec/fixtures/detector/tablet.yml
|
138
170
|
- spec/fixtures/detector/tv.yml
|
139
171
|
- spec/fixtures/detector/unknown.yml
|
172
|
+
- spec/fixtures/detector/wearable.yml
|
140
173
|
- spec/fixtures/device/camera.yml
|
141
174
|
- spec/fixtures/device/car_browser.yml
|
142
175
|
- spec/fixtures/device/console.yml
|
176
|
+
- spec/fixtures/device/notebook.yml
|
143
177
|
- spec/fixtures/parser/oss.yml
|
144
178
|
- spec/fixtures/parser/vendorfragments.yml
|
145
179
|
- spec/spec_helper.rb
|
@@ -147,7 +181,7 @@ homepage: http://podigee.github.io/device_detector
|
|
147
181
|
licenses:
|
148
182
|
- LGPL-3.0
|
149
183
|
metadata: {}
|
150
|
-
post_install_message:
|
184
|
+
post_install_message:
|
151
185
|
rdoc_options: []
|
152
186
|
require_paths:
|
153
187
|
- lib
|
@@ -162,9 +196,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
196
|
- !ruby/object:Gem::Version
|
163
197
|
version: '0'
|
164
198
|
requirements: []
|
165
|
-
|
166
|
-
|
167
|
-
signing_key:
|
199
|
+
rubygems_version: 3.0.3
|
200
|
+
signing_key:
|
168
201
|
specification_version: 4
|
169
202
|
summary: Precise and fast user agent parser and device detector
|
170
203
|
test_files:
|
@@ -197,20 +230,37 @@ test_files:
|
|
197
230
|
- spec/fixtures/detector/phablet.yml
|
198
231
|
- spec/fixtures/detector/portable_media_player.yml
|
199
232
|
- spec/fixtures/detector/smart_display.yml
|
233
|
+
- spec/fixtures/detector/smart_speaker.yml
|
200
234
|
- spec/fixtures/detector/smartphone-1.yml
|
235
|
+
- spec/fixtures/detector/smartphone-10.yml
|
236
|
+
- spec/fixtures/detector/smartphone-11.yml
|
237
|
+
- spec/fixtures/detector/smartphone-12.yml
|
238
|
+
- spec/fixtures/detector/smartphone-13.yml
|
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
|
201
243
|
- spec/fixtures/detector/smartphone-2.yml
|
202
244
|
- spec/fixtures/detector/smartphone-3.yml
|
203
245
|
- spec/fixtures/detector/smartphone-4.yml
|
204
246
|
- spec/fixtures/detector/smartphone-5.yml
|
247
|
+
- spec/fixtures/detector/smartphone-6.yml
|
248
|
+
- spec/fixtures/detector/smartphone-7.yml
|
249
|
+
- spec/fixtures/detector/smartphone-8.yml
|
250
|
+
- spec/fixtures/detector/smartphone-9.yml
|
205
251
|
- spec/fixtures/detector/smartphone.yml
|
206
252
|
- spec/fixtures/detector/tablet-1.yml
|
207
253
|
- spec/fixtures/detector/tablet-2.yml
|
254
|
+
- spec/fixtures/detector/tablet-3.yml
|
255
|
+
- spec/fixtures/detector/tablet-4.yml
|
208
256
|
- spec/fixtures/detector/tablet.yml
|
209
257
|
- spec/fixtures/detector/tv.yml
|
210
258
|
- spec/fixtures/detector/unknown.yml
|
259
|
+
- spec/fixtures/detector/wearable.yml
|
211
260
|
- spec/fixtures/device/camera.yml
|
212
261
|
- spec/fixtures/device/car_browser.yml
|
213
262
|
- spec/fixtures/device/console.yml
|
263
|
+
- spec/fixtures/device/notebook.yml
|
214
264
|
- spec/fixtures/parser/oss.yml
|
215
265
|
- spec/fixtures/parser/vendorfragments.yml
|
216
266
|
- spec/spec_helper.rb
|