weblet 0.3.0 → 0.3.1

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
  SHA256:
3
- metadata.gz: a554a34daec79c81fca1f25d822c6d0ceb784f9e86b8420cd6fada8372057995
4
- data.tar.gz: 22ba08494032e5b230e5837baab8c821b23321a3d4cb91b507fe99ca6afa0fd2
3
+ metadata.gz: 032dd5ce3fc7237ea08c37f074873ef744afff5a35d51a16aeb293786d60fbf8
4
+ data.tar.gz: db870c39d48a31a3cd50f063212a7582a3656464f26b2f5db1fde340153d17c0
5
5
  SHA512:
6
- metadata.gz: e665e8e8b68bd5fb7de8020b5f648087e4d8abeaf8580118a1f2ea786820dd69f359252ed51a502e171b9b59d9f3928f1ec457502e8eb5e9c52e1c15c632c917
7
- data.tar.gz: be1d18c638b4628bfad7da54e717d476df9b339dc74233f08efa03dc5ca6ddc7ec42b0e377d97197c4dc85f8e04c911073fe817f20e44eed965e83b01791aae6
6
+ metadata.gz: 9bbefcb010f857e04619611f848505059fd00c1dba11efb12ba97677cd4e9e079bf136e86f04ce2728137072f4080fab7e8994db8a927233fa26e96abb56f57f
7
+ data.tar.gz: c6c07b881b3dbe33aceeb1afb85dc37dd5db60411ccd8e3e93254bb9501bcd18a67b8b5289abde84dbb7240cf0fc96927bb2214c8fa5e485c32f0bb4cb7a058a
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/weblet.rb CHANGED
@@ -105,6 +105,9 @@ class Weblet
105
105
  #r = @h.dig *path
106
106
  r = digx(@h, path)
107
107
 
108
+ # check for interpolated substitution tags e.g/ <:card/svg/link>
109
+ r.gsub!(/<:([^>]+)>/) {|x| self.render($1) }
110
+
108
111
  puts 'r: ' + r.inspect if @debug
109
112
 
110
113
  if r.nil? then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weblet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file