bootstrap_leather 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.rdoc +4 -4
- data/VERSION +1 -1
- data/app/helpers/bootstrap_leather_helper.rb +6 -1
- data/bootstrap_leather.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5299ef941bfd536aa66f4f17abd3b39c9858d31a
|
4
|
+
data.tar.gz: a65f9d1d4e83576fc52801cbf2be0486ed5a7483
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 359776136ab09497b3ca7f302b339277a220ad19501d9b1f68ec6e800a46d7876e3e7ebd6490876b1c33e283dbdb29be56d06e8de56e090641cb499039b40351
|
7
|
+
data.tar.gz: 3efd4aa308559b4e8c368b9457b56c4f701fa5572e4876d065fda430c271d21ae7e4cb843e1a7b0b6324b3710f4d96c35fcb85700a8681433bd8cad8ee0b6b84
|
data/LICENSE.txt
CHANGED
data/README.rdoc
CHANGED
@@ -122,11 +122,11 @@ For a wide navbar, try this:
|
|
122
122
|
=== Tabs
|
123
123
|
|
124
124
|
First, add them all, then render them.
|
125
|
-
- add_tab 'First Tab' do
|
125
|
+
- add_tab 'First Tab', 'first-tab' do
|
126
126
|
%p Tab contents go inside.
|
127
|
-
- add_tab 'Second Tab' do
|
127
|
+
- add_tab 'Second Tab', 'second-tab' do
|
128
128
|
%p Tab contents go inside here too.
|
129
|
-
- add_tab 'Third Tab' do
|
129
|
+
- add_tab 'Third Tab', 'third-tab' do
|
130
130
|
%p Yep, tab contents go inside.
|
131
131
|
= render_tabs 'left'
|
132
132
|
|
@@ -170,5 +170,5 @@ The following are not covered because there are already so many wonderful resour
|
|
170
170
|
|
171
171
|
== Copyright
|
172
172
|
|
173
|
-
Copyright (c) 2013-
|
173
|
+
Copyright (c) 2013-2015 Gem Vein. See LICENSE.txt for further details.
|
174
174
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.1
|
@@ -42,7 +42,12 @@ module BootstrapLeatherHelper
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def render_h1(html_options = {})
|
45
|
-
|
45
|
+
title = strip_tags content_for(:title)
|
46
|
+
if content_for(:subtitle)
|
47
|
+
title += ' '
|
48
|
+
title += content_tag :small, content_for(:subtitle)
|
49
|
+
end
|
50
|
+
content_tag :h1, title.html_safe, html_options
|
46
51
|
end
|
47
52
|
|
48
53
|
def render_page_header(html_options = {})
|
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.7.
|
5
|
+
# stub: bootstrap_leather 0.7.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "bootstrap_leather"
|
9
|
-
s.version = "0.7.
|
9
|
+
s.version = "0.7.1"
|
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-06-
|
14
|
+
s.date = "2015-06-24"
|
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 = [
|
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.7.
|
4
|
+
version: 0.7.1
|
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-06-
|
11
|
+
date: 2015-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootstrap-sass
|