stitch-rb 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -0
- data/README.md +1 -1
- data/lib/stitch-rb.rb +2 -0
- data/lib/stitch/compilers/coffeescript.rb +2 -2
- data/lib/stitch/compilers/javascript.rb +2 -2
- data/lib/stitch/version.rb +1 -1
- metadata +2 -1
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -30,7 +30,7 @@ Stitch includes a basic Rack server, for example this is how you'd use it with R
|
|
30
30
|
|
31
31
|
Compilers need to inherit from `Stitch::Compiler`. They're very simple, for example:
|
32
32
|
|
33
|
-
class
|
33
|
+
class TmplCompiler < Stitch::Compiler
|
34
34
|
# List of supported extensions
|
35
35
|
extensions :tmpl
|
36
36
|
|
data/lib/stitch-rb.rb
ADDED
data/lib/stitch/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: stitch-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Alex MacCaw
|
@@ -33,6 +33,7 @@ files:
|
|
33
33
|
- examples/app/controllers/controller.coffee
|
34
34
|
- examples/compile.rb
|
35
35
|
- examples/lib/jquery.js
|
36
|
+
- lib/stitch-rb.rb
|
36
37
|
- lib/stitch.rb
|
37
38
|
- lib/stitch/compiler.rb
|
38
39
|
- lib/stitch/compilers/coffeescript.rb
|