lib/user_agent/browsers.rb in useragent-0.7.0 vs lib/user_agent/browsers.rb in useragent-0.8.0
- old
+ new
@@ -1,6 +1,7 @@
require 'user_agent/browsers/all'
+require 'user_agent/browsers/chrome'
require 'user_agent/browsers/gecko'
require 'user_agent/browsers/internet_explorer'
require 'user_agent/browsers/opera'
require 'user_agent/browsers/webkit'
@@ -11,10 +12,10 @@
"U" => :strong,
"I" => :weak
}.freeze
def self.all
- [InternetExplorer, Webkit, Opera, Gecko]
+ [InternetExplorer, Chrome, Webkit, Opera, Gecko]
end
def self.extend(array)
array.extend(All)
all.each do |extension|