anatomy 0.2.11 → 0.2.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 985748eff63f9d8f7b6ba401b2e8585d918990d3
4
- data.tar.gz: dc8a2871f8c07ad6246bfeab0a57f82211d4a4ab
3
+ metadata.gz: 246f827abc865390215f72d427f09b54f23e86d7
4
+ data.tar.gz: 697430a7dc17bbcfe6392612900493e620bbe215
5
5
  SHA512:
6
- metadata.gz: 3d210c447f783c552643a5d1aafa4ddb1a74e304b67dff53e5ed4261a9dc56da806259ff0b08a1db3ce1741fec36dbd17934c58f7f66af23fc6eb0ea4dd74d3b
7
- data.tar.gz: 35fc07889c20e823a2bbadfdc130c40a27619a8524ec05a305af98e90e5cff81a74df6b6a9722e58bc1eba8aef356e9131a2985cb5e4754df9146bb2aeb41928
6
+ metadata.gz: c5b82d55c896a62a25ae461f63e464b8b504f57cde9cc7212c25a45d867c0f5cd2af6498e5c8bcd9252060739e503131eafe663836884644a3be627af6944ac9
7
+ data.tar.gz: d23d5c42faeb0dc135c7ec70d8d032260558c4022e6fa6801662462a714e5b44d1484fda483c06f9bf41be3c1ae22810dd2a5b1df3b9cb4ac93525f82a815416
@@ -14,15 +14,18 @@ def(template(mod)):
14
14
  [part]:
15
15
  part template = mod)
16
16
 
17
- def(title(content, tag-name = data sanitize(content), *extra-tag-names)):
18
- [ data MetaBlock new(
19
- [part]:
20
- part title = content
17
+ def(set-title(content, tag-name = data sanitize(content), *extra-tag-names)):
18
+ data MetaBlock new(
19
+ [part]:
20
+ part title = content
21
+
22
+ part tag = part set-tag(tag-name, .self, content)
21
23
 
22
- part tag = part set-tag(tag-name, .self, content)
24
+ extra-tag-names each [t]:
25
+ part set-tag(t))
23
26
 
24
- extra-tag-names each [t]:
25
- part set-tag(t))
27
+ def(title(content, tag-name = data sanitize(content), *extra-tag-names)):
28
+ [ set-title(content, tag-name, *extra-tag-names)
26
29
 
27
30
  data ResolveBlock new(
28
31
  [part]:
@@ -1,3 +1,3 @@
1
1
  module Anatomy
2
- VERSION = "0.2.11"
2
+ VERSION = "0.2.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anatomy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.11
4
+ version: 0.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Suraci