Sha256: fe61c3ceec2459172c51e401b6bb207b731015db3d57aa677886f50caafceb57

Contents?: true

Size: 650 Bytes

Versions: 3

Compression:

Stored size: 650 Bytes

Contents

module XP
  USER_AGENTS = {
    ipad: 'Mozilla/5.0 (iPad; CPU OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B176 Safari/7534.48.3',
    iphone: 'Mozilla/5.0 (iPhone; CPU OS 7_0_4 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11B554a Safari/9537.53',
    mac_firefox: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/537.75.14',
    mac_safari: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/537.75.14'
  }

  USER_AGENTS.default = USER_AGENTS[:mac_safari]
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xp-2.0.2 lib/user_agents.rb
xp-2.0.1 lib/user_agents.rb
xp-2.0.0 lib/user_agents.rb