lib/browser_sniffer/patterns.rb in browser_sniffer-2.1.0 vs lib/browser_sniffer/patterns.rb in browser_sniffer-2.2.0

- old
+ new

@@ -43,10 +43,13 @@ } REGEX_MAP = { :browser => [ [ + # Shopify POS Go + /WSC6X|WTH1X/i + ], [[:name, 'Shopify POS Go']],[ # Shopify Mobile for iPhone or iPad %r{.*Shopify/\d+\s\((iPhone|iPad)\;\siOS\s[\d\.]+}i ], [[:name, 'Shopify Mobile']], [ # Shopify Mobile for Android %r{.*Dalvik/[a-z0-9\.]+.*Shopify\s[\d+\.\/]+}i @@ -167,10 +170,13 @@ /Instagram/, ], [[:type, :instagram]], ], :device => [ [ + # Shopify POS Go + /WSC6X|WTH1X/i + ], [[:type, :handheld], [:name, 'Shopify POS Go']],[ # Shopify Mobile for iPhone %r{.*Shopify Mobile/(?:iPhone\sOS|iOS)/[\d\.]+ \((iPhone)([\d,]+)}i ], [[:type, :handheld], :model], [ # Shopify Mobile for iPad %r{.*Shopify Mobile/(?:iPhone\sOS|iOS)/[\d\.]+ \((iPad)([\d,]+)}i @@ -293,9 +299,12 @@ /rv\:((\d+)[\w\.]+).*(gecko)/i # Gecko ], [:version, :major, :name, [:type, :gecko]] ], :os => [ [ + # Shopify Retail OS on POS Go + /WSC6X|WTH1X/i + ], [[:name, 'Shopify Retail OS']],[ # Shopify Mobile for iOS %r{.*Shopify/\d+\s\((?:iPhone|iPad)\;\s(iOS)\s([\d\.]+)}i ], [[:type, :ios], :version, [:name, 'iOS']], [ # Shopify POS for iOS %r{.*Shopify\sPOS/[\d\.]+\s\((?:iPhone|iPad|iPod\stouch)\;\s(iOS)\s([\d\.]+)}i,