From bbf98dfc70f30c39dbba5a0ebfc99d6381b79940 Mon Sep 17 00:00:00 2001 From: Tim <0xtimc@gmail.com> Date: Sun, 8 Oct 2017 18:11:52 +0100 Subject: [PATCH 1/2] Update name in Provider Error that was left over in fork --- Sources/MarkdownProvider/Provider.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Sources/MarkdownProvider/Provider.swift b/Sources/MarkdownProvider/Provider.swift index 72c676f..7894cbe 100644 --- a/Sources/MarkdownProvider/Provider.swift +++ b/Sources/MarkdownProvider/Provider.swift @@ -2,18 +2,18 @@ import Vapor import LeafProvider public struct Provider: Vapor.Provider { - + public static let repositoryName = "markdown-provider" - + public func boot(_ drop: Droplet) { guard let renderer = drop.view as? LeafRenderer else { - print("LeafMarkdown only supports Leaf as a renderer") + print("Markdown Provider only supports Leaf as a renderer") return } - + renderer.stem.register(Markdown()) } - + public init(config: Config) throws {} public init() {} public func boot(_ config: Config) throws {} From 23c5ddce7b9985da96ff197b0a965363fb433d4a Mon Sep 17 00:00:00 2001 From: Tim <0xtimc@gmail.com> Date: Sun, 8 Oct 2017 18:23:47 +0100 Subject: [PATCH 2/2] Fix travis scripts --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6dc9030..87e058b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,4 +28,4 @@ script: fi after_success: - - eval "$(curl -sL https://raw.githubusercontent.com/vapor-community/swift/master/codecov)" + - eval "$(curl -sL https://raw.githubusercontent.com/vapor-community/swift/swift-4-codecov/codecov-swift4)"