Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ameba-version: [v1.6.4]
ameba-version: [v1.7.0]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: It might be a good idea to switch to https://github.com/crystal-ameba/github-action entirely. It's easier and more efficient.
This could be a separate PR, though.

name: Ameba ${{ matrix.ameba-version }} linter check
steps:
- name: Install latest Crystal
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
crystal: ${{ matrix.crystal }}

- name: Install dependencies
run: shards install --without-development
run: shards install

- name: Run specs
run: crystal spec --error-on-warnings --error-trace
8 changes: 4 additions & 4 deletions spec/fixtures/tartrazine.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ require "tartrazine"
require "../../src/markd"

markdown = <<-MD
# Hello Markd
# Hello Markd

> Yet another markdown parser built for speed, written in Crystal, Compliant to CommonMark specification.
MD
> Yet another markdown parser built for speed, written in Crystal, Compliant to CommonMark specification.
MD

html = Markd.to_html(markdown)
Markd.to_html(markdown)
2 changes: 1 addition & 1 deletion src/markd/node.cr
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ module Markd
end

def to_s(io : IO)
io << "#<" << {{@type.name.id.stringify}} << ":0x"
io << "#<" << {{ @type.name.id.stringify }} << ":0x"
object_id.to_s(16, io)
io << " @type=" << @type
io << " @parent=" << @parent if @parent
Expand Down
2 changes: 1 addition & 1 deletion src/markd/parsers/inline.cr
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ module Markd::Parser
text = @text.byte_slice(@pos)
if (match = text.match(regex))
@pos += match.byte_end.not_nil!
return match[0]
match[0]
end
end

Expand Down
Loading