Skip to content

Commit

Permalink
misc: Improve phrasing.
Browse files Browse the repository at this point in the history
  • Loading branch information
vxern committed Jan 9, 2023
1 parent 4387f3e commit 8368d1b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.2.0+2

- Small phrasing change in README.md.

## 2.2.0+1

- Compiled the example files into a single file `example.dart`.
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ print(robots.verifyCanAccess('/gist/', userAgent: userAgent)); // False
print(robots.verifyCanAccess('/wordcollector/robots_txt/', userAgent: userAgent)); // True
```

If you are not concerned about rules pertaining to any other user-agents, and we
only care about our own, you may instruct the parser to ignore them by
specifying only those that matter to us:
If you are only concerned about directives pertaining to your own user-agent,
you may instruct the parser to ignore other user-agents as follows:

```dart
// Parse the contents, disregarding user-agents other than 'WordCollector'.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: robots_txt
version: 2.2.0+1
version: 2.2.0+2

description: A complete, dependency-less and fully documented `robots.txt` ruleset parser.

Expand Down

0 comments on commit 8368d1b

Please sign in to comment.