lib/woothee/dataset.rb in woothee-0.2.4 vs lib/woothee/dataset.rb in woothee-0.3.0

- 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 Fri Jul 20 13:14:50 JST 2012 by tagomoris + # GENERATED from dataset.yaml at Mon Nov 26 15:53:14 JST 2012 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' @@ -166,9 +166,14 @@ DATASET[obj[:label]] = obj obj = {:label => 'NintendoWii', :name => 'Nintendo Wii', :type => :full} obj[:vendor] = 'Nintendo' obj[:category] = :appliance obj[:os] = 'Nintendo Wii' + DATASET[obj[:label]] = obj + obj = {:label => 'NintendoWiiU', :name => 'Nintendo Wii U', :type => :full} + obj[:vendor] = 'Nintendo' + obj[:category] = :appliance + obj[:os] = 'Nintendo Wii U' DATASET[obj[:label]] = obj obj = {:label => 'PSP', :name => 'PlayStation Portable', :type => :full} obj[:vendor] = 'Sony' obj[:category] = :appliance obj[:os] = 'PlayStation Portable'