useragent_parser 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +5 -1
- data/README.md +1 -1
- data/lib/useragent_parser/version.rb +1 -1
- data/spec/fixtures/additional_os_tests.yaml +18 -18
- data/spec/fixtures/test_user_agent_parser_os.yaml +1 -1
- metadata +1 -1
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# UseragentParser
|
1
|
+
# UseragentParser [![Build Status](https://secure.travis-ci.org/yabawock/useragent_parser.png)](http://travis-ci.org/yabawock/useragent_parser)
|
2
2
|
|
3
3
|
UseragentParser is a library to detect useful information contained
|
4
4
|
within the Useragent Header transmitted by modern web clients.
|
@@ -6,126 +6,126 @@ test_cases:
|
|
6
6
|
minor: '1'
|
7
7
|
patch: 'update1'
|
8
8
|
patch_minor:
|
9
|
-
|
9
|
+
|
10
10
|
- user_agent_string: 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X Mach-O; en-en; rv:1.9.0.12) Gecko/2009070609 Firefox/3.0.12,gzip(gfe),gzip(gfe)'
|
11
11
|
family: 'Mac OS X'
|
12
12
|
major:
|
13
13
|
minor:
|
14
14
|
patch:
|
15
15
|
patch_minor:
|
16
|
-
|
16
|
+
|
17
17
|
- user_agent_string: 'Opera/9.80 (iPhone; Opera Mini/5.0.019802/21.572; U; en) Presto/2.5.25 Version/10.54'
|
18
18
|
family: 'iOS'
|
19
19
|
major:
|
20
20
|
minor:
|
21
21
|
patch:
|
22
22
|
patch_minor:
|
23
|
-
|
23
|
+
|
24
24
|
- user_agent_string: 'Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaN95/12.0.013; Profile/MIDP-2.0 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413'
|
25
25
|
family: 'Symbian OS'
|
26
26
|
major: '9'
|
27
27
|
minor: '2'
|
28
28
|
patch:
|
29
29
|
patch_minor:
|
30
|
-
|
30
|
+
|
31
31
|
- user_agent_string: 'Opera/9.80 (S60; SymbOS; Opera Mobi/499; U; de) Presto/2.4.18 Version/10.00,gzip(gfe),gzip(gfe)'
|
32
32
|
family: 'Symbian OS'
|
33
33
|
major:
|
34
34
|
minor:
|
35
35
|
patch:
|
36
36
|
patch_minor:
|
37
|
-
|
37
|
+
|
38
38
|
- user_agent_string: 'Mozilla/5.0 (Symbian/3; Series60/5.2 NokiaN8-00/010.022; Profile/MIDP-2.1 Configuration/CLDC-1.1 ) AppleWebKit/525 (KHTML, like Gecko) Version/3.0 BrowserNG/7.2.6.3 3gpp-gba,gzip(gfe),gzip(gfe)'
|
39
39
|
family: 'Symbian^3'
|
40
40
|
major:
|
41
41
|
minor:
|
42
42
|
patch:
|
43
43
|
patch_minor:
|
44
|
-
|
44
|
+
|
45
45
|
- user_agent_string: 'BlackBerry9000/4.6.0.167 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/102'
|
46
46
|
family: 'BlackBerry OS'
|
47
47
|
major: '4'
|
48
48
|
minor: '6'
|
49
49
|
patch: '0'
|
50
50
|
patch_minor: '167'
|
51
|
-
|
51
|
+
|
52
52
|
- user_agent_string: 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Linux Mint/9 (Isadora) Firefox/3.6.8'
|
53
53
|
family: 'Linux Mint'
|
54
54
|
major: '9'
|
55
55
|
minor:
|
56
56
|
patch:
|
57
57
|
patch_minor:
|
58
|
-
|
58
|
+
|
59
59
|
- user_agent_string: 'Mozilla/5.0 (X11; CrOS i686 13.587.80) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.99 Safari/535.1'
|
60
60
|
family: 'Chrome OS'
|
61
61
|
major: '13'
|
62
62
|
minor: '587'
|
63
63
|
patch: '80'
|
64
64
|
patch_minor:
|
65
|
-
|
65
|
+
|
66
66
|
- user_agent_string: 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072310 Red Hat/3.0.1-3.el4 Firefox/3.0.1,gzip(gfe),gzip(gfe)'
|
67
67
|
family: 'Red Hat'
|
68
68
|
major: '3'
|
69
69
|
minor: '0'
|
70
70
|
patch: '1'
|
71
71
|
patch_minor:
|
72
|
-
|
72
|
+
|
73
73
|
- user_agent_string: 'Mozilla/5.0 ( U; Linux x86_32; en-US; rv:1.0) Gecko/20090723 Puppy/3.6.8-0.1.1 Firefox/3.6.7,gzip(gfe),gzip(gfe)'
|
74
74
|
family: 'Puppy'
|
75
75
|
major: '3'
|
76
76
|
minor: '6'
|
77
77
|
patch: '8'
|
78
78
|
patch_minor:
|
79
|
-
|
79
|
+
|
80
80
|
- user_agent_string: 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110301 PCLinuxOS/1.9.2.14-1pclos2011 (2011) Firefox/3.6.14,gzip(gfe),gzip(gfe),gzip(gfe)'
|
81
81
|
family: 'PCLinuxOS'
|
82
82
|
major: '1'
|
83
83
|
minor: '9'
|
84
84
|
patch: '2'
|
85
85
|
patch_minor: '14'
|
86
|
-
|
86
|
+
|
87
87
|
- user_agent_string: 'Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.9.0.4) Gecko/2008111217 Fedora/3.0.4-1.fc9 Firefox/3.0.4'
|
88
88
|
family: 'Fedora'
|
89
89
|
major: '3'
|
90
90
|
minor: '0'
|
91
91
|
patch: '4'
|
92
92
|
patch_minor:
|
93
|
-
|
93
|
+
|
94
94
|
- user_agent_string: 'Mozilla/5.0 (X11; 78; CentOS; US-en) AppleWebKit/527+ (KHTML, like Gecko) Bolt/0.862 Version/3.0 Safari/523.15'
|
95
95
|
family: 'CentOS'
|
96
96
|
major:
|
97
97
|
minor:
|
98
98
|
patch:
|
99
99
|
patch_minor:
|
100
|
-
|
100
|
+
|
101
101
|
- user_agent_string: 'Mozilla/5.0 (BlackBerry; U; BlackBerry 9780; en) AppleWebKit/534.8+ (KHTML, like Gecko) Version/6.0.0.526 Mobile Safari/534.8+,gzip(gfe),gzip(gfe),gzip(gfe)'
|
102
102
|
family: 'BlackBerry OS'
|
103
103
|
major: '6'
|
104
104
|
minor: '0'
|
105
105
|
patch: '0'
|
106
106
|
patch_minor: '526'
|
107
|
-
|
107
|
+
|
108
108
|
- user_agent_string: 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090807 Mandriva Linux/1.9.1.2-1.1mud2009.1 (2009.1) Firefox/3.5.2 FirePHP/0.3,gzip(gfe),gzip(gfe)'
|
109
109
|
family: 'Mandriva'
|
110
110
|
major: '1'
|
111
111
|
minor: '9'
|
112
112
|
patch: '1'
|
113
113
|
patch_minor: '2'
|
114
|
-
|
114
|
+
|
115
115
|
- user_agent_string: 'Opera/9.80 (X11; Linux x86_64; U; Slackware; lt) Presto/2.8.131 Version/11.11'
|
116
116
|
family: 'Slackware'
|
117
117
|
major:
|
118
118
|
minor:
|
119
119
|
patch:
|
120
120
|
patch_minor:
|
121
|
-
|
121
|
+
|
122
122
|
- user_agent_string: 'Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; SAMSUNG; SGH-i917)'
|
123
123
|
family: 'Windows Phone OS'
|
124
124
|
major: '7'
|
125
125
|
minor: '5'
|
126
126
|
patch:
|
127
127
|
patch_minor:
|
128
|
-
|
128
|
+
|
129
129
|
- user_agent_string: ''
|
130
130
|
family: 'Other'
|
131
131
|
major:
|