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

- old
+ new

@@ -24,14 +24,17 @@ ATTRIBUTE_OS = :os ATTRIBUTE_VENDOR = :vendor ATTRIBUTE_VERSION = :version VALUE_UNKNOWN = "UNKNOWN" + + CATEGORY_LIST = [CATEGORY_PC,CATEGORY_SMARTPHONE,CATEGORY_MOBILEPHONE,CATEGORY_CRAWLER,CATEGORY_APPLIANCE,CATEGORY_MISC,VALUE_UNKNOWN] + ATTRIBUTE_LIST = [ATTRIBUTE_NAME,ATTRIBUTE_CATEGORY,ATTRIBUTE_OS,ATTRIBUTE_VENDOR,ATTRIBUTE_VERSION] end module Woothee::DataSet DATASET = {} - # GENERATED from dataset.yaml at Tue Jun 12 12:17:48 JST 2012 by tagomoris + # GENERATED from dataset.yaml at Fri Jul 20 13:14:50 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'