lib/browser_sniffer/patterns.rb in browser_sniffer-1.0.7 vs lib/browser_sniffer/patterns.rb in browser_sniffer-1.0.8

- old
+ new

@@ -33,10 +33,11 @@ 'NT 5.2' => 'XP', 'NT 6.0' => 'Vista', 'NT 6.1' => '7', 'NT 6.2' => '8', 'NT 6.3' => '8.1', + 'NT 10.0' => '10', 'ARM' => 'RT' } } } } @@ -60,9 +61,11 @@ ], [:name, :version, :major], [ /(?:ms|\()(ie)\s((\d+)?[\w\.]+)/i # Internet Explorer ], [:name, :version, :major, [:type, :ie]], [ /Mozilla\/5.0.*Windows NT 6\.\d.*Trident\/7\.\d.*rv:(\d+)\.\d*/i #IE11 on Win7 ], [:major, [:version, 7], [:name, 'Internet Explorer'], [:type, :ie]], [ + /Mozilla\/5.0.*Windows NT 10\.\d.*Trident\/7\.\d.*rv:(\d+)\.\d*.*like\sGecko/i #IE11 on Win10 + ], [:major, [:version, 10], [:name, 'Internet Explorer'], [:type, :ie]], [ # Webkit/KHTML based /(rekonq)\/?((\d+)[\w\.]+)*/i, # Rekonq /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt)\/((\d+)?[\w\.-]+)/i # Chromium/Flock/RockMelt/Midori/Epiphany/Silk/Skyfire/Bolt ], [:name, :version, :major], [ /(yabrowser)\/((\d+)?[\w\.]+)/i # Yandex