woothee 1.10.0 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab86800704f39bc12156336c2814fe7bf9862ab4d4c0364aac4415fd35e4728f
4
- data.tar.gz: dd12fc81db89efe34b9f61943f51bf1fa5113658d36e2e947b4f64388ec31f06
3
+ metadata.gz: 1b7cdd891b50b1747dc1485d82f748c0c9342bc4351d75d94c3d93f6a566f064
4
+ data.tar.gz: 2b22b679d2f3f912d24a5763109e1f1b90bbc423edc5a21906b6a66836e3095c
5
5
  SHA512:
6
- metadata.gz: 3c4636684e05fd36b736dd928f2ec7a48109f475cf9500a21f96440897daa24f7f804a221ececc104f4d8b1ca502b9939d98bbdaac6404a2c8a9f1027f495267
7
- data.tar.gz: fc7b49b935947fa01aad22a84c4f8e27f14eac595074a445dd5c580bbe19582748042531082a2db332ccc0fa0b5460935e1c02f1431dd2270045a14812c6f6bd
6
+ metadata.gz: 769a3ae73ffe492a4b697582a726b66fed39e02004aef51befe004c810360c884916c3210c23e89bec597836fcdb3b1183d0bf70d9ade25d792b131d455ec71f
7
+ data.tar.gz: 57562b8017d8cbb80deaac05b6cfc384c3ef27d45519426439c69163227a4688db73a7fa6960db8ce4757c3594b5c09f3a4507364f35a554a69297c6a5607313
@@ -74,6 +74,15 @@ module Woothee::Browser
74
74
  return true
75
75
  end
76
76
 
77
+ # Google Search App
78
+ if ua =~ /GSA\/([.0-9]+)/o
79
+ version = $1
80
+ p(dataset: Woothee::DataSet.get("GSA"), version: version)
81
+ update_map(result, Woothee::DataSet.get("GSA"))
82
+ update_version(result, version)
83
+ return true
84
+ end
85
+
77
86
  # Safari
78
87
  if ua =~ /Version\/([.0-9]+)/o
79
88
  version = $1
@@ -35,7 +35,7 @@ end
35
35
 
36
36
  module Woothee::DataSet
37
37
  DATASET = {}
38
- # GENERATED from dataset.yaml at Sun Jul 22 00:57:28 JST 2018 by tell_k
38
+ # GENERATED from dataset.yaml at Tue Mar 17 20:33:08 JST 2020 by tagomoris
39
39
  obj = {:label => 'MSIE', :name => 'Internet Explorer', :type => :browser}
40
40
  obj[:vendor] = 'Microsoft'
41
41
  DATASET[obj[:label]] = obj
@@ -60,6 +60,9 @@ module Woothee::DataSet
60
60
  obj = {:label => 'Sleipnir', :name => 'Sleipnir', :type => :browser}
61
61
  obj[:vendor] = 'Fenrir Inc.'
62
62
  DATASET[obj[:label]] = obj
63
+ obj = {:label => 'GSA', :name => 'Google Search App', :type => :browser}
64
+ obj[:vendor] = 'Google'
65
+ DATASET[obj[:label]] = obj
63
66
  obj = {:label => 'Webview', :name => 'Webview', :type => :browser}
64
67
  obj[:vendor] = 'OS vendor'
65
68
  DATASET[obj[:label]] = obj
@@ -1,3 +1,3 @@
1
1
  module Woothee
2
- VERSION = "1.10.0"
2
+ VERSION = "1.11.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: woothee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAGOMORI Satoshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-11 00:00:00.000000000 Z
11
+ date: 2020-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  requirements: []
88
- rubygems_version: 3.0.3
88
+ rubygems_version: 3.1.2
89
89
  signing_key:
90
90
  specification_version: 4
91
91
  summary: Cross-language UserAgent classifier library, ruby implementation