device_detector 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +4 -0
- data/Rakefile +12 -6
- data/device_detector.gemspec +1 -1
- data/lib/device_detector.rb +65 -4
- data/lib/device_detector/client.rb +6 -6
- data/lib/device_detector/device.rb +62 -31
- data/lib/device_detector/memory_cache.rb +1 -1
- data/lib/device_detector/metadata_extractor.rb +4 -13
- data/lib/device_detector/model_extractor.rb +10 -1
- data/lib/device_detector/name_extractor.rb +1 -1
- data/lib/device_detector/os.rb +141 -5
- data/lib/device_detector/parser.rb +23 -12
- data/lib/device_detector/version.rb +1 -1
- data/lib/device_detector/version_extractor.rb +1 -1
- data/regexes/bots.yml +36 -1
- data/regexes/{browser_engines.yml → client/browser_engine.yml} +4 -1
- data/regexes/{browsers.yml → client/browsers.yml} +31 -27
- data/regexes/{feed_readers.yml → client/feed_readers.yml} +0 -1
- data/regexes/{libraries.yml → client/libraries.yml} +1 -1
- data/regexes/{mediaplayers.yml → client/mediaplayers.yml} +1 -1
- data/regexes/{mobile_apps.yml → client/mobile_apps.yml} +0 -1
- data/regexes/{pim.yml → client/pim.yml} +1 -1
- data/regexes/{devices → device}/cameras.yml +1 -1
- data/regexes/{devices → device}/car_browsers.yml +0 -1
- data/regexes/{devices → device}/consoles.yml +0 -1
- data/regexes/{devices → device}/mobiles.yml +193 -49
- data/regexes/{devices/portable_media_players.yml → device/portable_media_player.yml} +0 -1
- data/regexes/{devices → device}/televisions.yml +0 -3
- data/regexes/oss.yml +105 -102
- data/regexes/vendorfragments.yml +70 -0
- data/spec/device_detector/bot_fixtures_spec.rb +30 -0
- data/spec/device_detector/client_fixtures_spec.rb +31 -0
- data/spec/device_detector/concrete_user_agent_spec.rb +41 -1
- data/spec/device_detector/detector_fixtures_spec.rb +56 -0
- data/spec/device_detector/device_fixtures_spec.rb +36 -0
- data/spec/device_detector/device_spec.rb +3 -3
- data/spec/device_detector/memory_cache_spec.rb +1 -1
- data/spec/device_detector/model_extractor_spec.rb +7 -7
- data/spec/device_detector/os_fixtures_spec.rb +26 -0
- data/spec/device_detector/version_extractor_spec.rb +10 -10
- data/spec/device_detector_spec.rb +1 -1
- data/spec/fixtures/client/browser.yml +986 -0
- data/spec/fixtures/client/feed_reader.yml +180 -0
- data/spec/fixtures/client/library.yml +78 -0
- data/spec/fixtures/client/mediaplayer.yml +144 -0
- data/spec/fixtures/client/mobile_app.yml +24 -0
- data/spec/fixtures/client/pim.yml +90 -0
- data/spec/fixtures/detector/bots.yml +716 -0
- data/spec/fixtures/detector/camera.yml +91 -0
- data/spec/fixtures/detector/car_browser.yml +19 -0
- data/spec/fixtures/detector/console.yml +253 -0
- data/spec/fixtures/detector/desktop.yml +4568 -0
- data/spec/fixtures/detector/feature_phone.yml +719 -0
- data/spec/fixtures/detector/feed_reader.yml +462 -0
- data/spec/fixtures/detector/mediaplayer.yml +141 -0
- data/spec/fixtures/detector/mobile_apps.yml +32 -0
- data/spec/fixtures/detector/phablet.yml +1095 -0
- data/spec/fixtures/detector/portable_media_player.yml +145 -0
- data/spec/fixtures/detector/smart_display.yml +19 -0
- data/spec/fixtures/detector/smartphone.yml +28673 -0
- data/spec/fixtures/detector/tablet.yml +13201 -0
- data/spec/fixtures/detector/tv.yml +1380 -0
- data/spec/fixtures/detector/unknown.yml +3536 -0
- data/spec/fixtures/device/camera.yml +18 -0
- data/spec/fixtures/device/car_browser.yml +6 -0
- data/spec/fixtures/device/console.yml +72 -0
- data/spec/fixtures/parser/bots.yml +2055 -0
- data/spec/fixtures/parser/oss.yml +607 -0
- data/spec/fixtures/parser/vendorfragments.yml +156 -0
- data/spec/spec_helper.rb +6 -2
- metadata +84 -17
@@ -0,0 +1,156 @@
|
|
1
|
+
-
|
2
|
+
useragent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/7.0; SLCC2; .NET CLR 2.0.50727; Media Center PC 6.0; MAAR; Tablet PC 2.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
|
3
|
+
vendor: AC
|
4
|
+
-
|
5
|
+
useragent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; Touch; MAARJS)
|
6
|
+
vendor: AC
|
7
|
+
-
|
8
|
+
useragent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; MAAU; rv:11.0) like Gecko
|
9
|
+
vendor: AU
|
10
|
+
-
|
11
|
+
useragent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; Trident/7.0; ASU2JS; rv:11.0) like Gecko
|
12
|
+
vendor: AU
|
13
|
+
-
|
14
|
+
useragent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; Trident/7.0; NP06; rv:11.0) like Gecko
|
15
|
+
vendor: AU
|
16
|
+
-
|
17
|
+
useragent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; ASJB; rv:11.0) like Gecko
|
18
|
+
vendor: AU
|
19
|
+
-
|
20
|
+
useragent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; CPDTDF; .NET4.0C; InfoPath.3; .NET4.0E; Microsoft Outlook 14.0.7113; ms-office; MSOffice 14)
|
21
|
+
vendor: CQ
|
22
|
+
-
|
23
|
+
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; CPNTDFJS)
|
24
|
+
vendor: CQ
|
25
|
+
-
|
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
|
+
vendor: CQ
|
28
|
+
-
|
29
|
+
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)
|
30
|
+
vendor: DL
|
31
|
+
-
|
32
|
+
useragent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Win64; x64; Trident/6.0; Touch; MDDCJS)
|
33
|
+
vendor: DL
|
34
|
+
-
|
35
|
+
useragent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; GTB7.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDR)
|
36
|
+
vendor: DL
|
37
|
+
-
|
38
|
+
useragent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; MDDRJS)
|
39
|
+
vendor: DL
|
40
|
+
-
|
41
|
+
useragent: Mozilla/5.0 (Windows NT 6.1; Trident/7.0; MDDSJS; rv:11.0) like Gecko
|
42
|
+
vendor: DL
|
43
|
+
-
|
44
|
+
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; McAfee; MDDSJS)
|
45
|
+
vendor: DL
|
46
|
+
-
|
47
|
+
useragent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; FSJB; rv:11.0) like Gecko
|
48
|
+
vendor: FU
|
49
|
+
-
|
50
|
+
useragent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; MAFSJS)
|
51
|
+
vendor: FU
|
52
|
+
-
|
53
|
+
useragent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.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; MAFS; InfoPath.2; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; MSOffice 12)
|
54
|
+
vendor: FU
|
55
|
+
-
|
56
|
+
useragent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MAGW; .NET4.0C; .NET4.0E; Microsoft Outlook 14.0.7113; ms-office; MSOffice 14)
|
57
|
+
vendor: GA
|
58
|
+
-
|
59
|
+
useragent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; MAGWJS)
|
60
|
+
vendor: GA
|
61
|
+
-
|
62
|
+
useragent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; HPCMHP)
|
63
|
+
vendor: HP
|
64
|
+
-
|
65
|
+
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; HPDTDFJS)
|
66
|
+
vendor: HP
|
67
|
+
-
|
68
|
+
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; HPNTDFJS)
|
69
|
+
vendor: HP
|
70
|
+
-
|
71
|
+
useragent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MANM; .NET4.0C; InfoPath.3; .NET4.0E)
|
72
|
+
vendor: HY
|
73
|
+
-
|
74
|
+
useragent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; MANMJS; rv:11.0) like Gecko
|
75
|
+
vendor: HY
|
76
|
+
-
|
77
|
+
useragent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; QQDownload 691; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; MALC)
|
78
|
+
vendor: LE
|
79
|
+
-
|
80
|
+
useragent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; LEN2)
|
81
|
+
vendor: LE
|
82
|
+
-
|
83
|
+
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; MALEJS)
|
84
|
+
vendor: LE
|
85
|
+
-
|
86
|
+
useragent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; LCJB; rv:11.0) like Gecko
|
87
|
+
vendor: LE
|
88
|
+
-
|
89
|
+
useragent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0; Touch; MALCJS; WebView/1.0)
|
90
|
+
vendor: LE
|
91
|
+
-
|
92
|
+
useragent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; ARM; Trident/6.0; Touch; MALNJS)
|
93
|
+
vendor: LE
|
94
|
+
-
|
95
|
+
useragent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; MALN)
|
96
|
+
vendor: LE
|
97
|
+
-
|
98
|
+
useragent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0; MAMD)
|
99
|
+
vendor: MD
|
100
|
+
-
|
101
|
+
useragent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; 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; MAM3; InfoPath.3; .NET4.0E; MAM3)
|
102
|
+
vendor: MZ
|
103
|
+
-
|
104
|
+
useragent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; MAMI; rv:11.0) like Gecko
|
105
|
+
vendor: MZ
|
106
|
+
-
|
107
|
+
useragent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; MAMIJS; rv:11.0) like Gecko
|
108
|
+
vendor: MZ
|
109
|
+
-
|
110
|
+
useragent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MASM; .NET4.0C; .NET4.0E)
|
111
|
+
vendor: SA
|
112
|
+
-
|
113
|
+
useragent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; MASMJS)
|
114
|
+
vendor: SA
|
115
|
+
-
|
116
|
+
useragent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; SMJB)
|
117
|
+
vendor: SA
|
118
|
+
-
|
119
|
+
useragent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; MASP)
|
120
|
+
vendor: SO
|
121
|
+
-
|
122
|
+
useragent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; Media Center PC 6.0; MASA)
|
123
|
+
vendor: SO
|
124
|
+
-
|
125
|
+
useragent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; Media Center PC 6.0; MASE)
|
126
|
+
vendor: SO
|
127
|
+
-
|
128
|
+
useragent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; Trident/7.0; MASAJS; rv:11.0) like Gecko
|
129
|
+
vendor: SO
|
130
|
+
-
|
131
|
+
useragent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Win64; x64; Trident/6.0; Touch; MASPJS)
|
132
|
+
vendor: SO
|
133
|
+
-
|
134
|
+
useragent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Win64; x64; Trident/6.0; MASEJS)
|
135
|
+
vendor: SO
|
136
|
+
-
|
137
|
+
useragent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; MATMJS)
|
138
|
+
vendor: TS
|
139
|
+
-
|
140
|
+
useragent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/7.0; MATM)
|
141
|
+
vendor: TS
|
142
|
+
-
|
143
|
+
useragent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/7.0; MATP)
|
144
|
+
vendor: TS
|
145
|
+
-
|
146
|
+
useragent: Mozilla/5.0 (MSIE 9.0; Windows NT 6.3; WOW64; Trident/7.0; MATBJS; rv:11.0) like Gecko
|
147
|
+
vendor: TS
|
148
|
+
-
|
149
|
+
useragent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; Trident/7.0; MATPJS; rv:11.0) like Gecko
|
150
|
+
vendor: TS
|
151
|
+
-
|
152
|
+
useragent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; TNJB; rv:11.0) like Gecko
|
153
|
+
vendor: TS
|
154
|
+
-
|
155
|
+
useragent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; Trident/7.0; Touch; TAJB; rv:11.0) like Gecko
|
156
|
+
vendor: TS
|
data/spec/spec_helper.rb
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
require 'minitest/spec'
|
2
2
|
require 'minitest/autorun'
|
3
3
|
|
4
|
-
|
5
|
-
|
4
|
+
$:.unshift(File.expand_path('../../lib', __FILE__))
|
5
|
+
require 'device_detector'
|
6
|
+
begin
|
7
|
+
require "byebug"
|
8
|
+
rescue LoadError
|
9
|
+
end unless RUBY_VERSION < "2.0.0" || RUBY_ENGINE != "ruby"
|
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: 0.
|
4
|
+
version: 0.8.0
|
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: 2015-
|
12
|
+
date: 2015-06-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
@@ -43,14 +43,14 @@ dependencies:
|
|
43
43
|
name: pry
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '0.10'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - "
|
53
|
+
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '0.10'
|
56
56
|
description: Precise and fast user agent parser and device detector, backed by the
|
@@ -82,26 +82,60 @@ files:
|
|
82
82
|
- lib/device_detector/version.rb
|
83
83
|
- lib/device_detector/version_extractor.rb
|
84
84
|
- regexes/bots.yml
|
85
|
-
- regexes/
|
86
|
-
- regexes/browsers.yml
|
87
|
-
- regexes/
|
88
|
-
- regexes/
|
89
|
-
- regexes/
|
90
|
-
- regexes/
|
91
|
-
- regexes/
|
92
|
-
- regexes/
|
93
|
-
- regexes/
|
94
|
-
- regexes/
|
95
|
-
- regexes/
|
96
|
-
- regexes/
|
85
|
+
- regexes/client/browser_engine.yml
|
86
|
+
- regexes/client/browsers.yml
|
87
|
+
- regexes/client/feed_readers.yml
|
88
|
+
- regexes/client/libraries.yml
|
89
|
+
- regexes/client/mediaplayers.yml
|
90
|
+
- regexes/client/mobile_apps.yml
|
91
|
+
- regexes/client/pim.yml
|
92
|
+
- regexes/device/cameras.yml
|
93
|
+
- regexes/device/car_browsers.yml
|
94
|
+
- regexes/device/consoles.yml
|
95
|
+
- regexes/device/mobiles.yml
|
96
|
+
- regexes/device/portable_media_player.yml
|
97
|
+
- regexes/device/televisions.yml
|
97
98
|
- regexes/oss.yml
|
98
|
-
- regexes/
|
99
|
+
- regexes/vendorfragments.yml
|
100
|
+
- spec/device_detector/bot_fixtures_spec.rb
|
101
|
+
- spec/device_detector/client_fixtures_spec.rb
|
99
102
|
- spec/device_detector/concrete_user_agent_spec.rb
|
103
|
+
- spec/device_detector/detector_fixtures_spec.rb
|
104
|
+
- spec/device_detector/device_fixtures_spec.rb
|
100
105
|
- spec/device_detector/device_spec.rb
|
101
106
|
- spec/device_detector/memory_cache_spec.rb
|
102
107
|
- spec/device_detector/model_extractor_spec.rb
|
108
|
+
- spec/device_detector/os_fixtures_spec.rb
|
103
109
|
- spec/device_detector/version_extractor_spec.rb
|
104
110
|
- spec/device_detector_spec.rb
|
111
|
+
- spec/fixtures/client/browser.yml
|
112
|
+
- spec/fixtures/client/feed_reader.yml
|
113
|
+
- spec/fixtures/client/library.yml
|
114
|
+
- spec/fixtures/client/mediaplayer.yml
|
115
|
+
- spec/fixtures/client/mobile_app.yml
|
116
|
+
- spec/fixtures/client/pim.yml
|
117
|
+
- spec/fixtures/detector/bots.yml
|
118
|
+
- spec/fixtures/detector/camera.yml
|
119
|
+
- spec/fixtures/detector/car_browser.yml
|
120
|
+
- spec/fixtures/detector/console.yml
|
121
|
+
- spec/fixtures/detector/desktop.yml
|
122
|
+
- spec/fixtures/detector/feature_phone.yml
|
123
|
+
- spec/fixtures/detector/feed_reader.yml
|
124
|
+
- spec/fixtures/detector/mediaplayer.yml
|
125
|
+
- spec/fixtures/detector/mobile_apps.yml
|
126
|
+
- spec/fixtures/detector/phablet.yml
|
127
|
+
- spec/fixtures/detector/portable_media_player.yml
|
128
|
+
- spec/fixtures/detector/smart_display.yml
|
129
|
+
- spec/fixtures/detector/smartphone.yml
|
130
|
+
- spec/fixtures/detector/tablet.yml
|
131
|
+
- spec/fixtures/detector/tv.yml
|
132
|
+
- spec/fixtures/detector/unknown.yml
|
133
|
+
- spec/fixtures/device/camera.yml
|
134
|
+
- spec/fixtures/device/car_browser.yml
|
135
|
+
- spec/fixtures/device/console.yml
|
136
|
+
- spec/fixtures/parser/bots.yml
|
137
|
+
- spec/fixtures/parser/oss.yml
|
138
|
+
- spec/fixtures/parser/vendorfragments.yml
|
105
139
|
- spec/spec_helper.rb
|
106
140
|
homepage: http://podigee.github.io/device_detector
|
107
141
|
licenses:
|
@@ -128,10 +162,43 @@ signing_key:
|
|
128
162
|
specification_version: 4
|
129
163
|
summary: Precise and fast user agent parser and device detector
|
130
164
|
test_files:
|
165
|
+
- spec/device_detector/bot_fixtures_spec.rb
|
166
|
+
- spec/device_detector/client_fixtures_spec.rb
|
131
167
|
- spec/device_detector/concrete_user_agent_spec.rb
|
168
|
+
- spec/device_detector/detector_fixtures_spec.rb
|
169
|
+
- spec/device_detector/device_fixtures_spec.rb
|
132
170
|
- spec/device_detector/device_spec.rb
|
133
171
|
- spec/device_detector/memory_cache_spec.rb
|
134
172
|
- spec/device_detector/model_extractor_spec.rb
|
173
|
+
- spec/device_detector/os_fixtures_spec.rb
|
135
174
|
- spec/device_detector/version_extractor_spec.rb
|
136
175
|
- spec/device_detector_spec.rb
|
176
|
+
- spec/fixtures/client/browser.yml
|
177
|
+
- spec/fixtures/client/feed_reader.yml
|
178
|
+
- spec/fixtures/client/library.yml
|
179
|
+
- spec/fixtures/client/mediaplayer.yml
|
180
|
+
- spec/fixtures/client/mobile_app.yml
|
181
|
+
- spec/fixtures/client/pim.yml
|
182
|
+
- spec/fixtures/detector/bots.yml
|
183
|
+
- spec/fixtures/detector/camera.yml
|
184
|
+
- spec/fixtures/detector/car_browser.yml
|
185
|
+
- spec/fixtures/detector/console.yml
|
186
|
+
- spec/fixtures/detector/desktop.yml
|
187
|
+
- spec/fixtures/detector/feature_phone.yml
|
188
|
+
- spec/fixtures/detector/feed_reader.yml
|
189
|
+
- spec/fixtures/detector/mediaplayer.yml
|
190
|
+
- spec/fixtures/detector/mobile_apps.yml
|
191
|
+
- spec/fixtures/detector/phablet.yml
|
192
|
+
- spec/fixtures/detector/portable_media_player.yml
|
193
|
+
- spec/fixtures/detector/smart_display.yml
|
194
|
+
- spec/fixtures/detector/smartphone.yml
|
195
|
+
- spec/fixtures/detector/tablet.yml
|
196
|
+
- spec/fixtures/detector/tv.yml
|
197
|
+
- spec/fixtures/detector/unknown.yml
|
198
|
+
- spec/fixtures/device/camera.yml
|
199
|
+
- spec/fixtures/device/car_browser.yml
|
200
|
+
- spec/fixtures/device/console.yml
|
201
|
+
- spec/fixtures/parser/bots.yml
|
202
|
+
- spec/fixtures/parser/oss.yml
|
203
|
+
- spec/fixtures/parser/vendorfragments.yml
|
137
204
|
- spec/spec_helper.rb
|