lib/woothee/dataset.rb in woothee-0.3.4 vs lib/woothee/dataset.rb in woothee-0.3.5

- old
+ new

@@ -31,11 +31,11 @@ ATTRIBUTE_LIST = [ATTRIBUTE_NAME,ATTRIBUTE_CATEGORY,ATTRIBUTE_OS,ATTRIBUTE_VENDOR,ATTRIBUTE_VERSION] end module Woothee::DataSet DATASET = {} - # GENERATED from dataset.yaml at Tue Sep 10 14:45:24 JST 2013 by tagomoris + # GENERATED from dataset.yaml at Tue Dec 3 19:37:52 JST 2013 by tagomoris obj = {:label => 'MSIE', :name => 'Internet Explorer', :type => :browser} obj[:vendor] = 'Microsoft' DATASET[obj[:label]] = obj obj = {:label => 'Chrome', :name => 'Chrome', :type => :browser} obj[:vendor] = 'Google' @@ -192,9 +192,24 @@ DATASET[obj[:label]] = obj obj = {:label => 'PS3', :name => 'PlayStation 3', :type => :full} obj[:vendor] = 'Sony' obj[:category] = :appliance obj[:os] = 'PlayStation 3' + DATASET[obj[:label]] = obj + obj = {:label => 'PS4', :name => 'PlayStation 4', :type => :full} + obj[:vendor] = 'Sony' + obj[:category] = :appliance + obj[:os] = 'PlayStation 4' + DATASET[obj[:label]] = obj + obj = {:label => 'Xbox360', :name => 'Xbox 360', :type => :full} + obj[:vendor] = 'Microsoft' + obj[:category] = :appliance + obj[:os] = 'Xbox 360' + DATASET[obj[:label]] = obj + obj = {:label => 'XboxOne', :name => 'Xbox One', :type => :full} + obj[:vendor] = 'Microsoft' + obj[:category] = :appliance + obj[:os] = 'Xbox One' DATASET[obj[:label]] = obj obj = {:label => 'DigitalTV', :name => 'InternetTVBrowser', :type => :full} obj[:category] = :appliance obj[:os] = 'DigitalTV' DATASET[obj[:label]] = obj