corn_starch 1.3.27 → 1.3.28

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: ea715071a90bdbb8663f5cf12943018c947d49a8
4
- data.tar.gz: 871e99697bc98ea1ea4093efef68f0e068c91a18
3
+ metadata.gz: 4e0d91e70f9616c8cde98de1b3769ff55b78d3a5
4
+ data.tar.gz: b244cfb8ad55b67f1f96a22afd7c0c8b14abe9e3
5
5
  SHA512:
6
- metadata.gz: 5fc19a20cb70ae1da4e7c20fd88e3655e380f6e1aaadc7dd278ce69c00566a1dd984191f6a10359b47f56bc51c52516eda7c2ec70528d953850099b467a1ac82
7
- data.tar.gz: c0a2c7e228435cf4972227274d1f754b874d8f7a5e28758c0da5f00691d5f1fc7eb7ecb0602f5679545f059da20e9cb831a96102c69311f81ecb99b7447e1c81
6
+ metadata.gz: 85312ee6388c49965076477aaff32f74190190f7a5e025593ea54a5373b4d2fc8d7541286e21498cd2740724a95c9a5f6de093fc2a9e88da217add38e5398209
7
+ data.tar.gz: c4708d0dbff49f348c26db87c5c314efad3aee200879457d4467dafa2969eff3dadd72c6dde70641161950c5538279a946757c6e545a7d46bd8761f10b765c44
@@ -18,6 +18,13 @@ module CornStarch
18
18
  end
19
19
  end
20
20
 
21
+ # Render Link
22
+ def render_link_to target, partial, text = nil, extra = nil
23
+ link_to target, extra do
24
+ render(partial) + (text ? ' ' + text : '')
25
+ end
26
+ end
27
+
21
28
  # Class Masher
22
29
  def class_mash base, classes
23
30
  class_s = base
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.3.27'
2
+ VERSION = '1.3.28'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.27
4
+ version: 1.3.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse