bootstrap_leather 0.5.7 → 0.6.0
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/README.rdoc +3 -1
- data/VERSION +1 -1
- data/app/helpers/bootstrap_leather_helper.rb +5 -1
- data/app/views/bootstrap_leather/_icon_link_to.html.haml +3 -0
- data/bootstrap_leather.gemspec +5 -4
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96ea3f865d0b6808c5b5da07f8a86bcc8085fd24
|
4
|
+
data.tar.gz: 1db4b37506fa4fde97a9c664250834ea178a4f0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1dd6a7273709e6698185fd09cf3cdc957375b4c3733d488f8b77f16d74aecdc447f81023f771f28f377845ac4ac602c03b2fb00ff56e4c72e2f81820a370984
|
7
|
+
data.tar.gz: b7cca7461c6d2b029531ee368299f3671c2c330f4e9aec09f729c5eb5f4501b147258600fdefdfe3f8d5d9089577f24665f10a4b176c5ab2f2e5ef3b94702bd0
|
data/README.rdoc
CHANGED
@@ -93,13 +93,15 @@ To render the ones you have saved up:
|
|
93
93
|
|
94
94
|
=== Icons
|
95
95
|
= icon 'check'
|
96
|
+
= icon_link_to 'check', 'Link Text', link_path
|
97
|
+
= icon_button_to 'success', 'check', 'Link Text', link_path
|
96
98
|
|
97
99
|
=== Navbars
|
98
100
|
|
99
101
|
:container_mode is optional and defaults to :none. Can be one of: [:none, :inside, :outside]
|
100
102
|
For a wide navbar, try this:
|
101
103
|
|
102
|
-
= navbar :container_mode => :
|
104
|
+
= navbar :container_mode => :outside, :class => 'navbar-inverse' do
|
103
105
|
= nav_list do
|
104
106
|
= dropdown_nav_item 'Lorem', '#' do
|
105
107
|
= nav_item 'Ipsum', '#'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.6.0
|
@@ -141,8 +141,12 @@ module BootstrapLeatherHelper
|
|
141
141
|
render(:partial => 'bootstrap_leather/thumbnail', :locals => {:content => content ? content : capture(&block)})
|
142
142
|
end
|
143
143
|
|
144
|
+
def icon_link_to(icon_type, text, link, html_options={})
|
145
|
+
render(:partial => 'bootstrap_leather/icon_button_to', :locals => {:button_class => button_class, :icon_type => icon_type, :text => text, :link => link, :html_options => html_options})
|
146
|
+
end
|
147
|
+
|
144
148
|
def icon_button_to(button_class, icon_type, text, link, html_options={})
|
145
|
-
html_options[:class] = 'btn ' + button_class
|
149
|
+
html_options[:class] = 'btn btn-' + button_class
|
146
150
|
render(:partial => 'bootstrap_leather/icon_button_to', :locals => {:button_class => button_class, :icon_type => icon_type, :text => text, :link => link, :html_options => html_options})
|
147
151
|
end
|
148
152
|
|
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.
|
5
|
+
# stub: bootstrap_leather 0.6.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "bootstrap_leather"
|
9
|
-
s.version = "0.
|
9
|
+
s.version = "0.6.0"
|
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-26"
|
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 = [
|
@@ -38,6 +38,7 @@ Gem::Specification.new do |s|
|
|
38
38
|
"app/views/bootstrap_leather/_hero_unit.html.haml",
|
39
39
|
"app/views/bootstrap_leather/_icon.html.haml",
|
40
40
|
"app/views/bootstrap_leather/_icon_button_to.html.haml",
|
41
|
+
"app/views/bootstrap_leather/_icon_link_to.html.haml",
|
41
42
|
"app/views/bootstrap_leather/_logo_and_title.html.haml",
|
42
43
|
"app/views/bootstrap_leather/_modal.html.haml",
|
43
44
|
"app/views/bootstrap_leather/_nav_item.html.haml",
|
@@ -60,7 +61,7 @@ Gem::Specification.new do |s|
|
|
60
61
|
]
|
61
62
|
s.homepage = "http://www.gemvein.com/museum/cases/bootstrap_leather"
|
62
63
|
s.licenses = ["MIT"]
|
63
|
-
s.rubygems_version = "2.4.
|
64
|
+
s.rubygems_version = "2.4.5"
|
64
65
|
s.summary = "BootstrapLeather makes it easier to create apps using Twitter Bootstrap"
|
65
66
|
|
66
67
|
if s.respond_to? :specification_version then
|
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
|
+
version: 0.6.0
|
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-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootstrap-sass
|
@@ -94,6 +94,7 @@ files:
|
|
94
94
|
- app/views/bootstrap_leather/_hero_unit.html.haml
|
95
95
|
- app/views/bootstrap_leather/_icon.html.haml
|
96
96
|
- app/views/bootstrap_leather/_icon_button_to.html.haml
|
97
|
+
- app/views/bootstrap_leather/_icon_link_to.html.haml
|
97
98
|
- app/views/bootstrap_leather/_logo_and_title.html.haml
|
98
99
|
- app/views/bootstrap_leather/_modal.html.haml
|
99
100
|
- app/views/bootstrap_leather/_nav_item.html.haml
|
@@ -133,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
134
|
version: '0'
|
134
135
|
requirements: []
|
135
136
|
rubyforge_project:
|
136
|
-
rubygems_version: 2.4.
|
137
|
+
rubygems_version: 2.4.5
|
137
138
|
signing_key:
|
138
139
|
specification_version: 4
|
139
140
|
summary: BootstrapLeather makes it easier to create apps using Twitter Bootstrap
|