lib/woothee/dataset.rb in woothee-0.3.3 vs lib/woothee/dataset.rb in woothee-0.3.4
- 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 Sep 2 19:55:04 JST 2013 by tagomoris
+ # GENERATED from dataset.yaml at Tue Sep 10 14:45:24 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'
@@ -114,9 +114,12 @@
DATASET[obj[:label]] = obj
obj = {:label => 'iPod', :name => 'iPod', :type => :os}
obj[:category] = :smartphone
DATASET[obj[:label]] = obj
obj = {:label => 'iOS', :name => 'iOS', :type => :os}
+ obj[:category] = :smartphone
+ DATASET[obj[:label]] = obj
+ obj = {:label => 'FirefoxOS', :name => 'Firefox OS', :type => :os}
obj[:category] = :smartphone
DATASET[obj[:label]] = obj
obj = {:label => 'BlackBerry', :name => 'BlackBerry', :type => :os}
obj[:category] = :smartphone
DATASET[obj[:label]] = obj