bootstrap_leather 0.4.7 → 0.4.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 765e888c10158270e816a749c7bdccf4d5ffd25b
|
4
|
+
data.tar.gz: 22666c085eb8d10325711a51868bc6282fe94b39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5912364920b89d1b8dbaed531a3f25a142f8872d5b1297dec24106e657fc2d5d44444c1d63eef6d58b8f86519412d3074f782e3b0e033355cd9f7562981221e5
|
7
|
+
data.tar.gz: 92d376e5707f4cdfe6bd16d3fede8972a77cf12ad7a3a01a433c16417d95678f6a177a5cda04c520ca4b61f7d0949f846f99670f9137d33226747459ad3cb79e
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.8
|
@@ -139,6 +139,11 @@ module BootstrapLeatherHelper
|
|
139
139
|
render(:partial => 'bootstrap_leather/thumbnail', :locals => {:content => content ? content : capture(&block)})
|
140
140
|
end
|
141
141
|
|
142
|
+
def icon_button_to(button_class, icon_type, text, link, html_options={})
|
143
|
+
html_options[:class] = 'btn ' + button_class
|
144
|
+
render(:partial => 'bootstrap_leather/icon_button_to', :locals => {:button_class => button_class, :icon_type => icon_type, :text => text, :link => link, :html_options => html_options})
|
145
|
+
end
|
146
|
+
|
142
147
|
def icon(type)
|
143
148
|
render(:partial => 'bootstrap_leather/icon', :locals => {:type => type})
|
144
149
|
end
|
data/bootstrap_leather.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: bootstrap_leather 0.4.
|
5
|
+
# stub: bootstrap_leather 0.4.8 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "bootstrap_leather"
|
9
|
-
s.version = "0.4.
|
9
|
+
s.version = "0.4.8"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Karen Lundgren"]
|
14
|
-
s.date = "2015-05-
|
14
|
+
s.date = "2015-05-16"
|
15
15
|
s.description = "BootstrapLeather is a collection of view helpers that makes it easier to create apps using Twitter Bootstrap"
|
16
16
|
s.email = "karen.e.lundgren@gmail.com"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -37,6 +37,7 @@ Gem::Specification.new do |s|
|
|
37
37
|
"app/views/bootstrap_leather/_head_css.html.haml",
|
38
38
|
"app/views/bootstrap_leather/_hero_unit.html.haml",
|
39
39
|
"app/views/bootstrap_leather/_icon.html.haml",
|
40
|
+
"app/views/bootstrap_leather/_icon_button_to.html.haml",
|
40
41
|
"app/views/bootstrap_leather/_logo_and_title.html.haml",
|
41
42
|
"app/views/bootstrap_leather/_modal.html.haml",
|
42
43
|
"app/views/bootstrap_leather/_nav_item.html.haml",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap_leather
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karen Lundgren
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootstrap-sass
|
@@ -177,6 +177,7 @@ files:
|
|
177
177
|
- app/views/bootstrap_leather/_head_css.html.haml
|
178
178
|
- app/views/bootstrap_leather/_hero_unit.html.haml
|
179
179
|
- app/views/bootstrap_leather/_icon.html.haml
|
180
|
+
- app/views/bootstrap_leather/_icon_button_to.html.haml
|
180
181
|
- app/views/bootstrap_leather/_logo_and_title.html.haml
|
181
182
|
- app/views/bootstrap_leather/_modal.html.haml
|
182
183
|
- app/views/bootstrap_leather/_nav_item.html.haml
|