guard-mthaml 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +21 -0
- data/README.md +7 -0
- data/lib/guard/mthaml/compiler/MtHaml.php +8 -0
- data/lib/guard/mthaml/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b694a718a4f76823211ac8736efb4f871936d9c
|
4
|
+
data.tar.gz: 23d9dfadc48939e071a2ee5e575fd1f90a64b5e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c8ec31ff74fa9fffbe496a274a9430855d85af988f3f1344f37c838eb4343bec81792e3ec77f058803fd7bdaf506eb3bf9e35f8ff103a7a251bd855d2498e58
|
7
|
+
data.tar.gz: bb15f89617c818c46c8c10173c3ebbde6767335f00bb4311ee75d8c93fc9088bb3d9a7a5b4f566ec3ebb4c157c3cea0b9bbd43990f3aa8d63fe04aabf170acf5
|
data/LICENSE.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2014 Ezekiel Gabrielse
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# Guard::MtHaml [![Gem Version](https://badge.fury.io/rb/guard-mthaml.svg)](http://badge.fury.io/rb/guard-mthaml)
|
2
2
|
This is a Guard wrapper to compile Haml to PHP, Twig or static HTML.
|
3
3
|
|
4
|
+
# Installation
|
4
5
|
Add to your `Gemfile`:
|
5
6
|
```ruby
|
6
7
|
gem 'guard-mthaml'
|
@@ -33,3 +34,9 @@ Requires that `php` be executable via command line.
|
|
33
34
|
###
|
34
35
|
guard :mthaml, :input => "views/src", :output => "views"
|
35
36
|
```
|
37
|
+
|
38
|
+
## Authors
|
39
|
+
[Ezekiel Gabrielse](http://ezekielg.com)
|
40
|
+
|
41
|
+
## License
|
42
|
+
Graphite is available under the [MIT](http://opensource.org/licenses/MIT) license.
|
@@ -58,6 +58,14 @@ class MtHamlCompiler {
|
|
58
58
|
*/
|
59
59
|
private $filters;
|
60
60
|
|
61
|
+
/**
|
62
|
+
* @var {Object}
|
63
|
+
* Instance of \MtHaml\Support\Php\Executor used to compile static files
|
64
|
+
*
|
65
|
+
* @since 0.1.0
|
66
|
+
*/
|
67
|
+
private $executor;
|
68
|
+
|
61
69
|
/**
|
62
70
|
* @var {Object}
|
63
71
|
* Instance of \MtHaml\Environment
|
data/lib/guard/mthaml/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-mthaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ezekiel Gabrielse
|
@@ -371,6 +371,7 @@ files:
|
|
371
371
|
- vendor/mthaml/mthaml/test/MtHaml/Tests/TestCase.php
|
372
372
|
- vendor/mthaml/mthaml/test/MtHaml/Tests/TestCaseTest.php
|
373
373
|
- README.md
|
374
|
+
- LICENSE.md
|
374
375
|
homepage: http://github.com/ezekg/guard-mthaml
|
375
376
|
licenses:
|
376
377
|
- MIT
|