diff --git a/.travis.yml b/.travis.yml
index fd4ce0f..ffc7b6a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1 @@
language: crystal
-crystal:
- - latest
\ No newline at end of file
diff --git a/README.md b/README.md
index 62d524f..4327298 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# Kilt [](https://travis-ci.org/jeromegn/kilt)
+# Kilt [](https://travis-ci.org/jeromegn/kilt) [](https://shards.rocks/github/jeromegn/kilt) [](https://shards.rocks/github/jeromegn/kilt)
Generic templating interface for Crystal.
@@ -15,9 +15,6 @@ Simplify developers' lives by abstracting template rendering for multiple templa
| Slang | .slang | [slang](https://github.com/jeromegn/slang) | [@jeromegn](https://github.com/jeromegn) |
| Temel | .temel | [temel](https://github.com/f/temel) | [@f](https://github.com/f) |
| Crikey | .crikey | [crikey](https://github.com/domgetter/crikey) | [@domgetter](https://github.com/domgetter) |
-| Liquid | .liquid | [liquid](https://github.com/TechMagister/liquid.cr) | [@docelic](https://github.com/docelic) |
-| Jbuilder | .jbuilder | [jbuilder](https://github.com/shootingfly/jbuilder) | [@shootingfly](https://github.com/shootingfly) |
-| Water | .water | [water](https://github.com/shootingfly/water) | [@shootingfly](https://github.com/shootingfly) |
See also:
[Registering your own template engine](#registering-your-own-template-engine).
diff --git a/shard.yml b/shard.yml
index b7b6763..277fa41 100644
--- a/shard.yml
+++ b/shard.yml
@@ -1,5 +1,5 @@
name: kilt
-version: 0.6.1
+version: 0.4.1
crystal: '< 2.0.0'
authors:
@@ -14,9 +14,3 @@ development_dependencies:
github: MakeNowJust/crustache
temel:
github: f/temel
- liquid:
- github: TechMagister/liquid.cr
- jbuilder:
- github: shootingfly/jbuilder
- water:
- github: shootingfly/water
diff --git a/spec/fixtures/test.jbuilder b/spec/fixtures/test.jbuilder
deleted file mode 100644
index d8620f9..0000000
--- a/spec/fixtures/test.jbuilder
+++ /dev/null
@@ -1 +0,0 @@
-json.span Process.pid
\ No newline at end of file
diff --git a/spec/fixtures/test.liquid b/spec/fixtures/test.liquid
deleted file mode 100644
index 20464a7..0000000
--- a/spec/fixtures/test.liquid
+++ /dev/null
@@ -1 +0,0 @@
-{{ process.pid }}
diff --git a/spec/fixtures/test.water b/spec/fixtures/test.water
deleted file mode 100644
index c0ff101..0000000
--- a/spec/fixtures/test.water
+++ /dev/null
@@ -1 +0,0 @@
-span Process.pid
\ No newline at end of file
diff --git a/spec/kilt/jbuilder_spec.cr b/spec/kilt/jbuilder_spec.cr
deleted file mode 100644
index 1798735..0000000
--- a/spec/kilt/jbuilder_spec.cr
+++ /dev/null
@@ -1,18 +0,0 @@
-require "../spec_helper"
-require "../../src/jbuilder"
-
-class JbuilderView
- Kilt.file "spec/fixtures/test.jbuilder"
-end
-
-describe "kilt/jbuilder" do
-
- it "renders jbuilder" do
- Kilt.render("spec/fixtures/test.jbuilder").should eq("{\"span\":#{Process.pid}}")
- end
-
- it "works with class" do
- JbuilderView.new.to_s.should eq("{\"span\":#{Process.pid}}")
- end
-
-end
diff --git a/spec/kilt/liquid_spec.cr b/spec/kilt/liquid_spec.cr
deleted file mode 100644
index f8c4a98..0000000
--- a/spec/kilt/liquid_spec.cr
+++ /dev/null
@@ -1,31 +0,0 @@
-require "../spec_helper"
-require "../../src/liquid"
-
-class LiquidView
- @process = { "pid" => Process.pid }
- Kilt.file "spec/fixtures/test.liquid"
-end
-
-class LiquidViewWithCustomContext
- # Use of instance variable is not required in user code. It is used here to
- # avoid name clash with 'context' variable existing within spec.
- def initialize
- @context = Liquid::Context.new
- @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 }
- Kilt.render("spec/fixtures/test.liquid", ctx).should eq("#{Process.pid}\n")
-end
-
-it "works with classes" do
- LiquidView.new.to_s.should eq("#{Process.pid}\n")
-end
-
-it "works with classes and custom context" do
- LiquidViewWithCustomContext.new.to_s.should eq("#{Process.pid}\n")
-end
diff --git a/spec/kilt/water_spec.cr b/spec/kilt/water_spec.cr
deleted file mode 100644
index 274071d..0000000
--- a/spec/kilt/water_spec.cr
+++ /dev/null
@@ -1,18 +0,0 @@
-require "../spec_helper"
-require "../../src/water"
-
-class WaterView
- Kilt.file "spec/fixtures/test.water"
-end
-
-describe "kilt/water" do
-
- it "renders water" do
- Kilt.render("spec/fixtures/test.water").should eq("#{Process.pid}")
- end
-
- it "works with class" do
- WaterView.new.to_s.should eq("#{Process.pid}")
- end
-
-end
diff --git a/src/jbuilder.cr b/src/jbuilder.cr
deleted file mode 100644
index 26bbbb2..0000000
--- a/src/jbuilder.cr
+++ /dev/null
@@ -1,4 +0,0 @@
-require "./kilt"
-require "jbuilder"
-
-Kilt.register_engine "jbuilder", Jbuilder.embed
diff --git a/src/kilt/version.cr b/src/kilt/version.cr
index 64c8001..3d60e94 100644
--- a/src/kilt/version.cr
+++ b/src/kilt/version.cr
@@ -1,3 +1,3 @@
module Kilt
- VERSION = "0.6.1"
+ VERSION = "0.4.1"
end
diff --git a/src/liquid.cr b/src/liquid.cr
deleted file mode 100644
index 68091d9..0000000
--- a/src/liquid.cr
+++ /dev/null
@@ -1,4 +0,0 @@
-require "./kilt"
-require "liquid"
-
-Kilt.register_engine "liquid", Liquid.embed
diff --git a/src/water.cr b/src/water.cr
deleted file mode 100644
index 383cca7..0000000
--- a/src/water.cr
+++ /dev/null
@@ -1,4 +0,0 @@
-require "./kilt"
-require "water"
-
-Kilt.register_engine "water", Water.embed