lib/woothee/dataset.rb in woothee-1.5.0 vs lib/woothee/dataset.rb in woothee-1.7.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 Mon Aug 15 16:50:36 JST 2016 by taise + # GENERATED from dataset.yaml at Sat Apr 29 16:14:32 JST 2017 by yuya 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' @@ -299,9 +299,12 @@ DATASET[obj[:label]] = obj obj = {:label => 'facebook', :name => 'facebook', :type => :full} obj[:category] = :crawler DATASET[obj[:label]] = obj obj = {:label => 'twitter', :name => 'twitter', :type => :full} + obj[:category] = :crawler + DATASET[obj[:label]] = obj + obj = {:label => 'trendictionbot', :name => 'trendiction', :type => :full} obj[:category] = :crawler DATASET[obj[:label]] = obj obj = {:label => 'mixi', :name => 'mixi', :type => :full} obj[:category] = :crawler DATASET[obj[:label]] = obj