browser 1.1.0 → 2.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/.bundle/config +2 -0
  3. data/.hound.yml +26 -6
  4. data/.rubocop.yml +26 -6
  5. data/CHANGELOG.md +10 -0
  6. data/README.md +177 -41
  7. data/Rakefile +1 -1
  8. data/bin/rake +16 -0
  9. data/bot_exceptions.yml +1 -0
  10. data/bots.yml +188 -192
  11. data/browser.gemspec +14 -28
  12. data/languages.yml +54 -54
  13. data/lib/browser.rb +82 -202
  14. data/lib/browser/accept_language.rb +47 -0
  15. data/lib/browser/action_controller.rb +1 -1
  16. data/lib/browser/base.rb +159 -0
  17. data/lib/browser/blackberry.rb +21 -0
  18. data/lib/browser/bot.rb +63 -0
  19. data/lib/browser/chrome.rb +23 -0
  20. data/lib/browser/detect_version.rb +19 -0
  21. data/lib/browser/device.rb +175 -0
  22. data/lib/browser/device/base.rb +11 -0
  23. data/lib/browser/device/blackberry_playbook.rb +17 -0
  24. data/lib/browser/device/ipad.rb +17 -0
  25. data/lib/browser/device/iphone.rb +17 -0
  26. data/lib/browser/device/ipod_touch.rb +17 -0
  27. data/lib/browser/device/kindle.rb +17 -0
  28. data/lib/browser/device/kindle_fire.rb +17 -0
  29. data/lib/browser/device/playstation3.rb +17 -0
  30. data/lib/browser/device/playstation4.rb +17 -0
  31. data/lib/browser/device/psp.rb +17 -0
  32. data/lib/browser/device/psvita.rb +17 -0
  33. data/lib/browser/device/surface.rb +23 -0
  34. data/lib/browser/device/tv.rb +17 -0
  35. data/lib/browser/device/unknown.rb +17 -0
  36. data/lib/browser/device/wii.rb +17 -0
  37. data/lib/browser/device/wiiu.rb +17 -0
  38. data/lib/browser/device/xbox_360.rb +17 -0
  39. data/lib/browser/device/xbox_one.rb +17 -0
  40. data/lib/browser/edge.rb +19 -0
  41. data/lib/browser/firefox.rb +19 -0
  42. data/lib/browser/generic.rb +32 -0
  43. data/lib/browser/internet_explorer.rb +61 -0
  44. data/lib/browser/meta/base.rb +1 -1
  45. data/lib/browser/meta/device.rb +9 -0
  46. data/lib/browser/meta/generic_browser.rb +1 -1
  47. data/lib/browser/meta/id.rb +1 -1
  48. data/lib/browser/meta/ie.rb +1 -1
  49. data/lib/browser/meta/ios.rb +2 -2
  50. data/lib/browser/meta/mobile.rb +2 -2
  51. data/lib/browser/meta/modern.rb +1 -1
  52. data/lib/browser/meta/platform.rb +2 -2
  53. data/lib/browser/meta/proxy.rb +1 -1
  54. data/lib/browser/meta/safari.rb +1 -1
  55. data/lib/browser/meta/tablet.rb +9 -0
  56. data/lib/browser/meta/webkit.rb +1 -1
  57. data/lib/browser/middleware.rb +1 -1
  58. data/lib/browser/middleware/context.rb +2 -2
  59. data/lib/browser/middleware/context/additions.rb +1 -1
  60. data/lib/browser/middleware/context/url_methods.rb +3 -3
  61. data/lib/browser/nokia.rb +19 -0
  62. data/lib/browser/opera.rb +19 -0
  63. data/lib/browser/phantom_js.rb +19 -0
  64. data/lib/browser/platform.rb +152 -0
  65. data/lib/browser/platform/adobe_air.rb +21 -0
  66. data/lib/browser/platform/android.rb +21 -0
  67. data/lib/browser/platform/base.rb +15 -0
  68. data/lib/browser/platform/blackberry.rb +21 -0
  69. data/lib/browser/platform/chrome_os.rb +21 -0
  70. data/lib/browser/platform/firefox_os.rb +21 -0
  71. data/lib/browser/platform/ios.rb +28 -0
  72. data/lib/browser/platform/linux.rb +21 -0
  73. data/lib/browser/platform/mac.rb +21 -0
  74. data/lib/browser/platform/other.rb +21 -0
  75. data/lib/browser/platform/windows.rb +21 -0
  76. data/lib/browser/platform/windows_mobile.rb +21 -0
  77. data/lib/browser/platform/windows_phone.rb +21 -0
  78. data/lib/browser/rails.rb +3 -2
  79. data/lib/browser/safari.rb +22 -0
  80. data/lib/browser/testing.rb +23 -0
  81. data/lib/browser/uc_browser.rb +19 -0
  82. data/lib/browser/version.rb +2 -7
  83. data/search_engines.yml +5 -5
  84. data/test/browser_test.rb +71 -172
  85. data/test/middleware_test.rb +7 -7
  86. data/test/sample_app.rb +3 -3
  87. data/test/test_helper.rb +11 -10
  88. data/test/ua.yml +15 -26
  89. data/test/ua_bots.yml +27 -0
  90. data/test/ua_search_engines.yml +6 -0
  91. data/test/unit/accept_language_test.rb +92 -0
  92. data/test/unit/adobe_air_test.rb +5 -10
  93. data/test/unit/android_test.rb +44 -49
  94. data/test/unit/blackberry_test.rb +55 -77
  95. data/test/unit/bots_test.rb +52 -84
  96. data/test/unit/chrome_test.rb +48 -42
  97. data/test/unit/console_test.rb +4 -62
  98. data/test/unit/device_test.rb +193 -0
  99. data/test/unit/firefox_test.rb +32 -27
  100. data/test/unit/ie_test.rb +223 -238
  101. data/test/unit/ios_app_test.rb +3 -3
  102. data/test/unit/ios_test.rb +87 -94
  103. data/test/unit/kindle_test.rb +10 -24
  104. data/test/unit/nokia_test.rb +3 -7
  105. data/test/unit/opera_test.rb +20 -30
  106. data/test/unit/platform_test.rb +161 -0
  107. data/test/unit/proxy_test.rb +3 -3
  108. data/test/unit/safari_test.rb +66 -0
  109. data/test/unit/uc_browser_test.rb +3 -7
  110. data/test/unit/windows_phone_test.rb +19 -40
  111. data/test/unit/windows_test.rb +32 -34
  112. metadata +73 -28
  113. data/lib/browser/methods/blackberry.rb +0 -51
  114. data/lib/browser/methods/bots.rb +0 -35
  115. data/lib/browser/methods/consoles.rb +0 -43
  116. data/lib/browser/methods/devices.rb +0 -41
  117. data/lib/browser/methods/ie.rb +0 -99
  118. data/lib/browser/methods/language.rb +0 -16
  119. data/lib/browser/methods/mobile.rb +0 -35
  120. data/lib/browser/methods/platform.rb +0 -152
  121. data/lib/browser/methods/proxy.rb +0 -8
  122. data/lib/browser/methods/tv.rb +0 -8
@@ -6,10 +6,10 @@ class ProxyTest < Minitest::Test
6
6
  OPERA_MINI
7
7
  UC_BROWSER
8
8
  ].each do |name|
9
- ua = $ua[name]
9
+ ua = Browser[name]
10
10
 
11
- test "detect #{ua} as proxy" do
12
- browser = Browser.new(ua: ua)
11
+ test "detect #{name} as proxy" do
12
+ browser = Browser.new(ua)
13
13
 
14
14
  assert browser.proxy?
15
15
  assert browser.meta.include?("proxy")
@@ -0,0 +1,66 @@
1
+ require "test_helper"
2
+
3
+ class SafariTest < Minitest::Test
4
+ test "detect safari 3" do
5
+ browser = Browser.new(Browser["SAFARI3"])
6
+
7
+ assert browser.safari?
8
+ assert browser.safari?(3)
9
+ assert_equal "3", browser.version
10
+ assert_equal "3.0.3", browser.full_version
11
+ end
12
+
13
+ test "detect safari 4" do
14
+ browser = Browser.new(Browser["SAFARI4"])
15
+
16
+ assert browser.safari?
17
+ assert browser.safari?(4)
18
+ assert_equal "4", browser.version
19
+ assert_equal "4.0.3", browser.full_version
20
+ end
21
+
22
+ test "detect safari 5" do
23
+ browser = Browser.new(Browser["SAFARI5"])
24
+
25
+ assert browser.safari?
26
+ assert browser.safari?(5)
27
+ assert_equal "5", browser.version
28
+ assert_equal "5.0.3", browser.full_version
29
+ end
30
+
31
+ test "detect safari 6" do
32
+ browser = Browser.new(Browser["SAFARI6"])
33
+
34
+ assert browser.safari?
35
+ assert browser.safari?(6)
36
+ assert_equal "6", browser.version
37
+ assert_equal "6.0", browser.full_version
38
+ end
39
+
40
+ test "detect safari 7" do
41
+ browser = Browser.new(Browser["SAFARI7"])
42
+
43
+ assert browser.safari?
44
+ assert browser.safari?(7)
45
+ assert_equal "7", browser.version
46
+ assert_equal "7.0", browser.full_version
47
+ end
48
+
49
+ test "detect safari 8" do
50
+ browser = Browser.new(Browser["SAFARI8"])
51
+
52
+ assert browser.safari?
53
+ assert browser.safari?(8)
54
+ assert_equal "8", browser.version
55
+ assert_equal "8.0", browser.full_version
56
+ end
57
+
58
+ test "detect safari 9" do
59
+ browser = Browser.new(Browser["SAFARI9"])
60
+
61
+ assert browser.safari?
62
+ assert browser.safari?(9)
63
+ assert_equal "9", browser.version
64
+ assert_equal "9.0.2", browser.full_version
65
+ end
66
+ end
@@ -1,13 +1,9 @@
1
1
  require "test_helper"
2
2
 
3
3
  class UcBrowserTest < Minitest::Test
4
- setup do
5
- @browser = Browser.new(ua: $ua["UC_BROWSER"])
6
- end
7
-
8
4
  test "detects UC Browser" do
9
- assert @browser.mobile?
10
- assert @browser.uc_browser?
11
- assert_equal @browser.name, "UC Browser"
5
+ browser = Browser.new(Browser["UC_BROWSER"])
6
+ assert browser.uc_browser?
7
+ assert_equal browser.name, "UCBrowser"
12
8
  end
13
9
  end
@@ -1,54 +1,33 @@
1
1
  require "test_helper"
2
2
 
3
3
  class WindowPhoneTest < Minitest::Test
4
- setup do
5
- @browser = Browser.new
6
- end
7
-
8
4
  test "detects windows phone" do
9
- @browser.ua = $ua["WINDOWS_PHONE"]
5
+ browser = Browser.new(Browser["WINDOWS_PHONE"])
10
6
 
11
- assert @browser.ie?
12
- assert_equal "7", @browser.version
13
- assert @browser.mobile?
14
- assert @browser.windows_phone?
15
- refute @browser.windows_mobile?
16
- refute @browser.tablet?
7
+ assert browser.ie?
8
+ assert_equal "7", browser.version
9
+ assert browser.platform.windows_phone?
10
+ refute browser.platform.windows_mobile?
17
11
  end
18
12
 
19
13
  test "detects windows phone 8" do
20
- @browser.ua = $ua["WINDOWS_PHONE8"]
14
+ browser = Browser.new(Browser["WINDOWS_PHONE8"])
21
15
 
22
- assert @browser.ie?
23
- assert_equal "10", @browser.version
24
- assert @browser.mobile?
25
- assert @browser.windows_phone?
26
- refute @browser.windows_mobile?
27
- refute @browser.tablet?
16
+ assert browser.ie?
17
+ assert_equal "10", browser.version
18
+ assert browser.platform.windows_phone?
19
+ refute browser.platform.windows_mobile?
28
20
  end
29
21
 
30
22
  test "detects windows phone 8.1" do
31
- @browser.ua = $ua["WINDOWS_PHONE_81"]
32
-
33
- assert @browser.ie?
34
- assert_equal "Internet Explorer", @browser.name
35
- assert_equal :ie, @browser.id
36
- assert_equal "11", @browser.version
37
- assert_equal "11.0", @browser.full_version
38
- assert @browser.mobile?
39
- assert @browser.windows_phone?
40
- refute @browser.windows_mobile?
41
- refute @browser.tablet?
42
- end
43
-
44
- test "detects windows mobile (windows phone 8)" do
45
- @browser.ua = $ua["WINDOWS_PHONE8"]
46
-
47
- assert @browser.ie?
48
- assert_equal "10", @browser.version
49
- assert @browser.mobile?
50
- assert @browser.windows_phone?
51
- refute @browser.windows_mobile?
52
- refute @browser.tablet?
23
+ browser = Browser.new(Browser["WINDOWS_PHONE_81"])
24
+
25
+ assert browser.ie?
26
+ assert_equal "Internet Explorer", browser.name
27
+ assert_equal :ie, browser.id
28
+ assert_equal "11", browser.version
29
+ assert_equal "11.0", browser.full_version
30
+ assert browser.platform.windows_phone?
31
+ refute browser.platform.windows_mobile?
53
32
  end
54
33
  end
@@ -1,64 +1,62 @@
1
1
  require "test_helper"
2
2
 
3
3
  class WindowsTest < Minitest::Test
4
- setup do
5
- @browser = Browser.new
6
- end
7
-
8
4
  test "detects windows x64" do
9
- @browser.ua = $ua["IE10_X64_WINX64"]
10
- assert @browser.windows_x64?
11
- refute @browser.windows_wow64?
12
- assert @browser.windows_x64_inclusive?
5
+ browser = Browser.new(Browser["IE10_X64_WINX64"])
6
+ assert browser.platform.windows_x64?
7
+ refute browser.platform.windows_wow64?
8
+ assert browser.platform.windows_x64_inclusive?
13
9
  end
14
10
 
15
11
  test "detects windows wow64" do
16
- @browser.ua = $ua["WINDOWS_WOW64"]
17
- refute @browser.windows_x64?
18
- assert @browser.windows_wow64?
19
- assert @browser.windows_x64_inclusive?
12
+ browser = Browser.new(Browser["WINDOWS_WOW64"])
13
+ refute browser.platform.windows_x64?
14
+ assert browser.platform.windows_wow64?
15
+ assert browser.platform.windows_x64_inclusive?
20
16
  end
21
17
 
22
- test "detects windows platform" do
23
- @browser.ua = "Windows"
24
- assert_equal :windows, @browser.platform
25
- assert @browser.windows?
18
+ test "detects windows_xp" do
19
+ browser = Browser.new(Browser["WINDOWS_XP"])
20
+
21
+ assert browser.platform.windows?
22
+ assert browser.platform.windows_xp?
26
23
  end
27
24
 
28
- test "detects windows_xp" do
29
- @browser.ua = $ua["WINDOWS_XP"]
25
+ test "detects windows_xp (64-bit)" do
26
+ browser = Browser.new(Browser["WINDOWS_XP_64"])
30
27
 
31
- assert @browser.windows?
32
- assert @browser.windows_xp?
28
+ assert browser.platform.windows?
29
+ assert browser.platform.windows_xp?
30
+ assert browser.platform.windows_x64?
33
31
  end
34
32
 
35
33
  test "detects windows_vista" do
36
- @browser.ua = $ua["WINDOWS_VISTA"]
34
+ browser = Browser.new(Browser["WINDOWS_VISTA"])
37
35
 
38
- assert @browser.windows?
39
- assert @browser.windows_vista?
36
+ assert browser.platform.windows?
37
+ assert browser.platform.windows_vista?
40
38
  end
41
39
 
42
40
  test "detects windows7" do
43
- @browser.ua = $ua["WINDOWS7"]
41
+ browser = Browser.new(Browser["WINDOWS7"])
44
42
 
45
- assert @browser.windows?
46
- assert @browser.windows7?
43
+ assert browser.platform.windows?
44
+ assert browser.platform.windows7?
47
45
  end
48
46
 
49
47
  test "detects windows8" do
50
- @browser.ua = $ua["WINDOWS8"]
48
+ browser = Browser.new(Browser["WINDOWS8"])
51
49
 
52
- assert @browser.windows?
53
- assert @browser.windows8?
54
- refute @browser.windows8_1?
50
+ assert browser.platform.windows?
51
+ assert browser.platform.windows8?
52
+ refute browser.platform.windows8_1?
55
53
  end
56
54
 
57
55
  test "detects windows8.1" do
58
- @browser.ua = $ua["WINDOWS81"]
56
+ browser = Browser.new(Browser["WINDOWS81"])
59
57
 
60
- assert @browser.windows?
61
- assert @browser.windows8?
62
- assert @browser.windows8_1?
58
+ assert browser.platform.windows?
59
+ assert browser.platform.windows8?
60
+ assert browser.platform.windows8_1?
63
61
  end
64
62
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: browser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 2.0.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-31 00:00:00.000000000 Z
11
+ date: 2016-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -129,22 +129,56 @@ executables: []
129
129
  extensions: []
130
130
  extra_rdoc_files: []
131
131
  files:
132
+ - ".bundle/config"
132
133
  - ".gitignore"
133
134
  - ".hound.yml"
134
135
  - ".rubocop.yml"
135
136
  - ".travis.yml"
137
+ - CHANGELOG.md
136
138
  - CONTRIBUTING.md
137
139
  - Gemfile
138
140
  - README.md
139
141
  - Rakefile
142
+ - bin/rake
143
+ - bot_exceptions.yml
140
144
  - bots.yml
141
145
  - browser.gemspec
142
146
  - config.ru
143
147
  - gemfiles/rails3.gemfile
144
148
  - languages.yml
145
149
  - lib/browser.rb
150
+ - lib/browser/accept_language.rb
146
151
  - lib/browser/action_controller.rb
152
+ - lib/browser/base.rb
153
+ - lib/browser/blackberry.rb
154
+ - lib/browser/bot.rb
155
+ - lib/browser/chrome.rb
156
+ - lib/browser/detect_version.rb
157
+ - lib/browser/device.rb
158
+ - lib/browser/device/base.rb
159
+ - lib/browser/device/blackberry_playbook.rb
160
+ - lib/browser/device/ipad.rb
161
+ - lib/browser/device/iphone.rb
162
+ - lib/browser/device/ipod_touch.rb
163
+ - lib/browser/device/kindle.rb
164
+ - lib/browser/device/kindle_fire.rb
165
+ - lib/browser/device/playstation3.rb
166
+ - lib/browser/device/playstation4.rb
167
+ - lib/browser/device/psp.rb
168
+ - lib/browser/device/psvita.rb
169
+ - lib/browser/device/surface.rb
170
+ - lib/browser/device/tv.rb
171
+ - lib/browser/device/unknown.rb
172
+ - lib/browser/device/wii.rb
173
+ - lib/browser/device/wiiu.rb
174
+ - lib/browser/device/xbox_360.rb
175
+ - lib/browser/device/xbox_one.rb
176
+ - lib/browser/edge.rb
177
+ - lib/browser/firefox.rb
178
+ - lib/browser/generic.rb
179
+ - lib/browser/internet_explorer.rb
147
180
  - lib/browser/meta/base.rb
181
+ - lib/browser/meta/device.rb
148
182
  - lib/browser/meta/generic_browser.rb
149
183
  - lib/browser/meta/id.rb
150
184
  - lib/browser/meta/ie.rb
@@ -154,22 +188,33 @@ files:
154
188
  - lib/browser/meta/platform.rb
155
189
  - lib/browser/meta/proxy.rb
156
190
  - lib/browser/meta/safari.rb
191
+ - lib/browser/meta/tablet.rb
157
192
  - lib/browser/meta/webkit.rb
158
- - lib/browser/methods/blackberry.rb
159
- - lib/browser/methods/bots.rb
160
- - lib/browser/methods/consoles.rb
161
- - lib/browser/methods/devices.rb
162
- - lib/browser/methods/ie.rb
163
- - lib/browser/methods/language.rb
164
- - lib/browser/methods/mobile.rb
165
- - lib/browser/methods/platform.rb
166
- - lib/browser/methods/proxy.rb
167
- - lib/browser/methods/tv.rb
168
193
  - lib/browser/middleware.rb
169
194
  - lib/browser/middleware/context.rb
170
195
  - lib/browser/middleware/context/additions.rb
171
196
  - lib/browser/middleware/context/url_methods.rb
197
+ - lib/browser/nokia.rb
198
+ - lib/browser/opera.rb
199
+ - lib/browser/phantom_js.rb
200
+ - lib/browser/platform.rb
201
+ - lib/browser/platform/adobe_air.rb
202
+ - lib/browser/platform/android.rb
203
+ - lib/browser/platform/base.rb
204
+ - lib/browser/platform/blackberry.rb
205
+ - lib/browser/platform/chrome_os.rb
206
+ - lib/browser/platform/firefox_os.rb
207
+ - lib/browser/platform/ios.rb
208
+ - lib/browser/platform/linux.rb
209
+ - lib/browser/platform/mac.rb
210
+ - lib/browser/platform/other.rb
211
+ - lib/browser/platform/windows.rb
212
+ - lib/browser/platform/windows_mobile.rb
213
+ - lib/browser/platform/windows_phone.rb
172
214
  - lib/browser/rails.rb
215
+ - lib/browser/safari.rb
216
+ - lib/browser/testing.rb
217
+ - lib/browser/uc_browser.rb
173
218
  - lib/browser/version.rb
174
219
  - search_engines.yml
175
220
  - test/browser_test.rb
@@ -177,12 +222,16 @@ files:
177
222
  - test/sample_app.rb
178
223
  - test/test_helper.rb
179
224
  - test/ua.yml
225
+ - test/ua_bots.yml
226
+ - test/ua_search_engines.yml
227
+ - test/unit/accept_language_test.rb
180
228
  - test/unit/adobe_air_test.rb
181
229
  - test/unit/android_test.rb
182
230
  - test/unit/blackberry_test.rb
183
231
  - test/unit/bots_test.rb
184
232
  - test/unit/chrome_test.rb
185
233
  - test/unit/console_test.rb
234
+ - test/unit/device_test.rb
186
235
  - test/unit/firefox_test.rb
187
236
  - test/unit/ie_test.rb
188
237
  - test/unit/ios_app_test.rb
@@ -190,7 +239,9 @@ files:
190
239
  - test/unit/kindle_test.rb
191
240
  - test/unit/nokia_test.rb
192
241
  - test/unit/opera_test.rb
242
+ - test/unit/platform_test.rb
193
243
  - test/unit/proxy_test.rb
244
+ - test/unit/safari_test.rb
194
245
  - test/unit/uc_browser_test.rb
195
246
  - test/unit/windows_phone_test.rb
196
247
  - test/unit/windows_test.rb
@@ -198,19 +249,7 @@ homepage: http://github.com/fnando/browser
198
249
  licenses:
199
250
  - MIT
200
251
  metadata: {}
201
- post_install_message: |2+
202
-
203
- #################### WARNING ##############################
204
- # #
205
- # Internet Explorer detection has changed on v1.0.0+. #
206
- # If this is important for you, please read #
207
- # https://github.com/fnando/browser#internet-explorer #
208
- # #
209
- # iOS webviews and web apps aren't detect as Safari #
210
- # anymore, so be aware of that if that's your case. #
211
- # #
212
- ###########################################################
213
-
252
+ post_install_message:
214
253
  rdoc_options: []
215
254
  require_paths:
216
255
  - lib
@@ -218,12 +257,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
218
257
  requirements:
219
258
  - - ">="
220
259
  - !ruby/object:Gem::Version
221
- version: '0'
260
+ version: '2.0'
222
261
  required_rubygems_version: !ruby/object:Gem::Requirement
223
262
  requirements:
224
- - - ">="
263
+ - - ">"
225
264
  - !ruby/object:Gem::Version
226
- version: '0'
265
+ version: 1.3.1
227
266
  requirements: []
228
267
  rubyforge_project:
229
268
  rubygems_version: 2.5.1
@@ -236,12 +275,16 @@ test_files:
236
275
  - test/sample_app.rb
237
276
  - test/test_helper.rb
238
277
  - test/ua.yml
278
+ - test/ua_bots.yml
279
+ - test/ua_search_engines.yml
280
+ - test/unit/accept_language_test.rb
239
281
  - test/unit/adobe_air_test.rb
240
282
  - test/unit/android_test.rb
241
283
  - test/unit/blackberry_test.rb
242
284
  - test/unit/bots_test.rb
243
285
  - test/unit/chrome_test.rb
244
286
  - test/unit/console_test.rb
287
+ - test/unit/device_test.rb
245
288
  - test/unit/firefox_test.rb
246
289
  - test/unit/ie_test.rb
247
290
  - test/unit/ios_app_test.rb
@@ -249,7 +292,9 @@ test_files:
249
292
  - test/unit/kindle_test.rb
250
293
  - test/unit/nokia_test.rb
251
294
  - test/unit/opera_test.rb
295
+ - test/unit/platform_test.rb
252
296
  - test/unit/proxy_test.rb
297
+ - test/unit/safari_test.rb
253
298
  - test/unit/uc_browser_test.rb
254
299
  - test/unit/windows_phone_test.rb
255
300
  - test/unit/windows_test.rb