From d2ce152818d03288e5db53f628615b801b8a30e4 Mon Sep 17 00:00:00 2001 From: Mus M Date: Wed, 11 Jan 2017 14:20:45 -0500 Subject: [PATCH 1/5] Update Compat version in REQUIRE --- REQUIRE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/REQUIRE b/REQUIRE index 959f8ca..ce3698b 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,2 +1,2 @@ julia 0.4 -Compat 0.8.0 +Compat 0.9.5 From bfbb53af11411d42ccbbc04d00d11067ea9be385 Mon Sep 17 00:00:00 2001 From: Mus M Date: Wed, 11 Jan 2017 14:21:33 -0500 Subject: [PATCH 2/5] Update deprecated takebuf_string method --- src/esc.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/esc.jl b/src/esc.jl index 0271fa1..7b1ad06 100644 --- a/src/esc.jl +++ b/src/esc.jl @@ -57,7 +57,7 @@ function escape_with(str, use) end i = i_next end - takebuf_string(out) + String(take!(out)) end escape(str) = escape_with(str, unescaped) From f6594f9c9939594416333c84704c4c284b644a66 Mon Sep 17 00:00:00 2001 From: Mus M Date: Wed, 11 Jan 2017 14:23:27 -0500 Subject: [PATCH 3/5] Update import to using for Compat.String Since we do not extend the String method --- src/URIParser.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/URIParser.jl b/src/URIParser.jl index e255552..a8a66b4 100644 --- a/src/URIParser.jl +++ b/src/URIParser.jl @@ -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") From a4142fe59a5bebc338bf0d97746948deafdbe6f1 Mon Sep 17 00:00:00 2001 From: Mus M Date: Wed, 11 Jan 2017 14:30:33 -0500 Subject: [PATCH 4/5] Update deprecated data field data for String --- src/esc.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/esc.jl b/src/esc.jl index 7b1ad06..d8e7a68 100644 --- a/src/esc.jl +++ b/src/esc.jl @@ -51,7 +51,7 @@ 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 From e700b5f5ce6d468718373a6b021f8040a253d347 Mon Sep 17 00:00:00 2001 From: Mus M Date: Wed, 11 Jan 2017 14:32:16 -0500 Subject: [PATCH 5/5] Update travis for 0.5 and nightly --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index df5604d..36e7c26 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,8 @@ os: - osx julia: - 0.4 + - 0.5 + - nightly notifications: email: false sudo: false