browser 5.3.1 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{FUNDING.yml → .github/FUNDING.yml} +2 -1
- data/.github/workflows/{tests.yml → ruby-tests.yml} +17 -17
- data/.rubocop.yml +3 -23
- data/CHANGELOG.md +6 -0
- data/LICENSE.md +20 -0
- data/README.md +10 -3
- data/browser.gemspec +4 -5
- data/gemfiles/{rails6_0.gemfile → 7_0.gemfile} +1 -1
- data/gemfiles/{rails6_1.gemfile → 7_1.gemfile} +1 -1
- data/lib/browser/accept_language.rb +1 -1
- data/lib/browser/base.rb +34 -29
- data/lib/browser/browser.rb +4 -3
- data/lib/browser/chrome.rb +4 -0
- data/lib/browser/device.rb +9 -9
- data/lib/browser/edge.rb +1 -1
- data/lib/browser/meta/base.rb +1 -1
- data/lib/browser/platform.rb +1 -1
- data/lib/browser/testing.rb +3 -3
- data/lib/browser/version.rb +1 -1
- data/lib/browser.rb +1 -1
- data/search_engines.yml +1 -0
- data/test/browser_test.rb +3 -3
- data/test/rails_test.rb +1 -1
- data/test/test_helper.rb +4 -2
- data/test/ua.yml +5 -0
- data/test/unit/accept_language_test.rb +1 -1
- data/test/unit/android_app_test.rb +3 -3
- data/test/unit/android_test.rb +17 -17
- data/test/unit/blackberry_test.rb +1 -1
- data/test/unit/bots_test.rb +15 -4
- data/test/unit/chrome_test.rb +1 -0
- data/test/unit/device_test.rb +25 -25
- data/test/unit/edge_test.rb +6 -0
- data/test/unit/electron_test.rb +1 -1
- data/test/unit/facebook_test.rb +3 -3
- data/test/unit/generic_test.rb +3 -3
- data/test/unit/instagram_test.rb +2 -2
- data/test/unit/internet_explorer_test.rb +18 -18
- data/test/unit/ios_app_test.rb +3 -3
- data/test/unit/ios_test.rb +12 -12
- data/test/unit/kindle_test.rb +15 -0
- data/test/unit/meta_test.rb +13 -13
- data/test/unit/platform_test.rb +33 -25
- data/test/unit/proxy_test.rb +2 -2
- data/test/unit/safari_test.rb +14 -9
- data/test/unit/snapchat_test.rb +3 -3
- data/test/unit/uc_browser_test.rb +1 -1
- data/test/unit/windows_test.rb +11 -11
- metadata +12 -77
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:
|
4
|
+
version: 6.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: pry-meta
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: rack-test
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -166,27 +152,28 @@ dependencies:
|
|
166
152
|
version: '0'
|
167
153
|
description: Do some browser detection with Ruby.
|
168
154
|
email:
|
169
|
-
- fnando.
|
155
|
+
- me@fnando.com
|
170
156
|
executables: []
|
171
157
|
extensions: []
|
172
158
|
extra_rdoc_files: []
|
173
159
|
files:
|
160
|
+
- ".github/FUNDING.yml"
|
174
161
|
- ".github/ISSUE_TEMPLATE.md"
|
175
|
-
- ".github/workflows/tests.yml"
|
162
|
+
- ".github/workflows/ruby-tests.yml"
|
176
163
|
- ".gitignore"
|
177
164
|
- ".prettierignore"
|
178
165
|
- ".rubocop.yml"
|
179
166
|
- CHANGELOG.md
|
180
|
-
- FUNDING.yml
|
181
167
|
- Gemfile
|
168
|
+
- LICENSE.md
|
182
169
|
- README.md
|
183
170
|
- Rakefile
|
184
171
|
- bot_exceptions.yml
|
185
172
|
- bots.yml
|
186
173
|
- browser.gemspec
|
187
174
|
- config.ru
|
188
|
-
- gemfiles/
|
189
|
-
- gemfiles/
|
175
|
+
- gemfiles/7_0.gemfile
|
176
|
+
- gemfiles/7_1.gemfile
|
190
177
|
- languages.yml
|
191
178
|
- lib/browser.rb
|
192
179
|
- lib/browser/accept_language.rb
|
@@ -344,6 +331,7 @@ homepage: https://github.com/fnando/browser
|
|
344
331
|
licenses:
|
345
332
|
- MIT
|
346
333
|
metadata:
|
334
|
+
rubygems_mfa_required: 'true'
|
347
335
|
changelog_uri: https://github.com/fnando/browser/blob/main/CHANGELOG.md
|
348
336
|
post_install_message:
|
349
337
|
rdoc_options: []
|
@@ -353,68 +341,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
353
341
|
requirements:
|
354
342
|
- - ">="
|
355
343
|
- !ruby/object:Gem::Version
|
356
|
-
version: 2.
|
344
|
+
version: 3.2.0
|
357
345
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
358
346
|
requirements:
|
359
347
|
- - ">="
|
360
348
|
- !ruby/object:Gem::Version
|
361
349
|
version: '0'
|
362
350
|
requirements: []
|
363
|
-
rubygems_version: 3.
|
351
|
+
rubygems_version: 3.5.9
|
364
352
|
signing_key:
|
365
353
|
specification_version: 4
|
366
354
|
summary: Do some browser detection with Ruby.
|
367
|
-
test_files:
|
368
|
-
- test/browser_test.rb
|
369
|
-
- test/middleware_test.rb
|
370
|
-
- test/rails_test.rb
|
371
|
-
- test/sample_app.rb
|
372
|
-
- test/test_helper.rb
|
373
|
-
- test/ua.yml
|
374
|
-
- test/ua_bots.yml
|
375
|
-
- test/ua_search_engines.yml
|
376
|
-
- test/unit/accept_language_test.rb
|
377
|
-
- test/unit/adobe_air_test.rb
|
378
|
-
- test/unit/aliases_test.rb
|
379
|
-
- test/unit/alipay_test.rb
|
380
|
-
- test/unit/android_app_test.rb
|
381
|
-
- test/unit/android_test.rb
|
382
|
-
- test/unit/blackberry_test.rb
|
383
|
-
- test/unit/bots_test.rb
|
384
|
-
- test/unit/chrome_test.rb
|
385
|
-
- test/unit/console_test.rb
|
386
|
-
- test/unit/device_test.rb
|
387
|
-
- test/unit/duck_duck_go_test.rb
|
388
|
-
- test/unit/edge_test.rb
|
389
|
-
- test/unit/electron_test.rb
|
390
|
-
- test/unit/facebook_test.rb
|
391
|
-
- test/unit/firefox_test.rb
|
392
|
-
- test/unit/generic_test.rb
|
393
|
-
- test/unit/google_search_app_test.rb
|
394
|
-
- test/unit/huawei_browser_test.rb
|
395
|
-
- test/unit/instagram_test.rb
|
396
|
-
- test/unit/internet_explorer_test.rb
|
397
|
-
- test/unit/ios_app_test.rb
|
398
|
-
- test/unit/ios_test.rb
|
399
|
-
- test/unit/kai_os_test.rb
|
400
|
-
- test/unit/kindle_test.rb
|
401
|
-
- test/unit/maxthon_test.rb
|
402
|
-
- test/unit/meta_test.rb
|
403
|
-
- test/unit/micro_messenger_test.rb
|
404
|
-
- test/unit/miui_browser_test.rb
|
405
|
-
- test/unit/nokia_test.rb
|
406
|
-
- test/unit/opera_test.rb
|
407
|
-
- test/unit/otter_test.rb
|
408
|
-
- test/unit/platform_test.rb
|
409
|
-
- test/unit/proxy_test.rb
|
410
|
-
- test/unit/qq_test.rb
|
411
|
-
- test/unit/safari_test.rb
|
412
|
-
- test/unit/samsung_browser_test.rb
|
413
|
-
- test/unit/snapchat_test.rb
|
414
|
-
- test/unit/sougou_browser_test.rb
|
415
|
-
- test/unit/sputnik_test.rb
|
416
|
-
- test/unit/uc_browser_test.rb
|
417
|
-
- test/unit/weibo_test.rb
|
418
|
-
- test/unit/windows_phone_test.rb
|
419
|
-
- test/unit/windows_test.rb
|
420
|
-
- test/unit/yandex_test.rb
|
355
|
+
test_files: []
|