teepee 0.12.7 → 0.12.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/teepee/command-parser.rb +2 -2
- data/lib/teepee/commander.rb +6 -6
- 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: ffb458c3b5071e1c47c6e21e07e92a40312af315
|
4
|
+
data.tar.gz: 9427925ee23d4885babbd2ebce534321b747a5b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb66dd096b62f3bd0d4c4834772f4fe16065aa842f88ef430b6f13dace21a9bc73dbec8c9304ecca6ed0eda4ff0ce3f28c4d3071755f481ca1feadc9e7fcf33e
|
7
|
+
data.tar.gz: 07e19cca1255c011f6af0483e66b4ac68596d74fa808a06bf87516bb0d645ab5a0a178e1284b891a4dcd1475704bbd7aa0521628774851276e609fec221dfd96
|
@@ -394,8 +394,8 @@ module Teepee
|
|
394
394
|
@@commander.when_operator expressions
|
395
395
|
when "unless"
|
396
396
|
@@commander.unless_operator expressions
|
397
|
-
when "
|
398
|
-
@@commander.
|
397
|
+
when "span"
|
398
|
+
@@commander.span_operator expressions
|
399
399
|
when "prog1"
|
400
400
|
@@commander.prog1_operator expressions
|
401
401
|
when "progn"
|
data/lib/teepee/commander.rb
CHANGED
@@ -357,10 +357,6 @@ module Teepee
|
|
357
357
|
html_tag :del, expressions
|
358
358
|
end
|
359
359
|
|
360
|
-
def do_operator expressions
|
361
|
-
html_tag :span, expressions
|
362
|
-
end
|
363
|
-
|
364
360
|
def dollar
|
365
361
|
"$"
|
366
362
|
end
|
@@ -693,6 +689,10 @@ module Teepee
|
|
693
689
|
" "
|
694
690
|
end
|
695
691
|
|
692
|
+
def span_operator expressions
|
693
|
+
html_tag :span, expressions
|
694
|
+
end
|
695
|
+
|
696
696
|
def sub expressions
|
697
697
|
html_tag :sub, expressions
|
698
698
|
end
|
@@ -749,7 +749,7 @@ module Teepee
|
|
749
749
|
if expressions.length <= 1
|
750
750
|
expressions.first
|
751
751
|
else
|
752
|
-
|
752
|
+
span_operator expressions
|
753
753
|
end
|
754
754
|
end
|
755
755
|
end
|
@@ -770,7 +770,7 @@ module Teepee
|
|
770
770
|
if expressions.length <= 1
|
771
771
|
expressions.first
|
772
772
|
else
|
773
|
-
|
773
|
+
span_operator expressions
|
774
774
|
end
|
775
775
|
end
|
776
776
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teepee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Mark Gore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|