Skip to content

Commit

Permalink
Update to version 0.8.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAnson committed Apr 4, 2015
1 parent ab546a8 commit d342145
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -277,6 +277,7 @@ This makes it easy to pick out failures when running tests against many pages.
* 0.6.2 - Switch from `superagent` to `request`, update `grunt-eslint` and `nock` dependencies.
* 0.7.0 - Move task implementation into reusable `check-pages` package.
* 0.7.1 - Fix misreporting of "Bad link" for redirected links when noRedirects enabled.
* 0.8.0 - Suppress redundant link checks, support `noEmptyFragments` option, update dependencies.


[npm-image]: https://img.shields.io/npm/v/grunt-check-pages.svg
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "grunt-check-pages",
"description": "Grunt task that checks various aspects of a web page for correctness.",
"version": "0.7.1",
"version": "0.8.0",
"homepage": "https://github.com/DavidAnson/grunt-check-pages",
"author": "David Anson (http://dlaa.me/)",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions test/checkPages_test.js
Expand Up @@ -1004,13 +1004,13 @@ exports.checkPages = {
requestHeaders: function(test) {
test.expect(4);
nock('http://example.com')
.matchHeader('User-Agent', 'grunt-check-pages/0.7.1')
.matchHeader('User-Agent', 'grunt-check-pages/0.8.0')
.matchHeader('Cache-Control', 'no-cache')
.matchHeader('Pragma', 'no-cache')
.get('/page')
.reply(200, '<html><body><a href="link">link</a></body></html>');
nock('http://example.com')
.matchHeader('User-Agent', 'grunt-check-pages/0.7.1')
.matchHeader('User-Agent', 'grunt-check-pages/0.8.0')
.matchHeader('Cache-Control', 'no-cache')
.matchHeader('Pragma', 'no-cache')
.head('/link')
Expand Down

0 comments on commit d342145

Please sign in to comment.