lib/woothee/appliance.rb in woothee-0.2.4 vs lib/woothee/appliance.rb in woothee-0.3.0
- old
+ new
@@ -22,9 +22,10 @@
def self.challenge_nintendo(ua, result)
data = case
when ua.index('Nintendo 3DS;') then Woothee::DataSet.get('Nintendo3DS')
when ua.index('Nintendo DSi;') then Woothee::DataSet.get('NintendoDSi')
when ua.index('Nintendo Wii;') then Woothee::DataSet.get('NintendoWii')
+ when ua.index('(Nintendo WiiU)') then Woothee::DataSet.get('NintendoWiiU')
else nil
end
return false unless data
update_map(result, data)