Skip to content

Commit

Permalink
Feat/dep update (#28)
Browse files Browse the repository at this point in the history
* feat: dep update

* fix: download dep as a binary
  • Loading branch information
matcornic authored Dec 12, 2017
1 parent 3d5f83d commit 97e4381
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 24 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ go:
- 1.9

install:
- wget https://github.com/golang/dep/releases/download/v0.3.0/dep-linux-amd64.zip
- unzip dep-linux-amd64.zip
- chmod +x dep
- ./dep ensure
- curl -L https://github.com/golang/dep/releases/download/v0.3.2/dep-linux-amd64 -o dep
- chmod u+x dep && ./dep ensure
- go get -u github.com/alecthomas/gometalinter
- gometalinter -u -i -f

Expand Down
34 changes: 20 additions & 14 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@

[[constraint]]
name = "github.com/Masterminds/sprig"
version = "2.12.0"
version = "2.14.1"

[[constraint]]
name = "github.com/imdario/mergo"
version = "0.2.2"
version = "0.2.4"

[[constraint]]
branch = "master"
name = "github.com/jaytaylor/html2text"

[[constraint]]
name = "github.com/russross/blackfriday"
branch = "master"
version = "2.0.0"

[[constraint]]
name = "github.com/stretchr/testify"
Expand Down
2 changes: 1 addition & 1 deletion examples/default/default.maintenance.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Services will be unavailable based on the following schedule:
| Service C | 5AM to 6AM |
+-----------+------------+

Feel free to contact us for any question regarding this matter at support@hermes-example.com ( support@hermes-example.com ) or in our Gitter ( https://gitter.im/ )
Feel free to contact us for any question regarding this matter at support@hermes-example.com or in our Gitter ( https://gitter.im/ )

Yours truly,
Hermes - https://example-hermes.com/
Expand Down
2 changes: 1 addition & 1 deletion examples/flat/flat.maintenance.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Services will be unavailable based on the following schedule:
| Service C | 5AM to 6AM |
+-----------+------------+

Feel free to contact us for any question regarding this matter at support@hermes-example.com ( support@hermes-example.com ) or in our Gitter ( https://gitter.im/ )
Feel free to contact us for any question regarding this matter at support@hermes-example.com or in our Gitter ( https://gitter.im/ )

Yours truly,
Hermes - https://example-hermes.com/
Expand Down
2 changes: 1 addition & 1 deletion hermes.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ type Body struct {

// ToHTML converts Markdown to HTML
func (c Markdown) ToHTML() template.HTML {
return template.HTML(blackfriday.MarkdownCommon([]byte(string(c))))
return template.HTML(blackfriday.Run([]byte(string(c))))
}

// Entry is a simple entry of a map
Expand Down

0 comments on commit 97e4381

Please sign in to comment.