markus 4.0.12 → 4.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/markus.rb +10 -6
- data/markus.gemspec +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: 0c4195f13580dbc60fd7da3af19ec43c6008425a
|
4
|
+
data.tar.gz: 20baed2a2e1958a126d2370dc582460548d01d70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e220d88ec4b45ff368df761194dfcc5c4d7d0d1472cae1e0ca7dbf051533c44e930f01a8d5e0d4e66b609d85c500162b93475f693fa234b64619f990d3d3cd29
|
7
|
+
data.tar.gz: cecdf63a2a8e6416f25b0e7ef2ef9de9ab9786f939c62aba77f67b568f0c5e0736d20a9a3299f20628f9161dcfd37b0be88444b48067b9a1084f2af5a98920a7
|
data/lib/markus.rb
CHANGED
@@ -286,7 +286,7 @@ class MarkUS
|
|
286
286
|
self.__markus_reload_timestamp = nil
|
287
287
|
self.__markus_file = filepath
|
288
288
|
self.__markus_templates = {}
|
289
|
-
self.__markus_indent = false
|
289
|
+
self.__markus_indent = self.class_variable_defined?(:@@__markus_indent) ? @@__markus_indent : false
|
290
290
|
self.__markus_includes = []
|
291
291
|
end
|
292
292
|
end #}}}
|
@@ -310,11 +310,15 @@ class MarkUS
|
|
310
310
|
self.__markus_templates[name] = p
|
311
311
|
end #}}}
|
312
312
|
def self::indent #{{{
|
313
|
-
self.__markus_indent
|
313
|
+
if self.__markus_indent.nil?
|
314
|
+
@@__markus_indent = true
|
315
|
+
else
|
316
|
+
self.__markus_indent = true
|
317
|
+
end
|
314
318
|
end #}}}
|
315
319
|
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
+
def self::templates(some)
|
321
|
+
self.__markus_includes << some
|
322
|
+
self.__markus_templates.merge! some.__markus_templates
|
323
|
+
end
|
320
324
|
end
|
data/markus.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|