pakyow-haml 0.1.1 → 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE +4 -0
- data/lib/pakyow/haml/framework.rb +15 -0
- data/lib/pakyow/haml/processor.rb +17 -0
- data/lib/pakyow/haml/version.rb +7 -0
- data/lib/pakyow/haml.rb +2 -0
- metadata +23 -37
- data/CHANGES +0 -0
- data/MIT-LICENSE +0 -20
- data/lib/pakyow-haml.rb +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7feb27d898711252c1e785983b1877fccb57d4f5bde4be1f9bf89bb308e77c57
|
4
|
+
data.tar.gz: a0396c1dc58fdb0cc70b56532fa4195fff58227ae2da7f5af242e6f9d9b0d7ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d460db3ab5153af1c8f7c1f841eab08a38e723bb2232f2dabc281a0fa26eed9b2485f8a977597aaa0f06c06be7622caddf304e6ec087e73c8ff25707736bf4b3
|
7
|
+
data.tar.gz: c9f8bde7669fcb33beef5fe55b0f7ccbbf32b8f515f7c9eebeb6609407c3e4ba33d815e3f00f309d53c04d0af29f4b5ed577bbb2fa74f2980fb60f1d71cd607e
|
data/LICENSE
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "pakyow/framework"
|
4
|
+
|
5
|
+
require "pakyow/haml/processor"
|
6
|
+
|
7
|
+
module Pakyow
|
8
|
+
module Haml
|
9
|
+
class Framework < Pakyow::Framework(:haml)
|
10
|
+
def boot
|
11
|
+
object.state(:processor) << Pakyow::Haml::Processor
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "haml"
|
4
|
+
|
5
|
+
require "pakyow/presenter/processor"
|
6
|
+
|
7
|
+
module Pakyow
|
8
|
+
module Haml
|
9
|
+
class Processor < Pakyow::Presenter::Processor
|
10
|
+
extensions :haml
|
11
|
+
|
12
|
+
def call(content)
|
13
|
+
::Haml::Engine.new(content).render
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/lib/pakyow/haml.rb
ADDED
metadata
CHANGED
@@ -1,89 +1,75 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pakyow-haml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryan Powell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: pakyow-core
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0.9'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0.9'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: pakyow-presenter
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
|
-
- - "
|
17
|
+
- - ">="
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
19
|
+
version: 1.0.0.rc1
|
34
20
|
type: :runtime
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
|
-
- - "
|
24
|
+
- - ">="
|
39
25
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
26
|
+
version: 1.0.0.rc1
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: haml
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
33
|
+
version: '5.1'
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
55
|
-
description:
|
56
|
-
.haml extension to HTML.
|
40
|
+
version: '5.1'
|
41
|
+
description: Haml support for Pakyow Presenter
|
57
42
|
email: bryan@metabahn.com
|
58
43
|
executables: []
|
59
44
|
extensions: []
|
60
45
|
extra_rdoc_files: []
|
61
46
|
files:
|
62
|
-
-
|
63
|
-
-
|
64
|
-
-
|
65
|
-
|
66
|
-
|
47
|
+
- LICENSE
|
48
|
+
- lib/pakyow/haml.rb
|
49
|
+
- lib/pakyow/haml/framework.rb
|
50
|
+
- lib/pakyow/haml/processor.rb
|
51
|
+
- lib/pakyow/haml/version.rb
|
52
|
+
homepage: https://pakyow.org
|
53
|
+
licenses:
|
54
|
+
- LGPL-3.0
|
67
55
|
metadata: {}
|
68
56
|
post_install_message:
|
69
57
|
rdoc_options: []
|
70
58
|
require_paths:
|
71
|
-
-
|
59
|
+
- lib
|
72
60
|
required_ruby_version: !ruby/object:Gem::Requirement
|
73
61
|
requirements:
|
74
62
|
- - ">="
|
75
63
|
- !ruby/object:Gem::Version
|
76
|
-
version: 2.
|
64
|
+
version: 2.5.0
|
77
65
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
66
|
requirements:
|
79
|
-
- - "
|
67
|
+
- - ">"
|
80
68
|
- !ruby/object:Gem::Version
|
81
|
-
version:
|
69
|
+
version: 1.3.1
|
82
70
|
requirements: []
|
83
|
-
|
84
|
-
rubygems_version: 2.2.2
|
71
|
+
rubygems_version: 3.0.3
|
85
72
|
signing_key:
|
86
73
|
specification_version: 4
|
87
|
-
summary: Pakyow
|
74
|
+
summary: Pakyow Haml
|
88
75
|
test_files: []
|
89
|
-
has_rdoc:
|
data/CHANGES
DELETED
File without changes
|
data/MIT-LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright (c) 2013 Bryan Powell
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|