Skip to content

Commit

Permalink
added yandex browser (not the bot)
Browse files Browse the repository at this point in the history
  • Loading branch information
SidOfc committed Apr 24, 2017
1 parent 78de963 commit 8ba2f0c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/browserino/definitions/matchers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@
match %r{rockmelt}i, name: :rockmelt
match %r{flock}i, name: :flock
match %r{comodo_dragon}i, name: :comodo_dragon
match %r{yabrowser}i, name: :yandex, version: %r{yabrowser/([\d\.]+)}i
end

# inherit properties from matcher where name == :safari, (except :version)
Expand Down
14 changes: 14 additions & 0 deletions spec/files/browsers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
---
:browsers:
- :user_agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) YaBrowser/1.1.1084.5410 Chrome/19.1.1084.5410 Safari/536.5
:name: :yandex
:version: '1.1.1084.5410'
:engine: :webkit
:engine_version: '536.5'
:platform: :windows
:platform_label: :windows_7
:platform_version: '6.1'
:locale:
:architecture: :x64
:mobile: false
:to_s: 'yandex yandex1 webkit webkit536 windows windows6'
:like: :chrome

- :user_agent: Mozilla/5.0 (Windows NT 6.2) AppleWebKit/535.7 (KHTML, like Gecko) Comodo_Dragon/16.1.1.0 Chrome/16.0.912.63 Safari/535.7
:name: :comodo_dragon
:version: '16.1.1.0'
Expand Down

0 comments on commit 8ba2f0c

Please sign in to comment.