diff --git a/README.md b/README.md
index 1e6eee1..64bdb2e 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# Kilt [](https://travis-ci.org/jeromegn/kilt) [](https://shards.rocks/github/jeromegn/kilt) [](https://shards.rocks/github/jeromegn/kilt)
+# Kilt [](https://travis-ci.org/jeromegn/kilt)
Generic templating interface for Crystal.
diff --git a/spec/kilt/crustache_spec.cr b/spec/kilt/crustache_spec.cr
index f62b7d2..72e1264 100644
--- a/spec/kilt/crustache_spec.cr
+++ b/spec/kilt/crustache_spec.cr
@@ -14,13 +14,11 @@ class MustacheView
end
describe "kilt/crustache" do
-
it "renders crustache" do
- Kilt.render("spec/fixtures/test.mustache", { "pid" => Process.pid }).should eq("#{Process.pid}")
+ Kilt.render("spec/fixtures/test.mustache", {"pid" => Process.pid}).should eq("#{Process.pid}")
end
it "works with classes" do
MustacheView.new.to_s.should eq("#{Process.pid}")
end
-
end
diff --git a/spec/kilt/liquid_spec.cr b/spec/kilt/liquid_spec.cr
index f8c4a98..947bb01 100644
--- a/spec/kilt/liquid_spec.cr
+++ b/spec/kilt/liquid_spec.cr
@@ -2,7 +2,7 @@ require "../spec_helper"
require "../../src/liquid"
class LiquidView
- @process = { "pid" => Process.pid }
+ @process = {"pid" => Process.pid}
Kilt.file "spec/fixtures/test.liquid"
end
@@ -11,14 +11,15 @@ class LiquidViewWithCustomContext
# avoid name clash with 'context' variable existing within spec.
def initialize
@context = Liquid::Context.new
- @context.set "process", { "pid" => Process.pid }
+ @context.set "process", {"pid" => Process.pid}
end
+
Kilt.file "spec/fixtures/test.liquid", "__kilt_io__", "@context"
end
it "renders liquid" do
ctx = Liquid::Context.new
- ctx.set "process", { "pid" => Process.pid }
+ ctx.set "process", {"pid" => Process.pid}
Kilt.render("spec/fixtures/test.liquid", ctx).should eq("#{Process.pid}\n")
end
diff --git a/spec/kilt/slang_spec.cr b/spec/kilt/slang_spec.cr
index 4dbf661..facd1ff 100644
--- a/spec/kilt/slang_spec.cr
+++ b/spec/kilt/slang_spec.cr
@@ -6,7 +6,6 @@ class SlangView
end
describe "kilt/slang" do
-
it "renders slang" do
Kilt.render("spec/fixtures/test.slang").should eq("#{Process.pid}")
end
@@ -14,5 +13,4 @@ describe "kilt/slang" do
it "works with classes" do
SlangView.new.to_s.should eq("#{Process.pid}")
end
-
end
diff --git a/spec/kilt_spec.cr b/spec/kilt_spec.cr
index dc3a3e5..560447f 100644
--- a/spec/kilt_spec.cr
+++ b/spec/kilt_spec.cr
@@ -5,7 +5,6 @@ class View
end
describe Kilt do
-
it "renders ecr" do
Kilt.render("spec/fixtures/test.ecr").should eq("#{Process.pid}")
end
@@ -24,5 +23,4 @@ describe Kilt do
Kilt.register_engine "raw", Raw.embed
Kilt.render("spec/fixtures/test.raw").should eq("Hello World!")
end
-
end
diff --git a/spec/spec_helper.cr b/spec/spec_helper.cr
index d69d98e..a643577 100644
--- a/spec/spec_helper.cr
+++ b/spec/spec_helper.cr
@@ -1,3 +1,3 @@
require "spec"
require "../src/kilt"
-require "./support/raw_engine"
\ No newline at end of file
+require "./support/raw_engine"
diff --git a/spec/support/raw_engine.cr b/spec/support/raw_engine.cr
index 2e0f9dc..737730f 100644
--- a/spec/support/raw_engine.cr
+++ b/spec/support/raw_engine.cr
@@ -2,4 +2,4 @@ module Raw
macro embed(filename, io)
{{ io.id }} << {{`cat #{filename}`.stringify}}
end
-end
\ No newline at end of file
+end
diff --git a/src/crustache.cr b/src/crustache.cr
index e766e6b..6b52db9 100644
--- a/src/crustache.cr
+++ b/src/crustache.cr
@@ -1,4 +1,4 @@
require "./kilt"
require "crustache"
-Kilt.register_engine "mustache", Mustache.embed
\ No newline at end of file
+Kilt.register_engine "mustache", Mustache.embed
diff --git a/src/kilt/exception.cr b/src/kilt/exception.cr
index 2e43dfd..ccd047b 100644
--- a/src/kilt/exception.cr
+++ b/src/kilt/exception.cr
@@ -2,4 +2,4 @@ module Kilt
class Exception < ::Exception
# Nothing special
end
-end
\ No newline at end of file
+end