device_detector 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +5 -4
- data/CHANGELOG.md +4 -4
- data/README.md +6 -8
- data/lib/device_detector.rb +2 -2
- data/lib/device_detector/version.rb +1 -1
- data/regexes/bots.yml +461 -10
- data/regexes/client/browser_engine.yml +4 -1
- data/regexes/client/browsers.yml +167 -17
- data/regexes/client/feed_readers.yml +30 -0
- data/regexes/client/libraries.yml +38 -0
- data/regexes/client/mediaplayers.yml +4 -0
- data/regexes/client/mobile_apps.yml +82 -1
- data/regexes/client/pim.yml +4 -0
- data/regexes/device/mobiles.yml +1761 -138
- data/regexes/device/portable_media_player.yml +2 -4
- data/regexes/device/televisions.yml +16 -2
- data/regexes/oss.yml +25 -4
- data/spec/device_detector/detector_fixtures_spec.rb +51 -11
- data/spec/device_detector_spec.rb +20 -0
- data/spec/fixtures/client/browser.yml +446 -11
- data/spec/fixtures/client/feed_reader.yml +25 -1
- data/spec/fixtures/client/library.yml +55 -1
- data/spec/fixtures/client/mediaplayer.yml +6 -0
- data/spec/fixtures/client/mobile_app.yml +81 -1
- data/spec/fixtures/client/pim.yml +7 -1
- data/spec/fixtures/detector/bots.yml +668 -108
- data/spec/fixtures/detector/camera.yml +14 -8
- data/spec/fixtures/detector/car_browser.yml +4 -3
- data/spec/fixtures/detector/console.yml +38 -24
- data/spec/fixtures/detector/desktop.yml +981 -687
- data/spec/fixtures/detector/feature_phone.yml +82 -41
- data/spec/fixtures/detector/feed_reader.yml +37 -0
- data/spec/fixtures/detector/mobile_apps.yml +257 -0
- data/spec/fixtures/detector/phablet.yml +569 -163
- data/spec/fixtures/detector/portable_media_player.yml +24 -16
- data/spec/fixtures/detector/smart_display.yml +8 -5
- data/spec/fixtures/detector/smartphone-1.yml +4698 -4235
- data/spec/fixtures/detector/smartphone-2.yml +4804 -4256
- data/spec/fixtures/detector/smartphone-3.yml +5060 -4603
- data/spec/fixtures/detector/smartphone-4.yml +6803 -2637
- data/spec/fixtures/detector/smartphone-5.yml +7044 -0
- data/spec/fixtures/detector/smartphone.yml +4380 -3904
- data/spec/fixtures/detector/tablet-1.yml +4530 -4036
- data/spec/fixtures/detector/tablet-2.yml +4875 -25
- data/spec/fixtures/detector/tablet.yml +3266 -2764
- data/spec/fixtures/detector/tv.yml +563 -206
- data/spec/fixtures/detector/unknown.yml +1033 -863
- data/spec/fixtures/parser/oss.yml +114 -2
- data/spec/fixtures/parser/vendorfragments.yml +2 -2
- metadata +5 -3
@@ -329,6 +329,13 @@
|
|
329
329
|
short_name: WIN
|
330
330
|
version: "10"
|
331
331
|
platform: x64
|
332
|
+
-
|
333
|
+
user_agent: Mozilla/5.0 (Windows IoT 10.0; Android 6.0.1; WebView/3.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Mobile Safari/537.36 Edge/17.17083
|
334
|
+
os:
|
335
|
+
name: Windows IoT
|
336
|
+
short_name: WIO
|
337
|
+
version: "10"
|
338
|
+
platform:
|
332
339
|
-
|
333
340
|
user_agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20
|
334
341
|
os:
|
@@ -523,14 +530,14 @@
|
|
523
530
|
os:
|
524
531
|
name: Chrome OS
|
525
532
|
short_name: COS
|
526
|
-
version: "
|
533
|
+
version: "31.0.1650.67"
|
527
534
|
platform: x64
|
528
535
|
-
|
529
536
|
user_agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Large Screen Safari/534.24 GoogleTV/092754
|
530
537
|
os:
|
531
538
|
name: Google TV
|
532
539
|
short_name: GTV
|
533
|
-
version: "
|
540
|
+
version: "092754"
|
534
541
|
platform: x86
|
535
542
|
-
|
536
543
|
user_agent: Opera/9.80 (MTK; Nucleus; U; en-US) Presto/2.4.18 Version/10.00
|
@@ -658,6 +665,13 @@
|
|
658
665
|
short_name: WMO
|
659
666
|
version:
|
660
667
|
platform:
|
668
|
+
-
|
669
|
+
user_agent: Opera/9.7 (WindowsMobile; PPC; Opera Mobi/35267; U; en; Presto/2.1.1)
|
670
|
+
os:
|
671
|
+
name: Windows Mobile
|
672
|
+
short_name: WMO
|
673
|
+
version: ""
|
674
|
+
platform: ""
|
661
675
|
-
|
662
676
|
user_agent: Mozilla/3.0 WebTV/1.2 (compatible; MSIE 2.0)
|
663
677
|
os:
|
@@ -798,3 +812,101 @@
|
|
798
812
|
short_name: BTR
|
799
813
|
version:
|
800
814
|
platform: x86
|
815
|
+
-
|
816
|
+
user_agent: Instacast/4.5.4 CFNetwork/672.1.14 Darwin/14.0.0
|
817
|
+
os:
|
818
|
+
name: iOS
|
819
|
+
short_name: IOS
|
820
|
+
version: "7.1"
|
821
|
+
platform:
|
822
|
+
-
|
823
|
+
user_agent: InstacastHD/1.1.2 CFNetwork/711.0.6 Darwin/14.0.0
|
824
|
+
os:
|
825
|
+
name: iOS
|
826
|
+
short_name: IOS
|
827
|
+
version: "8.0"
|
828
|
+
platform:
|
829
|
+
-
|
830
|
+
user_agent: Instacast/2380 CFNetwork/673.3 Darwin/13.4.0 (x86_64) (MacBookPro5%2C4)
|
831
|
+
os:
|
832
|
+
name: Mac
|
833
|
+
short_name: MAC
|
834
|
+
version: "10.9"
|
835
|
+
platform: "x64"
|
836
|
+
-
|
837
|
+
user_agent: Podcasts/2.1.2
|
838
|
+
os:
|
839
|
+
name: iOS
|
840
|
+
short_name: IOS
|
841
|
+
version:
|
842
|
+
platform:
|
843
|
+
-
|
844
|
+
user_agent: Shifty Jelly Pocket Casts, Android v4.4.3.1
|
845
|
+
os:
|
846
|
+
name: Android
|
847
|
+
short_name: AND
|
848
|
+
version:
|
849
|
+
platform:
|
850
|
+
-
|
851
|
+
user_agent: Shifty Jelly Pocket Casts, iOS v4.3
|
852
|
+
os:
|
853
|
+
name: iOS
|
854
|
+
short_name: IOS
|
855
|
+
version:
|
856
|
+
platform:
|
857
|
+
|
858
|
+
-
|
859
|
+
user_agent: Mozilla/5.0 (Linux; U; en-us; BeyondPod)
|
860
|
+
os:
|
861
|
+
name: Android
|
862
|
+
short_name: AND
|
863
|
+
version:
|
864
|
+
platform:
|
865
|
+
|
866
|
+
-
|
867
|
+
user_agent: AntennaPod/0.9.9.1
|
868
|
+
os:
|
869
|
+
name: Android
|
870
|
+
short_name: AND
|
871
|
+
version:
|
872
|
+
platform:
|
873
|
+
|
874
|
+
-
|
875
|
+
user_agent: Overcast/1.0 (+http://overcast.fm/; iOS podcast app)
|
876
|
+
os:
|
877
|
+
name: iOS
|
878
|
+
short_name: IOS
|
879
|
+
version:
|
880
|
+
platform:
|
881
|
+
|
882
|
+
-
|
883
|
+
user_agent: Podkicker Pro/1.9.4
|
884
|
+
os:
|
885
|
+
name: Android
|
886
|
+
short_name: AND
|
887
|
+
version:
|
888
|
+
platform:
|
889
|
+
|
890
|
+
-
|
891
|
+
user_agent: Castro/64 CFNetwork/672.1.15 Darwin/14.0.0
|
892
|
+
os:
|
893
|
+
name: iOS
|
894
|
+
short_name: IOS
|
895
|
+
version: "7.1"
|
896
|
+
platform:
|
897
|
+
|
898
|
+
-
|
899
|
+
user_agent: Mozilla/5.0 (Linux; U; Windows NT 6.1; en-us; dream) DoggCatcher
|
900
|
+
os:
|
901
|
+
name: Android
|
902
|
+
short_name: AND
|
903
|
+
version:
|
904
|
+
platform:
|
905
|
+
|
906
|
+
-
|
907
|
+
user_agent: iTunes-iPod/6.1.6 (4; 16GB; dt:71)
|
908
|
+
os:
|
909
|
+
name: iOS
|
910
|
+
short_name: IOS
|
911
|
+
version:
|
912
|
+
platform:
|
@@ -26,10 +26,10 @@
|
|
26
26
|
useragent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; CMNTDF; InfoPath.2; .NET4.0C; .NET4.0E)
|
27
27
|
vendor: CQ
|
28
28
|
-
|
29
|
-
|
29
|
+
useragent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; CMDTDFJS; Tablet PC 2.0)
|
30
30
|
vendor: CQ
|
31
31
|
-
|
32
|
-
|
32
|
+
useragent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; CMDTDF; InfoPath.3)
|
33
33
|
vendor: CQ
|
34
34
|
-
|
35
35
|
useragent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDC; .NET4.0C; .NET4.0E)
|
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.1
|
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:
|
12
|
+
date: 2018-04-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
@@ -130,6 +130,7 @@ files:
|
|
130
130
|
- spec/fixtures/detector/smartphone-2.yml
|
131
131
|
- spec/fixtures/detector/smartphone-3.yml
|
132
132
|
- spec/fixtures/detector/smartphone-4.yml
|
133
|
+
- spec/fixtures/detector/smartphone-5.yml
|
133
134
|
- spec/fixtures/detector/smartphone.yml
|
134
135
|
- spec/fixtures/detector/tablet-1.yml
|
135
136
|
- spec/fixtures/detector/tablet-2.yml
|
@@ -162,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
163
|
version: '0'
|
163
164
|
requirements: []
|
164
165
|
rubyforge_project:
|
165
|
-
rubygems_version: 2.
|
166
|
+
rubygems_version: 2.6.11
|
166
167
|
signing_key:
|
167
168
|
specification_version: 4
|
168
169
|
summary: Precise and fast user agent parser and device detector
|
@@ -200,6 +201,7 @@ test_files:
|
|
200
201
|
- spec/fixtures/detector/smartphone-2.yml
|
201
202
|
- spec/fixtures/detector/smartphone-3.yml
|
202
203
|
- spec/fixtures/detector/smartphone-4.yml
|
204
|
+
- spec/fixtures/detector/smartphone-5.yml
|
203
205
|
- spec/fixtures/detector/smartphone.yml
|
204
206
|
- spec/fixtures/detector/tablet-1.yml
|
205
207
|
- spec/fixtures/detector/tablet-2.yml
|