lib/browser_sniffer/patterns.rb in browser_sniffer-1.1.0 vs lib/browser_sniffer/patterns.rb in browser_sniffer-1.1.1
- old
+ new
@@ -278,10 +278,10 @@
], [[:type, :ios], [:version, lambda { |str| str && str.scan(/\d+/).join(".") }], [:name, 'iOS']], [
# Shopify Mobile for iPhone or iPad
%r{^(Shopify Mobile)\/(?:iPhone\sOS|iOS)[\/\d\.]* \((iPhone|iPad|iPod).*\/([\d\.]+)}i
], [[:type, :ios], [:name, 'iOS'], :version], [
# Shopify Ping for iOS
- %r{^Shopify Ping\/(iOS)\/[\d\.]+ \(.* Simulator\/.*\/([\d\.]+)\)}i
+ %r{^Shopify Ping\/(iOS)\/[\d\.]+ \(.*\/([\d\.]+)\)}i
], [[:type, :ios], :version, [:name, 'iOS']], [
# Shopify Mobile for Android
%r{^Shopify Mobile\/(Android)\/[\d\.]+ }i
], [:name, [:type, :android]], [
# Windows based