corn_starch 1.3.25 → 1.3.26

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: 4a871b1bde78e233e7c8c2419e64b9a48d91d084
4
- data.tar.gz: 2e0558ea09aebbea2c5a19091c6808b12fe725a4
3
+ metadata.gz: 497e7781ab37fa8e06f2b744b85c201ad419116d
4
+ data.tar.gz: 33f5c81ac761f3ff716450ba2011780d4cc93403
5
5
  SHA512:
6
- metadata.gz: 747606f163e0969ef642a292207d096eb8398e0b0d825c0bb327e944805570a16603f5da049df399f334ebe9e205cb542e93dafeda11312a907fc37716680892
7
- data.tar.gz: 5463e9089195db38996288addab2dcb9fd6511bdf2f177a5d9b1e3e6d7036dc9af50999f85adbc4433193a85c51a06a11fc62d0769996fa96fb34a5ff617bd33
6
+ metadata.gz: cb4e69cdfac2b1606dba830db70aba7b75ae53a6bf52ee9304600985bc891164531d3e75f4abca329ae92f5214e2b49ca8b87a95ec4a1fb3af93886cd46c6d32
7
+ data.tar.gz: b350abeb83d2a04f38d9028675cb94751c7ce4fb6b2262c0eb68172437dce9cb58cf7e3c5645cecfd4de4ebf45c82a8f06b279363ce77b24a47cac49a5ef7dbc
@@ -12,9 +12,9 @@ module CornStarch
12
12
  extend ActionView::Context
13
13
 
14
14
  # Icon Link
15
- def icon_link_to target, icon, extra = nil
15
+ def icon_link_to target, icon, text = nil, extra = nil
16
16
  link_to target, extra do
17
- image_tag icon
17
+ image_tag icon + (text ? ' ' + text : '')
18
18
  end
19
19
  end
20
20
 
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.3.25'
2
+ VERSION = '1.3.26'
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.3.25
4
+ version: 1.3.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-01 00:00:00.000000000 Z
11
+ date: 2016-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler