rack-blogengine 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack/blogengine/document.rb +4 -1
- data/lib/rack/blogengine/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c4c77afa0dea08adb6a4132ab7fb0558236f726
|
4
|
+
data.tar.gz: ecea1dcb841499269f9fc4001ef1bf26c4089813
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fe14fb5518c1474c4029e6b64876c7f98264b65609b608e0613480a7de4e85f7331be316849ccdcbb604199821abf49f84b31c9c7847eb46e11366946c82f90
|
7
|
+
data.tar.gz: f2089d8343898c35f138e02736f07b7adf378fcd46431e29ac9442f1f2b88b16f795ee996d754e85ba17a5b1eb736c37dfb3e2596c2bb2903c4fa0ab7820cb55
|
@@ -13,8 +13,11 @@ module Rack
|
|
13
13
|
|
14
14
|
def exec_content_operator(documents, target)
|
15
15
|
@html.scan(/\{\%(.*?)\%\}/).each do |contentoperator|
|
16
|
+
contentoperator = contentoperator[0].strip.to_sym
|
16
17
|
operator = Operator.new(target)
|
17
|
-
operator.send(contentoperator
|
18
|
+
operatorhtml = operator.send(contentoperator, documents, @html)
|
19
|
+
|
20
|
+
@html["{% "+contentoperator.to_s+" %}"] = operatorhtml
|
18
21
|
end
|
19
22
|
end
|
20
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-blogengine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benny1992
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|