lib/user_agent/browsers.rb in useragent-0.14.0 vs lib/user_agent/browsers.rb in useragent-0.15.0

- old
+ new

@@ -1,7 +1,8 @@ require 'user_agent/browsers/base' require 'user_agent/browsers/chrome' +require 'user_agent/browsers/edge' require 'user_agent/browsers/gecko' require 'user_agent/browsers/internet_explorer' require 'user_agent/browsers/opera' require 'user_agent/browsers/webkit' require 'user_agent/browsers/windows_media_player' @@ -16,10 +17,10 @@ "U" => :strong, "I" => :weak }.freeze def self.all - [InternetExplorer, Opera, Chrome, ITunes, Webkit, Gecko, WindowsMediaPlayer, AppleCoreMedia, Libavformat] + [Edge, InternetExplorer, Opera, Chrome, ITunes, Webkit, Gecko, WindowsMediaPlayer, AppleCoreMedia, Libavformat] end def self.extend(array) all.each do |extension| return extension.new(array) if extension.extend?(array)