lib/woothee/appliance.rb in woothee-0.3.4 vs lib/woothee/appliance.rb in woothee-0.3.5
- old
+ new
@@ -9,9 +9,10 @@
def self.challenge_playstation(ua, result)
data = case
when ua.index('PSP (PlayStation Portable);') then Woothee::DataSet.get('PSP')
when ua.index('PlayStation Vita') then Woothee::DataSet.get('PSVita')
when ua.index('PLAYSTATION 3 ') || ua.index('PLAYSTATION 3;') then Woothee::DataSet.get('PS3')
+ when ua.index('PlayStation 4 ') then Woothee::DataSet.get('PS4')
else nil
end
return false unless data
update_map(result, data)