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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 57fcedcfd3be587c8795ce5a7583f2f35491a5c4
4
- data.tar.gz: cb09aba95a48015a9471f99f07101e54243de665
3
+ metadata.gz: 465c9bcf84550cd605762fa987f8f21a1880082a
4
+ data.tar.gz: 1285bc76a58d0279bd620c0e3b3044ad1f050634
5
5
  SHA512:
6
- metadata.gz: 02e53d283bd9e71376bb34f6363f16e237f878d7d74c14fdda8af0a1b253f117a7f0d661c7d867c5fec487b7cba0fd5929104a7f57b41a5719f5aa9a29213c89
7
- data.tar.gz: acf94fd6bb917fca372b2ffcd6353d41430942b3da19930cd88a8d2176d3f491a11046e5bf62a793fc953d459b4752e134d5c705275ff2d529e55c44bb14098b
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[:only_when]
39
- unless_condition = args.last[:unless]
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
@@ -1,3 +1,3 @@
1
1
  module ExpressTemplates
2
- VERSION = "0.11.16.rc1"
2
+ VERSION = "0.11.16"
3
3
  end
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.rc1
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-03-28 00:00:00.000000000 Z
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: 1.3.1
164
+ version: '0'
165
165
  requirements: []
166
166
  rubyforge_project:
167
167
  rubygems_version: 2.0.14.1