bootstrap_leather 0.7.3 → 0.7.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e26f239684b0d9be5c12e1934205154326af2cf
4
- data.tar.gz: 04051ef6c6a773f1b75c069c081b69a5e573b0cc
3
+ metadata.gz: 4eaa2097f1ea327eba0b944d0cd9c5a01b07ec72
4
+ data.tar.gz: f6c8f59898bb520373e56ac0ccad3db99e782557
5
5
  SHA512:
6
- metadata.gz: 8b1e39cf35b01929d0274a72920be4f93c3ba9b870457271e11c57dd1c211e4be98ad02c546891db1e23aba5883a7cedc48ba450dc81f08486d733fed554cd0a
7
- data.tar.gz: ffa823ee278e1eb011dd243761ff12cfe525d86f3a745c0da4bfd64b41c85cc8b2da3142fa8e4630793dcba3eb96ebd442a59c91f297c0c023b2222e2058d2bd
6
+ metadata.gz: 367329f9fc6b8cf0f8c6ba635447b0c56e28b77263bbbde87e568e1f75861dcb4c9186159995dd0dd67660dc2c3b375ec975e2b4632a1bef4c24958873e56581
7
+ data.tar.gz: 0600f73e045e6bed618e9ba5494d2852662620db22a5c239f7f10bf00e327a0c9ac0239483cddfc38a326e77a6257d4b8c2190ebe51daa451bea2e1e1105b905
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.3
1
+ 0.7.4
@@ -42,13 +42,12 @@ module BootstrapLeatherHelper
42
42
  end
43
43
 
44
44
  def render_h1(html_options = {})
45
- title = ''
46
- title += strip_tags content_for(:title)
45
+ page_title = []
46
+ page_title << content_for(:title)
47
47
  if content_for(:subtitle)
48
- title += ' '
49
- title += content_tag :small, content_for(:subtitle)
48
+ page_title << content_tag(:small, content_for(:subtitle))
50
49
  end
51
- content_tag :h1, title.html_safe, html_options
50
+ content_tag :h1, page_title.compact.join(' ').html_safe, html_options
52
51
  end
53
52
 
54
53
  def render_page_header(html_options = {})
@@ -2,11 +2,11 @@
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.3 ruby lib
5
+ # stub: bootstrap_leather 0.7.4 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "bootstrap_leather"
9
- s.version = "0.7.3"
9
+ s.version = "0.7.4"
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"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_leather
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren