corn_starch 1.9.39 → 1.9.40

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: ca9b23395d29bc0ce77a1c12e806048d0977ba71
4
- data.tar.gz: 35ed9013b6bd20c8b570778154c4176cdc3fd422
3
+ metadata.gz: f2316bfb2568db7ed4ee2ea2e9362281f0a3a01d
4
+ data.tar.gz: 6ac6943e4e80323f62a478704c37a4da1740ea4d
5
5
  SHA512:
6
- metadata.gz: 4c013aacda10101ff7a91c23aebe8aa27e5be9584068edf81291302ae94b6a77dfe53290074093ee8957ecf7305a80fa0dd005384c7bd41703414aae16fa3051
7
- data.tar.gz: b38db5b7c5fd6196dc35bf46deab8d1ce4e00acfa877347f7407c55a3c32a9f779c13f6c74edc042b1b5055f934358257c29d02c3f7331cb01bd2f52cd70c188
6
+ metadata.gz: ceaefae521c4a41727cea60792e53040b06e6c9e9c2af23bb04149f959a7780280e4c1ba255ec43fd95888641acc409d137dc977b18e7752e06d6c3c5e0441f3
7
+ data.tar.gz: a7b9493bceea5a689853065fb5e6537d98706612eee1b7b7d0e312113c7e6e71db50377befb18db276732360b20876adcaa27ab9f0d0de302659edfcf506ce35
@@ -21,7 +21,7 @@ module CornStarch
21
21
  # Render Link
22
22
  def render_link_to target, partial, text = nil, extra = nil
23
23
  link_to target, extra do
24
- render(partial) + (text ? ' ' + text : '')
24
+ (partial ? render(partial) : '') + (text ? ' ' + text : '')
25
25
  end
26
26
  end
27
27
 
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.9.39'
2
+ VERSION = '1.9.40'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.39
4
+ version: 1.9.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-11 00:00:00.000000000 Z
11
+ date: 2016-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler