lib/woothee/dataset.rb in woothee-0.3.2 vs lib/woothee/dataset.rb in woothee-0.3.3

- 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 Mon Jun 10 18:14:36 JST 2013 by tagomoris + # GENERATED from dataset.yaml at Mon Sep 2 19:55:04 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' @@ -51,9 +51,12 @@ DATASET[obj[:label]] = obj obj = {:label => 'Sleipnir', :name => 'Sleipnir', :type => :browser} obj[:vendor] = 'Fenrir Inc.' DATASET[obj[:label]] = obj obj = {:label => 'Win', :name => 'Windows UNKNOWN Ver', :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 DATASET[obj[:label]] = obj