Skip to content

Commit

Permalink
cleanup travis config, prepare readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mna committed Jul 28, 2016
1 parent 7a40b79 commit 8a29053
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
13 changes: 2 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@ language: go

go:
- 1.4
- 1.5
- 1.6
- tip

install:
- go get github.com/zenovich/urlesc
- go get golang.org/x/net/idna
- go get golang.org/x/text/secure/precis
- go get golang.org/x/text/unicode/norm
- mv $GOPATH/src/github.com/zenovich/urlesc $GOPATH/src/github.com/PuerkitoBio/
- go build .

script:
- go test -v
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Based on the [wikipedia paper][wiki] and the [RFC 3986 document][rfc].

## Changelog

* **2016-07-27 (v1.0.0)** : Normalize IDN to ASCII (thanks to @zenovich).
* **2015-02-08** : Add fix for relative paths issue ([PR #5][pr5]) and add fix for unnecessary encoding of reserved characters ([see issue #7][iss7]).
* **v0.2.0** : Add benchmarks, Attempt IDN support.
* **v0.1.0** : Initial release.
Expand Down Expand Up @@ -162,7 +163,6 @@ And with `FlagsUnsafeGreedy`:

## TODOs

* Try to make jehiah's tests pass (more exactly, support IDNA domains/utf8/unicode encoding/escaping). For now theses tests are commented out.
* Add a class/default instance to allow specifying custom directory index names? At the moment, removing directory index removes `(^|/)((?:default|index)\.\w{1,4})$`.

## Thanks / Contributions
Expand All @@ -171,6 +171,7 @@ And with `FlagsUnsafeGreedy`:
@jehiah
@opennota
@pchristopher1275
@zenovich

## License

Expand Down
2 changes: 1 addition & 1 deletion purell_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ func runCase(tc *testCase, t *testing.T) {
if tc.parsed {
u, e := url.Parse(tc.src)
if e != nil {
t.Errorf("%s - FAIL : %s", e)
t.Errorf("%s - FAIL : %s", tc.nm, e)
return
} else {
NormalizeURL(u, tc.flgs)
Expand Down

0 comments on commit 8a29053

Please sign in to comment.