Uap Ruby Versions Save

A simple, comprehensive Ruby gem for parsing user agent strings with the help of BrowserScope's UA database

v2.5.0

5 years ago

Important change: this update will change how windows major version is parsed! See https://github.com/ua-parser/uap-core/pull/286

New features

  • #37 to_h method to generate complete info about parsed user agent. (@piotrze)

Fixes and updates

  • #39 Dropped support for Ruby < 2.3
  • #36 Faster matching by using match? method. (@filiptepper)
  • #42 Update uap-core to 23bfabe3
  • #43 Rubocop fixes

v2.4.0

6 years ago

v2.3.0

8 years ago

Changelog:

  • Replace ua-parser with uap-core
  • Handle regex_flag for case-sensitive regexes
  • Strip device family
  • Fixed defect where all sub calls were being passed $1

v2.2.0

9 years ago

Changelog:

  • Uses #family instead of #name for UserAgent, OperatingSystem and Device to be consisent with other ua-parser libs. name is still fully supported as an alias.
  • Version can be initialized with specific segments, rather than just a string. This was needed to support the latest ua-parser patterns for patterns where "8.0.b5" should be "8" major and "0.b5" minor.
  • Updated to the latest ua-parser library

v2.1.5

10 years ago

Changelog:

  • Updated UA parser database

v2.1.3

10 years ago

Changelog:

  • Added a command line interface

v2.1.2

10 years ago

Changelog:

  • Updated UA parser database

v2.1.1

10 years ago

Changelog:

  • Updated UA parser database