lib/woothee/dataset.rb in woothee-0.4.0 vs lib/woothee/dataset.rb in woothee-0.4.1
- 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 Dec 3 19:37:52 JST 2013 by tagomoris
+ # GENERATED from dataset.yaml at Fri Apr 25 12:56:38 JST 2014 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'
@@ -99,9 +99,12 @@
DATASET[obj[:label]] = obj
obj = {:label => 'Linux', :name => 'Linux', :type => :os}
obj[:category] = :pc
DATASET[obj[:label]] = obj
obj = {:label => 'BSD', :name => 'BSD', :type => :os}
+ obj[:category] = :pc
+ DATASET[obj[:label]] = obj
+ obj = {:label => 'ChromeOS', :name => 'ChromeOS', :type => :os}
obj[:category] = :pc
DATASET[obj[:label]] = obj
obj = {:label => 'Android', :name => 'Android', :type => :os}
obj[:category] = :smartphone
DATASET[obj[:label]] = obj