express_templates 0.11.16.rc1 → 0.11.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/arbre/patches.rb +2 -2
- data/lib/express_templates/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 465c9bcf84550cd605762fa987f8f21a1880082a
|
4
|
+
data.tar.gz: 1285bc76a58d0279bd620c0e3b3044ad1f050634
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a6706d87535f5ea465bb8216842dcb665ab767cfc779aaa3c0a26ec929c54702b0f91bcc8fa80893e6cba600f9ae03e859b3a63a38a1fb8d5f1469c4ac299f0
|
7
|
+
data.tar.gz: f55e913bd2c5c97c1d1130f7d9f50d954d7b68855f4297c7a7bb4b074cfa4396dbe30cfd92e5813b124511206cae7c12d4ce14ceac84a14a82d5b51c693dc7a6
|
data/lib/arbre/patches.rb
CHANGED
@@ -35,8 +35,8 @@ module Arbre
|
|
35
35
|
# * h2(unless: true) { "Some text" }
|
36
36
|
def should_supress_output?(args)
|
37
37
|
if args.last.kind_of?(Hash)
|
38
|
-
only_when = args.last
|
39
|
-
unless_condition = args.
|
38
|
+
only_when = args.last.delete(:only_when)
|
39
|
+
unless_condition = args.delete(:unless)
|
40
40
|
return true if only_when === false
|
41
41
|
return true if !unless_condition.nil? && !!unless_condition
|
42
42
|
else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: express_templates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.16
|
4
|
+
version: 0.11.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Talcott Smith
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-04-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: arbre
|
@@ -159,9 +159,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
159
159
|
version: '0'
|
160
160
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
161
|
requirements:
|
162
|
-
- - '
|
162
|
+
- - '>='
|
163
163
|
- !ruby/object:Gem::Version
|
164
|
-
version:
|
164
|
+
version: '0'
|
165
165
|
requirements: []
|
166
166
|
rubyforge_project:
|
167
167
|
rubygems_version: 2.0.14.1
|