lib/woothee/dataset.rb in woothee-1.4.0 vs lib/woothee/dataset.rb in woothee-1.5.0

- old
+ new

@@ -33,11 +33,11 @@ ATTRIBUTE_LIST = [ATTRIBUTE_NAME,ATTRIBUTE_CATEGORY,ATTRIBUTE_OS,ATTRIBUTE_VENDOR,ATTRIBUTE_VERSION,ATTRIBUTE_OS_VERSION] end module Woothee::DataSet DATASET = {} - # GENERATED from dataset.yaml at Tue May 17 02:25:25 JST 2016 by yuya + # GENERATED from dataset.yaml at Mon Aug 15 16:50:36 JST 2016 by taise obj = {:label => 'MSIE', :name => 'Internet Explorer', :type => :browser} obj[:vendor] = 'Microsoft' DATASET[obj[:label]] = obj obj = {:label => 'Edge', :name => 'Edge', :type => :browser} obj[:vendor] = 'Microsoft' @@ -284,9 +284,12 @@ DATASET[obj[:label]] = obj obj = {:label => 'msnbot', :name => 'msnbot', :type => :full} obj[:category] = :crawler DATASET[obj[:label]] = obj obj = {:label => 'bingbot', :name => 'bingbot', :type => :full} + obj[:category] = :crawler + DATASET[obj[:label]] = obj + obj = {:label => 'BingPreview', :name => 'BingPreview', :type => :full} obj[:category] = :crawler DATASET[obj[:label]] = obj obj = {:label => 'Yeti', :name => 'Naver Yeti', :type => :full} obj[:category] = :crawler DATASET[obj[:label]] = obj