Skip to content

Commit

Permalink
Merge pull request #48 from musm/updatedeps
Browse files Browse the repository at this point in the history
Update deprecations
  • Loading branch information
quinnj authored Jan 11, 2017
2 parents 6ae90da + e700b5f commit df52383
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ os:
- osx
julia:
- 0.4
- 0.5
- nightly
notifications:
email: false
sudo: false
Expand Down
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
julia 0.4
Compat 0.8.0
Compat 0.9.5
2 changes: 1 addition & 1 deletion src/URIParser.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export escape, escape_form, escape_with, unescape, unescape_form

import Base: isequal, isvalid, show, print, (==)
using Compat
import Compat: String
using Compat: String

include("parser.jl")
include("esc.jl")
Expand Down
4 changes: 2 additions & 2 deletions src/esc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ function escape_with(str, use)
end
else
while i < i_next
write(out, hex_string(str.data[i]))
write(out, hex_string(Vector{UInt8}(str)[i]))
i += 1
end
end
i = i_next
end
takebuf_string(out)
String(take!(out))
end

escape(str) = escape_with(str, unescaped)
Expand Down

0 comments on commit df52383

Please sign in to comment.