express_templates 0.9.6 → 0.9.7

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: f68c1b1c1fd84e707116c27f274c05fa564e4e7c
4
- data.tar.gz: e0dd446cbcd244d728aff72f143ba9747b0732ae
3
+ metadata.gz: 5a671ca52fa5c3475e144928f8b50e4e70b03baa
4
+ data.tar.gz: 832c78019d3a9d8ed40d41e11884a7d13170af45
5
5
  SHA512:
6
- metadata.gz: f408c30156803c94feb534e8bf427aedb1fbb753c465ee06655e08563cd13cba140aaf1640890a65ac65e58d96ff2e29400fc2ceb548301e4ae50b6fbb8b2162
7
- data.tar.gz: 66b9fcb9283ef89056c99950e4d9691cc0a62aa351f28d323cadc34e6a09d46e796d618eeec9f060b6685f515cc7b71ad64e99d77dd01e4601ab19961a4941be
6
+ metadata.gz: e425677ed8d6c52de583baf250f290588c00e33aff56a6b3f3c48978dc4248fdb4bb41925152741756a2b6cd21f355ed4c0e6d9879fe2cfc9979a69faaa13cd1
7
+ data.tar.gz: 4eeba931463b330588f1d41926f688dbbcf8a7d2dc9358a954649bb4926ae3ffcac140b4dd3c7a464314155f564bceadd640684242e3f9c0948974971c817612
@@ -182,7 +182,8 @@ module ExpressTemplates
182
182
  config[:resource_path]
183
183
  end
184
184
  else
185
- if helpers.respond_to?(:resource_path)
185
+ if helpers.respond_to?(:resource_path) &&
186
+ helpers.resource.to_param.present? # skip on nil resource
186
187
  helpers.resource_path
187
188
  else
188
189
  if ivar_or_resource.respond_to?(:to_param) &&
@@ -1,3 +1,3 @@
1
1
  module ExpressTemplates
2
- VERSION = "0.9.6"
2
+ VERSION = "0.9.7"
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.9.6
4
+ version: 0.9.7
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: 2015-08-13 00:00:00.000000000 Z
12
+ date: 2015-08-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport