corn_starch 1.1.11 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/helpers/corn_starch/corn_starch_helper.rb +0 -21
- data/lib/corn_starch/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1805a44957fe985138374103a33c4220e5b7813
|
|
4
|
+
data.tar.gz: 37348b6c1d4fcb1d2f592462d0561b0182429000
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 57b7f9f53a2d005922f73976df1f80a09e72888ee5d4aa0a79b2a6234665806439d3dec8ea2c63d5a902b47117677f1472e27d3a9a87075a751eb5334d4f4f77
|
|
7
|
+
data.tar.gz: e4e745968625d5e6b777db51ae242e514047abbad7c82ac85eee9d819639ed719f39c830d4bc48cdf03208a37fa7ed5adf1904359ff0a233e92f2d1105768d15
|
|
@@ -22,27 +22,6 @@ module CornStarch
|
|
|
22
22
|
class_s
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
-
# Glyph Icon
|
|
26
|
-
def glyphicon_tag icon_class
|
|
27
|
-
span_tag nil, class: class_mash(:glyphicon, icon_class), 'arya-hidden': true
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
# Label
|
|
31
|
-
def lbl_tag label_class, content, icon = nil
|
|
32
|
-
span_tag nil, class: class_mash(:label, label_class) do
|
|
33
|
-
icon ? glyphicon_tag(icon) + ' ' + content : content
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
# Button Link
|
|
38
|
-
def btn_link_to btn_class, target, name = nil, icon = nil, options = {}
|
|
39
|
-
link_to target, options do
|
|
40
|
-
button_tag class: class_mash(:btn, btn_class) do
|
|
41
|
-
block_given? ? yield : (icon ? glyphicon(icon) + ' ' + name : name)
|
|
42
|
-
end
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
25
|
# Missing Method Handler
|
|
47
26
|
def method_missing name, *args, &block
|
|
48
27
|
|
data/lib/corn_starch/version.rb
CHANGED