Skip to content

Commit

Permalink
v3.5.1 - 2018-05-24
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornstar committed May 24, 2018
1 parent 96e2908 commit e7dc80e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Intercept Redirect

## v3.5.1 - 2018-05-24
- [CircleCI] Restore badge to README, it appears to be passing now, but no communication was received from CircleCI indicating it was fixed
- [Testing] Improve CHANGELOG version detection: The first version detected should match the package version
- [Packaging] Add `browser extension` to keywords

## v3.5.0 - 2018-05-24
- Add `*.digidip.net` (Fixes #2)
- Add support for wildcard subdomains
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

[![Travis CI](https://travis-ci.org/bjornstar/intercept-redirect.svg?branch=master)](https://travis-ci.org/bjornstar/intercept-redirect)
[![Appveyor](https://ci.appveyor.com/api/projects/status/9qrj76bt914531gg/branch/master?svg=true)](https://ci.appveyor.com/project/bjornstar/intercept-redirect/branch/master)
[![CircleCI](https://circleci.com/gh/bjornstar/intercept-redirect/tree/master.svg?style=svg)](https://circleci.com/gh/bjornstar/intercept-redirect/tree/master)

Skip tracking redirects that serve no purpose other than to waste your precious time.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bjornstar/intercept-redirect",
"version": "3.5.0",
"version": "3.5.1",
"description": "Skip tracking redirects that serve no purpose other than to waste your precious time.",
"main": "webextension/index.js",
"dependencies": {},
Expand All @@ -16,6 +16,7 @@
},
"keywords": [
"webextension",
"browser extension",
"redirect"
],
"author": "Bjorn Stromberg <bjorn@bjornstar.com>",
Expand Down
10 changes: 7 additions & 3 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,19 @@ describe('Packaging', function () {
}

const lines = changelog.split('\n');
const versionRe = /^## v\d+\.\d+\.\d+/;
const versionLine = `## v${pkg.version}`;

for (var i = 0; i < lines.length; i += 1) {
if (lines[i].indexOf(versionLine) === 0) {
return done();
const line = lines[i];

if (versionRe.test(line)) {
assert.equal(line.indexOf(versionLine), 0, `Package: ${versionLine}, Latest CHANGELOG: ${line}`)
return done()
}
}

done('Current version not found in CHANGELOG');
done(new Error('No version found in CHANGELOG'));
});
});
});
Expand Down
2 changes: 1 addition & 1 deletion webextension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
"*://vk.com/",
"*://www.youtube.com/"
],
"version": "3.5.0"
"version": "3.5.1"
}

0 comments on commit e7dc80e

Please sign in to comment.