woothee 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d213c721164114bb24bf551f2b6d94c30d2984c
4
- data.tar.gz: 9626b6eef2d873086f0340fa1b45468008bf780c
3
+ metadata.gz: 21b96b5d04362a693958c23564f0873de45656f2
4
+ data.tar.gz: a044248d037573d4d00b684f3bc761ec39599296
5
5
  SHA512:
6
- metadata.gz: 5d8ac65f61d82dc005238538f4da5109cb41fe0cf5eb8fc0d65721093ac80805c21fd9d3d94c255bfdaa3f032cc02cc6fc91205d06c8279552ecb6a743f80b9a
7
- data.tar.gz: f09d36c3e3272421931b86de9e75e5bb65a659dac4931154e9777302ba885f8f9e6111a3287cc1b4640317cebb12115bda15465523c9715f4cb234b2eede22aa
6
+ metadata.gz: 325663ea1ced610e66491a82628a77e71046993540c436861ccd3676ea442a2ce3f5bdab35e5360863f08183a340786ddf6121f54944363095cc889672af1807
7
+ data.tar.gz: 520b5db8c95e5fe77b6c4cad7c2f941416bf4f4e7e12dd557d7aed4e7b6b3d4343d37d5af92b9bfaafb92b7253a67b17adb4a28f309695b7e7be4b878053603a
@@ -77,6 +77,10 @@ module Woothee::Crawler
77
77
  return true
78
78
  end
79
79
  end
80
+ if ua.index('BingPreview')
81
+ update_map(result, Woothee::DataSet.get('BingPreview'))
82
+ return true
83
+ end
80
84
  if ua.index('Baidu')
81
85
  if ua.index('compatible; Baiduspider') or ua.index('Baiduspider+') or ua.index('Baiduspider-image+')
82
86
  update_map(result, Woothee::DataSet.get('Baiduspider'))
@@ -35,7 +35,7 @@ end
35
35
 
36
36
  module Woothee::DataSet
37
37
  DATASET = {}
38
- # GENERATED from dataset.yaml at Tue May 17 02:25:25 JST 2016 by yuya
38
+ # GENERATED from dataset.yaml at Mon Aug 15 16:50:36 JST 2016 by taise
39
39
  obj = {:label => 'MSIE', :name => 'Internet Explorer', :type => :browser}
40
40
  obj[:vendor] = 'Microsoft'
41
41
  DATASET[obj[:label]] = obj
@@ -288,6 +288,9 @@ module Woothee::DataSet
288
288
  obj = {:label => 'bingbot', :name => 'bingbot', :type => :full}
289
289
  obj[:category] = :crawler
290
290
  DATASET[obj[:label]] = obj
291
+ obj = {:label => 'BingPreview', :name => 'BingPreview', :type => :full}
292
+ obj[:category] = :crawler
293
+ DATASET[obj[:label]] = obj
291
294
  obj = {:label => 'Yeti', :name => 'Naver Yeti', :type => :full}
292
295
  obj[:category] = :crawler
293
296
  DATASET[obj[:label]] = obj
@@ -1,3 +1,3 @@
1
1
  module Woothee
2
- VERSION = "1.4.0"
2
+ VERSION = "1.5.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.4.0
4
+ version: 1.5.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: 2016-05-17 00:00:00.000000000 Z
11
+ date: 2016-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake