teepee 0.12.2 → 0.12.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/teepee/commander.rb +1 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78cff6b01f2237186d59a0d88bcade7adaa0b64e
4
- data.tar.gz: 27ca6b38857f0b85ed1549160468986d07dd1a16
3
+ metadata.gz: 5621c224c2cf88afc6e8255db65a795bb67e287a
4
+ data.tar.gz: 039f0d499d960ea6cc81462b12c66642f548194f
5
5
  SHA512:
6
- metadata.gz: 8567cb23cf2da477f4809753a4205f47f86d78018c76b2eaa60a238c0fd48e0b8995f7e6e25032aaf9bacad81b4e6824600bbf28909ce7ecb59dd5cd873097c5
7
- data.tar.gz: 9d0b6871e8cac700516c1b7499a86dafa895b3d38e21437c2871af5edbda3ea9d18b02e0a6be9675b5f28db3022bc72ca849257aceba05a3dd57d14daa058972
6
+ metadata.gz: 404af32e1c4429de14ab3dc5d134ba9e56f29901f2a9c102e8f24dbc7f624ad86b3e43ad1e8066aac7dcf9067d8b1fbc870b8e22f0b3d2784c33f61dde594e4a
7
+ data.tar.gz: 375810968ff7321f701620e5e9e82a2f90392fd8536ad1e97a5728993958f9ac51d2c9637feb0d35810afdcdd7936f4e3157a52a59c53af648144efb44a9e69a
@@ -428,6 +428,7 @@ module Teepee
428
428
  end
429
429
 
430
430
  def if_operator expressions
431
+ expressions = strip expressions
431
432
  conditional, _, true_clause, _, false_clause = expressions
432
433
  if true_constant? conditional
433
434
  true_clause.to_html
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teepee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2
4
+ version: 0.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Mark Gore