user_agent_parser 2.16.0 → 2.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/vendor/uap-core/regexes.yaml +16 -8
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a48095209e88dd1c8b49954029334bddecbbb1facb44cbf3b2ed5e700b259541
4
- data.tar.gz: 06b14639160f7cdc6f3b0cc0ffc88147cee9cd1b92dc8a10ad61a420edb4a5fb
3
+ metadata.gz: fdc5b924cd5f11fa40712079c1bfa1aeed05171fcfe764293891d5692c0279c2
4
+ data.tar.gz: fc490168e565d73ad85f278780536641ce519a1b45ab9a52391b85d33c45b171
5
5
  SHA512:
6
- metadata.gz: 94d1c6ad450918654bf5c6b9e9aaffd6ba3e28a01d17741a4443dc63110c30d310b81654de91297e9ce79ec31de3da40d8088d792cb100aca91d486b5410cf67
7
- data.tar.gz: be73315646276e7ab2db8ce86cc54e5802fcd6cff84c8176c2af9db935911f853606edada097ac1ab471c5b9b4557363b27099412388599279790edf10882565
6
+ metadata.gz: f6cbf21d3149089e420a32e2f97f205eac6ef6189767bd3b28e42f9c9189dbbcf46c83b02ebaad5916d621a1494e4300339bfc8e2da688c7017a810cab6430a2
7
+ data.tar.gz: 967b44d72866580bbc24dcd772547e53b13def915207c3848c68035d07a621ffec3bd4da76e95218fe1639316cca3458b89206dd19a1e90b497d2cc5a3957a3a
@@ -217,7 +217,7 @@ user_agent_parsers:
217
217
  family_replacement: 'Twitter'
218
218
 
219
219
  # Phantom app
220
- - regex: 'Mozilla.{1,200}Mobile.{1,100}(Phantom\/ios|android).(\d+)\.(\d+)\.(\d+)'
220
+ - regex: 'Mozilla.{1,200}Mobile.{1,100}(Phantom\/ios|Phantom\/android).(\d+)\.(\d+)\.(\d+)'
221
221
  family_replacement: 'Phantom'
222
222
 
223
223
  # aspiegel.com spider (owned by Huawei, later called PetalBot)
@@ -388,7 +388,7 @@ user_agent_parsers:
388
388
  # Edge Mobile
389
389
  - regex: 'Windows Phone .{0,200}(Edge)/(\d+)\.(\d+)'
390
390
  family_replacement: 'Edge Mobile'
391
- - regex: '(EdgiOS|EdgA)/(\d+)\.(\d+)\.(\d+)(?:\.(\d+)|)'
391
+ - regex: '(EdgiOS|EdgA)/(\d+)(?:\.(\d+)|)(?:\.(\d+)|)(?:\.(\d+)|)'
392
392
  family_replacement: 'Edge Mobile'
393
393
 
394
394
  # Oculus Browser, should go before Samsung Internet
@@ -457,6 +457,12 @@ user_agent_parsers:
457
457
  - regex: '(Tenta/)(\d+)\.(\d+)\.(\d+)'
458
458
  family_replacement: 'Tenta Browser'
459
459
 
460
+ # Ecosia on iOS / Android
461
+ - regex: '(Ecosia) ios@(\d+)\.(\d+)\.(\d+)\.(\d+)'
462
+ family_replacement: 'Ecosia iOS'
463
+ - regex: '(Ecosia) android@(\d+)\.(\d+)\.(\d+)\.(\d+)'
464
+ family_replacement: 'Ecosia Android'
465
+
460
466
  # Chrome Mobile
461
467
  - regex: 'Version/.{1,300}(Chrome)/(\d+)\.(\d+)\.(\d+)\.(\d+)'
462
468
  family_replacement: 'Chrome Mobile WebView'
@@ -464,7 +470,7 @@ user_agent_parsers:
464
470
  family_replacement: 'Chrome Mobile WebView'
465
471
  - regex: '(CrMo)/(\d+)\.(\d+)\.(\d+)\.(\d+)'
466
472
  family_replacement: 'Chrome Mobile'
467
- - regex: '(CriOS)/(\d+)\.(\d+)\.(\d+)\.(\d+)'
473
+ - regex: '(CriOS)/(\d+)(?:\.(\d+)|)(?:\.(\d+)|)(?:\.(\d+)|)'
468
474
  family_replacement: 'Chrome Mobile iOS'
469
475
  - regex: '(Chrome)/(\d+)\.(\d+)\.(\d+)\.(\d+) Mobile(?:[ /]|$)'
470
476
  family_replacement: 'Chrome Mobile'
@@ -1022,10 +1028,12 @@ user_agent_parsers:
1022
1028
  # HTTrack crawler
1023
1029
  - regex: '\b(HTTrack) (\d+)\.(\d+)(?:[\.\-](\d+)|)'
1024
1030
 
1025
- # SerenityOS (https://serenityos.org)
1026
- # https://github.com/SerenityOS/serenity/blob/2e1bbcb0faeae92d7595b8e0b022a8cdcecca07e/Userland/Libraries/LibWeb/Loader/ResourceLoader.h#L27
1027
- - regex: 'SerenityOS'
1028
- family_replacement: 'SerenityOS Browser'
1031
+ # Ladybird Browser (https://ladybird.dev)
1032
+ # https://github.com/SerenityOS/serenity/blob/6a662e0d43810c1dbd56fbf0c123f258aa1d694e/Userland/Libraries/LibWeb/Loader/ResourceLoader.h#L64
1033
+ - regex: '(Ladybird)\/(\d+)\.(\d+)'
1034
+
1035
+ # MullvadBrowser (https://mullvad.net/en/browser)
1036
+ - regex: '(MullvadBrowser)/(\d+)(?:\.(\d+)|)(?:\.(\d+)|)'
1029
1037
 
1030
1038
  os_parsers:
1031
1039
  ##########
@@ -5615,7 +5623,7 @@ device_parsers:
5615
5623
  device_replacement: 'Nintendo Wii U'
5616
5624
  brand_replacement: 'Nintendo'
5617
5625
  model_replacement: 'Wii U'
5618
- - regex: 'Nintendo (DS|3DS|DSi|Wii);'
5626
+ - regex: 'Nintendo (Switch|DS|3DS|DSi|Wii);'
5619
5627
  device_replacement: 'Nintendo $1'
5620
5628
  brand_replacement: 'Nintendo'
5621
5629
  model_replacement: '$1'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user_agent_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.16.0
4
+ version: 2.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Lucas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-08 00:00:00.000000000 Z
11
+ date: 2024-02-24 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  A simple, comprehensive Ruby gem for parsing user agent strings
@@ -48,7 +48,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
48
48
  - !ruby/object:Gem::Version
49
49
  version: '0'
50
50
  requirements: []
51
- rubygems_version: 3.4.13
51
+ rubygems_version: 3.5.6
52
52
  signing_key:
53
53
  specification_version: 4
54
54
  summary: Parsing user agent strings with the help of BrowserScope's UA database