Skip to content

Commit 251767a

Browse files
authored
Fix branch reference from master to main (#556)
1 parent f5dc0c9 commit 251767a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
(`Browser::Bot.detect_empty_ua!` and `Browser::Bot.detect_empty_ua?`).
113113
- [BREAKING CHANGE] Bot detection is now more aggressive by default. It matches empty
114114
user agents, anything that matches `crawl|fetch|search|monitoring|spider|bot`,
115-
and anything listed under https://github.com/fnando/browser/blob/master/bots.yml.
115+
and anything listed under https://github.com/fnando/browser/blob/main/bots.yml.
116116
- Add Jaunt to the bot list.
117117

118118
## 2.7.1

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ browser.mobile? #=> false
150150
### What's being detected?
151151

152152
- For a list of platform detections, check
153-
[lib/browser/platform.rb](https://github.com/fnando/browser/blob/master/lib/browser/platform.rb)
153+
[lib/browser/platform.rb](https://github.com/fnando/browser/blob/main/lib/browser/platform.rb)
154154
- For a list of device detections, check
155-
[lib/browser/device.rb](https://github.com/fnando/browser/blob/master/lib/browser/device.rb)
155+
[lib/browser/device.rb](https://github.com/fnando/browser/blob/main/lib/browser/device.rb)
156156
- For a list of bot detections, check
157-
[bots.yml](https://github.com/fnando/browser/blob/master/bots.yml)
157+
[bots.yml](https://github.com/fnando/browser/blob/main/bots.yml)
158158

159159
### Detecting modern browsers
160160

@@ -298,7 +298,7 @@ following requirements will be considered a bot.
298298
- Empty user agent string
299299
- User agent that matches `/crawl|fetch|search|monitoring|spider|bot/`
300300
- Any known bot listed under
301-
[bots.yml](https://github.com/fnando/browser/blob/master/bots.yml)
301+
[bots.yml](https://github.com/fnando/browser/blob/main/bots.yml)
302302

303303
To add custom matchers, you can add a callable object to
304304
`Browser::Bot.matchers`. The following example matches everything that has a

0 commit comments

Comments
 (0)