lib/woothee/dataset.rb in woothee-1.1.1 vs lib/woothee/dataset.rb in woothee-1.2.0

- old
+ new

@@ -33,14 +33,17 @@ 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 Wed Oct 22 20:17:46 JST 2014 by tagomoris + # GENERATED from dataset.yaml at Tue Aug 11 16:54:38 JST 2015 by tagomoris 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' + DATASET[obj[:label]] = obj obj = {:label => 'Chrome', :name => 'Chrome', :type => :browser} obj[:vendor] = 'Google' DATASET[obj[:label]] = obj obj = {:label => 'Safari', :name => 'Safari', :type => :browser} obj[:vendor] = 'Apple' @@ -52,13 +55,19 @@ obj[:vendor] = 'Opera' DATASET[obj[:label]] = obj obj = {:label => 'Sleipnir', :name => 'Sleipnir', :type => :browser} obj[:vendor] = 'Fenrir Inc.' DATASET[obj[:label]] = obj + obj = {:label => 'Webview', :name => 'Webview', :type => :browser} + obj[:vendor] = 'OS vendor' + DATASET[obj[:label]] = obj obj = {:label => 'Win', :name => 'Windows UNKNOWN Ver', :type => :os} obj[:category] = :pc DATASET[obj[:label]] = obj + obj = {:label => 'Win10', :name => 'Windows 10', :type => :os} + obj[:category] = :pc + DATASET[obj[:label]] = obj obj = {:label => 'Win8.1', :name => 'Windows 8.1', :type => :os} obj[:category] = :pc DATASET[obj[:label]] = obj obj = {:label => 'Win8', :name => 'Windows 8', :type => :os} obj[:category] = :pc @@ -127,10 +136,13 @@ obj[:category] = :smartphone DATASET[obj[:label]] = obj obj = {:label => 'BlackBerry', :name => 'BlackBerry', :type => :os} obj[:category] = :smartphone DATASET[obj[:label]] = obj + obj = {:label => 'BlackBerry10', :name => 'BlackBerry 10', :type => :os} + obj[:category] = :smartphone + DATASET[obj[:label]] = obj obj = {:label => 'docomo', :name => 'docomo', :type => :full} obj[:vendor] = 'docomo' obj[:category] = :mobilephone obj[:os] = 'docomo' DATASET[obj[:label]] = obj @@ -278,9 +290,12 @@ DATASET[obj[:label]] = obj obj = {:label => 'FeedBurner', :name => 'Google FeedBurner', :type => :full} obj[:category] = :crawler 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 => 'mixi', :name => 'mixi', :type => :full} obj[:category] = :crawler DATASET[obj[:label]] = obj